Skip to content

Commit

Permalink
dev-python/vector: new package, add 1.1.1
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Puck Neuwirth <[email protected]>
Co-authored-by: Andrew Ammerlaan <[email protected]>
Closes: #1234
Signed-off-by: Alexander Puck Neuwirth <[email protected]>
  • Loading branch information
APN-Pucky and Nowa-Ammerlaan committed Feb 17, 2024
1 parent 10f56e1 commit 7579c62
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-python/vector/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST vector-1.1.1.tar.gz 289916 BLAKE2B 35281c498f244b0307d744a20d0364c4cf664d0bd08a4f17d8d3110aa4eae6d7f66e3b51b4e9847f31d3a6ab943248115221dee4dcd3c3f2f8c47842001b553a SHA512 b1e195751de35ca2c67749b6b2b330db8a29e023f42e9b454adc8fc2408c29b5926b39e9ed6dc6a93f97006fbfb286a2217be8b14cb0eb2b96c9538f6c3943e6
19 changes: 19 additions & 0 deletions dev-python/vector/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>[email protected]</email>
<name>Gentoo Science Project</name>
</maintainer>
<maintainer type="person">
<email>[email protected]</email>
<name>Alexander Puck Neuwirth</name>
</maintainer>
<longdescription lang="en">
Vector is a Python 3.8+ library (Python 3.6 and 3.7 supported till v0.9.0 and v1.0.0, respectively) for 2D, 3D, and Lorentz vectors, especially arrays of vectors, to solve common physics problems in a NumPy-like way.
</longdescription>
<upstream>
<remote-id type="pypi">vector</remote-id>
<remote-id type="github">scikit-hep/vector</remote-id>
</upstream>
</pkgmetadata>
20 changes: 20 additions & 0 deletions dev-python/vector/vector-1.1.1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
EAPI=8

PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=hatchling
inherit distutils-r1 pypi

DESCRIPTION="Vector classes and utilities"
HOMEPAGE="https://github.com/scikit-hep/vector"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
>=dev-python/numpy-1.13.3[${PYTHON_USEDEP}]
dev-python/hatch-vcs[${PYTHON_USEDEP}]
"
BDEPEND="${RDEPEND}"

export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}

0 comments on commit 7579c62

Please sign in to comment.