[gentoo-commits] repo/proj/guru:dev commit in: dev-python/quantities/
commit: 4dd078fd0f857d34cbe040f5a9bbe77e86081e7e Author: David Denoncin gmail com> AuthorDate: Sun Jul 19 11:13:08 2020 + Commit: David Denoncin gmail com> CommitDate: Sun Jul 19 11:18:46 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4dd078fd dev-python/quantities: moved to ::gentoo Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: David Denoncin gmail.com> dev-python/quantities/Manifest | 1 - dev-python/quantities/metadata.xml | 9 -- dev-python/quantities/quantities-0.12.4.ebuild | 43 -- 3 files changed, 53 deletions(-) diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest deleted file mode 100644 index a9133dc..000 --- a/dev-python/quantities/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST python-quantities.tar.gz 104093 BLAKE2B 84587726ef3c2f4c7dce4ea538363aecc42aa88c31d2990f834f2de9540b52d6ca0c437c1876a4c2dd5512b4be3af95cc64a1294ea60555ed1b51819f7f46125 SHA512 b5d181880d0789e6fbd55837c5ce65b677764a718be4550f1f553131e171caa59f8fc84d67e69563a293cda01e7b0678074fb311b3766f0013e658a9fa00471f diff --git a/dev-python/quantities/metadata.xml b/dev-python/quantities/metadata.xml deleted file mode 100644 index ebb4c58..000 --- a/dev-python/quantities/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ - -http://www.gentoo.org/dtd/metadata.dtd;> - - - - ddenon...@gmail.com - David Denoncin - - 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 f7d77e9..000 --- a/dev-python/quantities/quantities-0.12.4.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# 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}" -S="${WORKDIR}/${MY_P}" - -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}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND=" - dev-python/numpy[$PYTHON_USEDEP] -" - -RDEPEND="${DEPEND}" - -python_prepare_all() { - # Unexpected success - sed -i -e 's:test_fix:_&:' \ - quantities/tests/test_umath.py || die - - # pngmath replaced with imgmath in sphinx>1.8 - sed -i -e 's:ext.pngmath:ext.imgmath:g' \ - doc/conf.py || die - - distutils-r1_python_prepare_all -} - -distutils_enable_tests unittest -distutils_enable_sphinx doc dev-python/numpydoc ">dev-python/sphinx-1.8"
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/quantities/
commit: 85646252ff2b582c0c36b531cf076962c3cfc441 Author: Andrew Ammerlaan riseup net> AuthorDate: Sun Jun 14 19:18:29 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Sun Jun 14 19:18:29 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=85646252 dev-python/quantities: add py3_9 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> 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 adb0800..2a20bbc 100644 --- a/dev-python/quantities/quantities-0.12.4.ebuild +++ b/dev-python/quantities/quantities-0.12.4.ebuild @@ -8,7 +8,7 @@ MY_PV="$(ver_cut 1-3)" MY_P="${MY_PN}-${PV}" S="${WORKDIR}/${MY_P}" -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6,7,8,9} ) DISTUTILS_USE_SETUPTOOLS=no inherit distutils-r1
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/quantities/
commit: 4ea4fb00ccda87751bc3ec3e1b82bc3dca6c13f4 Author: David Denoncin gmail com> AuthorDate: Mon May 11 14:08:45 2020 + Commit: David Denoncin gmail com> CommitDate: Mon May 11 14:08:45 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4ea4fb00 dev-python/quantities: new package Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: David Denoncin gmail.com> dev-python/quantities/Manifest | 1 + dev-python/quantities/metadata.xml | 9 dev-python/quantities/quantities-0.12.4.ebuild | 32 ++ 3 files changed, 42 insertions(+) diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest new file mode 100644 index 000..a9133dc --- /dev/null +++ b/dev-python/quantities/Manifest @@ -0,0 +1 @@ +DIST python-quantities.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..ebb4c58 --- /dev/null +++ b/dev-python/quantities/metadata.xml @@ -0,0 +1,9 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + + ddenon...@gmail.com + David Denoncin + + 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..4eae132 --- /dev/null +++ b/dev-python/quantities/quantities-0.12.4.ebuild @@ -0,0 +1,32 @@ +# 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}" +S="${WORKDIR}/${MY_P}" + +PYTHON_COMPAT=( python3_{6,7,8} ) +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}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + dev-python/numpy[$PYTHON_USEDEP] +" + +RDEPEND="${DEPEND}" + +# TODO : tests doc +#distutils_enable_tests setup.py # some unexpected failures +#distutils_enable_sphinx docs
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/quantities/
commit: 21f086bc11e5277b8f6cea5bf0d384b9018bd0bd Author: Andrew Ammerlaan riseup net> AuthorDate: Mon May 11 14:54:56 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Mon May 11 14:54:56 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=21f086bc dev-python/quantities: fix test and doc Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/quantities/quantities-0.12.4.ebuild | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/dev-python/quantities/quantities-0.12.4.ebuild b/dev-python/quantities/quantities-0.12.4.ebuild index 4eae132..adb0800 100644 --- a/dev-python/quantities/quantities-0.12.4.ebuild +++ b/dev-python/quantities/quantities-0.12.4.ebuild @@ -27,6 +27,14 @@ DEPEND=" RDEPEND="${DEPEND}" -# TODO : tests doc -#distutils_enable_tests setup.py # some unexpected failures -#distutils_enable_sphinx docs +python_prepare_all() { + # Unexpected success + sed -i -e 's:test_fix:_&:' \ + quantities/tests/test_umath.py || die + + distutils-r1_python_prepare_all +} + +distutils_enable_tests unittest +# wants ext.pngmath which got removed in sphinx-2 +distutils_enable_sphinx doc dev-python/numpydoc "