[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: c784bc479e69d5d9dc384848213b744608dee47e Author: Michał Górny gentoo org> AuthorDate: Sat Nov 2 12:49:46 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat Nov 2 12:50:25 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c784bc47 dev-python/quantities: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/quantities/Manifest | 1 - dev-python/quantities/quantities-0.16.0.ebuild | 40 -- 2 files changed, 41 deletions(-) diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest index a68b64fbe98b..5506561b8453 100644 --- a/dev-python/quantities/Manifest +++ b/dev-python/quantities/Manifest @@ -1,2 +1 @@ -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 cba89192ad82b811bb3665cf0e933e7c5c7a0a02a4ef4895f3b0febadf7aafc71d42dc7c616cdac479fcb2703e25fa37a3e9e5ba06775faf7c1f04a3f884 diff --git a/dev-python/quantities/quantities-0.16.0.ebuild b/dev-python/quantities/quantities-0.16.0.ebuild deleted file mode 100644 index ae7845115965.. --- a/dev-python/quantities/quantities-0.16.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# 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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: 5f2713483d8b0f132bc39d8caf6393d21fafe997 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Nov 2 12:35:44 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Nov 2 12:35:44 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f271348 dev-python/quantities: Stabilize 0.16.1 x86, #942701 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/quantities/quantities-0.16.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/quantities/quantities-0.16.1.ebuild b/dev-python/quantities/quantities-0.16.1.ebuild index a7a1902d038f..ae7845115965 100644 --- a/dev-python/quantities/quantities-0.16.1.ebuild +++ b/dev-python/quantities/quantities-0.16.1.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" RDEPEND=" >=dev-python/numpy-1.20[$PYTHON_USEDEP]
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: 0762e900c874595b723ad378d539c0c6cb1a144f Author: Arthur Zamarin gentoo org> AuthorDate: Sat Nov 2 10:08:11 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Nov 2 10:08:11 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0762e900 dev-python/quantities: Stabilize 0.16.1 amd64, #942701 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/quantities/quantities-0.16.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/quantities/quantities-0.16.1.ebuild b/dev-python/quantities/quantities-0.16.1.ebuild index e30d4a40296f..a7a1902d038f 100644 --- a/dev-python/quantities/quantities-0.16.1.ebuild +++ b/dev-python/quantities/quantities-0.16.1.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" RDEPEND=" >=dev-python/numpy-1.20[$PYTHON_USEDEP]
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: 4747e394dceae0b85e1a64ab82096f1ea97c1970 Author: Michał Górny gentoo org> AuthorDate: Thu Oct 17 02:47:17 2024 + Commit: Michał Górny gentoo org> CommitDate: Thu Oct 17 02:47:17 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4747e394 dev-python/quantities: Bump to 0.16.1 Signed-off-by: Michał Górny gentoo.org> dev-python/quantities/Manifest | 1 + dev-python/quantities/quantities-0.16.1.ebuild | 40 ++ 2 files changed, 41 insertions(+) diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest index fe161fbff38d..a68b64fbe98b 100644 --- a/dev-python/quantities/Manifest +++ b/dev-python/quantities/Manifest @@ -1 +1,2 @@ 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 cba89192ad82b811bb3665cf0e933e7c5c7a0a02a4ef4895f3b0febadf7aafc71d42dc7c616cdac479fcb2703e25fa37a3e9e5ba06775faf7c1f04a3f884 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 ..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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: 0da9a98e368e642e382d5cc16e7d3e563c1eebf9 Author: Michał Górny gentoo org> AuthorDate: Sat Sep 14 14:06:03 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat Sep 14 14:06:03 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0da9a98e dev-python/quantities: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/quantities/Manifest| 1 - dev-python/quantities/quantities-0.15.0-r1.ebuild | 43 --- 2 files changed, 44 deletions(-) diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest index 79c32e71b701..fe161fbff38d 100644 --- a/dev-python/quantities/Manifest +++ b/dev-python/quantities/Manifest @@ -1,2 +1 @@ -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 diff --git a/dev-python/quantities/quantities-0.15.0-r1.ebuild b/dev-python/quantities/quantities-0.15.0-r1.ebuild deleted file mode 100644 index 7a00fb00b973.. --- a/dev-python/quantities/quantities-0.15.0-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# 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..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" - -# >=dev-python/numpy-2 is not currently supported, -# see https://github.com/python-quantities/python-quantities/pull/232 -RDEPEND=" - >=dev-python/numpy-1.20[$PYTHON_USEDEP] -
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: 54179acb452c31dc743ecabe23c960a807781380 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Sep 14 13:37:46 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Sep 14 13:37:46 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54179acb dev-python/quantities: Stabilize 0.16.0 x86, #939616 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/quantities/quantities-0.16.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/quantities/quantities-0.16.0.ebuild b/dev-python/quantities/quantities-0.16.0.ebuild index a7a1902d038f..ae7845115965 100644 --- a/dev-python/quantities/quantities-0.16.0.ebuild +++ b/dev-python/quantities/quantities-0.16.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" RDEPEND=" >=dev-python/numpy-1.20[$PYTHON_USEDEP]
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: 5ccd082d40ab5cc79c909241550dbbc1203a259d Author: Arthur Zamarin gentoo org> AuthorDate: Sat Sep 14 13:22:43 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Sep 14 13:22:43 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ccd082d dev-python/quantities: Stabilize 0.16.0 amd64, #939616 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/quantities/quantities-0.16.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/quantities/quantities-0.16.0.ebuild b/dev-python/quantities/quantities-0.16.0.ebuild index e30d4a40296f..a7a1902d038f 100644 --- a/dev-python/quantities/quantities-0.16.0.ebuild +++ b/dev-python/quantities/quantities-0.16.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" RDEPEND=" >=dev-python/numpy-1.20[$PYTHON_USEDEP]
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: ff4f495a37b6b0033b0a59c6a7301414734b54b7 Author: Michał Górny gentoo org> AuthorDate: Wed Aug 28 03:37:54 2024 + Commit: Michał Górny gentoo org> CommitDate: Wed Aug 28 03:41:54 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff4f495a dev-python/quantities: Bump to 0.16.0 Signed-off-by: Michał Górny gentoo.org> dev-python/quantities/Manifest | 1 + dev-python/quantities/quantities-0.16.0.ebuild | 40 ++ 2 files changed, 41 insertions(+) diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest index 4a036d67ff41..79c32e71b701 100644 --- a/dev-python/quantities/Manifest +++ b/dev-python/quantities/Manifest @@ -1 +1,2 @@ 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 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 ..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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: 88d24c35fd92e8ffed50b2a942c9bc3173f5f484 Author: Petr Vaněk gentoo org> AuthorDate: Wed Jun 26 12:37:06 2024 + Commit: Petr Vaněk gentoo org> CommitDate: Wed Jun 26 12:40:03 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88d24c35 dev-python/quantities: restrict rdeps to https://bugs.gentoo.org/932566 Signed-off-by: Petr Vaněk gentoo.org> .../{quantities-0.15.0.ebuild => quantities-0.15.0-r1.ebuild}| 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev-python/quantities/quantities-0.15.0.ebuild b/dev-python/quantities/quantities-0.15.0-r1.ebuild similarity index 80% rename from dev-python/quantities/quantities-0.15.0.ebuild rename to dev-python/quantities/quantities-0.15.0-r1.ebuild index ae62dc2986da..7a00fb00b973 100644 --- a/dev-python/quantities/quantities-0.15.0.ebuild +++ b/dev-python/quantities/quantities-0.15.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2023 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -24,8 +24,11 @@ LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ~arm64 x86" +# >=dev-python/numpy-2 is not currently supported, +# see https://github.com/python-quantities/python-quantities/pull/232 RDEPEND=" >=dev-python/numpy-1.20[$PYTHON_USEDEP] +
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: 025fcdb8ad1b21ed4681474c2402e9c82c89b553 Author: Michał Górny gentoo org> AuthorDate: Sun Dec 24 17:23:40 2023 + Commit: Michał Górny gentoo org> CommitDate: Sun Dec 24 17:23:40 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=025fcdb8 dev-python/quantities: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/quantities/Manifest | 1 - dev-python/quantities/quantities-0.14.1.ebuild | 36 -- 2 files changed, 37 deletions(-) diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest index 9234c2febf88..4a036d67ff41 100644 --- a/dev-python/quantities/Manifest +++ b/dev-python/quantities/Manifest @@ -1,2 +1 @@ -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 diff --git a/dev-python/quantities/quantities-0.14.1.ebuild b/dev-python/quantities/quantities-0.14.1.ebuild deleted file mode 100644 index 2ef1a583ed53.. --- a/dev-python/quantities/quantities-0.14.1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# 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.19[$PYTHON_USEDEP] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: 09666b1db75a7407db98f8a90a2b3eb74eba30f6 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Dec 24 17:21:22 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Dec 24 17:21:22 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09666b1d dev-python/quantities: Stabilize 0.15.0 x86, #920625 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/quantities/quantities-0.15.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/quantities/quantities-0.15.0.ebuild b/dev-python/quantities/quantities-0.15.0.ebuild index 3df55e1549f5..ae62dc2986da 100644 --- a/dev-python/quantities/quantities-0.15.0.ebuild +++ b/dev-python/quantities/quantities-0.15.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" RDEPEND=" >=dev-python/numpy-1.20[$PYTHON_USEDEP]
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: 8c1f4864df588e7c7af42d0131366a0be8e73b73 Author: Sam James gentoo org> AuthorDate: Sun Dec 24 01:00:43 2023 + Commit: Sam James gentoo org> CommitDate: Sun Dec 24 01:00:43 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c1f4864 dev-python/quantities: Stabilize 0.15.0 amd64, #920625 Signed-off-by: Sam James gentoo.org> dev-python/quantities/quantities-0.15.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/quantities/quantities-0.15.0.ebuild b/dev-python/quantities/quantities-0.15.0.ebuild index 2ccb46a9debf..3df55e1549f5 100644 --- a/dev-python/quantities/quantities-0.15.0.ebuild +++ b/dev-python/quantities/quantities-0.15.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" RDEPEND=" >=dev-python/numpy-1.20[$PYTHON_USEDEP]
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: 3a8c8416708f240b4e63b510e451edb7cd4980ed Author: Michał Górny gentoo org> AuthorDate: Sat Dec 9 06:15:34 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Dec 9 06:28:20 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a8c8416 dev-python/quantities: Bump to 0.15.0 Signed-off-by: Michał Górny gentoo.org> dev-python/quantities/Manifest | 1 + dev-python/quantities/quantities-0.15.0.ebuild | 40 ++ 2 files changed, 41 insertions(+) diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest index f2ffa4b2f7be..9234c2febf88 100644 --- a/dev-python/quantities/Manifest +++ b/dev-python/quantities/Manifest @@ -1 +1,2 @@ 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 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 ..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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: b3b58dca30149a0ce35974810aa3d80dc8e6f6eb Author: Michał Górny gentoo org> AuthorDate: Thu Nov 23 18:59:53 2023 + Commit: Michał Górny gentoo org> CommitDate: Thu Nov 23 18:59:53 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3b58dca dev-python/quantities: Keyword 0.14.1 arm64, #918007 Signed-off-by: Michał Górny gentoo.org> dev-python/quantities/quantities-0.14.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/quantities/quantities-0.14.1.ebuild b/dev-python/quantities/quantities-0.14.1.ebuild index 04b9bbfb7271..2ef1a583ed53 100644 --- a/dev-python/quantities/quantities-0.14.1.ebuild +++ b/dev-python/quantities/quantities-0.14.1.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~arm64 x86" RDEPEND=" >=dev-python/numpy-1.19[$PYTHON_USEDEP]
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: a6d3ac7afe3e8b7c8d58941f9060f430ec75306f Author: Michał Górny gentoo org> AuthorDate: Fri Oct 27 18:03:15 2023 + Commit: Michał Górny gentoo org> CommitDate: Fri Oct 27 18:03:15 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6d3ac7a dev-python/quantities: Enable py3.12 Signed-off-by: Michał Górny gentoo.org> dev-python/quantities/quantities-0.14.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/quantities/quantities-0.14.1.ebuild b/dev-python/quantities/quantities-0.14.1.ebuild index 66847fdf02f5..04b9bbfb7271 100644 --- a/dev-python/quantities/quantities-0.14.1.ebuild +++ b/dev-python/quantities/quantities-0.14.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/, dev-python/quantities/files/
commit: 498e4fd68b86a9069941f3fd9c651bc49372c5a3 Author: Michał Górny gentoo org> AuthorDate: Wed Apr 5 08:17:55 2023 + Commit: Michał Górny gentoo org> CommitDate: Wed Apr 5 08:17:55 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=498e4fd6 dev-python/quantities: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/quantities/Manifest | 2 - .../quantities/files/quantities-0.13.0-numpy.patch | 68 -- dev-python/quantities/quantities-0.13.0-r2.ebuild | 35 --- dev-python/quantities/quantities-0.14.0.ebuild | 36 4 files changed, 141 deletions(-) diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest index 26caee78e384..f2ffa4b2f7be 100644 --- a/dev-python/quantities/Manifest +++ b/dev-python/quantities/Manifest @@ -1,3 +1 @@ -DIST python-quantities-0.13.0.gh.tar.gz 107178 BLAKE2B f5fe69ed1d82bc90620a1cabf4c68f676330a2b09e8590bedf48ee8c46e3176d57e0dc6374d1112377056cd1138553d92f0bcaf0a68e2600e3631226e2262afc SHA512 d108b0f5bd834aeb7443693175d54b2b01fa9110cc57f0356681374ce95b5f57e39253d9c8166365aabc379f2f26bba3a827689ceb6c45595345e140b4cd7ad3 -DIST python-quantities-0.14.0.gh.tar.gz 84115 BLAKE2B 549ac64583ebac9a68069e678ee82ac3d9d4462dee4ebffe631c0c20d0819996b0172ceb2cb276aae52ad4dc963e3bfad8f6082d98b90bf6f94c27f807d91565 SHA512 78696938c10e613e1fd6f98f9158d51ec4e86928f9833b73321cde776d77735c119af854aaaff5542093175cd105a33266fba16b31b9e04b51c7f14f648b1e19 DIST python-quantities-0.14.1.gh.tar.gz 84275 BLAKE2B 7760a46f9f893a87badcbfd8aaad6a5598013b0cc835f17e0b788d3329be35702532fa17dc581ab0db4064292d6521d39d3ada7819c9a6c7b0e8a9b568d343dd SHA512 16c12110c2a705e4016d9575beb7f3322c3590cd12091a2710eca48fd6927b07b0d564ef93eb8af0b21688a0e86df1e60abb45625234abfaf1fa414e8b9fd110 diff --git a/dev-python/quantities/files/quantities-0.13.0-numpy.patch b/dev-python/quantities/files/quantities-0.13.0-numpy.patch deleted file mode 100644 index 940bc846d687.. --- a/dev-python/quantities/files/quantities-0.13.0-numpy.patch +++ /dev/null @@ -1,68 +0,0 @@ -From 29852b895d5d39006d1f129397cffae3578a694e Mon Sep 17 00:00:00 2001 -From: Andrew Davison -Date: Thu, 7 Jul 2022 10:03:32 +0200 -Subject: [PATCH] fix failure to handle units with floordiv - -fixes #205 - quantities/dimensionality.py| 2 +- - quantities/tests/test_arithmetic.py | 16 +++- - 2 files changed, 16 insertions(+), 2 deletions(-) - -diff --git a/quantities/dimensionality.py b/quantities/dimensionality.py -index cea68ca..d54f96f 100644 a/quantities/dimensionality.py -+++ b/quantities/dimensionality.py -@@ -238,6 +238,7 @@ def _d_divide(q1, q2, out=None): - return q2.dimensionality**-1 - p_dict[np.divide] = _d_divide - p_dict[np.true_divide] = _d_divide -+p_dict[np.floor_divide] = _d_divide - - def _d_check_uniform(q1, q2, out=None): - try: -@@ -273,7 +274,6 @@ p_dict[np.subtract] = _d_check_uniform - p_dict[np.mod] = _d_check_uniform - p_dict[np.fmod] = _d_check_uniform - p_dict[np.remainder] = _d_check_uniform --p_dict[np.floor_divide] = _d_check_uniform - p_dict[np.hypot] = _d_check_uniform - p_dict[np.equal] = _d_check_uniform - p_dict[np.not_equal] = _d_check_uniform -diff --git a/quantities/tests/test_arithmetic.py b/quantities/tests/test_arithmetic.py -index fe5670e..534702c 100644 a/quantities/tests/test_arithmetic.py -+++ b/quantities/tests/test_arithmetic.py -@@ -52,7 +52,7 @@ class iter_dtypes: - - def __init__(self): - self._i = 1 --self._typeDict = np.typeDict.copy() -+self._typeDict = np.sctypeDict.copy() - self._typeDict[17] = int - self._typeDict[18] = long - self._typeDict[19] = float -@@ -132,6 +132,20 @@ class TestDTypes(TestCase): - self.check_rmul(x, y) - dtypes.pop(0) - -+def test_truediv(self): -+q = Quantity([44, 40, 36, 32], units=pq.ms) -+self.assertQuantityEqual( -+q/(4 * pq.ms), -+Quantity([11, 10, 9, 8], units=pq.dimensionless) -+) -+ -+def test_floordiv(self): -+q = Quantity([45, 43, 39, 32], units=pq.ms) -+self.assertQuantityEqual( -+q//(4 * pq.ms), -+Quantity([11, 10, 9, 8], units=pq.dimensionless) -+) -+ - def test_mixed_addition(self): - self.assertQuantityEqual(1*pq.ft + 1*pq.m, 4.280839895 * pq.ft) - self.assertQuantityEqual(1*pq.ft + pq.m, 4.280839895 * pq.ft) --- -2.39.0 - diff --git a/dev-python/quantities/quantities-0.13.0-r2.ebuild b/dev-python/quantities/quantities-0.13.0-r2.ebuild deleted file mode 100644 index f5bb3ce8d977.. --- a/dev-python/quantities/quantities-0.13.0-r2.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: 248cff120332bba16b81aa614fa01b48649f1ea6 Author: Arthur Zamarin gentoo org> AuthorDate: Wed Apr 5 07:28:37 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Wed Apr 5 07:28:37 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=248cff12 dev-python/quantities: Stabilize 0.14.1 x86, #903851 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/quantities/quantities-0.14.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/quantities/quantities-0.14.1.ebuild b/dev-python/quantities/quantities-0.14.1.ebuild index 8542c16b32d2..66847fdf02f5 100644 --- a/dev-python/quantities/quantities-0.14.1.ebuild +++ b/dev-python/quantities/quantities-0.14.1.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" >=dev-python/numpy-1.19[$PYTHON_USEDEP]
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: 2363861539e817e3c3fd6e333418325560da2446 Author: Arthur Zamarin gentoo org> AuthorDate: Wed Apr 5 07:00:50 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Wed Apr 5 07:00:50 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23638615 dev-python/quantities: Stabilize 0.14.1 amd64, #903851 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/quantities/quantities-0.14.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/quantities/quantities-0.14.1.ebuild b/dev-python/quantities/quantities-0.14.1.ebuild index b6edadfcb852..8542c16b32d2 100644 --- a/dev-python/quantities/quantities-0.14.1.ebuild +++ b/dev-python/quantities/quantities-0.14.1.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" RDEPEND=" >=dev-python/numpy-1.19[$PYTHON_USEDEP]
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: e0ad88e9fdb4ee05169f16458a71b1cb1e0979d8 Author: Michał Górny gentoo org> AuthorDate: Fri Feb 17 17:05:58 2023 + Commit: Michał Górny gentoo org> CommitDate: Fri Feb 17 18:51:40 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0ad88e9 dev-python/quantities: Bump to 0.14.1 Signed-off-by: Michał Górny gentoo.org> dev-python/quantities/Manifest | 1 + dev-python/quantities/quantities-0.14.1.ebuild | 36 ++ 2 files changed, 37 insertions(+) diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest index 260d65d86ee4..26caee78e384 100644 --- a/dev-python/quantities/Manifest +++ b/dev-python/quantities/Manifest @@ -1,2 +1,3 @@ DIST python-quantities-0.13.0.gh.tar.gz 107178 BLAKE2B f5fe69ed1d82bc90620a1cabf4c68f676330a2b09e8590bedf48ee8c46e3176d57e0dc6374d1112377056cd1138553d92f0bcaf0a68e2600e3631226e2262afc SHA512 d108b0f5bd834aeb7443693175d54b2b01fa9110cc57f0356681374ce95b5f57e39253d9c8166365aabc379f2f26bba3a827689ceb6c45595345e140b4cd7ad3 DIST python-quantities-0.14.0.gh.tar.gz 84115 BLAKE2B 549ac64583ebac9a68069e678ee82ac3d9d4462dee4ebffe631c0c20d0819996b0172ceb2cb276aae52ad4dc963e3bfad8f6082d98b90bf6f94c27f807d91565 SHA512 78696938c10e613e1fd6f98f9158d51ec4e86928f9833b73321cde776d77735c119af854aaaff5542093175cd105a33266fba16b31b9e04b51c7f14f648b1e19 +DIST python-quantities-0.14.1.gh.tar.gz 84275 BLAKE2B 7760a46f9f893a87badcbfd8aaad6a5598013b0cc835f17e0b788d3329be35702532fa17dc581ab0db4064292d6521d39d3ada7819c9a6c7b0e8a9b568d343dd SHA512 16c12110c2a705e4016d9575beb7f3322c3590cd12091a2710eca48fd6927b07b0d564ef93eb8af0b21688a0e86df1e60abb45625234abfaf1fa414e8b9fd110 diff --git a/dev-python/quantities/quantities-0.14.1.ebuild b/dev-python/quantities/quantities-0.14.1.ebuild new file mode 100644 index ..5df00e8a43cb --- /dev/null +++ b/dev-python/quantities/quantities-0.14.1.ebuild @@ -0,0 +1,36 @@ +# 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_{9..11} ) + +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 ~x86" + +RDEPEND=" + >=dev-python/numpy-1.19[$PYTHON_USEDEP] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: f9f5fd57bd4658b42f4e06dae1a509dad49b2ada Author: Michał Górny gentoo org> AuthorDate: Mon Feb 6 16:56:50 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Feb 6 16:56:50 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9f5fd57 dev-python/quantities: Bump to 0.14.0 Signed-off-by: Michał Górny gentoo.org> dev-python/quantities/Manifest | 1 + dev-python/quantities/quantities-0.14.0.ebuild | 36 ++ 2 files changed, 37 insertions(+) diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest index b251a9fd4e51..260d65d86ee4 100644 --- a/dev-python/quantities/Manifest +++ b/dev-python/quantities/Manifest @@ -1 +1,2 @@ DIST python-quantities-0.13.0.gh.tar.gz 107178 BLAKE2B f5fe69ed1d82bc90620a1cabf4c68f676330a2b09e8590bedf48ee8c46e3176d57e0dc6374d1112377056cd1138553d92f0bcaf0a68e2600e3631226e2262afc SHA512 d108b0f5bd834aeb7443693175d54b2b01fa9110cc57f0356681374ce95b5f57e39253d9c8166365aabc379f2f26bba3a827689ceb6c45595345e140b4cd7ad3 +DIST python-quantities-0.14.0.gh.tar.gz 84115 BLAKE2B 549ac64583ebac9a68069e678ee82ac3d9d4462dee4ebffe631c0c20d0819996b0172ceb2cb276aae52ad4dc963e3bfad8f6082d98b90bf6f94c27f807d91565 SHA512 78696938c10e613e1fd6f98f9158d51ec4e86928f9833b73321cde776d77735c119af854aaaff5542093175cd105a33266fba16b31b9e04b51c7f14f648b1e19 diff --git a/dev-python/quantities/quantities-0.14.0.ebuild b/dev-python/quantities/quantities-0.14.0.ebuild new file mode 100644 index ..5df00e8a43cb --- /dev/null +++ b/dev-python/quantities/quantities-0.14.0.ebuild @@ -0,0 +1,36 @@ +# 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_{9..11} ) + +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 ~x86" + +RDEPEND=" + >=dev-python/numpy-1.19[$PYTHON_USEDEP] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/files/, dev-python/quantities/
commit: c21657c0f67d11ae2dbfd0d30fed9ce8c83bdf9c Author: Michał Górny gentoo org> AuthorDate: Sun Dec 25 15:38:48 2022 + Commit: Michał Górny gentoo org> CommitDate: Sun Dec 25 15:41:56 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c21657c0 dev-python/quantities: Backport numpy 1.24 fix Also update archive since upstream fixed release tag. Closes: https://bugs.gentoo.org/888243 Signed-off-by: Michał Górny gentoo.org> dev-python/quantities/Manifest | 2 +- .../quantities/files/quantities-0.13.0-numpy.patch | 68 ++ 13.0-r1.ebuild => quantities-0.13.0-r2.ebuild} | 12 +++- 3 files changed, 79 insertions(+), 3 deletions(-) diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest index 0495c7ec9fe7..b251a9fd4e51 100644 --- a/dev-python/quantities/Manifest +++ b/dev-python/quantities/Manifest @@ -1 +1 @@ -DIST python-quantities-0.13.0.tar.gz 107187 BLAKE2B ead5c223892f65c68ced2265356f8c1e5374f80a1507ec561370e56e28e8965217a7b99f5c46cb83a5f6a1b1f12eb9f501844650488871d48794f13a4383df38 SHA512 ec0a61d8df8e48e7ee08cab5c899a8c8ad96b964ee0132ab130f272f062436d91e6370aac9d85453eeb3d95e17e79e8dfb80412397eada1f0a4310c0494fa217 +DIST python-quantities-0.13.0.gh.tar.gz 107178 BLAKE2B f5fe69ed1d82bc90620a1cabf4c68f676330a2b09e8590bedf48ee8c46e3176d57e0dc6374d1112377056cd1138553d92f0bcaf0a68e2600e3631226e2262afc SHA512 d108b0f5bd834aeb7443693175d54b2b01fa9110cc57f0356681374ce95b5f57e39253d9c8166365aabc379f2f26bba3a827689ceb6c45595345e140b4cd7ad3 diff --git a/dev-python/quantities/files/quantities-0.13.0-numpy.patch b/dev-python/quantities/files/quantities-0.13.0-numpy.patch new file mode 100644 index ..940bc846d687 --- /dev/null +++ b/dev-python/quantities/files/quantities-0.13.0-numpy.patch @@ -0,0 +1,68 @@ +From 29852b895d5d39006d1f129397cffae3578a694e Mon Sep 17 00:00:00 2001 +From: Andrew Davison +Date: Thu, 7 Jul 2022 10:03:32 +0200 +Subject: [PATCH] fix failure to handle units with floordiv + +fixes #205 +--- + quantities/dimensionality.py| 2 +- + quantities/tests/test_arithmetic.py | 16 +++- + 2 files changed, 16 insertions(+), 2 deletions(-) + +diff --git a/quantities/dimensionality.py b/quantities/dimensionality.py +index cea68ca..d54f96f 100644 +--- a/quantities/dimensionality.py b/quantities/dimensionality.py +@@ -238,6 +238,7 @@ def _d_divide(q1, q2, out=None): + return q2.dimensionality**-1 + p_dict[np.divide] = _d_divide + p_dict[np.true_divide] = _d_divide ++p_dict[np.floor_divide] = _d_divide + + def _d_check_uniform(q1, q2, out=None): + try: +@@ -273,7 +274,6 @@ p_dict[np.subtract] = _d_check_uniform + p_dict[np.mod] = _d_check_uniform + p_dict[np.fmod] = _d_check_uniform + p_dict[np.remainder] = _d_check_uniform +-p_dict[np.floor_divide] = _d_check_uniform + p_dict[np.hypot] = _d_check_uniform + p_dict[np.equal] = _d_check_uniform + p_dict[np.not_equal] = _d_check_uniform +diff --git a/quantities/tests/test_arithmetic.py b/quantities/tests/test_arithmetic.py +index fe5670e..534702c 100644 +--- a/quantities/tests/test_arithmetic.py b/quantities/tests/test_arithmetic.py +@@ -52,7 +52,7 @@ class iter_dtypes: + + def __init__(self): + self._i = 1 +-self._typeDict = np.typeDict.copy() ++self._typeDict = np.sctypeDict.copy() + self._typeDict[17] = int + self._typeDict[18] = long + self._typeDict[19] = float +@@ -132,6 +132,20 @@ class TestDTypes(TestCase): + self.check_rmul(x, y) + dtypes.pop(0) + ++def test_truediv(self): ++q = Quantity([44, 40, 36, 32], units=pq.ms) ++self.assertQuantityEqual( ++q/(4 * pq.ms), ++Quantity([11, 10, 9, 8], units=pq.dimensionless) ++) ++ ++def test_floordiv(self): ++q = Quantity([45, 43, 39, 32], units=pq.ms) ++self.assertQuantityEqual( ++q//(4 * pq.ms), ++Quantity([11, 10, 9, 8], units=pq.dimensionless) ++) ++ + def test_mixed_addition(self): + self.assertQuantityEqual(1*pq.ft + 1*pq.m, 4.280839895 * pq.ft) + self.assertQuantityEqual(1*pq.ft + pq.m, 4.280839895 * pq.ft) +-- +2.39.0 + diff --git a/dev-python/quantities/quantities-0.13.0-r1.ebuild b/dev-python/quantities/quantities-0.13.0-r2.ebuild similarity index 75% rename from dev-python/quantities/quantities-0.13.0-r1.ebuild rename to dev-python/quantities/quantities-0.13.0-r2.ebuild index 10138c6a4687..72f622668aa3 100644 --- a/dev-python/quantities/quantities-0.13.0-r1.ebuild +++ b/dev-python/quantities/quantities-0.13.0-r2.ebuild @@ -10,10 +10,14 @@ 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"; +HOMEPAGE=" + https://github.com/python-quantities/python-quantities/ +
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: 8d6a98b23c1e931246d53795f60d876f2f8eb84f Author: Arthur Zamarin gentoo org> AuthorDate: Sat Oct 29 14:23:31 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Oct 29 14:32:17 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d6a98b2 dev-python/quantities: enable py3.11 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/quantities/quantities-0.13.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/quantities/quantities-0.13.0-r1.ebuild b/dev-python/quantities/quantities-0.13.0-r1.ebuild index 2959af19f0d8..10138c6a4687 100644 --- a/dev-python/quantities/quantities-0.13.0-r1.ebuild +++ b/dev-python/quantities/quantities-0.13.0-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: 8732fcd40b37351d5dee6286463362d5c5882edd Author: Michał Górny gentoo org> AuthorDate: Wed Mar 16 08:08:44 2022 + Commit: Michał Górny gentoo org> CommitDate: Wed Mar 16 08:08:44 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8732fcd4 dev-python/quantities: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/quantities/quantities-0.13.0.ebuild | 27 -- 1 file changed, 27 deletions(-) diff --git a/dev-python/quantities/quantities-0.13.0.ebuild b/dev-python/quantities/quantities-0.13.0.ebuild deleted file mode 100644 index 63cbff992351.. --- a/dev-python/quantities/quantities-0.13.0.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2020-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -DISTUTILS_USE_SETUPTOOLS=no - -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"; -SRC_URI=" - https://github.com/python-quantities/python-quantities/archive/v${PV}.tar.gz - -> ${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - >=dev-python/numpy-1.16[$PYTHON_USEDEP] -" - -distutils_enable_tests pytest
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: 7db7760114002ca29b591be48147ce22b6473036 Author: Jakov Smolić gentoo org> AuthorDate: Tue Mar 15 18:30:38 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Tue Mar 15 18:30:38 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7db77601 dev-python/quantities: Stabilize 0.13.0-r1 amd64, #835279 Signed-off-by: Jakov Smolić gentoo.org> dev-python/quantities/quantities-0.13.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/quantities/quantities-0.13.0-r1.ebuild b/dev-python/quantities/quantities-0.13.0-r1.ebuild index da31d981bef5..2959af19f0d8 100644 --- a/dev-python/quantities/quantities-0.13.0-r1.ebuild +++ b/dev-python/quantities/quantities-0.13.0-r1.ebuild @@ -18,7 +18,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 x86" +KEYWORDS="amd64 x86" RDEPEND=" >=dev-python/numpy-1.16[$PYTHON_USEDEP]
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/, dev-python/quantities/files/
commit: 3b7aeba20698dfe1bdbb4ecfc97249ab13ddb79c Author: Michał Górny gentoo org> AuthorDate: Thu Feb 17 21:52:03 2022 + Commit: Michał Górny gentoo org> CommitDate: Thu Feb 17 21:52:03 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b7aeba2 dev-python/quantities: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/quantities/Manifest | 1 - .../files/quantities-0.12.5-numpy-1.21.patch | 29 - dev-python/quantities/quantities-0.12.5.ebuild | 36 -- 3 files changed, 66 deletions(-) diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest index e4e1eb9c9b3c..0495c7ec9fe7 100644 --- a/dev-python/quantities/Manifest +++ b/dev-python/quantities/Manifest @@ -1,2 +1 @@ -DIST python-quantities-0.12.5.tar.gz 105130 BLAKE2B db1cf09fa2efc249bc722abe34ed71d0f59d85595f70baf44203785c32179a3598be8aac225adadfd7d5f09c44ec077dcef310ee2fe7ce4d49a1533b04cb9de6 SHA512 db81e45d464e65d6b144d05e1b990fccc5c17ab7fdd47c7bb0c0094ebcacd6af52a3692492561af3a694741810ddac03e4c887d7c6effed833f196493da5f156 DIST python-quantities-0.13.0.tar.gz 107187 BLAKE2B ead5c223892f65c68ced2265356f8c1e5374f80a1507ec561370e56e28e8965217a7b99f5c46cb83a5f6a1b1f12eb9f501844650488871d48794f13a4383df38 SHA512 ec0a61d8df8e48e7ee08cab5c899a8c8ad96b964ee0132ab130f272f062436d91e6370aac9d85453eeb3d95e17e79e8dfb80412397eada1f0a4310c0494fa217 diff --git a/dev-python/quantities/files/quantities-0.12.5-numpy-1.21.patch b/dev-python/quantities/files/quantities-0.12.5-numpy-1.21.patch deleted file mode 100644 index 34dd5a075412.. --- a/dev-python/quantities/files/quantities-0.12.5-numpy-1.21.patch +++ /dev/null @@ -1,29 +0,0 @@ -From f32e0ce2feeb588eb8b7236700c8c1176e2bc499 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= -Date: Tue, 17 Aug 2021 08:24:07 +0200 -Subject: [PATCH] fix expected np.arctan2() exception for numpy 1.21 - -NumPy 1.21 has changed the exception type for incorrect np.arctan2() -arguments from ValueError to TypeError. Adjust the test appropriately. - -Fixes #190 - quantities/tests/test_umath.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/quantities/tests/test_umath.py b/quantities/tests/test_umath.py -index f5aeb78..a7ebb18 100644 a/quantities/tests/test_umath.py -+++ b/quantities/tests/test_umath.py -@@ -226,7 +226,7 @@ class TestUmath(TestCase): - np.arctan2(3*pq.V, 3*pq.V), - np.radians(45)*pq.dimensionless - ) --self.assertRaises(ValueError, np.arctan2, (1*pq.m, 1*pq.m)) -+self.assertRaises((TypeError, ValueError), np.arctan2, (1*pq.m, 1*pq.m)) - - def test_hypot(self): - self.assertQuantityEqual(np.hypot(3 * pq.m, 4 * pq.m), 5 * pq.m) --- -2.32.0 - diff --git a/dev-python/quantities/quantities-0.12.5.ebuild b/dev-python/quantities/quantities-0.12.5.ebuild deleted file mode 100644 index 2697e7840c36.. --- a/dev-python/quantities/quantities-0.12.5.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -DISTUTILS_USE_SETUPTOOLS=no - -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"; -SRC_URI=" - https://github.com/python-quantities/python-quantities/archive/v${PV}.tar.gz - -> ${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - dev-python/numpy[$PYTHON_USEDEP] -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/${P}-numpy-1.21.patch -) - -EPYTEST_DESELECT=( - # unexpected success - quantities/tests/test_umath.py::TestUmath::test_fix -)
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: f00c81921f1a1068ecf605f6af96cc99c5626e5b Author: Arthur Zamarin gentoo org> AuthorDate: Thu Feb 17 21:28:41 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu Feb 17 21:28:41 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f00c8192 dev-python/quantities: Stabilize 0.13.0 x86, #833543 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/quantities/quantities-0.13.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/quantities/quantities-0.13.0.ebuild b/dev-python/quantities/quantities-0.13.0.ebuild index 37b541e8d5e0..63cbff992351 100644 --- a/dev-python/quantities/quantities-0.13.0.ebuild +++ b/dev-python/quantities/quantities-0.13.0.ebuild @@ -18,7 +18,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" >=dev-python/numpy-1.16[$PYTHON_USEDEP]
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: bbd33d49d0c51511068faa36d225c38f9ef106be Author: Arthur Zamarin gentoo org> AuthorDate: Thu Feb 17 21:25:32 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu Feb 17 21:25:32 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbd33d49 dev-python/quantities: Stabilize 0.13.0 amd64, #833543 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/quantities/quantities-0.13.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/quantities/quantities-0.13.0.ebuild b/dev-python/quantities/quantities-0.13.0.ebuild index 29b2720ff0ff..37b541e8d5e0 100644 --- a/dev-python/quantities/quantities-0.13.0.ebuild +++ b/dev-python/quantities/quantities-0.13.0.ebuild @@ -18,7 +18,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" RDEPEND=" >=dev-python/numpy-1.16[$PYTHON_USEDEP]
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: 2a530fa9754864b69c309a16ac2a2df8466f998c Author: Michał Górny gentoo org> AuthorDate: Sun Jan 30 12:40:12 2022 + Commit: Michał Górny gentoo org> CommitDate: Sun Jan 30 13:09:25 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a530fa9 dev-python/quantities: Switch to PEP 517 build Signed-off-by: Michał Górny gentoo.org> dev-python/quantities/quantities-0.13.0-r1.ebuild | 27 +++ 1 file changed, 27 insertions(+) diff --git a/dev-python/quantities/quantities-0.13.0-r1.ebuild b/dev-python/quantities/quantities-0.13.0-r1.ebuild new file mode 100644 index ..d0c84615b029 --- /dev/null +++ b/dev-python/quantities/quantities-0.13.0-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +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"; +SRC_URI=" + https://github.com/python-quantities/python-quantities/archive/v${PV}.tar.gz + -> ${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/numpy-1.16[$PYTHON_USEDEP] +" + +distutils_enable_tests pytest
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: dbdc90c8fada0add6c8fd6d799c4c643a7b4f9ae Author: Michał Górny gentoo org> AuthorDate: Fri Jan 14 06:58:44 2022 + Commit: Michał Górny gentoo org> CommitDate: Fri Jan 14 08:08:04 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbdc90c8 dev-python/quantities: Bump to 0.13.0 Signed-off-by: Michał Górny gentoo.org> dev-python/quantities/Manifest | 1 + dev-python/quantities/quantities-0.13.0.ebuild | 27 ++ 2 files changed, 28 insertions(+) diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest index 3516beb4dda5..e4e1eb9c9b3c 100644 --- a/dev-python/quantities/Manifest +++ b/dev-python/quantities/Manifest @@ -1 +1,2 @@ DIST python-quantities-0.12.5.tar.gz 105130 BLAKE2B db1cf09fa2efc249bc722abe34ed71d0f59d85595f70baf44203785c32179a3598be8aac225adadfd7d5f09c44ec077dcef310ee2fe7ce4d49a1533b04cb9de6 SHA512 db81e45d464e65d6b144d05e1b990fccc5c17ab7fdd47c7bb0c0094ebcacd6af52a3692492561af3a694741810ddac03e4c887d7c6effed833f196493da5f156 +DIST python-quantities-0.13.0.tar.gz 107187 BLAKE2B ead5c223892f65c68ced2265356f8c1e5374f80a1507ec561370e56e28e8965217a7b99f5c46cb83a5f6a1b1f12eb9f501844650488871d48794f13a4383df38 SHA512 ec0a61d8df8e48e7ee08cab5c899a8c8ad96b964ee0132ab130f272f062436d91e6370aac9d85453eeb3d95e17e79e8dfb80412397eada1f0a4310c0494fa217 diff --git a/dev-python/quantities/quantities-0.13.0.ebuild b/dev-python/quantities/quantities-0.13.0.ebuild new file mode 100644 index ..29b2720ff0ff --- /dev/null +++ b/dev-python/quantities/quantities-0.13.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_SETUPTOOLS=no + +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"; +SRC_URI=" + https://github.com/python-quantities/python-quantities/archive/v${PV}.tar.gz + -> ${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/numpy-1.16[$PYTHON_USEDEP] +" + +distutils_enable_tests pytest
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: 54e0cf99d5803cc1ca027f5e02b7809756a2c69e Author: Michał Górny gentoo org> AuthorDate: Sat Sep 18 20:08:38 2021 + Commit: Michał Górny gentoo org> CommitDate: Sat Sep 18 20:57:00 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54e0cf99 dev-python/quantities: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/quantities/Manifest | 1 - dev-python/quantities/quantities-0.12.4.ebuild | 36 -- 2 files changed, 37 deletions(-) diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest index bbd182155d6..3516beb4dda 100644 --- a/dev-python/quantities/Manifest +++ b/dev-python/quantities/Manifest @@ -1,2 +1 @@ -DIST python-quantities-0.12.4.tar.gz 104093 BLAKE2B 84587726ef3c2f4c7dce4ea538363aecc42aa88c31d2990f834f2de9540b52d6ca0c437c1876a4c2dd5512b4be3af95cc64a1294ea60555ed1b51819f7f46125 SHA512 b5d181880d0789e6fbd55837c5ce65b677764a718be4550f1f553131e171caa59f8fc84d67e69563a293cda01e7b0678074fb311b3766f0013e658a9fa00471f DIST python-quantities-0.12.5.tar.gz 105130 BLAKE2B db1cf09fa2efc249bc722abe34ed71d0f59d85595f70baf44203785c32179a3598be8aac225adadfd7d5f09c44ec077dcef310ee2fe7ce4d49a1533b04cb9de6 SHA512 db81e45d464e65d6b144d05e1b990fccc5c17ab7fdd47c7bb0c0094ebcacd6af52a3692492561af3a694741810ddac03e4c887d7c6effed833f196493da5f156 diff --git a/dev-python/quantities/quantities-0.12.4.ebuild b/dev-python/quantities/quantities-0.12.4.ebuild deleted file mode 100644 index 6a7c1364b3f..000 --- a/dev-python/quantities/quantities-0.12.4.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PN="python-quantities" -MY_PV="$(ver_cut 1-3)" -MY_P="${MY_PN}-${PV}" - -PYTHON_COMPAT=( python3_{8..10} ) -DISTUTILS_USE_SETUPTOOLS=no - -inherit distutils-r1 - -DESCRIPTION="Support for physical quantities with units, based on numpy" -HOMEPAGE="https://github.com/python-quantities/python-quantities"; -SRC_URI="https://github.com/python-quantities/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${MY_PN}-${MY_PV}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - dev-python/numpy[$PYTHON_USEDEP] -" - -distutils_enable_tests unittest - -python_prepare_all() { - # Unexpected success - sed -i -e 's:test_fix:_&:' \ - quantities/tests/test_umath.py || die - - distutils-r1_python_prepare_all -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: 71a930a21b37359bd7a4c35fed1bc9067237ec65 Author: Sam James gentoo org> AuthorDate: Sat Sep 18 19:47:42 2021 + Commit: Sam James gentoo org> CommitDate: Sat Sep 18 19:47:42 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71a930a2 dev-python/quantities: Stabilize 0.12.5 x86, #813579 Signed-off-by: Sam James gentoo.org> dev-python/quantities/quantities-0.12.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/quantities/quantities-0.12.5.ebuild b/dev-python/quantities/quantities-0.12.5.ebuild index 8e04e96e8c3..2697e7840c3 100644 --- a/dev-python/quantities/quantities-0.12.5.ebuild +++ b/dev-python/quantities/quantities-0.12.5.ebuild @@ -18,7 +18,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" dev-python/numpy[$PYTHON_USEDEP]
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: 7b08a2438197147ee532c9d13cb6f6692cee3a7b Author: Sam James gentoo org> AuthorDate: Sat Sep 18 17:16:20 2021 + Commit: Sam James gentoo org> CommitDate: Sat Sep 18 17:16:20 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b08a243 dev-python/quantities: Stabilize 0.12.5 amd64, #813579 Signed-off-by: Sam James gentoo.org> dev-python/quantities/quantities-0.12.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/quantities/quantities-0.12.5.ebuild b/dev-python/quantities/quantities-0.12.5.ebuild index fe5b4e6f264..8e04e96e8c3 100644 --- a/dev-python/quantities/quantities-0.12.5.ebuild +++ b/dev-python/quantities/quantities-0.12.5.ebuild @@ -18,7 +18,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" RDEPEND=" dev-python/numpy[$PYTHON_USEDEP]
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: c48771643a74ffcaceb5531f26ef73ae72868d38 Author: Michał Górny gentoo org> AuthorDate: Tue Aug 17 06:31:12 2021 + Commit: Michał Górny gentoo org> CommitDate: Tue Aug 17 06:47:42 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4877164 dev-python/quantities: Add python@ as co-maint. Signed-off-by: Michał Górny gentoo.org> dev-python/quantities/metadata.xml | 4 1 file changed, 4 insertions(+) diff --git a/dev-python/quantities/metadata.xml b/dev-python/quantities/metadata.xml index 8065a3f7e29..ad73e0b5b6d 100644 --- a/dev-python/quantities/metadata.xml +++ b/dev-python/quantities/metadata.xml @@ -9,6 +9,10 @@ proxy-ma...@gentoo.org Proxy Maintainers + + pyt...@gentoo.org + Python + python-quantities/python-quantities quantities
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/files/, dev-python/quantities/
commit: 09e3b839453e5fc8cf3d16934f774e41271118db Author: Michał Górny gentoo org> AuthorDate: Tue Aug 17 06:30:27 2021 + Commit: Michał Górny gentoo org> CommitDate: Tue Aug 17 06:47:41 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09e3b839 dev-python/quantities: Bump to 0.12.5 Signed-off-by: Michał Górny gentoo.org> dev-python/quantities/Manifest | 1 + .../files/quantities-0.12.5-numpy-1.21.patch | 29 + dev-python/quantities/quantities-0.12.5.ebuild | 36 ++ 3 files changed, 66 insertions(+) diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest index fa90e3a5b65..bbd182155d6 100644 --- a/dev-python/quantities/Manifest +++ b/dev-python/quantities/Manifest @@ -1 +1,2 @@ DIST python-quantities-0.12.4.tar.gz 104093 BLAKE2B 84587726ef3c2f4c7dce4ea538363aecc42aa88c31d2990f834f2de9540b52d6ca0c437c1876a4c2dd5512b4be3af95cc64a1294ea60555ed1b51819f7f46125 SHA512 b5d181880d0789e6fbd55837c5ce65b677764a718be4550f1f553131e171caa59f8fc84d67e69563a293cda01e7b0678074fb311b3766f0013e658a9fa00471f +DIST python-quantities-0.12.5.tar.gz 105130 BLAKE2B db1cf09fa2efc249bc722abe34ed71d0f59d85595f70baf44203785c32179a3598be8aac225adadfd7d5f09c44ec077dcef310ee2fe7ce4d49a1533b04cb9de6 SHA512 db81e45d464e65d6b144d05e1b990fccc5c17ab7fdd47c7bb0c0094ebcacd6af52a3692492561af3a694741810ddac03e4c887d7c6effed833f196493da5f156 diff --git a/dev-python/quantities/files/quantities-0.12.5-numpy-1.21.patch b/dev-python/quantities/files/quantities-0.12.5-numpy-1.21.patch new file mode 100644 index 000..34dd5a07541 --- /dev/null +++ b/dev-python/quantities/files/quantities-0.12.5-numpy-1.21.patch @@ -0,0 +1,29 @@ +From f32e0ce2feeb588eb8b7236700c8c1176e2bc499 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Tue, 17 Aug 2021 08:24:07 +0200 +Subject: [PATCH] fix expected np.arctan2() exception for numpy 1.21 + +NumPy 1.21 has changed the exception type for incorrect np.arctan2() +arguments from ValueError to TypeError. Adjust the test appropriately. + +Fixes #190 +--- + quantities/tests/test_umath.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/quantities/tests/test_umath.py b/quantities/tests/test_umath.py +index f5aeb78..a7ebb18 100644 +--- a/quantities/tests/test_umath.py b/quantities/tests/test_umath.py +@@ -226,7 +226,7 @@ class TestUmath(TestCase): + np.arctan2(3*pq.V, 3*pq.V), + np.radians(45)*pq.dimensionless + ) +-self.assertRaises(ValueError, np.arctan2, (1*pq.m, 1*pq.m)) ++self.assertRaises((TypeError, ValueError), np.arctan2, (1*pq.m, 1*pq.m)) + + def test_hypot(self): + self.assertQuantityEqual(np.hypot(3 * pq.m, 4 * pq.m), 5 * pq.m) +-- +2.32.0 + diff --git a/dev-python/quantities/quantities-0.12.5.ebuild b/dev-python/quantities/quantities-0.12.5.ebuild new file mode 100644 index 000..fe5b4e6f264 --- /dev/null +++ b/dev-python/quantities/quantities-0.12.5.ebuild @@ -0,0 +1,36 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_SETUPTOOLS=no + +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"; +SRC_URI=" + https://github.com/python-quantities/python-quantities/archive/v${PV}.tar.gz + -> ${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/numpy[$PYTHON_USEDEP] +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/${P}-numpy-1.21.patch +) + +EPYTEST_DESELECT=( + # unexpected success + quantities/tests/test_umath.py::TestUmath::test_fix +)
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: 525f1044c040a425021e135469e625e19c23005f Author: Michał Górny gentoo org> AuthorDate: Sat Jun 5 18:02:42 2021 + Commit: Michał Górny gentoo org> CommitDate: Sat Jun 5 18:10:27 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=525f1044 dev-python/quantities: Enable py3.10 Signed-off-by: Michał Górny gentoo.org> dev-python/quantities/quantities-0.12.4.ebuild | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-python/quantities/quantities-0.12.4.ebuild b/dev-python/quantities/quantities-0.12.4.ebuild index 337fd8fdd1b..6a7c1364b3f 100644 --- a/dev-python/quantities/quantities-0.12.4.ebuild +++ b/dev-python/quantities/quantities-0.12.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -7,7 +7,7 @@ MY_PN="python-quantities" MY_PV="$(ver_cut 1-3)" MY_P="${MY_PN}-${PV}" -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{8..10} ) DISTUTILS_USE_SETUPTOOLS=no inherit distutils-r1 @@ -15,6 +15,7 @@ inherit distutils-r1 DESCRIPTION="Support for physical quantities with units, based on numpy" HOMEPAGE="https://github.com/python-quantities/python-quantities"; SRC_URI="https://github.com/python-quantities/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${MY_PN}-${MY_PV}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0" @@ -23,9 +24,8 @@ KEYWORDS="amd64 x86" RDEPEND=" dev-python/numpy[$PYTHON_USEDEP] " -distutils_enable_tests unittest -S="${WORKDIR}/${MY_P}" +distutils_enable_tests unittest python_prepare_all() { # Unexpected success
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: 28b29df48f56c9ac6ddb99f78b5aecfa6458422d Author: Agostino Sarubbo gentoo org> AuthorDate: Sun Sep 20 20:19:22 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun Sep 20 20:19:22 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28b29df4 dev-python/quantities: amd64 stable wrt bug #737910 Package-Manager: Portage-2.3.103, Repoman-2.3.23 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/quantities/quantities-0.12.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/quantities/quantities-0.12.4.ebuild b/dev-python/quantities/quantities-0.12.4.ebuild index b759aa0a006..e4ff2318d00 100644 --- a/dev-python/quantities/quantities-0.12.4.ebuild +++ b/dev-python/quantities/quantities-0.12.4.ebuild @@ -18,7 +18,7 @@ SRC_URI="https://github.com/python-quantities/${MY_PN}/archive/v${MY_PV}.tar.gz LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 x86" +KEYWORDS="amd64 x86" RDEPEND=" dev-python/numpy[$PYTHON_USEDEP]
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: 00b754dc158af8a50fa0c654063ee730a0618c62 Author: Thomas Deutschmann gentoo org> AuthorDate: Thu Sep 3 14:26:30 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Thu Sep 3 14:26:30 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00b754dc dev-python/quantities: x86 stable (bug #737910) Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Thomas Deutschmann gentoo.org> dev-python/quantities/quantities-0.12.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/quantities/quantities-0.12.4.ebuild b/dev-python/quantities/quantities-0.12.4.ebuild index 41a8e27b48b..b759aa0a006 100644 --- a/dev-python/quantities/quantities-0.12.4.ebuild +++ b/dev-python/quantities/quantities-0.12.4.ebuild @@ -18,7 +18,7 @@ SRC_URI="https://github.com/python-quantities/${MY_PN}/archive/v${MY_PV}.tar.gz LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" RDEPEND=" dev-python/numpy[$PYTHON_USEDEP]
[gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/
commit: 1a193d349c56afe52b946352e1d8f64bc83c24e5 Author: David Denoncin gmail com> AuthorDate: Fri Jul 17 08:43:59 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Jul 19 10:43:24 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a193d34 dev-python/quantities: new package This package is an optional rdep of dev-python/pylatex Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: David Denoncin gmail.com> Signed-off-by: Joonas Niilola gentoo.org> dev-python/quantities/Manifest | 1 + dev-python/quantities/metadata.xml | 17 dev-python/quantities/quantities-0.12.4.ebuild | 36 ++ 3 files changed, 54 insertions(+) diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest new file mode 100644 index 000..fa90e3a5b65 --- /dev/null +++ b/dev-python/quantities/Manifest @@ -0,0 +1 @@ +DIST python-quantities-0.12.4.tar.gz 104093 BLAKE2B 84587726ef3c2f4c7dce4ea538363aecc42aa88c31d2990f834f2de9540b52d6ca0c437c1876a4c2dd5512b4be3af95cc64a1294ea60555ed1b51819f7f46125 SHA512 b5d181880d0789e6fbd55837c5ce65b677764a718be4550f1f553131e171caa59f8fc84d67e69563a293cda01e7b0678074fb311b3766f0013e658a9fa00471f diff --git a/dev-python/quantities/metadata.xml b/dev-python/quantities/metadata.xml new file mode 100644 index 000..7ffdf7f0ad4 --- /dev/null +++ b/dev-python/quantities/metadata.xml @@ -0,0 +1,17 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + + + ddenon...@gmail.com + David Denoncin + + + proxy-ma...@gentoo.org + Proxy Maintainers + + + python-quantities/python-quantities + quantities + + diff --git a/dev-python/quantities/quantities-0.12.4.ebuild b/dev-python/quantities/quantities-0.12.4.ebuild new file mode 100644 index 000..41a8e27b48b --- /dev/null +++ b/dev-python/quantities/quantities-0.12.4.ebuild @@ -0,0 +1,36 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="python-quantities" +MY_PV="$(ver_cut 1-3)" +MY_P="${MY_PN}-${PV}" + +PYTHON_COMPAT=( python3_{6,7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=no + +inherit distutils-r1 + +DESCRIPTION="Support for physical quantities with units, based on numpy" +HOMEPAGE="https://github.com/python-quantities/python-quantities"; +SRC_URI="https://github.com/python-quantities/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${MY_PN}-${MY_PV}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/numpy[$PYTHON_USEDEP] +" +distutils_enable_tests unittest + +S="${WORKDIR}/${MY_P}" + +python_prepare_all() { + # Unexpected success + sed -i -e 's:test_fix:_&:' \ + quantities/tests/test_umath.py || die + + distutils-r1_python_prepare_all +}