diff options
Diffstat (limited to 'dev-python')
43 files changed, 512 insertions, 826 deletions
diff --git a/dev-python/black/black-21.5_beta1.ebuild b/dev-python/black/black-21.5_beta1.ebuild index 26fc8d2b50ab..9af2da6858a7 100644 --- a/dev-python/black/black-21.5_beta1.ebuild +++ b/dev-python/black/black-21.5_beta1.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~x64-macos" RDEPEND=" dev-python/appdirs[${PYTHON_USEDEP}] diff --git a/dev-python/brotlicffi/Manifest b/dev-python/brotlicffi/Manifest index 4691f0c3ce7a..09219d188fe0 100644 --- a/dev-python/brotlicffi/Manifest +++ b/dev-python/brotlicffi/Manifest @@ -1,3 +1,2 @@ DIST brotli-46c1a881b41bb638c76247558aa04b1591af3aa7.tar.gz 19840371 BLAKE2B b9a1c3c2e5b62bd63b392debe54bd1732ac1cb31f88500f0142108b453649d96901d9a03b6db98642cb9abaf9188c06d440f2b8bd3cf57fbbb52196a931f5079 SHA512 dc573c90491032a205f32f0ce9c93e95b06c70a3107caa9501e038a212226c37117d63709a29843367344bf7d18cf32d0c0578b11166387198e12b38b1522406 -DIST brotlicffi-1.0.9.1.gh.tar.gz 22589 BLAKE2B 14ebb3f6168d334abe3ba72bd88697ee98aba87ace6aaf634395ef50ecd9325723f0da0a9ce56a5e4dcfebfe3183a190e2ec183eff95492b25e3542161b32322 SHA512 669c73ed6dd18be6b916bb8cfb240657dcc10d67df5a32b3359f05cadf75aa654c27b53e8b964251f6d6cd74870e159efddf87ef0cfb59b7777eacd3cda66852 DIST brotlicffi-1.0.9.2.gh.tar.gz 22714 BLAKE2B 463cff7aed04718d1c77e6b3477dbbdb40cf61f0e045a7759bf1e8656e3b07e7b9f3ff5c5356069e752d750774a6ab203588a4094d27ad7ab9ae80f091c6ea3a SHA512 3d200f606c9851f0049835b53dd1f117727786505b5887e246934f41a978d375e1fa5a078e0811f130c009931e41c51575bd9d55b602ee7b6daebe9759ed15d5 diff --git a/dev-python/brotlicffi/brotlicffi-1.0.9.1.ebuild b/dev-python/brotlicffi/brotlicffi-1.0.9.1.ebuild deleted file mode 100644 index b4735ef4f0e0..000000000000 --- a/dev-python/brotlicffi/brotlicffi-1.0.9.1.ebuild +++ /dev/null @@ -1,59 +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 - -# Commit of the Brotli library bundled within brotlipy. -BROTLI_BUNDLED_COMMIT="46c1a881b41bb638c76247558aa04b1591af3aa7" - -DESCRIPTION="Python binding to the Brotli library" -HOMEPAGE=" - https://github.com/python-hyper/brotlicffi/ - https://pypi.org/project/brotlicffi/" -SRC_URI=" - https://github.com/python-hyper/${PN}/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/google/brotli/archive/${BROTLI_BUNDLED_COMMIT}.tar.gz - -> brotli-${BROTLI_BUNDLED_COMMIT}.tar.gz - )" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -RDEPEND=" - app-arch/brotli:= - virtual/python-cffi[${PYTHON_USEDEP}]" -DEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_unpack() { - default - if use test; then - mv "brotli-${BROTLI_BUNDLED_COMMIT}"/tests "${S}"/libbrotli/ || die - fi -} - -src_configure() { - export USE_SHARED_BROTLI=1 -} - -python_test() { - local deselect=( - # incompatible with USE_SHARED_BROTLI=1 - test/test_compatibility.py::test_brotli_version - ) - - pytest -vv ${deselect[@]/#/--deselect } || - die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/brotlicffi/brotlicffi-1.0.9.2.ebuild b/dev-python/brotlicffi/brotlicffi-1.0.9.2.ebuild index fbe9ddd8df98..9e8e3ec161fe 100644 --- a/dev-python/brotlicffi/brotlicffi-1.0.9.2.ebuild +++ b/dev-python/brotlicffi/brotlicffi-1.0.9.2.ebuild @@ -24,7 +24,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 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 ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND=" app-arch/brotli:= diff --git a/dev-python/dj-database-url/dj-database-url-0.5.0.ebuild b/dev-python/dj-database-url/dj-database-url-0.5.0.ebuild index 868531663e3c..7f497d1a9d9a 100644 --- a/dev-python/dj-database-url/dj-database-url-0.5.0.ebuild +++ b/dev-python/dj-database-url/dj-database-url-0.5.0.ebuild @@ -17,6 +17,6 @@ SRC_URI=" SLOT="0" LICENSE="BSD" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~sparc x86 ~amd64-linux ~x86-linux" distutils_enable_tests unittest diff --git a/dev-python/dj-email-url/dj-email-url-1.0.2.ebuild b/dev-python/dj-email-url/dj-email-url-1.0.2.ebuild index 9cd0641ba931..e83f25d1276c 100644 --- a/dev-python/dj-email-url/dj-email-url-1.0.2.ebuild +++ b/dev-python/dj-email-url/dj-email-url-1.0.2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/migonzalvar/dj-email-url/archive/refs/tags/v${PV}.ta LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~sparc ~x86" DOCS=( CHANGELOG.rst README.rst ) diff --git a/dev-python/dj-search-url/dj-search-url-0.1.ebuild b/dev-python/dj-search-url/dj-search-url-0.1.ebuild index d695b43d195d..6d009be80dd6 100644 --- a/dev-python/dj-search-url/dj-search-url-0.1.ebuild +++ b/dev-python/dj-search-url/dj-search-url-0.1.ebuild @@ -14,4 +14,4 @@ SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~sparc ~x86" diff --git a/dev-python/django-cache-url/django-cache-url-3.2.3.ebuild b/dev-python/django-cache-url/django-cache-url-3.2.3.ebuild index 6ecd27235afb..ba4b0e55f901 100644 --- a/dev-python/django-cache-url/django-cache-url-3.2.3.ebuild +++ b/dev-python/django-cache-url/django-cache-url-3.2.3.ebuild @@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${EGIT_COMMIT}" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~sparc ~x86" DOCS=( AUTHORS.rst CHANGELOG.rst README.rst ) diff --git a/dev-python/django-configurations/django-configurations-2.2.ebuild b/dev-python/django-configurations/django-configurations-2.2.ebuild index c5e580e5524c..ff4464bed40c 100644 --- a/dev-python/django-configurations/django-configurations-2.2.ebuild +++ b/dev-python/django-configurations/django-configurations-2.2.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~sparc ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 435e91e3b359..58e966f33120 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,14 +1,3 @@ DIST hypothesis-python-6.10.1.tar.gz 9126246 BLAKE2B cc8cb3436d1de5d3d65a13cb5edefdbaae8bf9daed296eea9111ac46c002c34f43119f10b2ab1f45c5cbca5fe46d00738676290eb0e8437f2c10b5926d9e0915 SHA512 586b7f380cb850089f7d5321f11da92ef4a9b80e2ea925103e29c1f6c6c9da0a2a899a1a45ce77e0a40073f147561bc4fcbd5cb2ce77a9c0c65f6f64dfe4b716 -DIST hypothesis-python-6.13.0.tar.gz 9128293 BLAKE2B be618d42639602bc6617f8b5e9374812298e9d6150b6510a8060ca7c489ea69f1d6bd2cf9322c325c9bffc3c3f886fb4a4fb038159fa2c81920541ac4cb668cd SHA512 66fd6e7842b7b257c92cf756db4cf97bfb64006c89e3e58cda154ebe9345302f0264297df8d9de0685033a0f4e43909d65e76495689a8ded9968ecda586b668c -DIST hypothesis-python-6.13.10.tar.gz 9132876 BLAKE2B fb9b48465fd6e6ce08423384753ef3149aac6e2b57230f44119ad685c530ac68fac0b1a1925f2ab98586265055151e9564fa287262b06aefe68c2a78d8b3ae4d SHA512 f166a025dee3ec31033d8f8a3909e6f9ee4b2e14420ae41777a41163384502cfe9f20632fb134e38797817ee19972a7068e4233e64417fb4cf5af51427a1963c -DIST hypothesis-python-6.13.11.tar.gz 9133504 BLAKE2B b9cb54dc05aafd57424a2f9fff097a66e3ba5e55408f8a4587eb7aee079f1ad494e3a9cc18a7797c09fa4444715290dc49c58b98e722dc0722d8cad0d6cbbe0d SHA512 9cb8ce31a7062ab98db829300c1f68e1e24bf02a39ebf4ffbbf47554741dd0bdb96edd69aa7a360570405ca85b1fd7956eb26c5b9a6898f6f8f6f79177522bf6 -DIST hypothesis-python-6.13.12.tar.gz 9133873 BLAKE2B 161e323d9dad6d6a91641336b6e66fe0b00bcc902d844480ed0cea59b89c455eaaf8f57122636af464719d63cf96d0dfeb42dbd855d5599856636b4f4e1520bd SHA512 e58d9a676b9f6592134f4f4997d7585001c28980697e77f8f3216c5bba65256c15784e7eec5458f58684b61cc5a0d9ef2465748412a601a867a70e5b72fde91d -DIST hypothesis-python-6.13.13.tar.gz 9133621 BLAKE2B b21d2b566aac70d30abd8dbd96aafbe0f16b9d4cfe997d88bbd36724bd90ba7c747c87275d47d977a065431c87a5b75814a774fa34c9360f973829382e94e6d2 SHA512 87564b6b1d3c917d50feb1ee3b0f3f16fb880d42f8226f50ede28b175471b65cac4286d0569d4a33c82f5924df7941c0b2b49862f9e79fc851ec4d3e556a2a2d DIST hypothesis-python-6.13.14.tar.gz 9134690 BLAKE2B 821fa0baa47dd896fc5ec61d0a96fec3da225dbc35306e6cf684641262c9ff0b714ca95aff69daca4bda551033a67d90b411f0cc2abff8edd41e5d749939344f SHA512 74397fd77e6e70df918e0fa605180e2bfd509fb26ef8b4a86020524611a315950073c3babd65bb2d2ff65d39e027bc52da88c0125f422cc2493076398e733853 -DIST hypothesis-python-6.13.2.tar.gz 9130008 BLAKE2B 3ca5c306ac402002a1435b8ccbc034f2a7acf1553eb6095e0394ff1ddf778f47ef6f72359cb5219db924edc18623b22732b4a94bd7c269217ec632b8d59adc1c SHA512 8c7e1a5de011ef66f5105009aa82f2b23ff36f0b0906554ae65e2e55e10c4df743c894b6264002c86bae3fc5e1dd7ded7e913f0866ed725e1afd4c9f54022b7c -DIST hypothesis-python-6.13.4.tar.gz 9130435 BLAKE2B eeb78cc647df49ea11fb0e0f4d8412e20095e7c33bb0601dcbaad2b9e9929423729b25b1bfbf2a27b05e87ae38ced4e9aeba5bae4de76cfc81aae2d073248de0 SHA512 93db99bdbe408ddbad4baf983b00b3e7624fd28d15a0d4c1453437328a51b0733db13e3b7b04b40bc60aa05e2e8364ce5b186d81a2d33e50b49f5a406fec95d6 -DIST hypothesis-python-6.13.5.tar.gz 9131314 BLAKE2B 3de7ba681ab9c0907920ea7ad562a4434f06009a7bced47b98bf46da5d15aea35085350f4aca24fd41ba9fd14957e4de1d56092d49e757ea60a1575f59371add SHA512 06765607be1a49d92382d426105021ed9dca91c5b41674ba45f0a29ce7cb06537edf706ea7305300f9aae7d8c9b1827bcaf807e3c4aece9594a55b3c0122c622 -DIST hypothesis-python-6.13.6.tar.gz 9132027 BLAKE2B 939c7b410bef3d8e38a513e55f462f72cc758b78d8c76031f382969e0a622585b6f42b35a5eb70879e8cc80ea9795c5ad2d91dd55c1d3a60035e6f8e982a46d1 SHA512 dd53352df352e12f8bb9294d4e679518eff3a4431e0ccdc7037713cc3acda6d9b3da3ad2cb7748021b3acbb1b2cfe0d76fac22de68d2a020f293073ad2ce80bd -DIST hypothesis-python-6.13.7.tar.gz 9132167 BLAKE2B a7f58630d114743a04665d245384d3b5f6a0592d03a9b7e771ceb3ad8633fdd9c437dc6fa099d9dc48225d5d113a203a62ca29f50ff76fdbeb406f2cc63f9013 SHA512 70022d90c09f9478df94986059cbb986e35cb24d3a8c19d023a5a78c9e12982e196d258149456d6d2f01646e84a5ef07714f1967c6b31b53ad5e41ab2b5375d3 -DIST hypothesis-python-6.13.8.tar.gz 9132344 BLAKE2B 8de45b42711f39fc6f08f0621ba0de5977bb10d623f08565840ce7b922a7049adf29c3f9315f4c2515229a9b7419d0671112562afe1065a156bc4685ffaa92f6 SHA512 a1fe1bdfac6694ecbbe6cd0d7e3d04766d9be812ea637c6b5755fbbaceda326300043b340558c80f082460e606742b0075a751f0f9cd8edc61fd8da947bda9f8 -DIST hypothesis-python-6.13.9.tar.gz 9132354 BLAKE2B d0c9676d25e13c147ede7c6e5dd2d234f2e4fa6809dabe26d392101683dc5eb8fa14d63b7127d82dd93debf7d10848b2faca30912d9782adba7f116c10398575 SHA512 0e5df60f32ee8cd56a376bceffe39d28abb2e1fe9e190d452272e86e8f86162d6e262cd1d008c3635c12c60efaf258cfa379daf1de32e77a6470e41becda1363 +DIST hypothesis-python-6.14.0.tar.gz 9135056 BLAKE2B 47d1efcee5e1c4037f1a20f08e3bc873fc143a2182bbde07e897812622c4d68923f78ac356bd97ef541566a27a874705eb2438747daaebe84f95fc2a2262bac1 SHA512 f7821449d3bf7f3656b52dad09027e40ea4af1779fcc7c0b995dac55843953fdab3f2ba69eb1b8de8258616f49cf8e5098c6a222d01071916c6f0c9fe184c80b diff --git a/dev-python/hypothesis/hypothesis-6.13.0.ebuild b/dev-python/hypothesis/hypothesis-6.13.0.ebuild deleted file mode 100644 index 53d7bcf04c04..000000000000 --- a/dev-python/hypothesis/hypothesis-6.13.0.ebuild +++ /dev/null @@ -1,61 +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 ) -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 ~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 \ - -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/hypothesis/hypothesis-6.13.11.ebuild b/dev-python/hypothesis/hypothesis-6.13.11.ebuild deleted file mode 100644 index 3858e9c1e208..000000000000 --- a/dev-python/hypothesis/hypothesis-6.13.11.ebuild +++ /dev/null @@ -1,62 +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 ) -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 ~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/pytest-describe - !!<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 \ - -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/hypothesis/hypothesis-6.13.12.ebuild b/dev-python/hypothesis/hypothesis-6.13.12.ebuild deleted file mode 100644 index 3858e9c1e208..000000000000 --- a/dev-python/hypothesis/hypothesis-6.13.12.ebuild +++ /dev/null @@ -1,62 +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 ) -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 ~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/pytest-describe - !!<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 \ - -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/hypothesis/hypothesis-6.13.13.ebuild b/dev-python/hypothesis/hypothesis-6.13.13.ebuild deleted file mode 100644 index 3858e9c1e208..000000000000 --- a/dev-python/hypothesis/hypothesis-6.13.13.ebuild +++ /dev/null @@ -1,62 +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 ) -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 ~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/pytest-describe - !!<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 \ - -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/hypothesis/hypothesis-6.13.2.ebuild b/dev-python/hypothesis/hypothesis-6.13.2.ebuild deleted file mode 100644 index 3858e9c1e208..000000000000 --- a/dev-python/hypothesis/hypothesis-6.13.2.ebuild +++ /dev/null @@ -1,62 +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 ) -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 ~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/pytest-describe - !!<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 \ - -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/hypothesis/hypothesis-6.13.4.ebuild b/dev-python/hypothesis/hypothesis-6.13.4.ebuild deleted file mode 100644 index 3858e9c1e208..000000000000 --- a/dev-python/hypothesis/hypothesis-6.13.4.ebuild +++ /dev/null @@ -1,62 +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 ) -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 ~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/pytest-describe - !!<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 \ - -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/hypothesis/hypothesis-6.13.5.ebuild b/dev-python/hypothesis/hypothesis-6.13.5.ebuild deleted file mode 100644 index 3858e9c1e208..000000000000 --- a/dev-python/hypothesis/hypothesis-6.13.5.ebuild +++ /dev/null @@ -1,62 +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 ) -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 ~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/pytest-describe - !!<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 \ - -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/hypothesis/hypothesis-6.13.6.ebuild b/dev-python/hypothesis/hypothesis-6.13.6.ebuild deleted file mode 100644 index 3858e9c1e208..000000000000 --- a/dev-python/hypothesis/hypothesis-6.13.6.ebuild +++ /dev/null @@ -1,62 +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 ) -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 ~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/pytest-describe - !!<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 \ - -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/hypothesis/hypothesis-6.13.7.ebuild b/dev-python/hypothesis/hypothesis-6.13.7.ebuild deleted file mode 100644 index 3858e9c1e208..000000000000 --- a/dev-python/hypothesis/hypothesis-6.13.7.ebuild +++ /dev/null @@ -1,62 +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 ) -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 ~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/pytest-describe - !!<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 \ - -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/hypothesis/hypothesis-6.13.8.ebuild b/dev-python/hypothesis/hypothesis-6.13.8.ebuild deleted file mode 100644 index 3858e9c1e208..000000000000 --- a/dev-python/hypothesis/hypothesis-6.13.8.ebuild +++ /dev/null @@ -1,62 +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 ) -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 ~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/pytest-describe - !!<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 \ - -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/hypothesis/hypothesis-6.13.9.ebuild b/dev-python/hypothesis/hypothesis-6.13.9.ebuild deleted file mode 100644 index 3858e9c1e208..000000000000 --- a/dev-python/hypothesis/hypothesis-6.13.9.ebuild +++ /dev/null @@ -1,62 +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 ) -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 ~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/pytest-describe - !!<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 \ - -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/hypothesis/hypothesis-6.13.10.ebuild b/dev-python/hypothesis/hypothesis-6.14.0.ebuild index 3858e9c1e208..3858e9c1e208 100644 --- a/dev-python/hypothesis/hypothesis-6.13.10.ebuild +++ b/dev-python/hypothesis/hypothesis-6.14.0.ebuild diff --git a/dev-python/jwcrypto/Manifest b/dev-python/jwcrypto/Manifest index bc58a0cf8890..4ad2c6f67f94 100644 --- a/dev-python/jwcrypto/Manifest +++ b/dev-python/jwcrypto/Manifest @@ -1,2 +1,3 @@ DIST jwcrypto-0.8.0.tar.gz 81782 BLAKE2B a3cfb04f099a747c365f870c53d75574cdfaf8b98373f37cc107ebca956b414b7d7cb78f8fcd6d3964528d3bc8a217e5c645bf6e82531e951dfdd9ca03472111 SHA512 784134d27ff7abd31e1069763969513ed45f81fd2c242b7ff7036413c35ef374d535eae0123f5561a8e4eb2630cee40056d1c66454288e1310c4cbedecaac210 DIST jwcrypto-0.9.0.tar.gz 83891 BLAKE2B 873f6764d13ea80e8c4e1709fcf4e2a70cb59834521154b35cb94a51ce5cbfa7f4e2d079a3c096b013eef6f3a6adc4935cd3416b22f20b9edce01e95dc1910fb SHA512 6a2670aad8a3db926c4a6e54a62f3b698b717a8bc1726ba8f13e2415f574202e205cab76c79564280dcb2b3b4002a7c03c172d20761c70f76dc007a1ae26dad5 +DIST jwcrypto-0.9.1.tar.gz 86363 BLAKE2B d5920b9471870855bc131c171dc5515cc23fb9b94c38b33ce4894bcbe6fb5d0fa87e8b88f6470b8d1c1a1bc158d0dd09f51ace50baab03c8a8df59adc6e7e11d SHA512 245221d5e570918c1db9abdad72a0b03fb3fbdbb4db46ece441cbd75d43246b1b35bfd75e20718b8fa125bcaa85088cd776a7c204dd68e51e63818ae438848eb diff --git a/dev-python/jwcrypto/jwcrypto-0.9.1.ebuild b/dev-python/jwcrypto/jwcrypto-0.9.1.ebuild new file mode 100644 index 000000000000..123a042dce7f --- /dev/null +++ b/dev-python/jwcrypto/jwcrypto-0.9.1.ebuild @@ -0,0 +1,33 @@ +# 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="Implements JWK,JWS,JWE specifications using python-cryptography" + +HOMEPAGE="https://github.com/latchset/jwcrypto" +SRC_URI=" + https://github.com/latchset/jwcrypto/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/cryptography-2.3[${PYTHON_USEDEP}] + dev-python/deprecated[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}]" + +distutils_enable_sphinx docs/source +distutils_enable_tests pytest + +python_prepare_all() { + # Do not install doc in non-standard paths + sed -i "\|data_files = \[('share/doc/jwcrypto|d" setup.py || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest index 3883d5beb042..b1658f07a8b1 100644 --- a/dev-python/libvirt-python/Manifest +++ b/dev-python/libvirt-python/Manifest @@ -6,3 +6,5 @@ DIST libvirt-python-7.2.0.tar.gz 215380 BLAKE2B e9c55a193c571b8fdf3f7f2545ae8247 DIST libvirt-python-7.2.0.tar.gz.asc 833 BLAKE2B 3f93f4841da3d86c6a0ba073b70c44e3732eb0ca91fd80a7089c1731851173d163101428d07f82f688478a7967e71bd66b49cd70673157428d2c4802a5df3bae SHA512 fe4f7bf6a9ea6e008ed73fac588785281582dd5eaa738e5ca05b88534659096af137408e1222f791d5a13190358fcf5d30eaa8d8a24791e3b5a15622516fe05f DIST libvirt-python-7.3.0.tar.gz 216823 BLAKE2B 2f7ff569e1dc05ac013e21046eab26290d1977401cda063f9f60e27f09cbe7ab1f30e17c2d9dfb11b36930a7af8496f2d36b19760819c64836844ce8daf8da01 SHA512 a99c0d7258364464df6a68e5fee3137daab3e6ef0dc8924b95a2b7bb69bcaf221d6be17d004ec994e9fae223db920360352b5b32945586ecc1407cb6bd86682a DIST libvirt-python-7.3.0.tar.gz.asc 833 BLAKE2B b5c26dbf520570ab0b66f3b31a2570a6bab0e252970d0a952411b91d08141edb1a7b53a7404e29426558502dec3f9260bfc815209c524a761b87a70004acd008 SHA512 8467a0af37849b64aab33ff1083f6feb82c39f6c732f53f407037d3f7add5c5007e16d5906e268576239d61ab8d871356fd3e476b8a64fa7aeb51b018383dcf0 +DIST libvirt-python-7.4.0.tar.gz 217038 BLAKE2B a8cec1ab8652b2579daea23b746d01c58bff32cb59a0c3b18a93ff309dcfd2b60915c52cb907c3961289427da5e73c4cae973d4204c352b5892222255e05b576 SHA512 e266b04604a21c0c35cb6c080ca5279f3162dfc489fd5ed9542b9ff49567b02074bcac135897d1a8f2375a744c000dbd93b67831621744c2f596b16ca9116d1d +DIST libvirt-python-7.4.0.tar.gz.asc 833 BLAKE2B c092743b62ed256267c129d253332322ffd1ee46b054938eb99404db81379cb8c6422e045f1855076f6420ce08e4482ab77db71e2ef6d38bc35136e95858684c SHA512 bca8a981517782e204f51eba465cf101aa0bcbf60e0e26a655c5fa2faaf1585b17988e627bd26b98bef2b95536ae852590773806365cff94860845acf2534d54 diff --git a/dev-python/libvirt-python/libvirt-python-7.4.0.ebuild b/dev-python/libvirt-python/libvirt-python-7.4.0.ebuild new file mode 100644 index 000000000000..db4b9aeda546 --- /dev/null +++ b/dev-python/libvirt-python/libvirt-python-7.4.0.ebuild @@ -0,0 +1,51 @@ +# 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} ) + +DISTUTILS_USE_SETUPTOOLS=no + +MY_P="${P/_rc/-rc}" + +inherit distutils-r1 verify-sig + +if [[ ${PV} = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://libvirt.org/git/libvirt-python.git" + RDEPEND="app-emulation/libvirt:=[-python(-)]" +else + SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz + verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + RDEPEND="app-emulation/libvirt:0/${PV}" +fi +S="${WORKDIR}/${P%_rc*}" + +DESCRIPTION="libvirt Python bindings" +HOMEPAGE="https://www.libvirt.org" +LICENSE="LGPL-2" +SLOT="0" +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libvirt.org.asc +IUSE="examples test" +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) + verify-sig? ( app-crypt/openpgp-keys-libvirt ) +" + +distutils_enable_tests setup.py + +python_install_all() { + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all +} diff --git a/dev-python/libvirt-python/libvirt-python-9999.ebuild b/dev-python/libvirt-python/libvirt-python-9999.ebuild index 5caf8eb7b163..db4b9aeda546 100644 --- a/dev-python/libvirt-python/libvirt-python-9999.ebuild +++ b/dev-python/libvirt-python/libvirt-python-9999.ebuild @@ -35,7 +35,7 @@ BDEPEND=" virtual/pkgconfig test? ( dev-python/lxml[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] ) verify-sig? ( app-crypt/openpgp-keys-libvirt ) " diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest index d25199fe58cf..e47711af1e9d 100644 --- a/dev-python/pip/Manifest +++ b/dev-python/pip/Manifest @@ -1,4 +1,5 @@ DIST pip-21.1.1.tar.gz 8771867 BLAKE2B 1cb920ab52510e816a7c3b8b6d1b47576a27cf1b208ab8fefa102ff36c09eb4e99b34f213a043550a9e6fb37bb8b6306f9e939371661ff7f23ba03f21b4a643b SHA512 05157ed586597f16948afdad43d98cc095803d2d22b1427ac1028ca2a73a26d65e597446808194343ed36f9eb7cb910ac89e73a6a9a90ee868ec822fdbe641c5 DIST pip-21.1.2.tar.gz 8772481 BLAKE2B 23dbcc5dd7e7f66934282b9c93958267eb367d418b6c814032b7b89e0d94c73c143626781b8df081394019d2e575030b7a2fd61bb5221992ce2060cf069e8b04 SHA512 54a2b6074fcb2640868dedcabb5087b79a53a8ad57ec4ab5acf2862b8037403d8f156c2853ab60c2f10c6af999a0a90774f0bc3eca2978a82590935d37af167f DIST setuptools-56.0.0-py3-none-any.whl 784941 BLAKE2B 136352bcaeeb803f94983db2e0f9ec79dacc23a6742a2f6f1b4bdd2b29a104f4965d78f9b4adf1a501c7bf39d4ed85a6786b03489f90872661afbf5e674fd3f9 SHA512 32405236e9c2936cde137bc4d4d07b548391336ce0511cd5677dcd1f85c7a142b0947e03cdceaeb37067874f5aa71daacaa1a6af95ae9fe3ad8af264f61e10f4 +DIST virtualenv-16.7.10.tar.gz 5116776 BLAKE2B 42f0a4b4330850b504f8febd991ef6ecdcbb0821efdd94ca324a8cc34a68a760a8a98de97f0cb2384d8e6cbb0ce8f261995c6433886444e29b75ba0ce09ca12c SHA512 f06d7c354ce1910f04dbcbe1a77e60392653bbe4f638bafbe9284454db2c0e5d63cf9159201d0916fc01aaba91d45fb733b63096c38517fcd83fd00ed8b26d28 DIST wheel-0.36.2-py2.py3-none-any.whl 35046 BLAKE2B bc4e8dab7c74eea34d3b4a813b7eaf6295a99a396a861b6cdd76f743043e89140bad132bdd13e385e8945ce02e0798e1d3ac73fc1b23bde5b2a83e4bb4dd5cdc SHA512 6bb5119b4d3704fe1e3c1eaaa3124edab13f61b46f8a0a8e75974fac4e5b25d8b53606071a03a8d8990ad1cfe2ab247ddea260098df2c0c35ae965be47080284 diff --git a/dev-python/pip/files/virtualenv-16.7.10-py310.patch b/dev-python/pip/files/virtualenv-16.7.10-py310.patch new file mode 100644 index 000000000000..27c17a07445f --- /dev/null +++ b/dev-python/pip/files/virtualenv-16.7.10-py310.patch @@ -0,0 +1,84 @@ +From b4aef0a53ba63c34e45413754705af4e438ef5df Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz> +Date: Wed, 5 May 2021 10:59:02 +0200 +Subject: [PATCH] Legacy: Use sysconfig.get_default_scheme() where available + (#2109) + +--- + .pre-commit-config.yaml | 43 ------------------------------------ + docs/changelog/2109.misc.rst | 1 + + virtualenv.py | 3 ++- + 3 files changed, 3 insertions(+), 44 deletions(-) + delete mode 100644 .pre-commit-config.yaml + create mode 100644 docs/changelog/2109.misc.rst + +diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml +deleted file mode 100644 +index 0b8234b7d..000000000 +--- a/.pre-commit-config.yaml ++++ /dev/null +@@ -1,43 +0,0 @@ +-repos: +-- repo: https://github.com/ambv/black +- rev: 19.10b0 +- hooks: +- - id: black +- args: [--safe] +- language_version: python3.8 +-- repo: https://github.com/asottile/blacken-docs +- rev: v1.3.0 +- hooks: +- - id: blacken-docs +- additional_dependencies: [black==19.3b0] +- language_version: python3.8 +-- repo: https://github.com/asottile/seed-isort-config +- rev: v1.9.3 +- hooks: +- - id: seed-isort-config +- args: [--application-directories, '.'] +-- repo: https://github.com/pre-commit/mirrors-isort +- rev: v4.3.21 +- hooks: +- - id: isort +-- repo: https://github.com/pre-commit/pre-commit-hooks +- rev: v2.4.0 +- hooks: +- - id: trailing-whitespace +- - id: end-of-file-fixer +- - id: check-yaml +- - id: debug-statements +- - id: check-merge-conflict +- - id: trailing-whitespace +- - id: check-docstring-first +- - id: flake8 +- additional_dependencies: ["flake8-bugbear == 19.8.0"] +- language_version: python3.8 +-- repo: https://github.com/asottile/pyupgrade +- rev: v1.25.1 +- hooks: +- - id: pyupgrade +-- repo: https://github.com/pre-commit/pygrep-hooks +- rev: v1.4.2 +- hooks: +- - id: rst-backticks +diff --git a/docs/changelog/2109.misc.rst b/docs/changelog/2109.misc.rst +new file mode 100644 +index 000000000..985f955df +--- /dev/null ++++ b/docs/changelog/2109.misc.rst +@@ -0,0 +1 @@ ++Preserve compatibility with Python 3.10 - by ``hroncok`` +diff --git a/virtualenv.py b/virtualenv.py +index 3085d1d18..86aa65674 100755 +--- a/virtualenv.py ++++ b/virtualenv.py +@@ -1809,7 +1809,8 @@ def fix_local_scheme(home_dir, symlink=True): + pass + else: + # noinspection PyProtectedMember +- if sysconfig._get_default_scheme() == "posix_local": ++ get_scheme = getattr(sysconfig, "get_default_scheme", None) or sysconfig._get_default_scheme ++ if get_scheme() == "posix_local": + local_path = os.path.join(home_dir, "local") + if not os.path.exists(local_path): + os.mkdir(local_path) diff --git a/dev-python/pip/pip-21.1.2-r1.ebuild b/dev-python/pip/pip-21.1.2-r1.ebuild new file mode 100644 index 000000000000..704fd5093209 --- /dev/null +++ b/dev-python/pip/pip-21.1.2-r1.ebuild @@ -0,0 +1,133 @@ +# 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 ) +PYTHON_REQ_USE="ssl(+),threads(+)" + +inherit bash-completion-r1 distutils-r1 + +# setuptools & wheel .whl files are required for testing, +# the exact version is not very important. +SETUPTOOLS_WHL="setuptools-56.0.0-py3-none-any.whl" +WHEEL_WHL="wheel-0.36.2-py2.py3-none-any.whl" +# upstream still requires virtualenv-16 for testing, we are now fetching +# it directly to avoid blockers with virtualenv-20 +VENV_PV=16.7.10 + +DESCRIPTION="Installs python packages -- replacement for easy_install" +HOMEPAGE=" + https://pip.pypa.io/en/stable/ + https://pypi.org/project/pip/ + https://github.com/pypa/pip/" +SRC_URI=" + https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + test? ( + https://files.pythonhosted.org/packages/py3/s/setuptools/${SETUPTOOLS_WHL} + https://files.pythonhosted.org/packages/py2.py3/w/wheel/${WHEEL_WHL} + https://github.com/pypa/virtualenv/archive/${VENV_PV}.tar.gz + -> virtualenv-${VENV_PV}.tar.gz + ) +" + +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +SLOT="0" +IUSE="test vanilla" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}] +" +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}] + ) +" + +python_prepare_all() { + local PATCHES=( + "${FILESDIR}/${PN}-21.1-no-coverage.patch" + ) + if ! use vanilla; then + PATCHES+=( "${FILESDIR}/pip-20.0.2-disable-system-install.patch" ) + fi + + distutils-r1_python_prepare_all + + if use test; then + mkdir tests/data/common_wheels/ || die + cp "${DISTDIR}"/{${SETUPTOOLS_WHL},${WHEEL_WHL}} \ + tests/data/common_wheels/ || die + + pushd "${WORKDIR}/virtualenv-${VENV_PV}" >/dev/null || die + eapply "${FILESDIR}/virtualenv-${VENV_PV}-py310.patch" + popd >/dev/null || die + fi +} + +python_test() { + if [[ ${EPYTHON} == pypy* ]]; then + ewarn "Skipping tests on ${EPYTHON} since they are very broken" + return 0 + fi + + local deselect=( + tests/functional/test_install.py::test_double_install_fail + tests/functional/test_list.py::test_multiple_exclude_and_normalization + 'tests/unit/test_commands.py::test_index_group_handle_pip_version_check[False-False-True-download]' + 'tests/unit/test_commands.py::test_index_group_handle_pip_version_check[False-False-True-install]' + 'tests/unit/test_commands.py::test_index_group_handle_pip_version_check[False-False-True-list]' + 'tests/unit/test_commands.py::test_index_group_handle_pip_version_check[False-False-True-wheel]' + tests/functional/test_install.py::test_install_pip_does_not_modify_pip_when_satisfied + # Internet + tests/functional/test_install.py::test_install_editable_with_prefix_setup_cfg + ) + + [[ ${EPYTHON} == python3.10 ]] && deselect+=( + tests/lib/test_lib.py::test_correct_pip_version + # uses vendored packaging that uses deprecated distutils + tests/functional/test_warning.py::test_pip_works_with_warnings_as_errors + ) + + distutils_install_for_testing + pushd "${WORKDIR}/virtualenv-${VENV_PV}" >/dev/null || die + distutils_install_for_testing + popd >/dev/null || die + + local -x GENTOO_PIP_TESTING=1 \ + PATH="${TEST_DIR}/scripts:${PATH}" \ + PYTHONPATH="${TEST_DIR}/lib:${BUILD_DIR}/lib" + epytest ${deselect[@]/#/--deselect } -m "not network" +} + +python_install_all() { + # Prevent dbus auto-launch + # https://bugs.gentoo.org/692178 + export DBUS_SESSION_BUS_ADDRESS="disabled:" + + local DOCS=( AUTHORS.txt docs/html/**/*.rst ) + distutils-r1_python_install_all + + COMPLETION="${T}"/completion.tmp + + # 'pip completion' command embeds full $0 into completion script, which confuses + # 'complete' and causes QA warning when running as "${PYTHON} -m pip". + # This trick sets correct $0 while still calling just installed pip. + local pipcmd='import sys; sys.argv[0] = "pip"; from pip._internal.cli.main import main; sys.exit(main())' + + ${PYTHON} -c "${pipcmd}" completion --bash > "${COMPLETION}" || die + newbashcomp "${COMPLETION}" ${PN} + + ${PYTHON} -c "${pipcmd}" completion --zsh > "${COMPLETION}" || die + insinto /usr/share/zsh/site-functions + newins "${COMPLETION}" _pip +} diff --git a/dev-python/pip/pip-21.1.2.ebuild b/dev-python/pip/pip-21.1.2.ebuild index 6a29ad431e71..1a01e3a1008f 100644 --- a/dev-python/pip/pip-21.1.2.ebuild +++ b/dev-python/pip/pip-21.1.2.ebuild @@ -38,14 +38,16 @@ 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/virtualenv-20[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + 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/virtualenv-20[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + ' python3_{7..9}) ) " @@ -72,6 +74,12 @@ python_test() { return 0 fi + # virtualenv-16 doesn't support python3_10 yet is still required by pip test suite + if [[ ${EPYTHON} == "python3.10" ]]; then + ewarn "Skipping tests on ${EPYTHON} due to missing dependencies" + return 0 + fi + local deselect=( tests/functional/test_install.py::test_double_install_fail tests/functional/test_list.py::test_multiple_exclude_and_normalization diff --git a/dev-python/protobuf-python/Manifest b/dev-python/protobuf-python/Manifest index e170628b3386..87ea4747892e 100644 --- a/dev-python/protobuf-python/Manifest +++ b/dev-python/protobuf-python/Manifest @@ -3,3 +3,4 @@ DIST protobuf-3.16.0.tar.gz 5299781 BLAKE2B 9ace02a6038c31b7393671fb2ccd6a4866a3 DIST protobuf-3.17.0.tar.gz 5185780 BLAKE2B a168619df72cdf097c7ddfd50aca96a2101bf73e7c1c842c020e6ee08a853db8674a86ca999b7706da3dd21d4d3d2159241c93232efc693701962f3a54a382e9 SHA512 36ed2de641849ce01531ff1207f62a0748f811519c40622a119a17a1e709864382de81481fb58f374a025948971c48416e7e6de9c00512a78633c7a8a3aa3a36 DIST protobuf-3.17.1.tar.gz 5192666 BLAKE2B 7f912db7e0835aaa42628fcf564a5666e2cbfa021bb35638a5eec53c3c457f1e747225dea54f732b7239a1520febca9bc20c824b1938f100796caa3ac2133bc1 SHA512 5a18aa3c1dab040dc6d22310a8503241081106acf7ca89079d7b416533d7c2cdd47719dc9023e6bc26969f0f1c796550260a04034a403c69752f6a3a7a651bb8 DIST protobuf-3.17.2.tar.gz 5192779 BLAKE2B 97f9561848e70b8d26ebcc7fc4fa8da51c4b8267efbe1d2d386c2785308e7ba7edc05f1b3863c274dc8838866d58b58509606d72c51a22b956d1d528584c4c95 SHA512 b3e7ad50ed772668df70a3a20ad1af13a5e82f23b109e4fecd34e6a74947bed300963c9f084907fbfafe28fc18365cde7df1975e2ff9538d2f5a3d2b458bca98 +DIST protobuf-3.17.3.tar.gz 5235236 BLAKE2B 2495e678c8f9436d4e5a30ccee8b6226125d418ac7ecf7df20b078a1a16c221cbccab7d846dcd56a90220c106617fa75c410a21b62612fedec378cd7e8571350 SHA512 b4030b4474cc5fb5a62501200725dd488e6e66e3ced4ed12ab4ee029fcfed305e92ec966adafbdd343afffd186908163849422b95eaa500e7e741ac325d01d12 diff --git a/dev-python/protobuf-python/protobuf-python-3.17.3.ebuild b/dev-python/protobuf-python/protobuf-python-3.17.3.ebuild new file mode 100644 index 000000000000..5cc8b4236355 --- /dev/null +++ b/dev-python/protobuf-python/protobuf-python-3.17.3.ebuild @@ -0,0 +1,65 @@ +# Copyright 2008-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +DISTUTILS_USE_SETUPTOOLS="bdepend" + +inherit distutils-r1 + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf" + EGIT_SUBMODULES=() +fi + +DESCRIPTION="Google's Protocol Buffers - Python bindings" +HOMEPAGE="https://developers.google.com/protocol-buffers/ https://github.com/protocolbuffers/protobuf" +if [[ "${PV}" == "9999" ]]; then + SRC_URI="" +else + SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> protobuf-${PV}.tar.gz" +fi + +LICENSE="BSD" +SLOT="0/28" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="" + +BDEPEND="${PYTHON_DEPS} + ~dev-libs/protobuf-${PV} + dev-python/namespace-google[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}]" +DEPEND="${PYTHON_DEPS} + ~dev-libs/protobuf-${PV}" +RDEPEND="${BDEPEND}" + +S="${WORKDIR}/protobuf-${PV}/python" + +if [[ "${PV}" == "9999" ]]; then + EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}" +fi + +python_prepare_all() { + pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die + eapply "${FILESDIR}/${PN}-3.13.0-google.protobuf.pyext._message.PyUnknownFieldRef.patch" + eapply_user + popd > /dev/null || die + + distutils-r1_python_prepare_all +} + +python_configure_all() { + mydistutilsargs=(--cpp_implementation) +} + +python_test() { + esetup.py test +} + +python_install_all() { + distutils-r1_python_install_all + + find "${ED}" -name "*.pth" -type f -delete || die +} diff --git a/dev-python/pytest-django/pytest-django-4.4.0.ebuild b/dev-python/pytest-django/pytest-django-4.4.0.ebuild index eff276cefc4f..003883005d15 100644 --- a/dev-python/pytest-django/pytest-django-4.4.0.ebuild +++ b/dev-python/pytest-django/pytest-django-4.4.0.ebuild @@ -17,7 +17,7 @@ SRC_URI=" -> ${P}.gh.tar.gz" LICENSE="BSD" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~sparc ~x86" SLOT="0" RDEPEND=" diff --git a/dev-python/rich/Manifest b/dev-python/rich/Manifest index 3265c6250292..7896fa64690d 100644 --- a/dev-python/rich/Manifest +++ b/dev-python/rich/Manifest @@ -4,6 +4,7 @@ DIST rich-10.1.0.tar.gz 16218332 BLAKE2B 880fe5354b41a8a2accf7dc0d2f80163b850a28 DIST rich-10.2.0.tar.gz 16231540 BLAKE2B d297678a6e90a099aa17cbac75618de500e92a07943139e3fef052a0df1edbb9c4efc22ff82d4fd3618b2b6e79bed672d3bc558fc168f5a70ed72d06a2083e7d SHA512 f1de3bdf367130efb48672a18523fba44fd209bf6b914f0fb25c140eb115e12a65182e90d988b2a56867dc1c8b83169794b852a29a28610022df004a0cfe1f74 DIST rich-10.2.1.tar.gz 16231545 BLAKE2B d9561bc45f5d1aab04f5ed1fe86c90e0b7f07a88b99c066c6ec7b67364a8a1f9bb9275963736945bb0e6022cf10cda32036df457529c3a7ec097f4c8a3884baf SHA512 21a21b4ae479465989fc15630cdc2cf0f0fc127fe2e6b1d58714e725ac458eedca9159ec833c46b29164f5d9e7af4abbd9546ba08e6e537ed9f9c8a61995e8c9 DIST rich-10.2.2.tar.gz 16231702 BLAKE2B 1979ee6ac7fb78ba7743f25bd34a7547f1f49c42e1f5ead958f53fe0251e73fd0122dc89c7e5fc545a5af1c6eba8ff7a3788476b63b722c6158280b85d399d99 SHA512 dd23ca63dbf3c60aec39e680c60911f1b7da76a5ffa1ba4ba61b824e583de94000bc38d819089ad6d52a15c92be030ab2ddc2186d770828553f5821d8d0410bc +DIST rich-10.3.0.tar.gz 16237609 BLAKE2B ddac8f2ed7b3b39e647179cd03cf59994729d7d82bdfad6670284a692871b79f2f6ceb86fae0d47d76401f756c122ebcb5978d241d4a95b4f3d6c54de67132a1 SHA512 91886b19c91052a7fe24fb9ae8c98a59f882e6c387036420f17a4867f581e71839b990541fcedf7831d361a9cb535f05c13e45bf5505a4d1fcdc0d0f8e8b39c8 DIST rich-9.11.1.tar.gz 14050070 BLAKE2B 7dcae32743bfcbbab0af6896f72e865d2a72ab66545168544d065145cf10a2aab4785454e547f011219a85a8aa762f1ed5ebef2b9fb7f44225a2f776835b643d SHA512 2139cb6602d930e9bf1479456a8e6cee812237fb64073db3f23fd8eab64c1c2b3a83c6292f1f90652791100a93961d8ec8036e5d819f1e23159b6b9a75cd1f6c DIST rich-9.12.4.tar.gz 16204429 BLAKE2B b57d7dc7ad4463c85cbc43e0fd8afd9f0c5329cbe81eaac168895af3701091669e4b0b6fd0d2de2f5876405c5aae00ed77e77d1b317dbd20c7dd3e53deddf2ca SHA512 92feb4ceab4e10f33c0f4abec19a4ee5bdcf27139591b603aba98239483874089fbd33998a2f05f2b609799afa59cddbe1ee245a87c391d15f58887b21a138df DIST rich-9.13.0.tar.gz 16206916 BLAKE2B 27a058821f5bcdeaadf4ec9beadd0f2bb5357993a1c15cd72c6cac4def9c7c9d9d7705064853931bb868b7bf873a85469feb8a9c67daf88cdab8169f0d342b0c SHA512 bb93339f985c88b86897a9b21769877cb68f4a6f61a74b9e4a2a96aad0556502e6c848c4f769ee53c57bf03f0cfdfab97e004aa9d6572158a37037afee61f0ad diff --git a/dev-python/rich/rich-10.3.0.ebuild b/dev-python/rich/rich-10.3.0.ebuild new file mode 100644 index 000000000000..67307cc76d41 --- /dev/null +++ b/dev-python/rich/rich-10.3.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~x86" + +RDEPEND=" + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/commonmark[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' python3_7)" + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "integration with HTML widgets for Jupyter" dev-python/ipywidgets +} diff --git a/dev-python/ruamel-yaml/Manifest b/dev-python/ruamel-yaml/Manifest index 1fd3a5e65b13..461e33fe8836 100644 --- a/dev-python/ruamel-yaml/Manifest +++ b/dev-python/ruamel-yaml/Manifest @@ -2,3 +2,4 @@ DIST ruamel-yaml-0.16.13.tar.xz 178756 BLAKE2B 19ee4713786a33853f42256e5cd3187e9 DIST ruamel-yaml-0.17.4.tar.xz 178028 BLAKE2B 24c9f61cf8e158377ae839f73dcceab8fdbb8071d1a792a37bd96158993602625967805f177719bbe88e917ccaf10ba210b6c01e91bb750f4df6bcc8a4a66450 SHA512 4c3d51ff00ace64e00d5bc8314c8cb6bc193da2a90e2cc9b9ed97510a7035778917c56e10b85cafab50f296f2f46d8817ad1abfa01b0498715f4972d91545dd3 DIST ruamel-yaml-0.17.5.tar.xz 182484 BLAKE2B 8e06b08799a2b8ec8cd5a732e689dd8413bdb3afdc621fbedfc769fea9cee6b06b33434765dfff048840b4b25b5b9784db6b93e22336cc4306103e91b0269e6b SHA512 99c8ea0cfcd3877b9a17fc781e32302359b9e704f72dbb53ede17fd63a78cce7f670de36a35d3ce9bd64f604c14741fba74a2c6c422a5adf484bbe5a31d464b3 DIST ruamel-yaml-0.17.7.tar.xz 182984 BLAKE2B 54c196f07cabe7cc97e4e652cb1c66443461f1555e0feb002e7c02e725a094a468733bcb9423c3a6d7450d25ad508a6a7338a107f0b015b2bfb0c42a57d8957f SHA512 0e5c638ac69d41ac5ea4712a97a05a43ec947a6bf9890f7c29aac057ef554fe65b92370bec91eae2803fc83be6ad01f60668f3d81458aaef32871312a62a86b8 +DIST ruamel-yaml-0.17.8.tar.xz 182988 BLAKE2B bd9f19eacac51bf5032738c8cd3da08d42ee109abf69442ab079a2d88267146d23d6facb6bc8683d4b78cff0577271574a7012799828a77ba23631b7b6af5b65 SHA512 69fdcffdb3b4cfb4b7933750b2f3a0ee2f44166c38a0cf3c5ba72bb14c1513ed28138435fecf8f23d72cb76b0489450403f726c5740ee9715f7d993f95438c0f diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.17.8.ebuild b/dev-python/ruamel-yaml/ruamel-yaml-0.17.8.ebuild new file mode 100644 index 000000000000..decbe5e1340b --- /dev/null +++ b/dev-python/ruamel-yaml/ruamel-yaml-0.17.8.ebuild @@ -0,0 +1,50 @@ +# 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 + +MY_PN="${PN//-/.}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="YAML parser/emitter that supports roundtrip comment preservation" +HOMEPAGE=" + https://pypi.org/project/ruamel.yaml/ + https://sourceforge.net/p/ruamel-yaml/" +# PyPI tarballs do not include tests +SRC_URI="mirror://sourceforge/ruamel-dl-tagged-releases/${MY_P}.tar.xz -> ${P}.tar.xz" +S="${WORKDIR}"/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + dev-python/namespace-ruamel[${PYTHON_USEDEP}] + dev-python/ruamel-yaml-clib[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/ruamel-std-pathlib[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +# Old PyYAML tests from lib/ require special set-up and are invoked indirectly +# via test_z_olddata, tell pytest itself to leave the subdir alone. +python_test() { + local deselect=() + + [[ ${EPYTHON} == pypy3 ]] && deselect+=( + _test/test_deprecation.py::test_collections_deprecation + ) + + epytest --ignore _test/lib/ ${deselect[@]/#/--deselect } +} + +python_install() { + distutils-r1_python_install --single-version-externally-managed + find "${ED}" -name '*.pth' -delete || die +} diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest index edb7572e0265..49716e5938ee 100644 --- a/dev-python/xmlschema/Manifest +++ b/dev-python/xmlschema/Manifest @@ -1 +1,2 @@ DIST xmlschema-1.6.2.tar.gz 367141 BLAKE2B 32a1e4924765badc268d2d68458c4d6d0409c5f3b4e0109487cc538aec300817cf0649a43f77990e82b2c54252b2ab3e0593a503c217893661480f1632491f41 SHA512 5aaf022451fa069b2361af542d4d864995e8dae7d50f5e66a5d5567b4d8511bb46b5dcec68a780e89025ff02f5bbb6311c4fcd4fb17f6c24c0c02b00c6b4a341 +DIST xmlschema-1.6.4.tar.gz 369270 BLAKE2B f3b98f0b8b4446dfa67da778c6b63585a894f4dcc9fd7ea98637ccd54b26e63aebc7f3fbc00e13ce43730b88da0f773a491917d5eae9301b5d22f6efe620473b SHA512 7e13d20a6add1cc5b6d0f732e672be3eeeb2f107fd2031cd5c22d1059d24b7d818c534817ea115d0c5f011727175bdcae71a0b8d55f1d6bd263a7e38286c26fc diff --git a/dev-python/xmlschema/xmlschema-1.6.4.ebuild b/dev-python/xmlschema/xmlschema-1.6.4.ebuild new file mode 100644 index 000000000000..8338c28c2148 --- /dev/null +++ b/dev-python/xmlschema/xmlschema-1.6.4.ebuild @@ -0,0 +1,31 @@ +# Copyright 2019-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="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 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/elementpath-2.2.2[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + )" + +python_test() { + "${EPYTHON}" tests/test_all.py -v || + die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/zope-interface/Manifest b/dev-python/zope-interface/Manifest index 67f1bc4e97be..61dda3f94aec 100644 --- a/dev-python/zope-interface/Manifest +++ b/dev-python/zope-interface/Manifest @@ -1,2 +1 @@ -DIST zope.interface-5.3.0.tar.gz 241964 BLAKE2B 4b1ea32f3f08e2d49afa402358760dd575057bc4487ad52686a2aaceee782501c3c1891dda00cbd306abe35e7bfea4cf41a4a340644258cf478a637abd62c103 SHA512 3544c64d64f32e4635031325b38500b8ed5888b03821c5ff2e07c2d88bb50ccb0b6fe24c6a55813bbe05caf2b847be832182e04dcd8e9ff29f1e68c1fda7c680 DIST zope.interface-5.4.0.tar.gz 249329 BLAKE2B 3a35ce6ff2a9984ed865cfb3bc3371e8069eb416d11bddbc56e27db4d76762fb1b87d295b51258ec006fddcbb38a8752b47a2d7874c0c8a959ca78101eae2750 SHA512 ef15d63397e05ad9fc44b2d5d786b0399b6973bb5f4866fab839ff612756f3157f2099d0f5c0469b574a5c8b5920a7c2a5c6eab8e8f84c24d5c43e816669bffe diff --git a/dev-python/zope-interface/zope-interface-5.3.0.ebuild b/dev-python/zope-interface/zope-interface-5.3.0.ebuild deleted file mode 100644 index b8293260a089..000000000000 --- a/dev-python/zope-interface/zope-interface-5.3.0.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# pkg_resources namespace -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 flag-o-matic - -MY_PN=${PN/-/.} -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Interfaces for Python" -HOMEPAGE="https://pypi.org/project/zope.interface/ https://github.com/zopefoundation/zope.interface" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -LICENSE="ZPL" -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 ~sparc64-solaris ~x64-solaris ~x86-solaris" - -RDEPEND=" - dev-python/namespace-zope[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/zope-event[${PYTHON_USEDEP}] - dev-python/zope-testing[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/5.1.0-drop-coverage.patch -) - -distutils_enable_tests setup.py - -python_compile() { - if ! python_is_python3; then - local CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" - append-flags -fno-strict-aliasing - fi - - distutils-r1_python_compile -} - -python_install_all() { - distutils-r1_python_install_all - - # remove .pth files since dev-python/namespace-zope handles the ns - find "${D}" -name '*.pth' -delete || die -} diff --git a/dev-python/zope-interface/zope-interface-5.4.0.ebuild b/dev-python/zope-interface/zope-interface-5.4.0.ebuild index f7fa6001d68b..b8293260a089 100644 --- a/dev-python/zope-interface/zope-interface-5.4.0.ebuild +++ b/dev-python/zope-interface/zope-interface-5.4.0.ebuild @@ -19,7 +19,7 @@ S=${WORKDIR}/${MY_P} LICENSE="ZPL" 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 ~sparc64-solaris ~x64-solaris ~x86-solaris" +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 ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND=" dev-python/namespace-zope[${PYTHON_USEDEP}] |
