diff options
Diffstat (limited to 'dev-python/vector/vector-1.4.1.ebuild')
-rw-r--r-- | dev-python/vector/vector-1.4.1.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/vector/vector-1.4.1.ebuild b/dev-python/vector/vector-1.4.1.ebuild new file mode 100644 index 000000000..a57240b49 --- /dev/null +++ b/dev-python/vector/vector-1.4.1.ebuild @@ -0,0 +1,34 @@ +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=hatchling +inherit distutils-r1 pypi optfeature + +DESCRIPTION="Vector classes and utilities" +HOMEPAGE=" + https://github.com/scikit-hep/vector + https://vector.readthedocs.io/ + https://doi.org/10.5281/zenodo.7054478 +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +# tests need numba +RESTRICT="test" + +RDEPEND=" + >=dev-python/numpy-1.13.3[${PYTHON_USEDEP}] + >=dev-python/packaging-19[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] +" + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +pkg_postinst() { + optfeature "awkward array support" dev-python/awkward + optfeature "sympy support" dev-python/sympy +} |