diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2020-12-06 20:48:33 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2020-12-06 20:48:33 +0000 |
| commit | 2a77a2905ca47c8efdb70807d03244d40e0458f6 (patch) | |
| tree | 416596b8d01b418a38f9015c4cee4733bc60c94d /dev-python | |
| parent | 490ee5c525512b1e72c9cfd0b1151fae2628b03d (diff) | |
| download | baldeagleos-repo-2a77a2905ca47c8efdb70807d03244d40e0458f6.tar.gz baldeagleos-repo-2a77a2905ca47c8efdb70807d03244d40e0458f6.tar.xz baldeagleos-repo-2a77a2905ca47c8efdb70807d03244d40e0458f6.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python')
38 files changed, 258 insertions, 276 deletions
diff --git a/dev-python/argon2-cffi/argon2-cffi-20.1.0.ebuild b/dev-python/argon2-cffi/argon2-cffi-20.1.0.ebuild index 2763a88f8602..662acf50afd4 100644 --- a/dev-python/argon2-cffi/argon2-cffi-20.1.0.ebuild +++ b/dev-python/argon2-cffi/argon2-cffi-20.1.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" +KEYWORDS="amd64 arm ~arm64 x86" DEPEND=" app-crypt/argon2:= diff --git a/dev-python/autobahn/autobahn-20.7.1.ebuild b/dev-python/autobahn/autobahn-20.7.1.ebuild index ce803ea1a8d7..23cbdf942983 100644 --- a/dev-python/autobahn/autobahn-20.7.1.ebuild +++ b/dev-python/autobahn/autobahn-20.7.1.ebuild @@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" SLOT="0" LICENSE="MIT" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="~amd64 arm ~arm64 ~x86" IUSE="crypt scram test xbr" RESTRICT="!test? ( test )" diff --git a/dev-python/ecdsa/ecdsa-0.16.0-r1.ebuild b/dev-python/ecdsa/ecdsa-0.16.0-r1.ebuild index 37ff2c2e5fdc..f594bb746939 100644 --- a/dev-python/ecdsa/ecdsa-0.16.0-r1.ebuild +++ b/dev-python/ecdsa/ecdsa-0.16.0-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/elementpath/Manifest b/dev-python/elementpath/Manifest index 462022d49864..cf0b25bf1bf4 100644 --- a/dev-python/elementpath/Manifest +++ b/dev-python/elementpath/Manifest @@ -1,3 +1,2 @@ -DIST elementpath-2.0.3.tar.gz 191499 BLAKE2B dd8ee226b5e04168de90e0375db971bb51aad233cbc56a63e1a79aa847fffbeddc5438ca769317ccd0ad6f30aad61ec65fe9dc7c32dfff687e8cd208ccf9ee46 SHA512 fccb291405aafa5751f0dbb636171145a41941e929dd93b097d61f11366e71757f47a65c32b83fd8ad0fafcfb530315417ea879b3e05421bc479b2e309960006 DIST elementpath-2.0.4.tar.gz 191601 BLAKE2B fc2f29a737c180fb04cc289b8cd9149b7a4f3c317a5efd746c42658aa6fbfe5cb78b957f517ba9a9e8650cc1ba0ee885a723695a8a107ec4cc05328828f5cf21 SHA512 b114ebe054eb6f46e261ae2a39c8126b86abafba26803eee676731d8d46d613daf5493215873ae96c9b098f6ebf9961a1ac777ddc0a1e2b1e4a3ca924d74c213 DIST elementpath-2.0.5.tar.gz 194557 BLAKE2B 0c2571eff6fd850f42d2e3cd30598a5764d2f3a81f9cad756eda82e1212337e344314d60203d06b19200537aa8027e4c902de4df746b4e838fe42a1db39f25bb SHA512 c4fd4b360c88870ccb4102e7bca29cd979262b706b795b2a9314853543cd0a40c0ea4bebbac9cff9aaa0fcfefe107f574b41822be7e3c7328bb163c2bdc53283 diff --git a/dev-python/elementpath/elementpath-2.0.3.ebuild b/dev-python/elementpath/elementpath-2.0.3.ebuild deleted file mode 100644 index aa90b4e7af4a..000000000000 --- a/dev-python/elementpath/elementpath-2.0.3.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2019-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="XPath 1.0/2.0 parsers and selectors for ElementTree and lxml" -HOMEPAGE="https://github.com/sissaschool/elementpath - https://pypi.org/project/elementpath/" -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/xmlschema[${PYTHON_USEDEP}] - )" - -distutils_enable_tests unittest diff --git a/dev-python/elementpath/elementpath-2.0.4.ebuild b/dev-python/elementpath/elementpath-2.0.4.ebuild index f0bdefa2c61d..baca09b9f042 100644 --- a/dev-python/elementpath/elementpath-2.0.4.ebuild +++ b/dev-python/elementpath/elementpath-2.0.4.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/eventlet/Manifest b/dev-python/eventlet/Manifest index 2f77ed84d942..9ba86992d664 100644 --- a/dev-python/eventlet/Manifest +++ b/dev-python/eventlet/Manifest @@ -1 +1,2 @@ DIST eventlet-0.26.1.tar.gz 398200 BLAKE2B f14024d0825fb5530929766c63dceea7446057d9ad5dfb98ab013e96cab9b0eef5440f2d4d7ceeef17691c8a2a9055cac2b93fb23653a6facba4967c4e7cb0b3 SHA512 55b9b214130d0482ea005ea570a5aa3eafdf66e6d315a95c5ba60186a2d9a9df5c2638c86d886968954ce39e5ac2153e1f9e11631e6aef237078c3776af7d6c5 +DIST eventlet-0.29.1.tar.gz 400673 BLAKE2B 2b317e0c445a7b9c7f96147c033b1a6b4b4d27eeaebe0d40102b4e25d7825861db15e9d77cf6c9e6795e1bc946b1a613d5bb4ffa60a7077c39d575f01bdd8506 SHA512 194544e8fafeb0847673abd84c8fbc876bb407bb76cb86c5a8a92fdb7571d3585e895f0063375e43b74de81b47e49cd6002f5b7a4f266d37bacc1b23e9ce4ef3 diff --git a/dev-python/eventlet/eventlet-0.29.1.ebuild b/dev-python/eventlet/eventlet-0.29.1.ebuild new file mode 100644 index 000000000000..c1a6a203dce2 --- /dev/null +++ b/dev-python/eventlet/eventlet-0.29.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_9 ) +inherit distutils-r1 + +DESCRIPTION="Highly concurrent networking library" +HOMEPAGE="https://pypi.org/project/eventlet/ https://github.com/eventlet/eventlet/" +SRC_URI="mirror://pypi/e/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="doc examples test" + +RDEPEND=" + >=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}] + <dev-python/dnspython-2.0.0[${PYTHON_USEDEP}] + >=dev-python/greenlet-0.3[${PYTHON_USEDEP}] + >=dev-python/monotonic-1.4[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}]" +DEPEND="doc? ( >=dev-python/python-docs-2.7.6-r1:2.7 ) + test? ( ${RDEPEND} + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] )" + +PATCHES=( + "${FILESDIR}/eventlet-0.25.1-tests.patch" + "${FILESDIR}/${P}-tests.patch" +) + +distutils_enable_sphinx doc +distutils_enable_tests nose + +python_prepare_all() { + if use doc; then + local PYTHON_DOC_ATOM=$(best_version -b dev-python/python-docs:2.7) + local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}" + local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html" + local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv" + sed -i "s|'https://docs.python.org/': None|'${PYTHON_DOC}': '${PYTHON_DOC_INVENTORY}'|" doc/conf.py || die + fi + + # Prevent file collisions from teestsuite + sed -e "s:'tests', :'tests', 'tests.*', :" -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + unset PYTHONPATH + nosetests -v || die +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + distutils-r1_python_install_all +} diff --git a/dev-python/eventlet/files/eventlet-0.29.1-tests.patch b/dev-python/eventlet/files/eventlet-0.29.1-tests.patch new file mode 100644 index 000000000000..3cd20823899d --- /dev/null +++ b/dev-python/eventlet/files/eventlet-0.29.1-tests.patch @@ -0,0 +1,71 @@ +https://github.com/eventlet/eventlet/issues/646 +From 087ba743c7af8a40ac1e4e2ec89409eee3b4233e Mon Sep 17 00:00:00 2001 +From: Tim Burke <tim.burke@gmail.com> +Date: Mon, 2 Nov 2020 16:09:46 -0800 +Subject: [PATCH] py39: Add _at_fork_reinit method to Semaphores + +CPython expects to be able to call such a method on RLocks, Conditions, +and Events in threading; since we may monkey-patch threading to use +Semaphores as locks, they need the method, too. + +Addresses #646 +--- + eventlet/semaphore.py | 5 +++++ + tests/semaphore_test.py | 21 +++++++++++++++++++++ + 2 files changed, 26 insertions(+) + +diff --git a/eventlet/semaphore.py b/eventlet/semaphore.py +index 18b5b05f4..5e2b5e32f 100644 +--- a/eventlet/semaphore.py ++++ b/eventlet/semaphore.py +@@ -39,6 +39,7 @@ def __init__(self, value=1): + if value < 0: + msg = 'Semaphore() expect value >= 0, actual: {0}'.format(repr(value)) + raise ValueError(msg) ++ self._original_value = value + self.counter = value + self._waiters = collections.deque() + +@@ -51,6 +52,10 @@ def __str__(self): + params = (self.__class__.__name__, self.counter, len(self._waiters)) + return '<%s c=%s _w[%s]>' % params + ++ def _at_fork_reinit(self): ++ self.counter = self._original_value ++ self._waiters.clear() ++ + def locked(self): + """Returns true if a call to acquire would block. + """ +diff --git a/tests/semaphore_test.py b/tests/semaphore_test.py +index d6c11d1f6..cf6a29daf 100644 +--- a/tests/semaphore_test.py ++++ b/tests/semaphore_test.py +@@ -42,6 +42,27 @@ def test_timeout_non_blocking(self): + sem = eventlet.Semaphore() + self.assertRaises(ValueError, sem.acquire, blocking=False, timeout=1) + ++ def test_reinit(self): ++ # py39+ expects locks to have a _at_fork_reinit() method; since we ++ # patch in Semaphores in eventlet.green.thread, they need it, too ++ sem = eventlet.Semaphore() ++ sem.acquire() ++ sem._at_fork_reinit() ++ self.assertEqual(sem.acquire(blocking=False), True) ++ self.assertEqual(sem.acquire(blocking=False), False) ++ ++ sem = eventlet.Semaphore(0) ++ sem.release() ++ sem._at_fork_reinit() ++ self.assertEqual(sem.acquire(blocking=False), False) ++ ++ sem = eventlet.Semaphore(2) ++ sem.acquire() ++ sem._at_fork_reinit() ++ self.assertEqual(sem.acquire(blocking=False), True) ++ self.assertEqual(sem.acquire(blocking=False), True) ++ self.assertEqual(sem.acquire(blocking=False), False) ++ + + def test_semaphore_contention(): + g_mutex = eventlet.Semaphore() diff --git a/dev-python/freezegun/Manifest b/dev-python/freezegun/Manifest index 5e75629d3075..0672dba6dfb4 100644 --- a/dev-python/freezegun/Manifest +++ b/dev-python/freezegun/Manifest @@ -1,2 +1 @@ -DIST freezegun-0.3.15.tar.gz 25530 BLAKE2B 866736cfe556da50f8edba55b0b84c7365e6a1bf32d88e84dfcee6046474b30a9ea15522c3356c5ca30f9a8b79096ba17fdaab240f20e4ef1f91b25ec8262716 SHA512 9f3836f8c9f207d9bccbcaec3f1af977b26aa3699ad5f792d052e105a0de530c6dda1641480c9cd551627186bf0c65d92bf39a6f4a61f458f762d8aa999180ba DIST freezegun-1.0.0.tar.gz 27426 BLAKE2B ebbe77d50f71cd10ad77dd9010fbc3dd9411a781300a5d196f4f86a76a374a8416980f8779705a943c4638ffdf99250640afe577695203b87e77e2daa1be8b38 SHA512 b6e19cf7799c0689eb756f6ce922797f2f0622f03d13aaf81c62d777d00b660b6619cff996f7a89c54b2e9f33641401e04e72a455a03ba0c7dfca09b64cfecb0 diff --git a/dev-python/freezegun/freezegun-0.3.15-r1.ebuild b/dev-python/freezegun/freezegun-0.3.15-r1.ebuild deleted file mode 100644 index 511cd609bd44..000000000000 --- a/dev-python/freezegun/freezegun-0.3.15-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Let your Python tests travel through time" -HOMEPAGE="https://github.com/spulec/freezegun" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" - -RDEPEND=" - >dev-python/python-dateutil-2.0[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - $(python_gen_impl_dep sqlite) - dev-python/mock[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - sed -r \ - -e 's:(python-dateutil)>=2.0:\1:' \ - -e "s:'(python-dateutil)>=[0-9.]+,.+':'\1':" \ - -i setup.py - - distutils-r1_python_prepare_all -} - -python_prepare() { - # optional and only works with python3 - if ! python_is_python3; then - rm freezegun/_async*.py || die - fi -} diff --git a/dev-python/freezegun/freezegun-1.0.0-r1.ebuild b/dev-python/freezegun/freezegun-1.0.0-r1.ebuild index 9d1937c907cb..ed37434eddb5 100644 --- a/dev-python/freezegun/freezegun-1.0.0-r1.ebuild +++ b/dev-python/freezegun/freezegun-1.0.0-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" RDEPEND=" >dev-python/python-dateutil-2.7[${PYTHON_USEDEP}] diff --git a/dev-python/imread/imread-0.7.3.ebuild b/dev-python/imread/imread-0.7.3-r1.ebuild index 8bb84b428bca..39078c9493ee 100644 --- a/dev-python/imread/imread-0.7.3.ebuild +++ b/dev-python/imread/imread-0.7.3-r1.ebuild @@ -15,9 +15,14 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" -RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + media-libs/libpng:0 + media-libs/libwebp:0 + media-libs/tiff:0 + " -DEPEND=" +DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/nose[${PYTHON_USEDEP}] ) " diff --git a/dev-python/imread/metadata.xml b/dev-python/imread/metadata.xml index 16dbf6263a4a..192800044f42 100644 --- a/dev-python/imread/metadata.xml +++ b/dev-python/imread/metadata.xml @@ -10,8 +10,8 @@ Mahotas-imread is a simple module with a small number of functions. </longdescription> <upstream> - <remote-id type="github">cgohlke/tifffile</remote-id> - <remote-id type="pypi">tifffile</remote-id> + <remote-id type="github">luispedro/imread</remote-id> + <remote-id type="pypi">imread</remote-id> </upstream> <origin>gentoo-staging</origin> </pkgmetadata> diff --git a/dev-python/jsonrpclib/Manifest b/dev-python/jsonrpclib/Manifest index d5bed82ecc09..ce059b105bec 100644 --- a/dev-python/jsonrpclib/Manifest +++ b/dev-python/jsonrpclib/Manifest @@ -1,2 +1 @@ -DIST jsonrpclib-0.4.1.tar.gz 58293 BLAKE2B 29beafb412402549d625efb2cbd00d75d70a9582a48eb9223d9b8f8778bf186a80936dfb35ad47186634aab862311e048d556958a4133d0f8461163a51ead4e2 SHA512 9e0c06c016a9e117bb0b8e0fa1dd9e472ef2e280ef5efee51d491f339c8792477430390918fc46a2d8bfbbbe4baa9d4289f67775b879d2a49a35fc7bd1e8ecaa DIST jsonrpclib-0.4.2.tar.gz 59590 BLAKE2B 4201d62c9be469d7016943acfc84dca56606f17383ac26e86f574c34927ee6131c5c1a9bc5c3934b8324049ac35b1ff5e4e49ca7ef850251ebdf9a42a53e59a4 SHA512 8d9e5ebe8de960272a1ea0a194544d41851f96c5bc16b9eb6984ac4e48ec1aeaee8e4c3846cfe747a737612934d43a3df72bb1267f0608b1cd2d6faba2acc7b2 diff --git a/dev-python/jsonrpclib/jsonrpclib-0.4.1.ebuild b/dev-python/jsonrpclib/jsonrpclib-0.4.1.ebuild deleted file mode 100644 index 6bfd8b73df0c..000000000000 --- a/dev-python/jsonrpclib/jsonrpclib-0.4.1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/tcalmant/jsonrpclib.git" - inherit git-r3 -else - SRC_URI="https://github.com/tcalmant/jsonrpclib/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 arm arm64 ~mips x86" -fi - -DESCRIPTION="python implementation of the JSON-RPC spec (1.0 and 2.0)" -HOMEPAGE="https://github.com/tcalmant/jsonrpclib" - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND="dev-python/simplejson[${PYTHON_USEDEP}]" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - test? ( ${RDEPEND} )" - -python_test() { - esetup.py test -} diff --git a/dev-python/jsonrpclib/jsonrpclib-0.4.2.ebuild b/dev-python/jsonrpclib/jsonrpclib-0.4.2.ebuild index dec301469dec..03756de7d208 100644 --- a/dev-python/jsonrpclib/jsonrpclib-0.4.2.ebuild +++ b/dev-python/jsonrpclib/jsonrpclib-0.4.2.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == "9999" ]] ; then inherit git-r3 else SRC_URI="https://github.com/tcalmant/jsonrpclib/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" + KEYWORDS="amd64 arm arm64 ~mips x86" fi DESCRIPTION="python implementation of the JSON-RPC spec (1.0 and 2.0)" diff --git a/dev-python/paramiko/paramiko-2.7.2.ebuild b/dev-python/paramiko/paramiko-2.7.2.ebuild index be3a68b5c298..1f2e6a95fdfa 100644 --- a/dev-python/paramiko/paramiko-2.7.2.ebuild +++ b/dev-python/paramiko/paramiko-2.7.2.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris" IUSE="examples server" RDEPEND=" diff --git a/dev-python/psycopg/psycopg-2.8.6-r1.ebuild b/dev-python/psycopg/psycopg-2.8.6-r1.ebuild index d91a37503ecd..73638ea3068c 100644 --- a/dev-python/psycopg/psycopg-2.8.6-r1.ebuild +++ b/dev-python/psycopg/psycopg-2.8.6-r1.ebuild @@ -17,7 +17,7 @@ S=${WORKDIR}/${MY_P} LICENSE="LGPL-3+" SLOT="2" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" IUSE="debug test" RESTRICT="!test? ( test )" diff --git a/dev-python/pycryptodome/pycryptodome-3.9.9.ebuild b/dev-python/pycryptodome/pycryptodome-3.9.9.ebuild index 42c8f253ecef..b55d3d8b1167 100644 --- a/dev-python/pycryptodome/pycryptodome-3.9.9.ebuild +++ b/dev-python/pycryptodome/pycryptodome-3.9.9.ebuild @@ -18,7 +18,7 @@ SRC_URI=" LICENSE="BSD-2 Unlicense" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="" DEPEND=" diff --git a/dev-python/pyfakefs/pyfakefs-4.2.1.ebuild b/dev-python/pyfakefs/pyfakefs-4.2.1.ebuild index 7044381e625f..5c82c39679e5 100644 --- a/dev-python/pyfakefs/pyfakefs-4.2.1.ebuild +++ b/dev-python/pyfakefs/pyfakefs-4.2.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/jmcgeheeiv/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" distutils_enable_tests pytest diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest index 1d758ef22285..d39a8757bbbb 100644 --- a/dev-python/pygments/Manifest +++ b/dev-python/pygments/Manifest @@ -1 +1,2 @@ DIST Pygments-2.7.2.tar.gz 2350457 BLAKE2B 4a67cd34cc41402e485e2bbb827a00f5184c00d26ca6f341c190457134598bd1cccc87a995eee85eb007a98b6d7b9e3e33585d0c1c0bba4289bedb36d22f351d SHA512 cd667e2cb33261060c316e3b92934dae735e2aa6c427b77852d4d18f28941cb369da05adb8540dd9fe3262b3e30e2fd6456e345bccc848be9dbdba20e97ef157 +DIST Pygments-2.7.3.tar.gz 2355381 BLAKE2B a7ae0ce7fefd8e2ec707ca8cf2d01d1b746d233e36c78ec51055f750e1a508240b706be50e5f1260f93fe19e15dc27d8de8c614260783713dc61c3c683b86c57 SHA512 fe58ce0beb3d2fd88b374d7864e93dba41e4e2ad6dca570e284fd76615c5bb4e78459a4b8c4dd5f61603d4bccd5705cebafd7274369d158af149e838ec63f7eb diff --git a/dev-python/pygments/pygments-2.7.3.ebuild b/dev-python/pygments/pygments-2.7.3.ebuild new file mode 100644 index 000000000000..2dfa7010513f --- /dev/null +++ b/dev-python/pygments/pygments-2.7.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) + +inherit distutils-r1 bash-completion-r1 + +MY_P=${P^} +DESCRIPTION="Pygments is a syntax highlighting package written in Python" +HOMEPAGE=" + https://pygments.org/ + https://github.com/pygments/pygments/ + https://pypi.org/project/Pygments/" +SRC_URI="mirror://pypi/${MY_P:0:1}/${PN^}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +BDEPEND=" + test? ( + virtual/ttf-fonts + )" + +distutils_enable_sphinx doc +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + newbashcomp external/pygments.bashcomp pygmentize +} diff --git a/dev-python/pytest-xprocess/Manifest b/dev-python/pytest-xprocess/Manifest index dbae0f14ed48..dbd7e63de4a1 100644 --- a/dev-python/pytest-xprocess/Manifest +++ b/dev-python/pytest-xprocess/Manifest @@ -1,3 +1,2 @@ -DIST pytest-xprocess-0.15.0.tar.gz 13512 BLAKE2B 97ffef1e63f50ad2a1651f1791663f99e39c8fd8fc63427534efa5d60c9a4d856b7e036cd03faed73a1ba609716595ceeefe63604403a2bbd8a13407612a6402 SHA512 d2c7f6859b1696a8cb4445396376ce36bdcfdc8677fd97def716f240ae243c954f4110a3e500315a7f0c7f7ab7c337bf6749cbd1df3485db9fb95f42c2ffd181 DIST pytest-xprocess-0.16.0.tar.gz 17218 BLAKE2B 60411ed5af2add7f7c7f6b6e2074f9703cdae8a450c65eda483635a1cf8f60a3dbd84218d9e99bb3783ae00ba50b3449335df92397dab0fc7281ea72d3f5696b SHA512 3cf5d05c6693ebddc91fb2ad62eacd5b8f231e78ee82908b20268367649d6d73f0c1fbbf93a31f97feabe8bddf02cb176b2ffb9f6de4387b46cd0b97ad3c3eea DIST pytest-xprocess-0.17.0.tar.gz 19186 BLAKE2B 071063267d88d8ddd56c3b8ab7b2e6bebae321ac741e63336721cd13045688cef56909737c73b5cec27805b4f7dd93cdd7f467071966b3d864d0a1f270e821d0 SHA512 c85bb7bd8373b5b5119083fca46b8f173efe3b6f6cde5db8365e567e717f47f6f9230d2cf5ecfddb014aedd628aee75023f4da3077fa3ffb26b3c7bfc61d57c9 diff --git a/dev-python/pytest-xprocess/pytest-xprocess-0.15.0.ebuild b/dev-python/pytest-xprocess/pytest-xprocess-0.15.0.ebuild deleted file mode 100644 index be74ca926bf6..000000000000 --- a/dev-python/pytest-xprocess/pytest-xprocess-0.15.0.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Manage external processes across test runs" -HOMEPAGE="https://pypi.org/project/pytest-xprocess/ https://github.com/pytest-dev/pytest-xprocess" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="MIT" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/pytest-xprocess/pytest-xprocess-0.16.0.ebuild b/dev-python/pytest-xprocess/pytest-xprocess-0.16.0.ebuild index 600bda459bec..be74ca926bf6 100644 --- a/dev-python/pytest-xprocess/pytest-xprocess-0.16.0.ebuild +++ b/dev-python/pytest-xprocess/pytest-xprocess-0.16.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" SLOT="0" LICENSE="MIT" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/pytest[${PYTHON_USEDEP}] diff --git a/dev-python/pytz/Manifest b/dev-python/pytz/Manifest index 3ae9c8157108..403e47ba5dba 100644 --- a/dev-python/pytz/Manifest +++ b/dev-python/pytz/Manifest @@ -1,2 +1 @@ -DIST pytz-2020.1.tar.gz 311771 BLAKE2B 2d7dd9987fd912dd2a62b5c4ab1667a13f3704ff407796c00fd76b6f3ac4dfcffba9f58740f9456ddfade6c2ef6deacc754f57f5e434b97da36b36fca3024d0f SHA512 4f652ab400bac0bd83ed305be7540094e674029a0cbde7da280adfd911b8c0a44023799b7c61971a5a61a1d6e3992c5b621e5e95bbfe962f310d5f26d4fda3ce DIST pytz-2020.4.tar.gz 310941 BLAKE2B 8abe524ccb7ed676c64dbc129ade5d6562980ea28f8939a3a7a406acf16a8a936e79ff630bf37884610e8936dfe96311ecb752f3b79519a126e1f1ac48883842 SHA512 dcbe763bc6e48c52df855fe03a8109dc0656a0e851324c0468f4307e8aff60e577fe0c9f0b062319e90d2f639b96e98edf8346064705e244143386c863a0aa7c diff --git a/dev-python/pytz/pytz-2020.1-r1.ebuild b/dev-python/pytz/pytz-2020.1-r1.ebuild deleted file mode 100644 index 9c9232fc47f4..000000000000 --- a/dev-python/pytz/pytz-2020.1-r1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="World timezone definitions for Python" -HOMEPAGE="https://pythonhosted.org/pytz/ https://pypi.org/project/pytz/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" -IUSE="" - -RDEPEND=" - || ( >=sys-libs/timezone-data-2017a sys-libs/glibc[vanilla] )" -DEPEND="${RDEPEND} - app-arch/unzip" - -PATCHES=( - # Use timezone-data zoneinfo. - "${FILESDIR}"/2018.4-zoneinfo.patch - # ...and do not install a copy of it. - "${FILESDIR}"/${PN}-2018.4-zoneinfo-noinstall.patch -) - -python_test() { - "${EPYTHON}" pytz/tests/test_tzinfo.py -v || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/pytz/pytz-2020.4.ebuild b/dev-python/pytz/pytz-2020.4.ebuild index e95fe4e0916a..9c9232fc47f4 100644 --- a/dev-python/pytz/pytz-2020.4.ebuild +++ b/dev-python/pytz/pytz-2020.4.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" IUSE="" RDEPEND=" diff --git a/dev-python/roman/Manifest b/dev-python/roman/Manifest index af2bc369a2a9..cb3b5870da74 100644 --- a/dev-python/roman/Manifest +++ b/dev-python/roman/Manifest @@ -1 +1,2 @@ DIST roman-3.2.tar.gz 7156 BLAKE2B ba7233366ab9bea9f0de4ab02ddbff4a3fbcc35792165d59f291dc837f4a8a7e681f1be89bcbb9746beb88fd7ae57b4ab57934e8d72a73bbdf223840e37cc18e SHA512 142904551745c8b7874d52c8d04f483b0c18b18ba8bc3d3a51fcf509e09b3a3f8a28d0b88bdd8282957bf3d698b1bab86de7fb4808cde9b0e5cfb910deca35ab +DIST roman-3.3.tar.gz 7577 BLAKE2B 651d30154e01c9bc61326581c5600efb5f717b2c21cb6345d51ba5aa44d79bff00e66492d3962ed4c9682103a9c00af8205ae9d90b30b9a3f13dc2d18e6f1592 SHA512 8d2952640519052ce629a3881cb871448fc7921eb5f45525305c43ef9fb2672062d0ca96ab16d7aaa95f5eebcad028fdcf519f224f3631734fbb6a4a314f3a49 diff --git a/dev-python/roman/roman-3.3.ebuild b/dev-python/roman/roman-3.3.ebuild new file mode 100644 index 000000000000..4caba218e087 --- /dev/null +++ b/dev-python/roman/roman-3.3.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 +DISTUTILS_USE_SETUPTOOLS=rdepend + +DESCRIPTION="An Integer to Roman numerals converter" +HOMEPAGE="https://pypi.org/project/roman/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +distutils_enable_tests setup.py + +python_prepare_all() { + mv "${S}/src/tests.py" . || die "moving test file failed" + distutils-r1_python_prepare_all +} diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest index 9945cdf7d5f2..ed30cc43f4e0 100644 --- a/dev-python/xmlschema/Manifest +++ b/dev-python/xmlschema/Manifest @@ -1,5 +1,2 @@ -DIST xmlschema-1.2.3.tar.gz 322076 BLAKE2B 2b6c587772a14b4b804a35614a2e1e77ade9be0ef25cabfc331efc3a443058fd51c178339f1d6df2cbda77d2a8d1c2ac2c33155406e7e7f36c10225ecb70a3e7 SHA512 15c47c7e93cb0bf14534dfc298848ba4ac332677583ee14eca0c5908fd935e1a3dc01b96f92e7df6eb45b215eae2b67d74ee2d4d227fb3e3360be944815532b7 -DIST xmlschema-1.2.4.tar.gz 287636 BLAKE2B bbb06fcf0e93b98ad7b9746fa0492bc79705dab79fa3d738bc02368e5d777b61cce60f6bd65f095dc99395037d7f0af3056c0877f0c96efb830fa65e1a389c2b SHA512 27f50890728be149e3c36a5ad706b27c32efecf859699a99bebe9a0b81dea2c1ab733860366a2cf0d30680de7f45d8ae581cb445ba78708db3ed25ff7eef94ee DIST xmlschema-1.2.5.tar.gz 290750 BLAKE2B b6fb6722f1f9468cbae6507522c4398a7d0aff11918479b8e89e24986df2ad1ae4fe8640c5fe532319c6e7dbdb958d81df8cf81f1ceb18db09c406fc6a137219 SHA512 f821f041b7be483039746d7c7771117d4cac6189dd02a0f95235ea6597300dead39813b1ede9b6871fad93e50aa55f01f7da4e485c7074f66d78a76f1b57e7cf -DIST xmlschema-1.3.0.tar.gz 319713 BLAKE2B 81c94fb346aaa0f3b17d168f239fc24368ccc59fecdae615fd2a249d44072b2e6db637f802d6fca632b98ead5a85ac2b6f924abc3dc42b4c646de3ca5dd9635d SHA512 b505b3a8e375e669631b8b8c4b0867fab7e48200da7bfb6b97f5bd5f604f5e30d4d00c72d919765db8663f7eaf98f4c6cc6491aeef520ee0cc49041062c5b3bc DIST xmlschema-1.3.1.tar.gz 318853 BLAKE2B 1f2f960c5dad0c82a7ca0345bca052560d39f07b3fff9f443ec5d206a2ec92743462be2209e69a9330f432dbeb7e5908dae4168f7815cf64c141047876844453 SHA512 3bd2ba3004c1a397aff1c81c1105a603dd219f9c2c4afd0742aea3d7263dd0c50adbc05f4ccf96ad0a0f8bd5c116002152eba8194619e6bb636ef46111e6a2a4 diff --git a/dev-python/xmlschema/xmlschema-1.2.3-r1.ebuild b/dev-python/xmlschema/xmlschema-1.2.3-r1.ebuild deleted file mode 100644 index d5b80642d59d..000000000000 --- a/dev-python/xmlschema/xmlschema-1.2.3-r1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2019-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="An XML Schema validator and decoder" -HOMEPAGE="https://github.com/sissaschool/xmlschema https://pypi.org/project/xmlschema/" -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/elementpath-2.0.0[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND} - test? ( - dev-python/lxml[${PYTHON_USEDEP}] - )" - -python_test() { - "${EPYTHON}" tests/test_all.py -v || - die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/xmlschema/xmlschema-1.2.4.ebuild b/dev-python/xmlschema/xmlschema-1.2.4.ebuild deleted file mode 100644 index 0a7a73aad852..000000000000 --- a/dev-python/xmlschema/xmlschema-1.2.4.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2019-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="An XML Schema validator and decoder" -HOMEPAGE="https://github.com/sissaschool/xmlschema https://pypi.org/project/xmlschema/" -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/elementpath-2.0.2[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND} - test? ( - dev-python/lxml[${PYTHON_USEDEP}] - )" - -python_test() { - "${EPYTHON}" tests/test_all.py -v || - die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/xmlschema/xmlschema-1.2.5.ebuild b/dev-python/xmlschema/xmlschema-1.2.5.ebuild index 501364156d7f..5fcc88b88c69 100644 --- a/dev-python/xmlschema/xmlschema-1.2.5.ebuild +++ b/dev-python/xmlschema/xmlschema-1.2.5.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/xmlschema/xmlschema-1.3.0.ebuild b/dev-python/xmlschema/xmlschema-1.3.0.ebuild deleted file mode 100644 index fb6da6a080d1..000000000000 --- a/dev-python/xmlschema/xmlschema-1.3.0.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2019-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="An XML Schema validator and decoder" -HOMEPAGE="https://github.com/sissaschool/xmlschema https://pypi.org/project/xmlschema/" -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/elementpath-2.0.2[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND} - test? ( - dev-python/lxml[${PYTHON_USEDEP}] - )" - -python_test() { - "${EPYTHON}" tests/test_all.py -v || - die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index b2a0935f00dd..42234f5e00d9 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -1 +1,2 @@ DIST zeroconf-0.24.4.tar.gz 51866 BLAKE2B dd71bda4b0759c61a3e5895e766dff6516ea81ca0c8c9f5a95a8093de8a3a9b15722b99a6af0092b02c1b292bcdb11c02c9f165003b56ca8a793f4a4ca8fd891 SHA512 71678521b05016a7404005a06c8109f861cc8bfe2b3375ac6f1da8f63771271a3d9a095a8db6ccea2e062c5cc28b750a50fbe69218de72646b13a5f03359ea17 +DIST zeroconf-0.28.6.tar.gz 61487 BLAKE2B 2ded05d0e63d9f4918da925c179ee198dac68cf7a51d8f63beaaa697b04d297c7e892c97b1cedd51f9ab4af23e79e50bd3d85eb1af804c0fc0c67461501a508e SHA512 405786a25531efc42acf967838e74b67960b7ecdbee5db0633a56ba3e1774b9bd71fac58bcf29ab57ef6328560ee0f0f8cfa126ea42637ff53fb18c479a92f62 diff --git a/dev-python/zeroconf/zeroconf-0.28.6.ebuild b/dev-python/zeroconf/zeroconf-0.28.6.ebuild new file mode 100644 index 000000000000..ce8ef3dfcb75 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.28.6.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" +HOMEPAGE="https://github.com/jstasiak/python-zeroconf https://pypi.org/project/zeroconf/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=">=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + )" + +# Not included +RESTRICT="test" + +python_prepare_all() { + # It's virtual/python-enum34 + sed \ + -e "s:'enum-compat',::g" \ + -i setup.py || die + distutils-r1_python_prepare_all +} + +python_test() { + nosetests --verbose || die +} |
