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.0.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest index 8b90521fce26..d4a7b3a430e7 100644 --- a/dev-python/quantities/Manifest +++ b/dev-python/quantities/Manifest @@ -1,3 +1,5 @@ DIST python-quantities-0.15.0.gh.tar.gz 91327 BLAKE2B b75371e99b0f270d97cf6e9b80df1e7a0afa8ae8eb5d18750196e9b874737d58d3e3189ef9fdca4b312d24a19b406fe21f7eb304f0c1f11987873528190ca2e4 SHA512 987fb30d25a7b14e681d6eb963fc2cc68f954d017eca256739e897062249fce606adcb3224e3c8f0d371e49904caef7171a9a8ba4a7e60baa2fe063004846439 +DIST python-quantities-0.16.0.gh.tar.gz 92228 BLAKE2B 2570b50a983cf1e84fc6df0590a2de251f671d15af06191c4fbf673c7bb75ec419e04f7bcc1a1730f87ed2269b40d707aa6a1103d1238421c19b939f2bbc7f2b SHA512 592001add7201868844197e67ac3a200d4a82c11f02c0d2ce4f007bda5b8c66c29c0f30563da7fd214c3aede4564590b1de9e29b2e9dac0a77a1db0b410e750d EBUILD quantities-0.15.0-r1.ebuild 1000 BLAKE2B f6590a89cb04ad2117df7455dfab4fcc4af9333cb26488e4b3dc0829e165849ee80d0fc3922f0877b0a7f5a8aa7951edfbe0249f75d9466bc6c223b4b4762f1c SHA512 b355b2beb0649913d2995b7215a03803bfad49d6c12b76bbcb5bf5e1f7e6d089dd86cab19c6041b85b5ae9c185db16a845a4036f4e3b96487a30d414b80305ba +EBUILD quantities-0.16.0.ebuild 844 BLAKE2B 332b72e4581f966e7882eaee28b9548ad587cdd8ccd63e8afd05eea4807777d9825f9b12f3e018d87dde7189ce36a5dcec4fa16ffd99d8677ae9b1d2269c34a6 SHA512 111570ba92086c605b668defc5967a364a66d1951a86b94a2a8ba993ef48aee5f72ca04885b7663886358ec5e37c9c08724000fa65c501b2551c2ca5d0a0183e MISC metadata.xml 645 BLAKE2B d6965f033a9f7b6e78c5b2dcadda6a036ec1becac8cdd4bf3a7d2a7d0739cca4b51c29f874eebedc963d5a54d1906dc18a8ba628e44b4d3d12c81c91f6f97b29 SHA512 d2f88066eb81f72611dd94b323c9d42dbdb02d0953cb43a06b991bc7b134cff85d86979aabc155dee463645ab984127bdebfa7ca125ba36febaea451dad39143 diff --git a/dev-python/quantities/quantities-0.16.0.ebuild b/dev-python/quantities/quantities-0.16.0.ebuild new file mode 100644 index 000000000000..e30d4a40296f --- /dev/null +++ b/dev-python/quantities/quantities-0.16.0.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 +} |