diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-11-29 01:39:01 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-11-29 01:39:01 +0000 |
| commit | f4537b6303dc71941803bb488ce042ce3552282e (patch) | |
| tree | 822ab7d4d141fdfc3c45d4458fda00c66d7cb962 /dev-python | |
| parent | 3c7c34a53a51513bf1b34ebab7408a0be681d867 (diff) | |
| download | baldeagleos-repo-f4537b6303dc71941803bb488ce042ce3552282e.tar.gz baldeagleos-repo-f4537b6303dc71941803bb488ce042ce3552282e.tar.xz baldeagleos-repo-f4537b6303dc71941803bb488ce042ce3552282e.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
70 files changed, 546 insertions, 406 deletions
diff --git a/dev-python/aiohttp/aiohttp-3.7.4-r2.ebuild b/dev-python/aiohttp/aiohttp-3.7.4-r2.ebuild index 51ca16794fbf..a5bcae17e018 100644 --- a/dev-python/aiohttp/aiohttp-3.7.4-r2.ebuild +++ b/dev-python/aiohttp/aiohttp-3.7.4-r2.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 ~riscv sparc x86" RDEPEND=" <dev-python/async_timeout-4[${PYTHON_USEDEP}] diff --git a/dev-python/aiohttp/aiohttp-3.8.0.ebuild b/dev-python/aiohttp/aiohttp-3.8.0.ebuild index 0dd3cf2f5fa7..d484277a8e38 100644 --- a/dev-python/aiohttp/aiohttp-3.8.0.ebuild +++ b/dev-python/aiohttp/aiohttp-3.8.0.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~sparc ~x86" RDEPEND=" app-arch/brotli[python,${PYTHON_USEDEP}] diff --git a/dev-python/aiohttp/aiohttp-3.8.1.ebuild b/dev-python/aiohttp/aiohttp-3.8.1.ebuild index 15930ab1196e..1cbffe7c2b5b 100644 --- a/dev-python/aiohttp/aiohttp-3.8.1.ebuild +++ b/dev-python/aiohttp/aiohttp-3.8.1.ebuild @@ -37,7 +37,9 @@ BDEPEND=" dev-python/pytest-mock[${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}] dev-python/re-assert[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] + !hppa? ( !ia64? ( + dev-python/trustme[${PYTHON_USEDEP}] + ) ) ) " diff --git a/dev-python/arrow/Manifest b/dev-python/arrow/Manifest index 8f200ea21bd0..9dcf6ef03715 100644 --- a/dev-python/arrow/Manifest +++ b/dev-python/arrow/Manifest @@ -1,3 +1 @@ -DIST arrow-1.1.1.tar.gz 113054 BLAKE2B 7f9d205aaba1c8ea4ad433baad03cf2392e5dcb819a95ef8de612f7d6f8cbb8500d224648c61a0f48403878e9b02fa8e90e3e3fb6411fa23eaf1f333205f7c1e SHA512 eaa6cde1083a0ed1204260ae9b9c850ca2dfcc53858e2391def28b2aaefe78671166bfdefa1c725adceb26fa8425885d3a0c3914782203e1c3be593dd9a00349 -DIST arrow-1.2.0.tar.gz 115903 BLAKE2B d9f58ef6ffeb164a8ab1b210902b76f9efb0b08fc5e2a50611f81f903f9d8d5078b88929ef93146cf139ff1b32b993b69f96b56869680bb020264bf0056e514b SHA512 038bf7d7afbe2a3b419eec88c254d5233a5050eef97e00ca5e90e21cbfc8a157252bee269db45f25e3016cb50848c194ef456cd9eb04bb4f01d0c3614f4c49fa DIST arrow-1.2.1.tar.gz 118941 BLAKE2B 4e1cb13180d72fa42e8bbbb6ae810aa3101ee4f7be53f8235b901b662293ba67a5379abc1af0f19c1e64ae68c772d0bef8125717b3ce3ee24d587ff89e7c96e6 SHA512 96ac71c103554a9a609227af870c051031e66fcc8abb343f6d8f38c7e35ad632633b68afb2818443e38ff59ea4790101fbca4449f14168fc41260d15fcd6cce4 diff --git a/dev-python/arrow/arrow-1.1.1-r1.ebuild b/dev-python/arrow/arrow-1.1.1-r1.ebuild deleted file mode 100644 index 977c8219b7b3..000000000000 --- a/dev-python/arrow/arrow-1.1.1-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2021 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="Better dates and times for Python" -HOMEPAGE="https://github.com/arrow-py/arrow/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}]" - -BDEPEND=" - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/simplejson[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/addopts/d' tox.ini || die - distutils-r1_src_prepare -} diff --git a/dev-python/arrow/arrow-1.2.0.ebuild b/dev-python/arrow/arrow-1.2.0.ebuild deleted file mode 100644 index c6a43ca9bc8f..000000000000 --- a/dev-python/arrow/arrow-1.2.0.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="Better dates and times for Python" -HOMEPAGE="https://github.com/arrow-py/arrow/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}]" - -BDEPEND=" - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/simplejson[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/addopts/d' tox.ini || die - distutils-r1_src_prepare -} diff --git a/dev-python/cheroot/cheroot-8.5.2.ebuild b/dev-python/cheroot/cheroot-8.5.2.ebuild index 26d0be0f122d..57f299763bdd 100644 --- a/dev-python/cheroot/cheroot-8.5.2.ebuild +++ b/dev-python/cheroot/cheroot-8.5.2.ebuild @@ -27,13 +27,15 @@ BDEPEND=" dev-python/jaraco-context[${PYTHON_USEDEP}] dev-python/jaraco-text[${PYTHON_USEDEP}] dev-python/portend[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] dev-python/pytest-forked[${PYTHON_USEDEP}] >=dev-python/pytest-mock-1.11.0[${PYTHON_USEDEP}] dev-python/requests-toolbelt[${PYTHON_USEDEP}] dev-python/requests-unixsocket[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] dev-python/urllib3[${PYTHON_USEDEP}] + !ia64? ( + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) ) " diff --git a/dev-python/cherrypy/cherrypy-18.6.1.ebuild b/dev-python/cherrypy/cherrypy-18.6.1.ebuild index 586d80406aec..52a42d72f6bc 100644 --- a/dev-python/cherrypy/cherrypy-18.6.1.ebuild +++ b/dev-python/cherrypy/cherrypy-18.6.1.ebuild @@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~ia64 ppc ~ppc64 x86" +KEYWORDS="amd64 arm arm64 ppc ~ppc64 x86" IUSE="ssl test" RDEPEND=" diff --git a/dev-python/cx_Freeze/Manifest b/dev-python/cx_Freeze/Manifest index 39f3a7b87753..a9a144fd0aa2 100644 --- a/dev-python/cx_Freeze/Manifest +++ b/dev-python/cx_Freeze/Manifest @@ -1,2 +1 @@ -DIST cx_Freeze-6.6.tar.gz 120239 BLAKE2B f4ba5de3f4233ee5417d1e1dfb8ad23180d59bf7b2b2da4918c390d69e6f73cb814a1063951b2564bd4f8eabe8aff5faf9f731fe500bf90b4a5ef8cd081632a4 SHA512 24305f19c10d13ea58d995d80dc43c884898ae1e29a470d2885b6d7448806103bc7771874cc6dd064114c6e5e59f351dfec71c37ef3dddc0a136bb5a166cdb3a DIST cx_Freeze-6.8.2.gh.tar.gz 1271879 BLAKE2B 5c0feb7fdb51edd9e1c3a508d3d2401d1930986ee8caf957ad84a853baed56b0a6d9bd09628331adac67b4b8c79059c5a6669f8a52f22596cd1d42c87ae8d7f4 SHA512 7c7de3290597ab986326ee67b9cb8fc3dd554cef2940e3df11df5be23a6a5b4eebb33784149aff59ebec97663c8a2e70b0811cb7c244cabe43659c59882ecd40 diff --git a/dev-python/cx_Freeze/cx_Freeze-6.6-r1.ebuild b/dev-python/cx_Freeze/cx_Freeze-6.6-r1.ebuild deleted file mode 100644 index 612fffdf9878..000000000000 --- a/dev-python/cx_Freeze/cx_Freeze-6.6-r1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2021 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} ) -inherit distutils-r1 - -DESCRIPTION="Create standalone executables from Python scripts" -HOMEPAGE="https://cx-freeze.readthedocs.io/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="PYTHON" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - dev-python/importlib_metadata[${PYTHON_USEDEP}] - dev-util/patchelf - virtual/libcrypt:= -" - -PATCHES=( - # bug #491602 - "${FILESDIR}/${PN}-6.6-buildsystem.patch" -) - -# bug #765385 -RESTRICT="test" diff --git a/dev-python/cx_Freeze/files/cx_Freeze-6.6-buildsystem.patch b/dev-python/cx_Freeze/files/cx_Freeze-6.6-buildsystem.patch deleted file mode 100644 index 93c0ff052e6f..000000000000 --- a/dev-python/cx_Freeze/files/cx_Freeze-6.6-buildsystem.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/setup.py 2021-04-15 11:18:45.040000000 +0300 -+++ b/setup.py 2021-04-15 11:18:59.880000000 +0300 -@@ -87,8 +87,6 @@ - if "--with-lto" in get_config_var("CONFIG_ARGS"): - extra_args.append("-flto") - extra_args.append("-Wl,-export_dynamic") -- else: -- extra_args.append("-s") - extra_args.append("-Wl,-rpath,$ORIGIN/lib") - extra_args.append("-Wl,-rpath,$ORIGIN/../lib") - self.compiler.link_executable( diff --git a/dev-python/dnspython/dnspython-1.16.0-r2.ebuild b/dev-python/dnspython/dnspython-1.16.0-r2.ebuild index 1e30d5a5febe..cabc7cedd213 100644 --- a/dev-python/dnspython/dnspython-1.16.0-r2.ebuild +++ b/dev-python/dnspython/dnspython-1.16.0-r2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/rthalley/dnspython/archive/v${PV}.tar.gz -> ${P}.tar LICENSE="ISC" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" IUSE="examples" RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}] diff --git a/dev-python/dnspython/dnspython-2.1.0.ebuild b/dev-python/dnspython/dnspython-2.1.0.ebuild index e89a520d4631..aaf05d9e672b 100644 --- a/dev-python/dnspython/dnspython-2.1.0.ebuild +++ b/dev-python/dnspython/dnspython-2.1.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/rthalley/dnspython/archive/v${PV}.tar.gz -> ${P}.tar LICENSE="ISC" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" IUSE="examples" RDEPEND=" diff --git a/dev-python/fakeredis/Manifest b/dev-python/fakeredis/Manifest index cf11b444080a..5fc0952a2280 100644 --- a/dev-python/fakeredis/Manifest +++ b/dev-python/fakeredis/Manifest @@ -1,3 +1,4 @@ DIST fakeredis-1.5.1.gh.tar.gz 67064 BLAKE2B 6eac029b7de6fb2c9b56a60655b6a224cdcba25fa86662a0423044ab97248984c4c6cfbaacbe4bbb2e3fc6826693791f232c6c55d7f15995d0e5bd00370a9ba8 SHA512 74a238573f9f911e9a39885b52d8c908d51d5620e346b8927c161111ce193566c315999f71d3edb1cb1326970985fd73d533b5483afe0c98ad76798a3c15e242 DIST fakeredis-1.6.0.gh.tar.gz 70034 BLAKE2B 3e9526bf8a7bdafe2b471f0a9d488f0d654e93666863513444521eefd0ca31dbba7e589431b5dee64b27dbf9c2bcc05c1517f659942aa4491cae42b1d11f45b9 SHA512 7a3aefc161b2396e748b284152e088fc31a49a859259888cf8dcfd3a72045e84079977b0e8f11b571ab00d6c00fcf82dc28a1a50fa75633cf17215553bbd019b DIST fakeredis-1.6.1.gh.tar.gz 70171 BLAKE2B f10ac8aaec73871153ac7557a40984e6752b7e3720c1890380bda4aad828003403b6207c5e4f4ace18814e6ad33355acca08ff53cc33cb43acb5d9955ea6e5fc SHA512 1a8718d277d15a887901ed29691af83a2aea57605edf8cf2dbdc00c397a62ea8c1ed21440adadcda431a8ae8f33c85b549c5458a958b1fb74996e54ab612cd13 +DIST fakeredis-1.7.0.gh.tar.gz 71108 BLAKE2B 64b4c8aa2891ac6afd7789e5a8dce4d1a0ccd6a5083b410fd051d871d4ea9748e9d687eb27bbaeea646747f4bf170089d3ef711d6db0d6a88d8b7e755d165b6d SHA512 a8c67929e63196fea45b85097aaf6bf7402679510e471a8d13bdc0f7320e983107416d3e515fa85b1d6a6217fb82dbda7b4425c3c80ac54a1ac50eee875b0fbd diff --git a/dev-python/fakeredis/fakeredis-1.7.0.ebuild b/dev-python/fakeredis/fakeredis-1.7.0.ebuild new file mode 100644 index 000000000000..76ba3b2a2b25 --- /dev/null +++ b/dev-python/fakeredis/fakeredis-1.7.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 optfeature + +DESCRIPTION="Fake implementation of redis API for testing purposes" +HOMEPAGE=" + https://github.com/jamesls/fakeredis/ + https://pypi.org/project/fakeredis/" +SRC_URI=" + https://github.com/jamesls/fakeredis/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + dev-python/redis-py[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/sortedcontainers[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/aioredis[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + test/test_aioredis2.py::test_blocking_unblock + test/test_aioredis2.py::test_pubsub + "test/test_aioredis2.py::test_repr[fake]" + test/test_hypothesis.py::TestJoint::test + test/test_hypothesis.py::TestFuzz::test +) + +python_test() { + local EPYTEST_DESELECT=( + # also lupa + "test/test_aioredis2.py::test_failed_script_error[fake]" + ) + local args=( + # tests requiring lupa (lua support) + -k 'not test_eval and not test_lua and not test_script' + ) + epytest "${args[@]}" +} + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6379 + local redis_test_config=" + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 + " + + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + "${EPREFIX}"/usr/sbin/redis-server - <<< "${redis_test_config}" || die + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} + +pkg_postinst() { + optfeature "Mock aioredis" dev-python/aioredis +} diff --git a/dev-python/fs/fs-2.4.13.ebuild b/dev-python/fs/fs-2.4.13.ebuild index 60f50d6110c1..d024619d0ef3 100644 --- a/dev-python/fs/fs-2.4.13.ebuild +++ b/dev-python/fs/fs-2.4.13.ebuild @@ -24,7 +24,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/appdirs-1.4.3[${PYTHON_USEDEP}] diff --git a/dev-python/google-api-python-client/google-api-python-client-2.31.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.31.0.ebuild index f0739995529c..8f0c96e5a4b4 100644 --- a/dev-python/google-api-python-client/google-api-python-client-2.31.0.ebuild +++ b/dev-python/google-api-python-client/google-api-python-client-2.31.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/googleapis/google-api-python-client/archive/v${PV}.t LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 x86" RDEPEND=" >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest index eb4b21baea3b..c20f951da786 100644 --- a/dev-python/google-auth/Manifest +++ b/dev-python/google-auth/Manifest @@ -1,3 +1 @@ -DIST google-auth-2.3.0.tar.gz 184993 BLAKE2B ac1392ca61e092e3e53c9e936e2d0bd11aeb8f33cace2458e80055734a96a05294335a9273acfcc3f385f423ed537d544404e41599cb6a75b21a10998fd72562 SHA512 cf0040d238880ea4bbad64f0a47311f2ed3922a7301a0d5287319b39ea8e76dca66dc78fd860cc12386b078bd2147a1cba01de97381420ef94cc44fca0c90ad1 -DIST google-auth-2.3.2.tar.gz 186112 BLAKE2B df2321252984ea43def8ec703590d153ecbd144f385a4915ce8f52e4cb71d66e31929f95a1ac783c4c4436a454b81a71d13517d38454892203c8ef19dbd80822 SHA512 1a7c828ecf529e8e64f946a5ee1923bed1544d4828b00449d027b0898af47e99b90be1a490b60e19a133fb59397f8860265306cd3dbaa8600bef823da1e4a215 DIST google-auth-2.3.3.tar.gz 186600 BLAKE2B 52b1269b88d27fafafcb053219c93c7f180cac11cdf32b140531553dda547d02087b0418d44edc6497eb37793859d86d4beaad1a7a128c86839202785584c9ab SHA512 3ab6d97e71988ef5e338e0a643545f8fa504f5ea04f4176afd9417ecf0e9a3fa45333f0c2c7ea5bf32423df32c48ec59ac9d16ef8bfc35a1aa4c0fcc114fef63 diff --git a/dev-python/google-auth/google-auth-2.3.0.ebuild b/dev-python/google-auth/google-auth-2.3.0.ebuild deleted file mode 100644 index 7c66d158e7b7..000000000000 --- a/dev-python/google-auth/google-auth-2.3.0.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="Google Authentication Library" -HOMEPAGE=" - https://github.com/googleapis/google-auth-library-python/ - https://pypi.org/project/google-auth/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" - -RDEPEND=" - >=dev-python/cachetools-2.0.0[${PYTHON_USEDEP}] - dev-python/namespace-google[${PYTHON_USEDEP}] - >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] - >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] - >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] - " -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/grpcio[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/moto[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/pyu2f[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # these are compatibility tests with oauth2client - # disable them to unblock removal of that package - tests/test__oauth2client.py -) - -python_install_all() { - distutils-r1_python_install_all - find "${ED}" -name '*.pth' -delete || die -} diff --git a/dev-python/google-auth/google-auth-2.3.2.ebuild b/dev-python/google-auth/google-auth-2.3.2.ebuild deleted file mode 100644 index 239b4bb07e62..000000000000 --- a/dev-python/google-auth/google-auth-2.3.2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="Google Authentication Library" -HOMEPAGE=" - https://github.com/googleapis/google-auth-library-python/ - https://pypi.org/project/google-auth/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -RDEPEND=" - >=dev-python/cachetools-2.0.0[${PYTHON_USEDEP}] - dev-python/namespace-google[${PYTHON_USEDEP}] - >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] - >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] - >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - " -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/grpcio[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/moto[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/pyu2f[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # these are compatibility tests with oauth2client - # disable them to unblock removal of that package - tests/test__oauth2client.py -) - -python_install_all() { - distutils-r1_python_install_all - find "${ED}" -name '*.pth' -delete || die -} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 67f9c28bcd18..cd4ac6809296 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -7,3 +7,4 @@ DIST hypothesis-python-6.27.0.tar.gz 9172229 BLAKE2B e5d69923579877a4abaa740663a DIST hypothesis-python-6.27.1.tar.gz 9173425 BLAKE2B 0fa35a863cbddb9bdd592622247abe7a9bdfc6e4624d1a0913b58a47c29d4c507a1aee8f29f9b6080628894a41140801f567bd5b5f1e83b5505b33089992e10b SHA512 3e2f1d4d268f998ccb6bf3784844d82ff3f276074b13c82fabf87a98441764dcbab576348e77ef4c71cd5f6839f92f978e52571f7e290efc680df984eb2ddebe DIST hypothesis-python-6.27.2.tar.gz 9173689 BLAKE2B 1f3aced11713f272158f8990090ee27cd44f585849ddfb416d636b6390335c717c98a7b1f5060f38118498d08faed00f25e7e51f42eea2efc902720db2b2513e SHA512 eed1f15b8cc739e2c02e234090f937cc8a4ffddf4d44ec4ce1bdf3759cdc12d47c358e29b401f262cd2ffc25485a1db7ff4265870f588282939546300a272426 DIST hypothesis-python-6.27.3.tar.gz 9173846 BLAKE2B d8ba0509ff182cf25b8fbb8c5ade3c3d88fe54fb90203d41db68c1462903623d8ec4817d615cb42ec03948f5bc581a97902a55e73ac427416ac51a7bd067f560 SHA512 497b7e70aa29088dfe7c20be501c537201613813f6c74aec4723a87846ef38494026cb2ad79eb930b1a17b33b65eaf9dfce1411be8a58bc322d6f61f4d62b2f7 +DIST hypothesis-python-6.28.1.tar.gz 9175083 BLAKE2B c5ecd2e62696a57643ca7043a902f08c58c0635bf80e3366921b0c0f6232015f8833fa25ebd20faad01a3b77660c489c25574934e6899dd0a4151b89ad65932c SHA512 4402e7d6030ef79214d9d4b83d165788a3a45bc733aeefb7d70a85fb3d542dc1619943d19cbf7abc3902bf23eecb61a369915bee333abd3347927522ae9ed01d diff --git a/dev-python/hypothesis/hypothesis-6.28.1.ebuild b/dev-python/hypothesis/hypothesis-6.28.1.ebuild new file mode 100644 index 000000000000..8b48444a4699 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.28.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +DESCRIPTION="A library for property based testing" +HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" +SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" +S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' python3_{7..9}) + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/typing-3.7.4.1 + ) +" + +distutils_enable_tests --install pytest + +python_prepare() { + if ! use cli || ! has "${EPYTHON}" python3.{7..9}; then + sed -i -e '/console_scripts/d' setup.py || die + fi +} + +python_test() { + distutils_install_for_testing + epytest tests/cover tests/pytest tests/quality \ + -p no:pytest-describe \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/jellyfish/Manifest b/dev-python/jellyfish/Manifest index 8a821d969373..08a525241fb9 100644 --- a/dev-python/jellyfish/Manifest +++ b/dev-python/jellyfish/Manifest @@ -1,2 +1 @@ -DIST jellyfish-0.8.8.tar.gz 134461 BLAKE2B 29a4da13d248ab7916a4c9a6bd16da28bb9b4409bbc2e14660ac2a2bfad2563c7ddafb51c58968f5cac56c238de2786a5e1e64ee8d47cc668b0ab83e881b15f5 SHA512 d78f997a12ea2531e2621b3858f89a00c6c0620974a141fea6fdf6695860fa50ff4b5c21799de898944474563e6043e4d391448061501fbec078923dae21ae7c DIST jellyfish-0.8.9.tar.gz 137296 BLAKE2B 7f71f6e683021f3062c0ca529f3cd0488ab52cb9aea0d87766aa6b08d19d6b480f482a7385758ceba1a203247431d0362814f388f6a242f1ea928c32a385325f SHA512 d7d30573ebe552370a191eb755b4d27417e31eb66e7f57c2abb414e3d4075854a51f231c1d76001b7c0ff8b112a82dbe5e72be224425bd7a569a6b12455113d8 diff --git a/dev-python/jellyfish/jellyfish-0.8.8.ebuild b/dev-python/jellyfish/jellyfish-0.8.8.ebuild deleted file mode 100644 index d0eae3c81277..000000000000 --- a/dev-python/jellyfish/jellyfish-0.8.8.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Python module for doing approximate and phonetic matching of strings" -HOMEPAGE="https://github.com/jamesturk/jellyfish https://pypi.org/project/jellyfish/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 x86" - -BDEPEND=" - test? ( - dev-python/unicodecsv[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs --no-autodoc -distutils_enable_tests pytest - -python_test() { - cp -r testdata "${BUILD_DIR}" || die - cd "${BUILD_DIR}" || die - epytest lib/jellyfish/test.py -} diff --git a/dev-python/jupyter-server-proxy/Manifest b/dev-python/jupyter-server-proxy/Manifest new file mode 100644 index 000000000000..356c8ee07181 --- /dev/null +++ b/dev-python/jupyter-server-proxy/Manifest @@ -0,0 +1 @@ +DIST jupyter-server-proxy-3.1.0.tar.gz 84326 BLAKE2B 8de532ba67ea3759e5997d93839b47cc962ddd1f58bb4b594e9949cd1d933147d01f3747b992aec192b84861cb64aeb214eae2ce649978a0faef66c54f9a96de SHA512 6914a322f37f383bc5276cc34607bdd53e2c754564e214cf5fd7295ba6e8e8c89f2f25b23e673e66f575f4cb5ffa757b64cbfd008bc69dffa0480b46be603e66 diff --git a/dev-python/jupyter-server-proxy/jupyter-server-proxy-3.1.0.ebuild b/dev-python/jupyter-server-proxy/jupyter-server-proxy-3.1.0.ebuild new file mode 100644 index 000000000000..209485100e37 --- /dev/null +++ b/dev-python/jupyter-server-proxy/jupyter-server-proxy-3.1.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Jupyter notebook server extension to proxy web services" +HOMEPAGE="https://github.com/jupyterhub/jupyter-server-proxy" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" +# The GitHub tarball includes the tests, but does not have the js stuff we need + +RDEPEND=" + dev-python/aiohttp[${PYTHON_USEDEP}] + >=dev-python/jupyter_server-1.0[${PYTHON_USEDEP}] + >=dev-python/simpervisor-0.4[${PYTHON_USEDEP}] +" +BDEPEND="dev-python/jupyter_packaging[${PYTHON_USEDEP}]" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +src_install() { + distutils-r1_src_install + mv "${ED}/usr/etc" "${ED}/etc" || die +} diff --git a/dev-python/jupyter-server-proxy/metadata.xml b/dev-python/jupyter-server-proxy/metadata.xml new file mode 100644 index 000000000000..287ac643f4e9 --- /dev/null +++ b/dev-python/jupyter-server-proxy/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <upstream> + <remote-id type="pypi">jupyter-server-proxy</remote-id> + </upstream> + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/jupyter_server_mathjax/jupyter_server_mathjax-0.2.3.ebuild b/dev-python/jupyter_server_mathjax/jupyter_server_mathjax-0.2.3.ebuild index 4b463822a8f6..44bb5437cd58 100644 --- a/dev-python/jupyter_server_mathjax/jupyter_server_mathjax-0.2.3.ebuild +++ b/dev-python/jupyter_server_mathjax/jupyter_server_mathjax-0.2.3.ebuild @@ -24,3 +24,11 @@ BDEPEND=" RDEPEND="dev-python/jupyter_server[${PYTHON_USEDEP}]" distutils_enable_tests pytest + +python_prepare_all() { + # Don't try (and fail) to fetch things from the internet with npm + # https://bugs.gentoo.org/820317 + sed -i -e '/install_npm(here)/d' setup.py || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/keyring/Manifest b/dev-python/keyring/Manifest index 96b1a2ee47a7..fe302b0b00cd 100644 --- a/dev-python/keyring/Manifest +++ b/dev-python/keyring/Manifest @@ -1,2 +1,3 @@ DIST keyring-23.2.1.tar.gz 44522 BLAKE2B 79ba1fb530cecad84ba94e9a27f32196367af92952946c07581d68d5e89fac93d9b7a33cad8d1a95ae9ffe1568ddc189cd17decea7113debb022dafba4472bfd SHA512 205f74d9457f65952b1cada1a829bb97318cb80689b410eedb49def3577234f715ec6420d7d12833255ef5098040d0a5186be47fa6b8c6db6036406c3ee2e246 DIST keyring-23.3.0.tar.gz 44669 BLAKE2B 3f6cd3ff558b0a792d405c1c8175bf68c8463f26662d74c1f439e28d7914ef7f26c6091c64ef372e78028eeda04d2a5bcbe253477632b2e53d92d36ade43d47a SHA512 39264abf585949da444fdacbb1195c981157e151d1d14373c5afe0f6547f8da46b2da3e14f47e363bbccd69ee90bc182c287bd963d8b99301a5e919e511426cf +DIST keyring-23.4.0.tar.gz 44557 BLAKE2B 1115ecfca9f7d7cd5d28168d9d4198e329217ace82a32fe4db1b40aa96e6a352face46f4e8877407618e701713a8f1347810a24706bbe1872bff758f71ae34f5 SHA512 214041375a1bddda099042168f0f4c5ea4cf24c347a0693ab3efd7eb7a0ab2c36abff33f3d83168cfe5ae5dd971e0f3de4548fb0651e435009766aec740e64eb diff --git a/dev-python/keyring/keyring-23.2.1.ebuild b/dev-python/keyring/keyring-23.2.1.ebuild index 313c06a2bea8..d9fa9834cdcb 100644 --- a/dev-python/keyring/keyring-23.2.1.ebuild +++ b/dev-python/keyring/keyring-23.2.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/jaraco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" SLOT="0" LICENSE="PSF-2" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 ~riscv sparc x86 ~x64-macos" RDEPEND=" dev-python/secretstorage[${PYTHON_USEDEP}] diff --git a/dev-python/keyring/keyring-23.3.0.ebuild b/dev-python/keyring/keyring-23.3.0.ebuild index 7bc0329362e7..9c1e19561532 100644 --- a/dev-python/keyring/keyring-23.3.0.ebuild +++ b/dev-python/keyring/keyring-23.3.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/jaraco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" SLOT="0" LICENSE="PSF-2" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" RDEPEND=" dev-python/secretstorage[${PYTHON_USEDEP}] diff --git a/dev-python/keyring/keyring-23.4.0.ebuild b/dev-python/keyring/keyring-23.4.0.ebuild new file mode 100644 index 000000000000..9c1e19561532 --- /dev/null +++ b/dev-python/keyring/keyring-23.4.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Provides access to the system keyring service" +HOMEPAGE="https://github.com/jaraco/keyring" +SRC_URI="https://github.com/jaraco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="PSF-2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/secretstorage[${PYTHON_USEDEP}] + dev-python/entrypoints[${PYTHON_USEDEP}] + dev-python/jeepney[${PYTHON_USEDEP}] + dev-python/importlib_metadata[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/jaraco-packaging \ + dev-python/rst-linker + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +EPYTEST_DESELECT=( + # this test fails if importlib-metadata returns more than one + # entry, i.e. when keyring is installed already + tests/test_packaging.py::test_entry_point +) + +EPYTEST_IGNORE=( + # apparently does not unlock the keyring properly + tests/backends/test_libsecret.py + # hangs + tests/backends/test_kwallet.py +) diff --git a/dev-python/nbdime/Manifest b/dev-python/nbdime/Manifest index 8eb220b0879b..c61651eb797f 100644 --- a/dev-python/nbdime/Manifest +++ b/dev-python/nbdime/Manifest @@ -1 +1,2 @@ DIST nbdime-3.1.0.tar.gz 7508382 BLAKE2B 10ca59684df06e922afbba30d5419a20490508af8bb9d4f371b1a06db49df7b665195c9aec21c3a303b3fa0c60e5c0c1e57badaba27ac81599b311f9a5000244 SHA512 be19fc058a918cd2aad38a8f727504a01c7830dfaba7fbf06caa0a6799770824499a70f4efe1ebf0a82847dc79d84896baf9aa86d3e7cd16dd7163023fed3855 +DIST nbdime-3.1.1.tar.gz 7723671 BLAKE2B 2a8f0e7281e1830d6ab15bcc25c1be69e37b575e4ecde1f61f5d697be8cf556c7e3bfdf11375f47808aa812bebbbaf4bfacaa121c17fefb9cc8a80ba9ca08d1c SHA512 268c2c3f8c45dd4a55a632d55a817ee4a4283c5411b73915bb514a9b546ebcdebd7481e93a1e7ba66c30bcdc70932ba7af83de454d3d0ab9d2cfa24bc19c8d9f diff --git a/dev-python/nbdime/nbdime-3.1.1.ebuild b/dev-python/nbdime/nbdime-3.1.1.ebuild new file mode 100644 index 000000000000..406c862d1e59 --- /dev/null +++ b/dev-python/nbdime/nbdime-3.1.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Diff and merge of Jupyter Notebooks" +HOMEPAGE="https://jupyter.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="webtools" + +RDEPEND=" + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/GitPython[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/jupyter_server[${PYTHON_USEDEP}] + dev-python/jupyter_server_mathjax[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + www-servers/tornado[${PYTHON_USEDEP}] + webtools? ( net-libs/nodejs[npm] )" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/notebook[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/tabulate[${PYTHON_USEDEP}] + )" + +distutils_enable_sphinx docs/source \ + dev-python/recommonmark \ + dev-python/sphinx_rtd_theme +distutils_enable_tests --install pytest + +python_prepare_all() { + # yield tests were removed in pytest 4.0 + sed -i -e 's/test_offline_mathjax/_&/' \ + -e 's/test_api_merge/_&/' \ + -e 's/test_fetch_merge/_&/' \ + -e 's/test_api_diff/_&/' \ + -e 's/test_fetch_diff/_&/' \ + nbdime/tests/test_web.py || die + sed -i -e 's/test_git_difftool/_&/' \ + nbdime/tests/test_server_extension.py || die + # reason: [NOTRUN] flaws in deep diffing of lists, not identifying almost equal sublists + sed -i -e 's/test_deep_merge_lists_delete_no_conflict__currently_expected_failures/_&/' \ + nbdime/tests/test_merge.py || die + sed -i -e 's/test_diff_to_json_patch/_&/' \ + nbdime/tests/test_diff_json_conversion.py || die + sed -i -e 's/test_build_diffs_unsorted/_&/' \ + nbdime/tests/test_decision_tools.py || die + sed -i -e 's/test_merge_multiline_cell_source_conflict/_&/' \ + -e 's/test_merge_interleave_cell_add_remove/_&/' \ + -e 's/test_merge_conflicts_get_diff_indices_shifted/_&/' \ + -e 's/test_merge_inserts_within_deleted_range/_&/' \ + nbdime/tests/test_merge_notebooks.py || die + distutils-r1_python_prepare_all +} + +python_configure_all() { + use webtools || DISTUTILS_ARGS=( --skip-npm ) +} + +src_test() { + # user.email and user.name are not configured in the sandbox + git config --global user.email "larry@gentoo.org" || die + git config --global user.name "Larry the Cow" || die + python_foreach_impl python_test +} diff --git a/dev-python/ndg-httpsclient/ndg-httpsclient-0.5.1.ebuild b/dev-python/ndg-httpsclient/ndg-httpsclient-0.5.1.ebuild index 2211659cb17a..b589e9abb42c 100644 --- a/dev-python/ndg-httpsclient/ndg-httpsclient-0.5.1.ebuild +++ b/dev-python/ndg-httpsclient/ndg-httpsclient-0.5.1.ebuild @@ -15,7 +15,7 @@ S="${WORKDIR}/${P/-/_}" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~x64-macos" RDEPEND=" dev-python/pyaes[${PYTHON_USEDEP}] diff --git a/dev-python/nltk/nltk-3.6.5.ebuild b/dev-python/nltk/nltk-3.6.5.ebuild index 0a93752f6aed..8fad632c624d 100644 --- a/dev-python/nltk/nltk-3.6.5.ebuild +++ b/dev-python/nltk/nltk-3.6.5.ebuild @@ -33,6 +33,7 @@ BDEPEND=" dev-python/twython[${PYTHON_USEDEP}] sci-libs/scikit-learn[${PYTHON_USEDEP}] dev-python/scipy[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] )" PDEPEND="dev-python/nltk-data" diff --git a/dev-python/paramiko/paramiko-2.8.0.ebuild b/dev-python/paramiko/paramiko-2.8.0.ebuild index d01139551e70..4870d9640326 100644 --- a/dev-python/paramiko/paramiko-2.8.0.ebuild +++ b/dev-python/paramiko/paramiko-2.8.0.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 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris" IUSE="examples server" RDEPEND=" diff --git a/dev-python/passlib/passlib-1.7.4-r1.ebuild b/dev-python/passlib/passlib-1.7.4-r1.ebuild index 1ce8c29d5ed4..6f97e818e69c 100644 --- a/dev-python/passlib/passlib-1.7.4-r1.ebuild +++ b/dev-python/passlib/passlib-1.7.4-r1.ebuild @@ -19,8 +19,10 @@ IUSE="doc" BDEPEND=" test? ( dev-python/bcrypt[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] dev-python/scrypt[${PYTHON_USEDEP}] + !alpha? ( !hppa? ( !ia64? ( + dev-python/cryptography[${PYTHON_USEDEP}] + ) ) ) )" distutils_enable_tests nose diff --git a/dev-python/passlib/passlib-1.7.4.ebuild b/dev-python/passlib/passlib-1.7.4.ebuild index 4679c993feb4..6eea94ba0752 100644 --- a/dev-python/passlib/passlib-1.7.4.ebuild +++ b/dev-python/passlib/passlib-1.7.4.ebuild @@ -21,8 +21,10 @@ RDEPEND="bcrypt? ( dev-python/bcrypt[${PYTHON_USEDEP}] ) BDEPEND=" test? ( dev-python/bcrypt[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] dev-python/scrypt[${PYTHON_USEDEP}] + !alpha? ( !hppa? ( !ia64? ( + dev-python/cryptography[${PYTHON_USEDEP}] + ) ) ) )" distutils_enable_tests nose diff --git a/dev-python/pip/pip-21.3.1-r1.ebuild b/dev-python/pip/pip-21.3.1-r1.ebuild index ce3d1f47fd62..64a87c1bb631 100644 --- a/dev-python/pip/pip-21.3.1-r1.ebuild +++ b/dev-python/pip/pip-21.3.1-r1.ebuild @@ -32,7 +32,7 @@ SRC_URI=" " LICENSE="MIT" -KEYWORDS="~amd64 ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" SLOT="0" IUSE="test vanilla" RESTRICT="!test? ( test )" @@ -43,7 +43,6 @@ RDEPEND=" BDEPEND=" ${RDEPEND} test? ( - dev-python/cryptography[${PYTHON_USEDEP}] dev-python/freezegun[${PYTHON_USEDEP}] dev-python/pretend[${PYTHON_USEDEP}] dev-python/pytest[${PYTHON_USEDEP}] @@ -51,6 +50,9 @@ BDEPEND=" dev-python/tomli-w[${PYTHON_USEDEP}] dev-python/werkzeug[${PYTHON_USEDEP}] dev-python/wheel[${PYTHON_USEDEP}] + !alpha? ( !hppa? ( !ia64? ( + dev-python/cryptography[${PYTHON_USEDEP}] + ) ) ) ) " diff --git a/dev-python/pip/pip-21.3.1.ebuild b/dev-python/pip/pip-21.3.1.ebuild index 0e34e53192b5..be18845a2f36 100644 --- a/dev-python/pip/pip-21.3.1.ebuild +++ b/dev-python/pip/pip-21.3.1.ebuild @@ -43,13 +43,15 @@ RDEPEND=" BDEPEND=" ${RDEPEND} test? ( - dev-python/cryptography[${PYTHON_USEDEP}] dev-python/freezegun[${PYTHON_USEDEP}] dev-python/pretend[${PYTHON_USEDEP}] dev-python/pytest[${PYTHON_USEDEP}] dev-python/scripttest[${PYTHON_USEDEP}] dev-python/werkzeug[${PYTHON_USEDEP}] dev-python/wheel[${PYTHON_USEDEP}] + !alpha? ( !hppa? ( !ia64? ( + dev-python/cryptography[${PYTHON_USEDEP}] + ) ) ) ) " diff --git a/dev-python/plotly-geo/plotly-geo-1.0.0.ebuild b/dev-python/plotly-geo/plotly-geo-1.0.0.ebuild index af352d17b318..46c0465e55c7 100644 --- a/dev-python/plotly-geo/plotly-geo-1.0.0.ebuild +++ b/dev-python/plotly-geo/plotly-geo-1.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild b/dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild index e313c215f739..fdbf986f7fc0 100644 --- a/dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild +++ b/dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.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 ~sparc-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris" IUSE="examples ssl" RDEPEND=" diff --git a/dev-python/pyopenssl/pyopenssl-20.0.1.ebuild b/dev-python/pyopenssl/pyopenssl-20.0.1.ebuild index a6225b019f67..28a31f3785ca 100644 --- a/dev-python/pyopenssl/pyopenssl-20.0.1.ebuild +++ b/dev-python/pyopenssl/pyopenssl-20.0.1.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" 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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND=" >=dev-python/six-1.5.2[${PYTHON_USEDEP}] diff --git a/dev-python/pypiserver/pypiserver-1.4.2.ebuild b/dev-python/pypiserver/pypiserver-1.4.2.ebuild index 3b46d0a92589..7a35d43aa242 100644 --- a/dev-python/pypiserver/pypiserver-1.4.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.4.2.ebuild @@ -24,8 +24,10 @@ BDEPEND=" ${RDEPEND} dev-python/passlib[${PYTHON_USEDEP}] >=dev-python/pytest-2.3[${PYTHON_USEDEP}] - dev-python/twine[${PYTHON_USEDEP}] dev-python/webtest[${PYTHON_USEDEP}] + !alpha? ( !hppa? ( !ia64? ( + dev-python/twine[${PYTHON_USEDEP}] + ) ) ) )" DOCS=( README.rst ) diff --git a/dev-python/python-ldap/python-ldap-3.4.0.ebuild b/dev-python/python-ldap/python-ldap-3.4.0.ebuild index ddb8fc5a232d..c6b1261a2dcd 100644 --- a/dev-python/python-ldap/python-ldap-3.4.0.ebuild +++ b/dev-python/python-ldap/python-ldap-3.4.0.ebuild @@ -15,7 +15,7 @@ if [[ ${PV} == *9999* ]]; then inherit git-r3 else SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-solaris" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-solaris" fi LICENSE="MIT PSF-2" diff --git a/dev-python/regex/Manifest b/dev-python/regex/Manifest index 134b7b588c73..6f47fe84a969 100644 --- a/dev-python/regex/Manifest +++ b/dev-python/regex/Manifest @@ -1,4 +1 @@ -DIST regex-2021.10.23.tar.gz 703746 BLAKE2B e26ec50994375f8b128206743209dff1ceb760b67967ff66d2553c1da27840e0df1611bf1a2746fd26246d3ac8b4a3974c98c8b4d4ede4e6d7954875c17b2405 SHA512 6bc67a066a7f33f6567a672132b1b65d89b21152d5ec3546262e542413ce40999ad57fb55eec92b9f4010489968b6eed1dab27efa63e14b771d883a890ddf9ab -DIST regex-2021.10.8.tar.gz 703541 BLAKE2B da2a35c0f95c208fe2a9951d4c8cf756cd9eecb3ff27c5d729e9b5702256cc12bdde896019abf2aa12d206cbaace0fa693be332ff8d8baa5e6e628866eb64dea SHA512 395fbef61d54fad539bbd1e51c9100cba02bcd3a147e95a32ff8c32cb7fca66df98bade638e24f9a5c6e5d6c7becca033f925c4fa675b4e6689cba8316a8b46d DIST regex-2021.11.10.tar.gz 702813 BLAKE2B 4729067d690033ff3c6dabb4e180d9f46fbf9cb53c4244d7d76a96d90c07c14afd4487fb068d4b4eef17bc8457f8f9de1a8bcdcefd0fe1a6a74eae00e6fabeb4 SHA512 b821e2d5a9e21e24cacfb4ed7c4e64be89a50562f6159088587e7701940a0598114abe9b96b11b17d638b098beb070b6722ea8ca8a7ccd0d60cef6973df3ee7d -DIST regex-2021.11.2.tar.gz 712630 BLAKE2B 0a6247d1ca26b0ce644f8036892ed4a5177d69b06eb6055bcd42a08874b24666df7525d19c270b61eca0c14474a0b68fb365e4f0499cdf5ede6510595bc302b8 SHA512 1863158271224595f6a540dcc0f7fd9125b69f9cdcf7b67efc589605b739e7ed7a09fbe30fbd1f26b1d57fca25df8b150b9726412d331a4aa757387c247cb904 diff --git a/dev-python/regex/regex-2021.10.23.ebuild b/dev-python/regex/regex-2021.10.23.ebuild deleted file mode 100644 index 92ae2cbca7dc..000000000000 --- a/dev-python/regex/regex-2021.10.23.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="Alternative regular expression module to replace re" -HOMEPAGE="https://bitbucket.org/mrabarnett/mrab-regex" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" -IUSE="doc" - -PATCHES=( - "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_empty_array.patch" - "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_issue_18468.patch" -) - -distutils_enable_tests unittest - -python_test() { - eunittest -s "${BUILD_DIR}"/lib -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/Features.html ) - local DOCS=( README.rst docs/*.rst ) - - distutils-r1_python_install_all -} diff --git a/dev-python/regex/regex-2021.10.8.ebuild b/dev-python/regex/regex-2021.10.8.ebuild deleted file mode 100644 index 6d59b40bf9b5..000000000000 --- a/dev-python/regex/regex-2021.10.8.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="Alternative regular expression module to replace re" -HOMEPAGE="https://bitbucket.org/mrabarnett/mrab-regex" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" -IUSE="doc" - -PATCHES=( - "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_empty_array.patch" - "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_issue_18468.patch" -) - -distutils_enable_tests unittest - -python_test() { - eunittest -s "${BUILD_DIR}"/lib -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/Features.html ) - local DOCS=( README.rst docs/*.rst ) - - distutils-r1_python_install_all -} diff --git a/dev-python/regex/regex-2021.11.2.ebuild b/dev-python/regex/regex-2021.11.2.ebuild deleted file mode 100644 index 92ae2cbca7dc..000000000000 --- a/dev-python/regex/regex-2021.11.2.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="Alternative regular expression module to replace re" -HOMEPAGE="https://bitbucket.org/mrabarnett/mrab-regex" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" -IUSE="doc" - -PATCHES=( - "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_empty_array.patch" - "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_issue_18468.patch" -) - -distutils_enable_tests unittest - -python_test() { - eunittest -s "${BUILD_DIR}"/lib -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/Features.html ) - local DOCS=( README.rst docs/*.rst ) - - distutils-r1_python_install_all -} diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild index f932996da827..6a752a77103a 100644 --- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild +++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild @@ -19,9 +19,11 @@ RDEPEND="<dev-python/requests-3.0.0[${PYTHON_USEDEP}]" DEPEND="${RDEPEND} test? ( dev-python/betamax[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] + !alpha? ( !hppa? ( !ia64? ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + ) ) ) )" DOCS=( AUTHORS.rst HISTORY.rst README.rst ) diff --git a/dev-python/requests/requests-2.26.0.ebuild b/dev-python/requests/requests-2.26.0.ebuild index f001a52a318b..8b7aeffa96a1 100644 --- a/dev-python/requests/requests-2.26.0.ebuild +++ b/dev-python/requests/requests-2.26.0.ebuild @@ -30,8 +30,10 @@ BDEPEND=" test? ( dev-python/pytest-httpbin[${PYTHON_USEDEP}] dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] + !alpha? ( !hppa? ( !ia64? ( + dev-python/trustme[${PYTHON_USEDEP}] + ) ) ) ) " diff --git a/dev-python/rich/Manifest b/dev-python/rich/Manifest index 64cde226e5f5..1cbe7c6cf932 100644 --- a/dev-python/rich/Manifest +++ b/dev-python/rich/Manifest @@ -1,3 +1,4 @@ DIST rich-10.12.0.tar.gz 16265099 BLAKE2B c2249be5a5008e3e9fd5c301b10d7bc544e4805d4762e87481aa31716e38eb3cb2b81ce80f201fc0d3961574136f47b7b374d6bc7d18e4f55f1f757a7e17e5a2 SHA512 bb42ff24c9eeeae548a6e222ecc03f8b46d763c4b022964bd8fb11517f1a23a7aaa82a2155d5cd3d29cdd1af5fab6cc4f26840a84ce5e26dd740f8706961ce1f DIST rich-10.13.0.tar.gz 16277448 BLAKE2B e33bca376e1a5b82d0648c7bdda9ce30930b7c095cd8272b573f52dcb056a21be35fb0ef83c939e7feeb458eb4efb7767bf98706a4c58fc134627a0b0f3aa68d SHA512 23ea811fbaa8002416530975fe79c62b42d3c79806d312c172351f632864356be77063d5dc0fe0243d78479fb31a87433a432b115f5cf570f7c6e44c6f773ff0 DIST rich-10.14.0.tar.gz 16276866 BLAKE2B bc7d9a493dd4d283b0890bf385ac219c60cfb80addc226b39418ff26ca598a96c71e56ce7bea34b0508728d5535ed8ef71b21b907c13bb2ac3a1c79afefeb8f2 SHA512 be5f36ca19e4c353b94030f65abd7177f8a8194a2b6d46554c29aaa3e57fca585892634e2b096f407e6ae4ae47a7f9844fb7686c34e10d4bbccb0ea35a7d2247 +DIST rich-10.15.0.tar.gz 16279650 BLAKE2B c169ca3d9144349770a0baf56d6267d5ac2e8505878838c233561961c0f1f4c5dee9585e241ee730346935134162652368f735f3f9c8cf20fa43272bc99f0e68 SHA512 8c853221761199b8d3a07c38bf4ca3c355fb5618c6c0edeccd55ad88ea68907cd8d80075824bfd83ad88c9c06a2ddf46e52d88934670040bf74262128e241e89 diff --git a/dev-python/rich/rich-10.15.0.ebuild b/dev-python/rich/rich-10.15.0.ebuild new file mode 100644 index 000000000000..3958bf9474a3 --- /dev/null +++ b/dev-python/rich/rich-10.15.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +inherit distutils-r1 optfeature + +DESCRIPTION="Python library for renrering rich text, tables, etc. to the terminal" +HOMEPAGE="https://github.com/willmcgugan/rich" +SRC_URI="https://github.com/willmcgugan/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +RDEPEND=" + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/commonmark[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "integration with HTML widgets for Jupyter" dev-python/ipywidgets +} diff --git a/dev-python/secretstorage/secretstorage-3.3.1.ebuild b/dev-python/secretstorage/secretstorage-3.3.1.ebuild index 0e2aca4536f9..81f9096166d5 100644 --- a/dev-python/secretstorage/secretstorage-3.3.1.ebuild +++ b/dev-python/secretstorage/secretstorage-3.3.1.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/cryptography[${PYTHON_USEDEP}] diff --git a/dev-python/service_identity/service_identity-21.1.0.ebuild b/dev-python/service_identity/service_identity-21.1.0.ebuild index 76363697fc9c..e3973670a4a0 100644 --- a/dev-python/service_identity/service_identity-21.1.0.ebuild +++ b/dev-python/service_identity/service_identity-21.1.0.ebuild @@ -14,7 +14,7 @@ S=${WORKDIR}/${P/_/-} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" # TODO: upstream made pyopenssl optional RDEPEND=" diff --git a/dev-python/simpervisor/Manifest b/dev-python/simpervisor/Manifest new file mode 100644 index 000000000000..1bd64a777a9d --- /dev/null +++ b/dev-python/simpervisor/Manifest @@ -0,0 +1 @@ +DIST simpervisor-0.4.tar.gz 8542 BLAKE2B bd96284b65468110f445e96a9978b67bc73b0a0f188dcaf592f42291937130e72247195b8ce142726ba430716b87283d844003bb0980de952531639417a23f50 SHA512 4aea0071d6a486c7b27fc39fa02d7b610d680c90ba07f3c27c3d98b132b79b97bcb5c7847ce9d3ca7bb46663f91494e0012c8c9e14017ca1c591fb6312419692 diff --git a/dev-python/simpervisor/metadata.xml b/dev-python/simpervisor/metadata.xml new file mode 100644 index 000000000000..5c5077f46f21 --- /dev/null +++ b/dev-python/simpervisor/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Gentoo Python Project</name> + </maintainer> + <upstream> + <remote-id type="pypi">simpervisor</remote-id> + </upstream> + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/simpervisor/simpervisor-0.4.ebuild b/dev-python/simpervisor/simpervisor-0.4.ebuild new file mode 100644 index 000000000000..ef48f0789718 --- /dev/null +++ b/dev-python/simpervisor/simpervisor-0.4.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Simple Python3 Supervisor library" +HOMEPAGE="https://github.com/jupyterhub/simpervisor" +SRC_URI="https://github.com/jupyterhub/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/aiohttp[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/tomli-w/tomli-w-0.4.0.ebuild b/dev-python/tomli-w/tomli-w-0.4.0.ebuild index 645996965879..d59aabadf912 100644 --- a/dev-python/tomli-w/tomli-w-0.4.0.ebuild +++ b/dev-python/tomli-w/tomli-w-0.4.0.ebuild @@ -18,7 +18,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" BDEPEND=" test? ( dev-python/tomli[${PYTHON_USEDEP}] )" diff --git a/dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild b/dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild index df2f231889be..fa9f15b9bcd8 100644 --- a/dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild +++ b/dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild @@ -31,4 +31,4 @@ BDEPEND=" PATCHES=( "${FILESDIR}/no-pytest-runner.patch" ) distutils_enable_tests pytest -distutils_enable_sphinx docs/source dev-python/sphinxcontrib-trio +distutils_enable_sphinx docs/source dev-python/sphinxcontrib-trio dev-python/sphinx_rtd_theme diff --git a/dev-python/trustme/trustme-0.9.0.ebuild b/dev-python/trustme/trustme-0.9.0.ebuild index 983f3d7ee438..abe36594125e 100644 --- a/dev-python/trustme/trustme-0.9.0.ebuild +++ b/dev-python/trustme/trustme-0.9.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="|| ( Apache-2.0 MIT )" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND="dev-python/cryptography[${PYTHON_USEDEP}] dev-python/idna[${PYTHON_USEDEP}]" diff --git a/dev-python/twine/twine-3.4.2.ebuild b/dev-python/twine/twine-3.4.2.ebuild index 57cd911eca45..14adf022d8d4 100644 --- a/dev-python/twine/twine-3.4.2.ebuild +++ b/dev-python/twine/twine-3.4.2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 ~riscv sparc x86 ~x64-macos" RDEPEND=" >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}] diff --git a/dev-python/twine/twine-3.6.0.ebuild b/dev-python/twine/twine-3.6.0.ebuild index c6211dde66b3..0291661105c7 100644 --- a/dev-python/twine/twine-3.6.0.ebuild +++ b/dev-python/twine/twine-3.6.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" RDEPEND=" >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}] diff --git a/dev-python/twisted/twisted-21.7.0.ebuild b/dev-python/twisted/twisted-21.7.0.ebuild index 3d9366967ca2..8d208f0690c2 100644 --- a/dev-python/twisted/twisted-21.7.0.ebuild +++ b/dev-python/twisted/twisted-21.7.0.ebuild @@ -48,16 +48,6 @@ RDEPEND=" >=dev-python/priority-1.1.0[${PYTHON_USEDEP}] <dev-python/priority-2.0[${PYTHON_USEDEP}] ) - !dev-python/twisted-core - !dev-python/twisted-conch - !dev-python/twisted-lore - !dev-python/twisted-mail - !dev-python/twisted-names - !dev-python/twisted-news - !dev-python/twisted-pair - !dev-python/twisted-runner - !dev-python/twisted-words - !dev-python/twisted-web " BDEPEND=" >=dev-python/incremental-21.3.0[${PYTHON_USEDEP}] @@ -65,15 +55,17 @@ BDEPEND=" >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}] dev-python/bcrypt[${PYTHON_USEDEP}] >=dev-python/constantly-15.1.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-0.9.1[${PYTHON_USEDEP}] dev-python/cython-test-exception-raiser[${PYTHON_USEDEP}] dev-python/gmpy[${PYTHON_USEDEP}] dev-python/idna[${PYTHON_USEDEP}] dev-python/pyasn1[${PYTHON_USEDEP}] - >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}] dev-python/pyserial[${PYTHON_USEDEP}] - dev-python/service_identity[${PYTHON_USEDEP}] net-misc/openssh + !alpha? ( !hppa? ( !ia64? ( + >=dev-python/cryptography-0.9.1[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}] + dev-python/service_identity[${PYTHON_USEDEP}] + ) ) ) ) " diff --git a/dev-python/vpython/Manifest b/dev-python/vpython/Manifest index 88c99e2919e9..f0a2252d7ebd 100644 --- a/dev-python/vpython/Manifest +++ b/dev-python/vpython/Manifest @@ -1 +1,2 @@ DIST vpython-7.6.1.tar.gz 3552831 BLAKE2B 78281ebbdae2bf09d139569cd344f32aa77aad59ce988a72c57b9984774bc376348c6e69c9119822fe1fbd5dbe6cecf81f17da3977b257c64321e4d4f2deb755 SHA512 8a06bf41865a6bb61c6616c853889b24128f32a9ce1eb8cd9ff861e4995f700ea24e7ffc04fd1edf9cd823a1a592083202abecb1373d5f544facc8646f0cf30b +DIST vpython-7.6.2.tar.gz 4461606 BLAKE2B 67e59d5ac8e061ffa62433bcc1c3285cf659482e298b706d2b59ef8160c154c42efa8677fce19856a88024af06fb71882ff280ba2e1312a18da272168a4eb1a9 SHA512 fb8f0e9219950cab6d800a44a7fa473bd39e67895170b5cd7636a78cefd83f740d5b4da245b3f252402bfae6e576948b5831d230bf365ac7141ba6bf5f1ef6d6 diff --git a/dev-python/vpython/files/vpython-7.6.2-fix-python310-detection.patch b/dev-python/vpython/files/vpython-7.6.2-fix-python310-detection.patch new file mode 100644 index 000000000000..5cf5b2fe000a --- /dev/null +++ b/dev-python/vpython/files/vpython-7.6.2-fix-python310-detection.patch @@ -0,0 +1,56 @@ +From 426eeae74eb67934bf7ddcffc07677d93a7ea191 Mon Sep 17 00:00:00 2001 +From: Mike <Axe319@gmail.com> +Date: Fri, 8 Oct 2021 17:22:52 -0400 +Subject: [PATCH 1/2] Fixed version check to encompass Python 3.10 + +--- + vpython/__init__.py | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/vpython/__init__.py b/vpython/__init__.py +index 3fc6ce5..c09f697 100644 +--- a/vpython/__init__.py ++++ b/vpython/__init__.py +@@ -10,14 +10,14 @@ + # both of those. + + from ._notebook_helpers import _isnotebook, __is_spyder +-import platform +-__p = platform.python_version() ++import sys ++__v = sys.version_info + +-# Delete platform now that we are done with it +-del platform ++# Delete sys now that we are done with it ++del sys + +-__ispython3 = (__p[0] == '3') +-__require_notebook = (not __ispython3) or (__p[2] < '5') # Python 2.7 or 3.4 require Jupyter notebook ++__ispython3 = (__v.major == 3) ++__require_notebook = (not __ispython3) or (__v.minor < 5) # Python 2.7 or 3.4 require Jupyter notebook + + if __require_notebook and (not _isnotebook): + s = "The non-notebook version of vpython requires Python 3.5 or later." + +From 405062dcca5a9a8656b99afb52cd13ce885f8bd1 Mon Sep 17 00:00:00 2001 +From: Mike <Axe319@gmail.com> +Date: Mon, 11 Oct 2021 18:16:50 -0400 +Subject: [PATCH 2/2] Added username to contributors.md + +--- + CONTRIBUTORS.md | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md +index 1f627bd..d608966 100644 +--- a/CONTRIBUTORS.md ++++ b/CONTRIBUTORS.md +@@ -30,6 +30,7 @@ We are certain the list is incomplete; please let one of us know by opening an [ + + Kyle Dunn ([@kdunn926](https://github.com/kdunn926)) + + Brian Su ([@brianbbsu](https://github.com/brianbbsu)) + + [@0dminnimda](https://github.com/0dminnimda) +++ Mike Miller ([@Axe319](https://github.com/axe319)) + + ## Full timeline of vpython development + diff --git a/dev-python/vpython/vpython-7.6.2.ebuild b/dev-python/vpython/vpython-7.6.2.ebuild new file mode 100644 index 000000000000..7108234fe05b --- /dev/null +++ b/dev-python/vpython/vpython-7.6.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="VPython for Jupyter notebook" +HOMEPAGE="https://www.vpython.org/ https://pypi.org/project/vpython/" +SRC_URI="https://github.com/${PN}/${PN}-jupyter/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-jupyter-${PV}" + +RDEPEND=" + >=dev-python/autobahn-18.8.2[${PYTHON_USEDEP}] + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/jupyter[${PYTHON_USEDEP}] + dev-python/jupyter-server-proxy[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + dev-python/versioneer[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + ${BDEPEND} +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +RESTRICT="test" +PATCHES="${FILESDIR}/${P}-fix-python310-detection.patch" + +distutils_enable_tests pytest diff --git a/dev-python/werkzeug/werkzeug-1.0.1-r1.ebuild b/dev-python/werkzeug/werkzeug-1.0.1-r1.ebuild index 6cb63d56a9a5..048f9090f177 100644 --- a/dev-python/werkzeug/werkzeug-1.0.1-r1.ebuild +++ b/dev-python/werkzeug/werkzeug-1.0.1-r1.ebuild @@ -26,10 +26,12 @@ RDEPEND="dev-python/simplejson[${PYTHON_USEDEP}]" DEPEND=" test? ( dev-python/click[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] dev-python/pytest-timeout[${PYTHON_USEDEP}] dev-python/pytest-xprocess[${PYTHON_USEDEP}] + !alpha? ( !hppa? ( !ia64? ( + dev-python/cryptography[${PYTHON_USEDEP}] + ) ) ) )" distutils_enable_tests pytest diff --git a/dev-python/werkzeug/werkzeug-2.0.2.ebuild b/dev-python/werkzeug/werkzeug-2.0.2.ebuild index a3ce4818d430..323317fafc02 100644 --- a/dev-python/werkzeug/werkzeug-2.0.2.ebuild +++ b/dev-python/werkzeug/werkzeug-2.0.2.ebuild @@ -21,7 +21,6 @@ KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x BDEPEND=" test? ( - dev-python/cryptography[${PYTHON_USEDEP}] !hppa? ( !ia64? ( $(python_gen_cond_dep ' dev-python/greenlet[${PYTHON_USEDEP}] @@ -30,6 +29,9 @@ BDEPEND=" dev-python/pytest-timeout[${PYTHON_USEDEP}] dev-python/pytest-xprocess[${PYTHON_USEDEP}] dev-python/watchdog[${PYTHON_USEDEP}] + !alpha? ( !hppa? ( !ia64? ( + dev-python/cryptography[${PYTHON_USEDEP}] + ) ) ) )" distutils_enable_tests pytest |
