commit: 7579c62f6059345520e175b41a0cad394db37c1f Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> AuthorDate: Thu Feb 1 21:45:19 2024 +0000 Commit: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> CommitDate: Sat Feb 17 17:20:21 2024 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=7579c62f
dev-python/vector: new package, add 1.1.1 Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de> Co-authored-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> Closes: https://github.com/gentoo/sci/pull/1234 Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de> dev-python/vector/metadata.xml | 19 +++++++++++++++++++ dev-python/vector/vector-1.1.1.ebuild | 20 ++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/vector/metadata.xml b/dev-python/vector/metadata.xml new file mode 100644 index 000000000..b6aaa9af7 --- /dev/null +++ b/dev-python/vector/metadata.xml @@ -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> diff --git a/dev-python/vector/vector-1.1.1.ebuild b/dev-python/vector/vector-1.1.1.ebuild new file mode 100644 index 000000000..936578e50 --- /dev/null +++ b/dev-python/vector/vector-1.1.1.ebuild @@ -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}
