commit: da53fa34dfa84a5a143cae8ee27d6496cf0a6ef7
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 12 04:32:14 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Apr 12 04:32:14 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da53fa34
dev-python/quantities: Bump to 0.16.2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/quantities/Manifest | 1 +
dev-python/quantities/quantities-0.16.2.ebuild | 40 ++++++++++++++++++++++++++
2 files changed, 41 insertions(+)
diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest
index 5506561b8453..c307b4fc894f 100644
--- a/dev-python/quantities/Manifest
+++ b/dev-python/quantities/Manifest
@@ -1 +1,2 @@
DIST python-quantities-0.16.1.gh.tar.gz 92552 BLAKE2B
b2a1b2b4945aa89f2b75f7e848ba01b0fd9180386efdbcfe2f257eec9cf1600143644d18b5cdf4ccc7442c5982036ac9b48cba2a25a3f208f809dad9cb3de795
SHA512
cba89192ad82b811bb3665cf0eaaaa933e7c5c7a0a02a4ef4895f3b0febadf7aafc71d42dc7c616cdac479fcb2703e25fa37a3e9e5ba06775faf7c1f04a3f884
+DIST python-quantities-0.16.2.gh.tar.gz 93210 BLAKE2B
ab0987945b3bd666b17f637ea0a951dd76d472474c3ead8d10ba98544f34dd4fa943a663de716ce6eee90de2e8749a297319af34014e1833a304a9cf0fd33e10
SHA512
315e20b75d44b2c355406f35ffcfe4afe7b9e1010dd491cd76d85ad3a6346625228dbb14415a1293c20c08ac0f7243ba4b9cda26db4070e97093d24fd997da18
diff --git a/dev-python/quantities/quantities-0.16.2.ebuild
b/dev-python/quantities/quantities-0.16.2.ebuild
new file mode 100644
index 000000000000..6011da55aa49
--- /dev/null
+++ b/dev-python/quantities/quantities-0.16.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2020-2025 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
+}