From 633fb3ae38c1fa5b49a7a989a2d85222a0966337 Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Thu, 1 Feb 2024 22:45:19 +0100 Subject: [PATCH] dev-python/vector: new package, add 1.1.1 Signed-off-by: Alexander Puck Neuwirth Co-authored-by: Andrew Ammerlaan --- dev-python/vector/Manifest | 1 + dev-python/vector/metadata.xml | 19 +++++++++++++++++++ dev-python/vector/vector-1.1.1.ebuild | 20 ++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 dev-python/vector/Manifest create mode 100644 dev-python/vector/metadata.xml create mode 100644 dev-python/vector/vector-1.1.1.ebuild diff --git a/dev-python/vector/Manifest b/dev-python/vector/Manifest new file mode 100644 index 00000000000..0ced19d1383 --- /dev/null +++ b/dev-python/vector/Manifest @@ -0,0 +1 @@ +DIST vector-1.1.1.tar.gz 289916 BLAKE2B 35281c498f244b0307d744a20d0364c4cf664d0bd08a4f17d8d3110aa4eae6d7f66e3b51b4e9847f31d3a6ab943248115221dee4dcd3c3f2f8c47842001b553a SHA512 b1e195751de35ca2c67749b6b2b330db8a29e023f42e9b454adc8fc2408c29b5926b39e9ed6dc6a93f97006fbfb286a2217be8b14cb0eb2b96c9538f6c3943e6 diff --git a/dev-python/vector/metadata.xml b/dev-python/vector/metadata.xml new file mode 100644 index 00000000000..b6aaa9af741 --- /dev/null +++ b/dev-python/vector/metadata.xml @@ -0,0 +1,19 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + alexander@neuwirth-informatik.de + Alexander Puck Neuwirth + + + 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. + + + vector + scikit-hep/vector + + 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 00000000000..936578e5066 --- /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}