summaryrefslogtreecommitdiff
path: root/dev-python/quantities
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-09 11:11:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-09 11:11:11 +0000
commit90a73bb153519a9eac2a23eb9029b99b759e7892 (patch)
tree6d01f49a1e594c9324241c03aac67a635f828834 /dev-python/quantities
parentf6f5cf314dddfbfe0f8c848dc9e07436b032562c (diff)
gentoo auto-resync : 09:12:2023 - 11:11:11
Diffstat (limited to 'dev-python/quantities')
-rw-r--r--dev-python/quantities/Manifest2
-rw-r--r--dev-python/quantities/quantities-0.15.0.ebuild40
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest
index ce2bf672b65a..541567c224de 100644
--- a/dev-python/quantities/Manifest
+++ b/dev-python/quantities/Manifest
@@ -1,3 +1,5 @@
DIST python-quantities-0.14.1.gh.tar.gz 84275 BLAKE2B 7760a46f9f893a87badcbfd8aaad6a5598013b0cc835f17e0b788d3329be35702532fa17dc581ab0db4064292d6521d39d3ada7819c9a6c7b0e8a9b568d343dd SHA512 16c12110c2a705e4016d9575beb7f3322c3590cd12091a2710eca48fd6927b07b0d564ef93eb8af0b21688a0e86df1e60abb45625234abfaf1fa414e8b9fd110
+DIST python-quantities-0.15.0.gh.tar.gz 91327 BLAKE2B b75371e99b0f270d97cf6e9b80df1e7a0afa8ae8eb5d18750196e9b874737d58d3e3189ef9fdca4b312d24a19b406fe21f7eb304f0c1f11987873528190ca2e4 SHA512 987fb30d25a7b14e681d6eb963fc2cc68f954d017eca256739e897062249fce606adcb3224e3c8f0d371e49904caef7171a9a8ba4a7e60baa2fe063004846439
EBUILD quantities-0.14.1.ebuild 788 BLAKE2B 3fde07b2c73fcf3c21bd88bd16a60e795b3e767d5d0273169a682a71c20b3dc0cabcf4a18f392f2fe4bddb5f9783729e77debf589be01d257e1ff8f78c6972bd SHA512 2988041876299354fe0466b7f85ccb1078cc41d8ad3ba70e6f48b846ea52fba97acfe764d944ebc17205342cbd518df3c51ba5d061d1a58f24cb126e4859021c
+EBUILD quantities-0.15.0.ebuild 844 BLAKE2B 0ca5ba6980885444cb4e9adc9477d71270a0262602b9528ee9f21de0298a3a45253414da07d464201fa8cb7c743a6e207b260e0fb2fb55e5874a3c0c709631d1 SHA512 c9cfd8338479d1d32e7e588f9d60c9b423286bf86e5bc9730e976e5af84117bfb6cf7ad0d108efecf66636e6346ed65393f73437ec3dc33466138e945b1e0cbb
MISC metadata.xml 645 BLAKE2B d6965f033a9f7b6e78c5b2dcadda6a036ec1becac8cdd4bf3a7d2a7d0739cca4b51c29f874eebedc963d5a54d1906dc18a8ba628e44b4d3d12c81c91f6f97b29 SHA512 d2f88066eb81f72611dd94b323c9d42dbdb02d0953cb43a06b991bc7b134cff85d86979aabc155dee463645ab984127bdebfa7ca125ba36febaea451dad39143
diff --git a/dev-python/quantities/quantities-0.15.0.ebuild b/dev-python/quantities/quantities-0.15.0.ebuild
new file mode 100644
index 000000000000..2ccb46a9debf
--- /dev/null
+++ b/dev-python/quantities/quantities-0.15.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+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
+}