diff options
Diffstat (limited to 'dev-python/quantities')
-rw-r--r-- | dev-python/quantities/Manifest | 2 | ||||
-rw-r--r-- | dev-python/quantities/quantities-0.16.1.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest index 45f7d090eeba..7df9b25a0128 100644 --- a/dev-python/quantities/Manifest +++ b/dev-python/quantities/Manifest @@ -1,3 +1,5 @@ DIST python-quantities-0.16.0.gh.tar.gz 92228 BLAKE2B 2570b50a983cf1e84fc6df0590a2de251f671d15af06191c4fbf673c7bb75ec419e04f7bcc1a1730f87ed2269b40d707aa6a1103d1238421c19b939f2bbc7f2b SHA512 592001add7201868844197e67ac3a200d4a82c11f02c0d2ce4f007bda5b8c66c29c0f30563da7fd214c3aede4564590b1de9e29b2e9dac0a77a1db0b410e750d +DIST python-quantities-0.16.1.gh.tar.gz 92552 BLAKE2B b2a1b2b4945aa89f2b75f7e848ba01b0fd9180386efdbcfe2f257eec9cf1600143644d18b5cdf4ccc7442c5982036ac9b48cba2a25a3f208f809dad9cb3de795 SHA512 cba89192ad82b811bb3665cf0eaaaa933e7c5c7a0a02a4ef4895f3b0febadf7aafc71d42dc7c616cdac479fcb2703e25fa37a3e9e5ba06775faf7c1f04a3f884 EBUILD quantities-0.16.0.ebuild 842 BLAKE2B c1a03899b0d49c4eb05626793895a44d6c2c86faad5530124dcbc950ff488f967cb3104177bdfc96b1f5bd9f8908b0fbdf8b1432f57a780ed2905c0b49c10add SHA512 634f8abeae66f63daa31967f76384a1f7bb2e8e240a5c4b54b11a17708f1672ffb4001333b1104d1b5279805a9750c5e14b4dff7c760e649bc59ae4b0367aaab +EBUILD quantities-0.16.1.ebuild 844 BLAKE2B 332b72e4581f966e7882eaee28b9548ad587cdd8ccd63e8afd05eea4807777d9825f9b12f3e018d87dde7189ce36a5dcec4fa16ffd99d8677ae9b1d2269c34a6 SHA512 111570ba92086c605b668defc5967a364a66d1951a86b94a2a8ba993ef48aee5f72ca04885b7663886358ec5e37c9c08724000fa65c501b2551c2ca5d0a0183e MISC metadata.xml 645 BLAKE2B d6965f033a9f7b6e78c5b2dcadda6a036ec1becac8cdd4bf3a7d2a7d0739cca4b51c29f874eebedc963d5a54d1906dc18a8ba628e44b4d3d12c81c91f6f97b29 SHA512 d2f88066eb81f72611dd94b323c9d42dbdb02d0953cb43a06b991bc7b134cff85d86979aabc155dee463645ab984127bdebfa7ca125ba36febaea451dad39143 diff --git a/dev-python/quantities/quantities-0.16.1.ebuild b/dev-python/quantities/quantities-0.16.1.ebuild new file mode 100644 index 000000000000..e30d4a40296f --- /dev/null +++ b/dev-python/quantities/quantities-0.16.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +MY_P="python-quantities-${PV}" +DESCRIPTION="Support for physical quantities with units, based on numpy" +HOMEPAGE=" + https://github.com/python-quantities/python-quantities/ + https://pypi.org/project/quantities/ +" +SRC_URI=" + https://github.com/python-quantities/python-quantities/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/numpy-1.20[$PYTHON_USEDEP] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + epytest --pyargs quantities.tests +} |