diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-01-06 00:39:03 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-01-06 00:39:03 +0000 |
| commit | b4f8cc0865fa8cdf2676e61dbf60045128c1ffbf (patch) | |
| tree | 1db9fbc0b1fdc18cb99566b99962e0e727e8e30d /dev-python | |
| parent | 998742a1aa858db0be8cf74b18e9029b696ff366 (diff) | |
| download | baldeagleos-repo-b4f8cc0865fa8cdf2676e61dbf60045128c1ffbf.tar.gz baldeagleos-repo-b4f8cc0865fa8cdf2676e61dbf60045128c1ffbf.tar.xz baldeagleos-repo-b4f8cc0865fa8cdf2676e61dbf60045128c1ffbf.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python')
112 files changed, 415 insertions, 3009 deletions
diff --git a/dev-python/Babel/Babel-2.9.0.ebuild b/dev-python/Babel/Babel-2.9.0.ebuild index ecdf83169acf..ca9ce2b9d524 100644 --- a/dev-python/Babel/Babel-2.9.0.ebuild +++ b/dev-python/Babel/Babel-2.9.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 @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv s390 ~sparc ~x86 ~x64-macos" RDEPEND="dev-python/pytz[${PYTHON_USEDEP}] $(python_gen_cond_dep ' diff --git a/dev-python/MechanicalSoup/Manifest b/dev-python/MechanicalSoup/Manifest index 0e84d9339704..3c645248837a 100644 --- a/dev-python/MechanicalSoup/Manifest +++ b/dev-python/MechanicalSoup/Manifest @@ -1 +1,2 @@ DIST MechanicalSoup-0.12.0.tar.gz 44505 BLAKE2B 7c303f7ae4dea12157d5c845a4dcdc6923e76d3565debd88d2f43e2cfc29a503feb6accb969839a39b1c4071b029f53908a12902a5c4f175f0383da227224c55 SHA512 6cce80ea5a90e7f19f2b13749f6ee48222d973af66cb350ac867a554580b0d619defe5a93741e6ec8aa808c585a8c01703158c7484521ac069977388de8bb7e3 +DIST MechanicalSoup-1.0.0.tar.gz 47572 BLAKE2B eace6cc4eaf50f01f8a7816d4d87a9345676b6921c8fe46b3280ac83463b241b2e6175b91ee1a5f907635c07ee8cf66324cb2e7938736b81e9a4f849f9159548 SHA512 00e2c5220c065b517301d9381a9bc5019f6f75dc5951a5ab4427fd7939b296b6b33a20b8f8a7e82c6feed2c9100e3481f38a424d63065883d71a6927119ad88c diff --git a/dev-python/MechanicalSoup/MechanicalSoup-1.0.0.ebuild b/dev-python/MechanicalSoup/MechanicalSoup-1.0.0.ebuild new file mode 100644 index 000000000000..2c3f818dcb00 --- /dev/null +++ b/dev-python/MechanicalSoup/MechanicalSoup-1.0.0.ebuild @@ -0,0 +1,48 @@ +# 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="A python library for automating interaction with websites" +HOMEPAGE="https://pypi.org/project/MechanicalSoup/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +RDEPEND=" + >=dev-python/beautifulsoup-4.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.0[${PYTHON_USEDEP}] + >=dev-python/six-1.4[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/requests-mock-1.3.0[${PYTHON_USEDEP}] + dev-python/pytest-httpbin[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs + +python_prepare_all() { + # Override pytest options to skip coverage and flake8 + sed -i -e '/^addopts =/d' setup.cfg || die + distutils-r1_python_prepare_all +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + distutils-r1_python_install_all +} diff --git a/dev-python/asn1crypto/Manifest b/dev-python/asn1crypto/Manifest index e5efbfd9097f..e47867e63666 100644 --- a/dev-python/asn1crypto/Manifest +++ b/dev-python/asn1crypto/Manifest @@ -1,2 +1 @@ -DIST asn1crypto-0.24.0.gh.tar.gz 641322 BLAKE2B eb30afd0d2579f44ee4f556139357dc7622691bdc2067df913a4412cd3dca8372b85d84e3a3cbef6ba83648bf4ef55d7e8614992e2abb019301c92d24b15a926 SHA512 426cc380903b4dd7aadd7b831e3a11ee3442c961a33b856d4aa8d9060e829f2e0ad905a60c4d6504569718fe2cee01d9be31628c89ef030bc34281e381c898e8 DIST asn1crypto-1.4.0.gh.tar.gz 672812 BLAKE2B 7545d424c244c04c2639df45e0bb56c50de95d0a7ee1e56933720dd7215c2be2608ac7889e2e901785592592e9ac6cb116fff3cd00536903c392a9e3912fc08a SHA512 989e4e0650252c29477d71263549b99f2c51c87f0768c20264b3de65f32edd8e7922e8af23bb1a7e29567a4ad8c4c5d596cdf7db3c766352c7f19d4f93361cd0 diff --git a/dev-python/asn1crypto/asn1crypto-0.24.0.ebuild b/dev-python/asn1crypto/asn1crypto-0.24.0.ebuild deleted file mode 100644 index 2a5290ccba7a..000000000000 --- a/dev-python/asn1crypto/asn1crypto-0.24.0.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Python ASN.1 library with a focus on performance and a pythonic API" -HOMEPAGE="https://github.com/wbond/asn1crypto/ https://pypi.org/project/asn1crypto/" -# pypi tarball does not have tests -SRC_URI="https://github.com/wbond/asn1crypto/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND="" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" - -python_test() { - esetup.py test -} diff --git a/dev-python/asn1crypto/asn1crypto-1.4.0.ebuild b/dev-python/asn1crypto/asn1crypto-1.4.0.ebuild index 0eff2768f556..49ffbf3570d1 100644 --- a/dev-python/asn1crypto/asn1crypto-1.4.0.ebuild +++ b/dev-python/asn1crypto/asn1crypto-1.4.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 @@ -15,6 +15,6 @@ SRC_URI="https://github.com/wbond/asn1crypto/archive/${PV}.tar.gz -> ${P}.gh.tar LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~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 ~ia64 ~mips ppc ppc64 s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" distutils_enable_tests unittest diff --git a/dev-python/backports-zoneinfo/backports-zoneinfo-0.2.1-r1.ebuild b/dev-python/backports-zoneinfo/backports-zoneinfo-0.2.1-r1.ebuild index 7cf04f3c7d51..39dc6fb95727 100644 --- a/dev-python/backports-zoneinfo/backports-zoneinfo-0.2.1-r1.ebuild +++ b/dev-python/backports-zoneinfo/backports-zoneinfo-0.2.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,7 +16,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv s390 ~sparc ~x86 ~x64-macos" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index ab2f46f1a8a6..f4df9bcc5218 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -10,3 +10,4 @@ DIST boto3-1.16.45.tar.gz 342528 BLAKE2B b8e02cb656d9dc9c82ee88969443f8ba1660114 DIST boto3-1.16.46.tar.gz 342528 BLAKE2B 7c68c2ff006f0a8120eb049ad7dfa765e98b73338b365057a8b239e0dbc4562ef60a12d57348e0f1412206bc7530aa981885c60a08b158aa258a818085e75327 SHA512 82887b4556255eff8ab6988bbd950da006849a8eb3c3017c235064f7f9f3989d97f6ef2a2d75018c2b848d586363169f354f087f1a0b841d9f0eef3dbca05ba4 DIST boto3-1.16.47.tar.gz 342541 BLAKE2B 956c76bc6f5f07125862ab7614da9d9d6eee1af9d0e3d39ddaeb4f130bb455a05f472a19b578ceae17211cd9e32492048af8b391bd42bc3ee8e26c947d95f08c SHA512 5a4e3d8ee6437254e8a560262531cf7a7055d5d06b530cac2d5940b39cbb3de3cae18aea4d05dec0a304ede76ebef5ed83d1cc3f1200fabfe135afc484aba5df DIST boto3-1.16.48.tar.gz 342685 BLAKE2B d0137aa8cb9d1951ea1aed8b3457d73fc314e9035c5ff28006579067ac421d3538602861e9cf2ca3f47898da9038c898a9a690487a17772439dcee77c2e0f5f5 SHA512 67f7b7bf725a47d12c47bc604fe82ad8a5f9aebe18a2185140d9c0fe6f78ab45e468de9823910976a073b87adeffb399a8482dac2d61e52c5060a6023113e8e4 +DIST boto3-1.16.49.tar.gz 342687 BLAKE2B 1af59bddd9c46a6823a22d2238151cc77cfc8954d4e9e724ba8ed7d3d72f3e5635ae66b0f95bd6764aa7c1a6fd4ce21f83961c97324aea28e0768ed0ba97bbf5 SHA512 e637542710d3b479fb042ce79116fb0a44eece139bdf160cb45f3aa3b8375f10001b96e293440acf0b736c9362e4cb5c87adf632ac5497e1be14879ec7dc2098 diff --git a/dev-python/boto3/boto3-1.16.49.ebuild b/dev-python/boto3/boto3-1.16.49.ebuild new file mode 100644 index 000000000000..2df16964cdb0 --- /dev/null +++ b/dev-python/boto3/boto3-1.16.49.ebuild @@ -0,0 +1,56 @@ +# 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=bdepend +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE="https://github.com/boto/boto3" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests nose + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # prevent an infinite loop + rm tests/functional/docs/test_smoke.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + nosetests -v tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}" +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 3debd8628b33..952464684dd8 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -10,3 +10,4 @@ DIST botocore-1.19.45.tar.gz 7378425 BLAKE2B 868976d31dbc78e6d985734cd5dd4b6fd90 DIST botocore-1.19.46.tar.gz 7377742 BLAKE2B c80c6f3a21e4d460d4be198762dad44055744ca3b555d73d72f61647e585296a8748f0daa3b8f73c56a1fb6182efd904d5081d2ba13f7380c22a2be328638fc7 SHA512 5ff8dc2179394dc64b2a634eb81d8b9c1b3a7244da79adafdcb64de4347ce8820a319ca4c7ecb71f537f09ec51a9a55cabf3735e910eb8c14d2bcd663a963bb3 DIST botocore-1.19.47.tar.gz 7378319 BLAKE2B e560a191221f6fe617ab700ac9d1f474312bcb278b1641ca1c80090288bea2aa8f9e0b5ac30607c987f409b574b02c445456835f6360fd77f1fc3403647c5b09 SHA512 06b363be4f380ba7061397f93f4f9d11f4c8302430030fd806a812d75caf7fa28c1d24abe4f06eb76e37d1ac9972bcef9231f3330c9f96e7ab66cc8f7ecd96a1 DIST botocore-1.19.48.tar.gz 7379483 BLAKE2B d5848c04dcced3d55a634026ae295133e5c5ea01f86d6545e9d32c7f4a289ba2bf256b6d9dba2ea38ef5b2bc1c76b3c57e0168c178d74fa36c1d661990719c35 SHA512 d7d7992de4e4833a8b043597cb8c5de22b19fe375f2b15549d30eb2ef9e145c056fb16333f1b1feb44b946cdca64944bd91cc10028b726b19df9398f992df183 +DIST botocore-1.19.49.tar.gz 7381364 BLAKE2B 19783458b01c31513ec6da85db47a157a874ab328552eb5c9b335dba0e1135a2ac91b73d2d92eafb368ed15cb793903907825ced57a16df82bb8156a0995ec7e SHA512 b699597f415ebc30915ee2f7bb562b082e289ce7628125797a994b9f116869f2c73fb8d686950253fd6dc045330c298131f42555525a23d883187c2256877373 diff --git a/dev-python/botocore/botocore-1.19.49.ebuild b/dev-python/botocore/botocore-1.19.49.ebuild new file mode 100644 index 000000000000..9d681f87244c --- /dev/null +++ b/dev-python/botocore/botocore-1.19.49.ebuild @@ -0,0 +1,59 @@ +# 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} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE="https://github.com/boto/botocore" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/jmespath[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" +) + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests nose + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + # very unstable + sed -i -e 's:test_stress_test_token_bucket:_&:' \ + tests/functional/retries/test_bucket.py || die + distutils-r1_src_prepare +} + +python_test() { + # note: suites need to be run separately as one of the unit tests + # seems to be leaking mocks and breaking a few functional tests + nosetests -v tests/unit || + die "unit tests failed under ${EPYTHON}" + nosetests -v tests/functional || + die "functional tests failed under ${EPYTHON}" +} diff --git a/dev-python/cffi/cffi-1.14.4.ebuild b/dev-python/cffi/cffi-1.14.4.ebuild index 399ed97ae739..4ea9a39c2254 100644 --- a/dev-python/cffi/cffi-1.14.4.ebuild +++ b/dev-python/cffi/cffi-1.14.4.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 @@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0/${PV}" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/cmd2/Manifest b/dev-python/cmd2/Manifest index 92fb127fca63..f5be79496964 100644 --- a/dev-python/cmd2/Manifest +++ b/dev-python/cmd2/Manifest @@ -1,2 +1 @@ -DIST cmd2-1.3.11.tar.gz 657770 BLAKE2B 829023a4ebd2c2034dbbcd276720476ef9e19a0869bdd2dcc18f2b7cb58bf7c9874b9c56c60d6ba15f7458327d768bce5f07890054361b58574697cf8408cfd6 SHA512 bd640a38723cfb7886b74631ded288fee87026fe718db48ea71a1eb3cb61cea514dda2c4ccd1df95b5ade3c8f8a4a14be3dd9d6722c59260a5fe7c4dfba30f24 DIST cmd2-1.4.0.tar.gz 660494 BLAKE2B 1a7d5efef704cf3011affa99303233ad9d16e09d16bbe9319324599e6d69b1a664556e9ed406f2a34bfc6021a6d1607a44fd4df9cedbd6688826e0bfe8d91b77 SHA512 1f35e9773578a1d2ea1255cd697754b126c1e90486e84319c0f86ee409ed22bfbc267ff1d3b9af1072985337c9cbc51eac4e288281146d9c20b54c8b364f1547 diff --git a/dev-python/cmd2/cmd2-1.3.11.ebuild b/dev-python/cmd2/cmd2-1.3.11.ebuild deleted file mode 100644 index 6adea94ddaf9..000000000000 --- a/dev-python/cmd2/cmd2-1.3.11.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 virtualx - -DESCRIPTION="Extra features for standard library's cmd module" -HOMEPAGE="https://github.com/python-cmd2/cmd2" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc64 sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - dev-python/attrs[${PYTHON_USEDEP}] - >=dev-python/colorama-0.3.7[${PYTHON_USEDEP}] - >=dev-python/pyperclip-1.6[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/wcwidth[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/importlib_metadata-1.6.0[${PYTHON_USEDEP}] - ' python3_{6,7}) -" -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e 's:test_which_editor_good:_&:' tests/test_cmd2.py || die - distutils-r1_src_prepare -} - -src_test() { - # tests rely on very specific text wrapping... - local -x COLUMNS=80 - virtx distutils-r1_src_test -} - -python_test() { - distutils_install_for_testing - pytest -vv || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/cmd2/cmd2-1.4.0.ebuild b/dev-python/cmd2/cmd2-1.4.0.ebuild index 56764a3fb263..86d98a97edc8 100644 --- a/dev-python/cmd2/cmd2-1.4.0.ebuild +++ b/dev-python/cmd2/cmd2-1.4.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 @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc64 sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/attrs[${PYTHON_USEDEP}] @@ -24,9 +24,21 @@ RDEPEND=" >=dev-python/importlib_metadata-1.6.0[${PYTHON_USEDEP}] ' python3_{6,7}) " +# pyperclip uses clipboard backends in the following preference order: +# pygtk, xclip, xsel, klipper, qtpy, pyqt5, pyqt4. +# klipper is known to be broken in Xvfb, and therefore causes test +# failures. to avoid them, we must ensure that one of the backends +# preferred to it is available (i.e. xclip or xsel) + which(1). BDEPEND=" dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] ) + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + sys-apps/which + || ( + x11-misc/xclip + x11-misc/xsel + ) + ) " distutils_enable_tests pytest diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest index 30c0fd19297b..3063334a06b2 100644 --- a/dev-python/django/Manifest +++ b/dev-python/django/Manifest @@ -4,8 +4,6 @@ DIST Django-2.2.17.tar.gz 8885492 BLAKE2B 30046adc54c31e0e8dac3c573da58e8536246b DIST Django-3.0.10.tar.gz 8958332 BLAKE2B 0ff17da9d9175b080d81e334e46ec6daaec5e4cd48f5d9a614c84b448a6d4b93d304b3fd25bcee665d65f589a8f94cf83f002bbd7a27975d23e3516286784e01 SHA512 fcce2815f966a5eb0f7986c16d065b352c73ea2ea4fc1422d440487d84162c5a93aa45b9173ba5d62d6caee2e976a9ac818f228b47ed7f4f50deda27bac995e9 DIST Django-3.0.11.checksum.txt 2438 BLAKE2B df936992a02e5a34b26e91654962507d973f8831c1eebada4cbdb578f83fba974532867b9f20828afc2467c2521e117b8dd543cde6f664d3c122a95207c50608 SHA512 a7b98d102775cc7854b0c242507d4ff8778984dc8b2e269352103249d6d1c5cea7e6eb8dbe08700b19ad4428e30c469e0e959a622ea4ce3198a75f72b2bb8871 DIST Django-3.0.11.tar.gz 8958879 BLAKE2B 078ffde9ae186ae8add2136c303ba38a1b38525481b2272384b8a1bb3428dcf6a31991a86b2078aea6cf250808af399acac5461a33c8e1fda5d6bc552eac478f SHA512 d24e8167f3f871f24ea5e288557a49d71f9b5c398c84e8434d5d3dc224ef62775121a016ad89e997fabe88893adc3a83176211d5b9a9730ec23d37d256aa4fb0 -DIST Django-3.1.3.checksum.txt 2429 BLAKE2B 7184da75a1da2c615c78a892c8331ff4abfec86e1ae93f8a74c836988d97ecafbbadaecffd352904c01b40a840a80f4d24e8b48f2570054a2349ef6c58bb43e3 SHA512 ecb1de139b05e697253e0b09fd15b692050be647cceb30d8f1482613d0c3393a3017460aabd7ff71ad1de2a8c70cc9276525d7a2a9285540a052805c969f55d8 -DIST Django-3.1.3.tar.gz 9253273 BLAKE2B 9284b637ea39e028ebabe44de50dacfe6a89621fcc5eea73b7f470fc998faeb361da428be8f3f3e349f25b8629b5a350f3a5b7c35ea50183b285daf63d8944a7 SHA512 0f49316dc61a299a257313c27051852e948337491047bacb2221c9c753a5cf4bafb2ed686311ad5345dd3045260331afccb013c21503891538340225a469d1ad DIST Django-3.1.4.checksum.txt 2466 BLAKE2B 635ddd40b542890aef29f53df0fad172e48450081f57c72042a71bb5de654b1d1f5f7ce0c588b1070a203e1d4afe3a1ed19431dd23a2a67cd510d4072c79a00f SHA512 729b771008489bbf0563002e438ef88abb2a14b2c29f307cb2db9c75450f30ac8bd4920bf0493dbec06b3640fc0d4b6817e8a054af1028ad065bd321c761a6c3 DIST Django-3.1.4.tar.gz 9392125 BLAKE2B b583442de50c358e70a49b9ef557d43211e6faee17933a44012dbb9f0dac3ccbf0a91e01a2b8b798fff7ae05100199e9e9c94a81748b41ea13e49d12bb510617 SHA512 02cfaabb25e5f932dcbf659faba2f0afe298e4bee4f510f7adebfff181bdd13c3a0b08e8ce379bcc59326d904be8699db4ce31065d93566b93cad758365207f5 DIST Django-3.1.5.checksum.txt 2428 BLAKE2B 69347177b3c8c592a0b9df832c8f0abebdd4f1ff420f95f63310eb41d3614b241dc8f01b71abfec12faa006a8e69310d31cd68425f57ecf7a02948e83c65e0b3 SHA512 93d3e0de057518b60d9da2c1193ec59a8601f53b5d81a09fa4f6866336fbff85b81c01711eb07544fce30fe17e6dec89e5a5d6a66a929d451bca77cfe172bf19 diff --git a/dev-python/django/django-3.1.3.ebuild b/dev-python/django/django-3.1.3.ebuild deleted file mode 100644 index 597c47c05bfb..000000000000 --- a/dev-python/django/django-3.1.3.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE='sqlite?,threads(+)' - -inherit bash-completion-r1 distutils-r1 optfeature verify-sig - -MY_P=${P^} -DESCRIPTION="High-level Python web framework" -HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" -SRC_URI=" - https://media.djangoproject.com/releases/$(ver_cut 1-2)/${MY_P}.tar.gz - verify-sig? ( https://media.djangoproject.com/pgp/${MY_P}.checksum.txt )" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD" -# admin fonts: Roboto (media-fonts/roboto) -LICENSE+=" Apache-2.0" -# admin icons, jquery, xregexp.js -LICENSE+=" MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 x86 ~x64-macos" -IUSE="doc sqlite test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/asgiref[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]" -BDEPEND=" - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( - $(python_gen_impl_dep sqlite) - ${RDEPEND} - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pillow[webp,${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/selenium[${PYTHON_USEDEP}] - dev-python/tblib[${PYTHON_USEDEP}] - sys-devel/gettext - ) - verify-sig? ( app-crypt/openpgp-keys-django ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-3.1-bashcomp.patch - "${FILESDIR}"/django-gettext-0.21.patch -) - -distutils_enable_sphinx docs --no-autodoc - -VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/django.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "${MY_P}.checksum.txt" sha256 "${MY_P}.tar.gz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - # do not bind to a specific version - # https://bugs.gentoo.org/750695 - sed -i -e 's:asgiref ~= 3.2.10:asgiref:' setup.cfg || die - distutils-r1_src_prepare -} - -python_test() { - # Tests have non-standard assumptions about PYTHONPATH, - # and don't work with ${BUILD_DIR}/lib. - PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || - die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - newbashcomp extras/django_bash_completion ${PN}-admin - bashcomp_alias ${PN}-admin django-admin.py - - distutils-r1_python_install_all -} - -pkg_postinst() { - elog "Additional Backend support can be enabled via" - optfeature "MySQL backend support" dev-python/mysqlclient - optfeature "PostgreSQL backend support" dev-python/psycopg:2 - elog - elog "Other features can be enhanced by" - optfeature "GEO Django" "sci-libs/gdal[geos]" - optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached - optfeature "ImageField Support" dev-python/pillow - optfeature "Password encryption" dev-python/bcrypt - optfeature "High-level abstractions for Django forms" dev-python/django-formtools -} diff --git a/dev-python/django/django-3.1.4.ebuild b/dev-python/django/django-3.1.4.ebuild index c9deb38c3f2d..bfa89b599876 100644 --- a/dev-python/django/django-3.1.4.ebuild +++ b/dev-python/django/django-3.1.4.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 @@ -23,7 +23,7 @@ LICENSE+=" Apache-2.0" # admin icons, jquery, xregexp.js LICENSE+=" MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~x64-macos" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 x86 ~x64-macos" IUSE="doc sqlite test" RESTRICT="!test? ( test )" diff --git a/dev-python/flake8/Manifest b/dev-python/flake8/Manifest index 93cecbab8ec4..998ffb90421e 100644 --- a/dev-python/flake8/Manifest +++ b/dev-python/flake8/Manifest @@ -1,3 +1 @@ -DIST flake8-3.8.1.tar.gz 157166 BLAKE2B cc8b2dc11f78a6b9c62662086cc190a29a0a4e5a228d4823de8e2f3f327cea3e5df4db220faf9cc14fa34e3825b7d1e4fc4ccf9d1205b437903f327f3ebfa7bb SHA512 f73a306be7d8e5bc48dd9d6d8f8cdee07a90c6c38ee7bd37a21f4be23f1812e4a1e214cc75ca1a324f40e750312b5d7ed573ff49d673f9a1f33aad188b108add -DIST flake8-3.8.3.tar.gz 162305 BLAKE2B 7211c9ff99ce2e8e3094e6a7a1917ee1b3d61902a45408b9c84f077097af8d1b0571e27209ed78409c9931ff53fdb660f81d1886773b8ef74ceb0bd3de60420c SHA512 007158ea5caf60ff84e935f1b74a5f746fba00991c8808395ff72126dc1a8c8e135badc6f1f383027349076b8f3e146e9d0af27b6e24cdf97390463fd69ad940 DIST flake8-3.8.4.tar.gz 163583 BLAKE2B 221234931365912adffec99c7c6761d2f35918222bee902ade4d8009d24f6918c66d23fc4b973fe653152cc6857b62ba859780b0d9de53fb91b7ea0379bee9d0 SHA512 51ed09beed50175573e6184b404431b3f89aa6594c40c70ed8288982fe12c2a68992e36d69c99013188f03555bf9fef1ba4f111f8e389cef1e1daa69b41ff5b0 diff --git a/dev-python/flake8/files/flake8-3.8.3-pytest6.patch b/dev-python/flake8/files/flake8-3.8.3-pytest6.patch deleted file mode 100644 index 78e7391d0379..000000000000 --- a/dev-python/flake8/files/flake8-3.8.3-pytest6.patch +++ /dev/null @@ -1,40 +0,0 @@ -commit 91b09d5b376cfb8afd4b6af5b407f57aa42011c7 -Author: Miro Hrončok <miro@hroncok.cz> -Date: Mon Jul 20 13:18:23 2020 +0200 - - Tests: Add a value to mocked entry_points, so pytest 6+ can log it - - Pytest 6.0.0rc1 attempts to log a repr of our mocked entry_point, - but it fails, becasue the repr metohod expects a valua attribute: - - Reproducer: - - $ tox -e py38 --force-dep 'pytest==6.0.0rc1' - ... - Traceback (most recent call last): - File "/usr/lib/python3.8/logging/__init__.py", line 1081, in emit - msg = self.format(record) - File "/usr/lib/python3.8/logging/__init__.py", line 925, in format - return fmt.format(record) - File "/usr/lib/python3.8/logging/__init__.py", line 664, in format - record.message = record.getMessage() - File "/usr/lib/python3.8/logging/__init__.py", line 369, in getMessage - msg = msg % self.args - File "/tmp/flake8/.tox/py38/lib/python3.8/site-packages/flake8/plugins/manager.py", line 44, in __repr__ - self.name, self.entry_point.value - File "/tmp/flake8/.tox/py38/lib/python3.8/site-packages/mock/mock.py", line 632, in __getattr__ - raise AttributeError("Mock object has no attribute %r" % name) - AttributeError: Mock object has no attribute 'value' - -diff --git a/tests/integration/test_checker.py b/tests/integration/test_checker.py -index eaab5c3..0acdb6e 100644 ---- a/tests/integration/test_checker.py -+++ b/tests/integration/test_checker.py -@@ -100,6 +100,7 @@ def mock_file_checker_with_plugin(plugin_target): - entry_point = mock.Mock(spec=['load']) - entry_point.name = plugin_target.name - entry_point.load.return_value = plugin_target -+ entry_point.value = 'mocked:value' - - # Load the checker plugins using the entry point mock - with mock.patch.object( diff --git a/dev-python/flake8/flake8-3.8.1.ebuild b/dev-python/flake8/flake8-3.8.1.ebuild deleted file mode 100644 index 9a4a77329c3c..000000000000 --- a/dev-python/flake8/flake8-3.8.1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe" -HOMEPAGE="https://gitlab.com/pycqa/flake8 https://pypi.org/project/flake8/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86" - -# requires.txt inc. mccabe however that creates a circular dep -RDEPEND=" - >=dev-python/pyflakes-2.2.0[${PYTHON_USEDEP}] - <dev-python/pyflakes-2.3.0[${PYTHON_USEDEP}] - >=dev-python/pycodestyle-2.6.0[${PYTHON_USEDEP}] - <dev-python/pycodestyle-2.7.0[${PYTHON_USEDEP}] - dev-python/importlib_metadata[${PYTHON_USEDEP}] -" -PDEPEND=" - >=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}] - <dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] -" -BDEPEND="${RDEPEND} - test? ( - ${PDEPEND} - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -# Sphinx and friends are not keyworded for all arches, repoman complains -#distutils_enable_sphinx docs/source dev-python/sphinx-prompt dev-python/sphinx_rtd_theme - -python_prepare_all() { - # don't treat warnings as errors when running tests - sed -r -i '/^[[:space:]]*error[[:space:]]*$/ d' pytest.ini || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/flake8/flake8-3.8.3-r1.ebuild b/dev-python/flake8/flake8-3.8.3-r1.ebuild deleted file mode 100644 index b32fe63938d5..000000000000 --- a/dev-python/flake8/flake8-3.8.3-r1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe" -HOMEPAGE="https://gitlab.com/pycqa/flake8 https://pypi.org/project/flake8/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~x64-macos" - -# requires.txt inc. mccabe however that creates a circular dep -RDEPEND=" - >=dev-python/pyflakes-2.2.0[${PYTHON_USEDEP}] - <dev-python/pyflakes-2.3.0[${PYTHON_USEDEP}] - >=dev-python/pycodestyle-2.6.0[${PYTHON_USEDEP}] - <dev-python/pycodestyle-2.7.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' pypy3 python3_{6,7}) -" -PDEPEND=" - >=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}] - <dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] -" -BDEPEND="${RDEPEND} - test? ( - ${PDEPEND} - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] - ) -" - -PATCHES=( "${FILESDIR}/${P}-pytest6.patch" ) - -distutils_enable_sphinx docs/source dev-python/sphinx-prompt dev-python/sphinx_rtd_theme -distutils_enable_tests --install pytest diff --git a/dev-python/flake8/flake8-3.8.4.ebuild b/dev-python/flake8/flake8-3.8.4.ebuild index 88d554ffa0cc..fe297143f40a 100644 --- a/dev-python/flake8/flake8-3.8.4.ebuild +++ b/dev-python/flake8/flake8-3.8.4.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 @@ -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 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~x64-macos" # requires.txt inc. mccabe however that creates a circular dep RDEPEND=" diff --git a/dev-python/geventhttpclient/geventhttpclient-1.4.5.ebuild b/dev-python/geventhttpclient/geventhttpclient-1.4.5.ebuild index 1554e61ae01c..1a5798449a54 100644 --- a/dev-python/geventhttpclient/geventhttpclient-1.4.5.ebuild +++ b/dev-python/geventhttpclient/geventhttpclient-1.4.5.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 @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND=" dev-python/certifi[${PYTHON_USEDEP}] diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 89516d54836d..9969b13c826a 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,9 +1,4 @@ -DIST hypothesis-python-5.24.4.tar.gz 9054743 BLAKE2B 5c64c86ed58d8f0e4a07390b1b1b5e405878b9632bf14233e0515ad9d98ec6ddcc57bf39be6b61f53739d34e393b3af64c0d362880019d29a649a9523a0204e3 SHA512 147f4fa47b54bf3ec4dfcebf2a6c98cee26ea6780244ef99e181bada65978375ca7731ed05cb98f1b92f7a44a357faae374d97d489ec6e2318ff94e526cd9a40 -DIST hypothesis-python-5.41.3.tar.gz 9095982 BLAKE2B 3a1b7052b3f71d1f8139101d16f2f74c2d434514a201b7e04e5452ac2c5fbe7288d592c0020769f3a48f73347cdce53f507ab65db7bfb4f3823d0f7997e48058 SHA512 974dee6040222fa55729257cea4e3c4c049625a2a5dfddbc12667dbd58dfe31718474ce8e9de81519e998c7a0c8ff01920e0aa2bca9fb7100754e985177f4b69 DIST hypothesis-python-5.41.5.tar.gz 9098660 BLAKE2B 6caa742d34a3a2aeb6c6fdec3f8772e5221e1d0b2becc1362b657d383387f2a1152756222cfe86ffbb3e23a53e395050a16325d74ec9e03822a5c0020505b38e SHA512 b220a48e5746bacc6fa257f79feed0dc2c0a9f66862aba74806fb1ac3d06f380620410c9c46c377c50e4fa7c3171d5b31ce2759e7a3e0e2abd0920b237242dd6 DIST hypothesis-python-5.43.3.tar.gz 9103991 BLAKE2B e374edf17571c33e48dc8d259db2fb23b9cc358f56189ebd60f3e9141ade7759eede1bdbd91d924f144a20b1ea0b7ec19817559b7f82a90f026ac101a7feeabd SHA512 392fb794fc5ba06acd1e465cf1500f742d8b056148540778f1ec9c5065be66c0f514f0fa6872337869079636c71235d51d4c6722a63b03037b689edd6f09809f DIST hypothesis-python-5.43.4.tar.gz 9104105 BLAKE2B 08b8c9ac7ac72afcc4556ae2167af7b4ab79d505da8c9f6a11c91d211f26ccf320c8f5ed41458f5e34f75614ad4aecdbf6df62275868dc079c037390dcbc9e08 SHA512 065e1bdd878eab35f38105e8da3f5cf108670a51fd48ea1996bebedf8c8a152386d0eb5284ed43d4e588695a408b3a455a2e4757430e31bb5dbf0ece1f64d294 -DIST hypothesis-python-5.43.8.tar.gz 9106677 BLAKE2B dd4334eb96e25cb31a16f06d1f7714bbf3631a7f09ed1bc46b9ce0d951b0718ac3ba0353ea4f71c221273f9c204380ab052e1bf4e3726e438a46585f6057b0db SHA512 475e6a60dd1132bcf1f4aed5e4cf6d478529e158583d4e81a1a74891037ff3fd80547a7adf5ee7263654984738fd983ef19fe8a6fb44cbd38160371ec30a6842 -DIST hypothesis-python-5.43.9.tar.gz 9094672 BLAKE2B d7e6ca30556635d358b44e4bfaeb653d1960321d7c520907d6f3872e09eab0bb1a79dc70d0583e4642c16805150badb47f18ecdcff6c9991fb2a02a87453bc87 SHA512 1040dd8065604c175c5c138846c050ea1c28c5823e9ba17ffee67edfbae9a3ea071d9db40c844735513d2c7f1168aa6fef8d3fc3a3774cc49b6889b77816008b -DIST hypothesis-python-5.46.0.tar.gz 9099456 BLAKE2B dd90cff66fd487427e1741eb7e31d7d04ed6e1070a3963dc55e607af0627f54d73b632a59620920565d1d1e900f97e44b6bc5d6cd0861d56a19a178f1b063878 SHA512 976575c27642f80fe903345d1b58eba5c984b78505da5c8ae4574b40795adc39e8fd8619b8fa887c796f62b772d958d1544efc883407c8500f882b9c6e9adf01 DIST hypothesis-python-5.47.0.tar.gz 9101964 BLAKE2B 7f57eebb6f27bf57373f2560612458bf9fd6233f8a9f254e59ced22c070a6f00453036c09b4e224b340843ad5027a9217e83473aaa13c1f94d354408d8d28799 SHA512 6a72469f0c2d0f16ddb56846a96f584104e726e4cd459abe30a744aef20ff50811e00e2a0feb72a3e3e6a3c6c7a7bf15be7c633640350e3bd550ad145c97c693 diff --git a/dev-python/hypothesis/hypothesis-5.24.4.ebuild b/dev-python/hypothesis/hypothesis-5.24.4.ebuild deleted file mode 100644 index e3d951b17b38..000000000000 --- a/dev-python/hypothesis/hypothesis-5.24.4.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 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 s390 sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - >=dev-python/pytest-5.3.5[${PYTHON_USEDEP}] - !!<dev-python/typing-3.7.4.1 - ) -" - -src_prepare() { - # avoid pytest-xdist dep for one test - sed -i -e 's:test_prints_statistics_given_option_under_xdist:_&:' \ - tests/pytest/test_statistics.py || die - distutils-r1_src_prepare -} - -python_test() { - pytest -vv tests/cover tests/pytest tests/quality || - die "Tests fail with ${EPYTHON}" -} - -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-5.41.3.ebuild b/dev-python/hypothesis/hypothesis-5.41.3.ebuild deleted file mode 100644 index b39113218c4c..000000000000 --- a/dev-python/hypothesis/hypothesis-5.41.3.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 eutils 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 sparc x86 ~x64-macos" -IUSE="cli test" -RESTRICT="!test? ( test )" - -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_{6..9}) - ) -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - >=dev-python/pytest-5.3.5[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/typing-3.7.4.1 - ) -" - -python_prepare() { - if ! use cli || [[ ${EPYTHON} != python* ]]; then - sed -i -e '/console_scripts/d' setup.py || die - fi -} - -python_test() { - local -x PYTHONPATH="${BUILD_DIR}/install/lib" - esetup.py install \ - --root="${BUILD_DIR}/install" \ - --install-lib=lib - - pytest -vv tests/cover tests/pytest tests/quality \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || - die "Tests fail with ${EPYTHON}" -} - -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-5.41.5.ebuild b/dev-python/hypothesis/hypothesis-5.41.5.ebuild index eb74be2fa846..9ee4402b50d3 100644 --- a/dev-python/hypothesis/hypothesis-5.41.5.ebuild +++ b/dev-python/hypothesis/hypothesis-5.41.5.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 @@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" LICENSE="MPL-2.0" 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" IUSE="cli test" RESTRICT="!test? ( test )" diff --git a/dev-python/hypothesis/hypothesis-5.43.8.ebuild b/dev-python/hypothesis/hypothesis-5.43.8.ebuild deleted file mode 100644 index 9c1c85cb43dc..000000000000 --- a/dev-python/hypothesis/hypothesis-5.43.8.ebuild +++ /dev/null @@ -1,64 +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} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 eutils 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 test" -RESTRICT="!test? ( test )" - -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_{6..9}) - ) -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - <dev-python/pytest-6.2[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/typing-3.7.4.1 - ) -" - -python_prepare() { - if ! use cli || [[ ${EPYTHON} != python* ]]; then - sed -i -e '/console_scripts/d' setup.py || die - fi -} - -python_test() { - distutils_install_for_testing --via-root - pytest -vv tests/cover tests/pytest tests/quality \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || - die "Tests fail with ${EPYTHON}" -} - -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-5.43.9.ebuild b/dev-python/hypothesis/hypothesis-5.43.9.ebuild deleted file mode 100644 index 9c1c85cb43dc..000000000000 --- a/dev-python/hypothesis/hypothesis-5.43.9.ebuild +++ /dev/null @@ -1,64 +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} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 eutils 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 test" -RESTRICT="!test? ( test )" - -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_{6..9}) - ) -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - <dev-python/pytest-6.2[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/typing-3.7.4.1 - ) -" - -python_prepare() { - if ! use cli || [[ ${EPYTHON} != python* ]]; then - sed -i -e '/console_scripts/d' setup.py || die - fi -} - -python_test() { - distutils_install_for_testing --via-root - pytest -vv tests/cover tests/pytest tests/quality \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || - die "Tests fail with ${EPYTHON}" -} - -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-5.46.0.ebuild b/dev-python/hypothesis/hypothesis-5.46.0.ebuild deleted file mode 100644 index 9c1c85cb43dc..000000000000 --- a/dev-python/hypothesis/hypothesis-5.46.0.ebuild +++ /dev/null @@ -1,64 +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} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 eutils 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 test" -RESTRICT="!test? ( test )" - -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_{6..9}) - ) -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - <dev-python/pytest-6.2[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/typing-3.7.4.1 - ) -" - -python_prepare() { - if ! use cli || [[ ${EPYTHON} != python* ]]; then - sed -i -e '/console_scripts/d' setup.py || die - fi -} - -python_test() { - distutils_install_for_testing --via-root - pytest -vv tests/cover tests/pytest tests/quality \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || - die "Tests fail with ${EPYTHON}" -} - -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/ifaddr/Manifest b/dev-python/ifaddr/Manifest index d75dbe3f297e..19948e6ff084 100644 --- a/dev-python/ifaddr/Manifest +++ b/dev-python/ifaddr/Manifest @@ -1,2 +1 @@ -DIST ifaddr-0.1.6.tar.gz 6526 BLAKE2B d30b955d42d0266a197214bbe16ff2a8b11e33b4305ae9ed128fca6719e2c86026c97b278b0abaf5f5f35f4c9b744e5b500b4a4c1783dede0ebd4aedff62803f SHA512 911f81c32e808b9e61f7e98b8c67dc9b40cb64de864843cd7239f08538c9ff7cd45c8f16428b2ce200ea5f213a539c7ed8479432e02feb5e82e917f838ee0cb6 DIST ifaddr-0.1.7.tar.gz 9281 BLAKE2B 3f7d29b69462cbf592899f1b4035685d1e9bb4535b104e6e59b41fd51c4c2681d2502ad190dae633891aec90818bb330c1f8ea403be22d154d9e7de8a5a80dab SHA512 9a428dd6bb022c8f483b77df9e9301f96e9ba64207eda8b3956a7ca5993bfe97f222c451149851135d379db1a819c75d0834566f3b6501456b2f237b0645e300 diff --git a/dev-python/ifaddr/ifaddr-0.1.6.ebuild b/dev-python/ifaddr/ifaddr-0.1.6.ebuild deleted file mode 100644 index da6460fbd019..000000000000 --- a/dev-python/ifaddr/ifaddr-0.1.6.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Enumerate IP addresses on the local network adapters" -HOMEPAGE="https://github.com/pydron/ifaddr" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" -IUSE="" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND}" -BDEPEND="" diff --git a/dev-python/ifaddr/ifaddr-0.1.7.ebuild b/dev-python/ifaddr/ifaddr-0.1.7.ebuild index 561877af6f9f..01f76bec620a 100644 --- a/dev-python/ifaddr/ifaddr-0.1.7.ebuild +++ b/dev-python/ifaddr/ifaddr-0.1.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,6 +13,6 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" distutils_enable_tests pytest diff --git a/dev-python/importlib_metadata/Manifest b/dev-python/importlib_metadata/Manifest index f5fb34ca470b..7d7142561292 100644 --- a/dev-python/importlib_metadata/Manifest +++ b/dev-python/importlib_metadata/Manifest @@ -1,4 +1,2 @@ -DIST importlib_metadata-2.0.0.tar.gz 29289 BLAKE2B 4ec24db057006affe1dee20e021a47d385770b1aa905db4ff4223d59f19b53dc85c21475875074664a84a0fb6994493735f5e098d38f938816ebc69dced7a40d SHA512 3f789d717f04f7649dd4a75895669b4f9b875671937035c1c76bd089504afff8c2ba5bfb6a91096ba29eccadc88dca98ea1da5107772fd2053541db15c52b16a -DIST importlib_metadata-3.1.0.tar.gz 29246 BLAKE2B 2144e10601e089e26e1d85269ed067d505de8ca86071524e038e87850420f42701b36fad5e1fe01529230333d5f23e0882f17a279bacfa39da335f3d968987dd SHA512 24d20d7658c2d15d2207d3660bd181016a16d0a2e3c86b8e86f7f95baab18f01f1a8753942d15ab648a40431bfc6db7d5109339575ef1a50802403eb580baede DIST importlib_metadata-3.1.1.tar.gz 32217 BLAKE2B 85155574f554146d89fedbaeffa5b5842c5c76f98d0f8488a019cded9fc7e45323b31a9cb612f81c379feb822a0e5a44f86566510c5bccaa344cbe10ef8676e9 SHA512 a0a3fc0c4cb08ba5676ae144a2176e9b2e02d122a09c1be67fe0c1e1c8304aeac4f624fa060898b20f99f67f9cfee2bdf1177d82cd12e5879edfa268e02cdce3 DIST importlib_metadata-3.3.0.tar.gz 33549 BLAKE2B 6646cf7f8dbbeeadd7b4e9e572a59c14e2f17444dcd84aef817e27b299cbc3f0fa868657a59221a42ea8c49c5cc75e9e170a787df3e3014808d19eff1f89debf SHA512 af2215405b0f7e120d2745f3736d021174e611ad226abe64b496192a210e85786e78560349f1188deb3bffbfceb36385e9fbac20f4447aafb025a1d735c333ac diff --git a/dev-python/importlib_metadata/importlib_metadata-2.0.0.ebuild b/dev-python/importlib_metadata/importlib_metadata-2.0.0.ebuild deleted file mode 100644 index 344fa0d485dd..000000000000 --- a/dev-python/importlib_metadata/importlib_metadata-2.0.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# Included in Python >= 3.8 -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Read metadata from Python packages" -HOMEPAGE="https://importlib-metadata.readthedocs.io/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND="dev-python/zipp[${PYTHON_USEDEP}]" -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - >=dev-python/importlib_resources-1.3.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pyfakefs[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx "${PN}/docs" \ - '>=dev-python/rst-linker-1.9' -distutils_enable_tests unittest - -python_prepare_all() { - # Skip a test that requires pep517 which is not in the tree - sed -e 's:test_find_local:_&:' \ - -i importlib_metadata/tests/test_integration.py || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/importlib_metadata/importlib_metadata-3.1.0.ebuild b/dev-python/importlib_metadata/importlib_metadata-3.1.0.ebuild deleted file mode 100644 index aedf7c077dc2..000000000000 --- a/dev-python/importlib_metadata/importlib_metadata-3.1.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# Included in Python >= 3.8 -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Read metadata from Python packages" -HOMEPAGE="https://github.com/python/importlib_metadata" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND="dev-python/zipp[${PYTHON_USEDEP}]" -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - >=dev-python/importlib_resources-1.3.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pyfakefs[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs dev-python/rst-linker -distutils_enable_tests unittest - -python_prepare_all() { - # Skip a test that requires pep517 which is not in the tree - sed -e 's:test_find_local:_&:' -i tests/test_integration.py || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/importlib_metadata/importlib_metadata-3.1.1.ebuild b/dev-python/importlib_metadata/importlib_metadata-3.1.1.ebuild index 422c471e17aa..60d6299544ab 100644 --- a/dev-python/importlib_metadata/importlib_metadata-3.1.1.ebuild +++ b/dev-python/importlib_metadata/importlib_metadata-3.1.1.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 @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND="dev-python/zipp[${PYTHON_USEDEP}]" BDEPEND=" diff --git a/dev-python/ipykernel/ipykernel-5.3.4.ebuild b/dev-python/ipykernel/ipykernel-5.3.4.ebuild deleted file mode 100644 index d74a8f25d2d9..000000000000 --- a/dev-python/ipykernel/ipykernel-5.3.4.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="IPython Kernel for Jupyter" -HOMEPAGE="https://github.com/ipython/ipykernel" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm64 x86" -IUSE="test" - -RDEPEND=" - >=dev-python/ipython-6[${PYTHON_USEDEP}] - dev-python/jupyter_client[${PYTHON_USEDEP}] - >=dev-python/jupyter_core-4.6[${PYTHON_USEDEP}] - >=dev-python/traitlets-4.1.0[${PYTHON_USEDEP}] - >=www-servers/tornado-4.0[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND} - test? ( - dev-python/nose[${PYTHON_USEDEP}] - dev-python/nose_warnings_filters[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] )" - -distutils_enable_tests pytest diff --git a/dev-python/ipyparallel/ipyparallel-6.3.0.ebuild b/dev-python/ipyparallel/ipyparallel-6.3.0.ebuild deleted file mode 100644 index 85695b153112..000000000000 --- a/dev-python/ipyparallel/ipyparallel-6.3.0.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE="threads(+)" -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 optfeature - -DESCRIPTION="Interactive Parallel Computing with IPython" -HOMEPAGE="https://ipyparallel.readthedocs.io/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm64 x86 ~amd64-linux ~x86-linux" -IUSE="doc test" -RESTRICT="!test? ( test )" - -# About tests and tornado -# Upstreams claims to work fine with tornado 5, and it's indeed possible to -# launch a cluster with tornado 5 installed, but tests definitely don't run with -# tornado 5 installed. Upstreams CI runs with tornado 4. This is why we limit -# ourselves to <tornado-5 when running tests. - -RDEPEND=" - dev-python/decorator[${PYTHON_USEDEP}] - dev-python/ipykernel[${PYTHON_USEDEP}] - dev-python/ipython[${PYTHON_USEDEP}] - dev-python/ipython_genutils[${PYTHON_USEDEP}] - dev-python/jupyter_client[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/pyzmq-14.4.0[${PYTHON_USEDEP}] - www-servers/tornado[${PYTHON_USEDEP}] - " -BDEPEND="${RDEPEND} - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( - dev-python/ipython[test] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/testpath[${PYTHON_USEDEP}] - ) - " - -distutils_enable_sphinx docs/source -distutils_enable_tests pytest - -src_prepare() { - # TODO: investigate - sed -e 's:test_unicode:_&:' \ - -e 's:test_temp_flags:_&:' \ - -i ipyparallel/tests/test_view.py || die - - distutils-r1_src_prepare -} - -pkg_postinst() { - optfeature "Jupyter Notebook integration" dev-python/notebook -} diff --git a/dev-python/ipython/Manifest b/dev-python/ipython/Manifest index ef7fbc6147ec..b0267afcb39d 100644 --- a/dev-python/ipython/Manifest +++ b/dev-python/ipython/Manifest @@ -1,2 +1 @@ -DIST ipython-7.16.1.tar.gz 5136303 BLAKE2B 9baf42c9befa50d78eec29d012aeae7f01886f29642a01845afd4a96d0efb7a4df5b14b68aeeb22d1d621e5427b219f717688a1d5074a6e70ad0509c7ca73a46 SHA512 60259fd6270b0355be67b4f620a58b56ae86e69e14debe2df86df6118548f2290ab3927b8dfab20db1ebd675df697d05eb6994b93625a7b8b6ea07112ddf63bd DIST ipython-7.19.0.tar.gz 5225775 BLAKE2B 1909d8336e7fc90959da4ca33ad7edcb8c2dec0a5aa20ca6f643ef53482fe7bf0d52e2bbec7cf97e72a1fd4d37af45ba01166febb25f35b52d69ffc062f0f0e8 SHA512 5350a125da3050acaea4899939a3b9d779009a2f5769fc9f3aa514ce029df050069ef9310d3255ad62f28912b4dec39207267248d3a2c3e9131cffd691322622 diff --git a/dev-python/ipython/ipython-7.16.1-r1.ebuild b/dev-python/ipython/ipython-7.16.1-r1.ebuild deleted file mode 100644 index 91564aa3a40b..000000000000 --- a/dev-python/ipython/ipython-7.16.1-r1.ebuild +++ /dev/null @@ -1,135 +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} ) -PYTHON_REQ_USE='readline,sqlite,threads(+)' - -inherit distutils-r1 optfeature virtualx - -DESCRIPTION="Advanced interactive shell for Python" -HOMEPAGE="https://ipython.org/ https://github.com/ipython/ipython/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test" -RESTRICT="!test? ( test )" - -CDEPEND=" - dev-python/backcall[${PYTHON_USEDEP}] - dev-python/decorator[${PYTHON_USEDEP}] - <dev-python/jedi-0.18[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pickleshare[${PYTHON_USEDEP}] - >=dev-python/prompt_toolkit-2[${PYTHON_USEDEP}] - <dev-python/prompt_toolkit-3.1[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - dev-python/traitlets[${PYTHON_USEDEP}] - matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] ) -" - -RDEPEND="${CDEPEND} - nbconvert? ( dev-python/nbconvert[${PYTHON_USEDEP}] )" - -DEPEND="${CDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - app-text/dvipng[truetype] - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] - dev-python/nbformat[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - >=dev-python/numpy-1.14[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/testpath[${PYTHON_USEDEP}] - ) - doc? ( - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - >=dev-python/sphinx-2[${PYTHON_USEDEP}] - )" - -PDEPEND=" - notebook? ( - dev-python/notebook[${PYTHON_USEDEP}] - dev-python/ipywidgets[${PYTHON_USEDEP}] - dev-python/widgetsnbextension[${PYTHON_USEDEP}] - ) - qt5? ( dev-python/qtconsole[${PYTHON_USEDEP}] ) - smp? ( - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] - >=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}] - )" - -PATCHES=( "${FILESDIR}"/2.1.0-substitute-files.patch ) - -DISTUTILS_IN_SOURCE_BUILD=1 - -python_prepare_all() { - # Remove out of date insource files - rm IPython/extensions/cythonmagic.py || die - rm IPython/extensions/rmagic.py || die - - # Prevent un-needed download during build - if use doc; then - sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die - fi - - distutils-r1_python_prepare_all -} - -python_compile_all() { - if use doc; then - emake -C docs html_noapi - HTML_DOCS=( docs/build/html/. ) - fi -} - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - distutils_install_for_testing - pushd "${TEST_DIR}" >/dev/null || die - "${TEST_DIR}"/scripts/iptest || die - popd >/dev/null || die -} - -python_install() { - distutils-r1_python_install - - # Create ipythonX.Y symlinks. - # TODO: - # 1. do we want them for pypy? No. pypy has no numpy - # 2. handle it in the eclass instead (use _python_ln_rel). - # With pypy not an option the dosym becomes unconditional - dosym ../lib/python-exec/${EPYTHON}/ipython \ - /usr/bin/ipython${EPYTHON#python} -} - -python_install_all() { - distutils-r1_python_install_all - - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi -} - -pkg_postinst() { - optfeature "sympyprinting" dev-python/sympy - optfeature "cythonmagic" dev-python/cython - optfeature "%lprun magic command" dev-python/line_profiler - optfeature "%mprun magic command" dev-python/memory_profiler - - if use nbconvert; then - if ! has_version app-text/pandoc ; then - einfo "Node.js will be used to convert notebooks to other formats" - einfo "like HTML. Support for that is still experimental. If you" - einfo "encounter any problems, please use app-text/pandoc instead." - fi - fi -} diff --git a/dev-python/ipython/ipython-7.16.1.ebuild b/dev-python/ipython/ipython-7.16.1.ebuild deleted file mode 100644 index 8b08ddae7fd4..000000000000 --- a/dev-python/ipython/ipython-7.16.1.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE='readline,sqlite,threads(+)' - -inherit distutils-r1 optfeature virtualx - -DESCRIPTION="Advanced interactive shell for Python" -HOMEPAGE="https://ipython.org/ https://github.com/ipython/ipython/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test" -RESTRICT="!test? ( test )" - -CDEPEND=" - dev-python/backcall[${PYTHON_USEDEP}] - dev-python/decorator[${PYTHON_USEDEP}] - dev-python/jedi[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pickleshare[${PYTHON_USEDEP}] - >=dev-python/prompt_toolkit-2[${PYTHON_USEDEP}] - <dev-python/prompt_toolkit-3.1[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - dev-python/traitlets[${PYTHON_USEDEP}] - matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] ) -" - -RDEPEND="${CDEPEND} - nbconvert? ( dev-python/nbconvert[${PYTHON_USEDEP}] )" - -DEPEND="${CDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - app-text/dvipng[truetype] - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] - dev-python/nbformat[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - >=dev-python/numpy-1.14[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/testpath[${PYTHON_USEDEP}] - ) - doc? ( - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - >=dev-python/sphinx-2[${PYTHON_USEDEP}] - )" - -PDEPEND=" - notebook? ( - dev-python/notebook[${PYTHON_USEDEP}] - dev-python/ipywidgets[${PYTHON_USEDEP}] - dev-python/widgetsnbextension[${PYTHON_USEDEP}] - ) - qt5? ( dev-python/qtconsole[${PYTHON_USEDEP}] ) - smp? ( - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] - >=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}] - )" - -PATCHES=( "${FILESDIR}"/2.1.0-substitute-files.patch ) - -DISTUTILS_IN_SOURCE_BUILD=1 - -python_prepare_all() { - # Remove out of date insource files - rm IPython/extensions/cythonmagic.py || die - rm IPython/extensions/rmagic.py || die - - # Prevent un-needed download during build - if use doc; then - sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die - fi - - distutils-r1_python_prepare_all -} - -python_compile_all() { - if use doc; then - emake -C docs html_noapi - HTML_DOCS=( docs/build/html/. ) - fi -} - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - distutils_install_for_testing - pushd "${TEST_DIR}" >/dev/null || die - "${TEST_DIR}"/scripts/iptest || die - popd >/dev/null || die -} - -python_install() { - distutils-r1_python_install - - # Create ipythonX.Y symlinks. - # TODO: - # 1. do we want them for pypy? No. pypy has no numpy - # 2. handle it in the eclass instead (use _python_ln_rel). - # With pypy not an option the dosym becomes unconditional - dosym ../lib/python-exec/${EPYTHON}/ipython \ - /usr/bin/ipython${EPYTHON#python} -} - -python_install_all() { - distutils-r1_python_install_all - - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi -} - -pkg_postinst() { - optfeature "sympyprinting" dev-python/sympy - optfeature "cythonmagic" dev-python/cython - optfeature "%lprun magic command" dev-python/line_profiler - optfeature "%mprun magic command" dev-python/memory_profiler - - if use nbconvert; then - if ! has_version app-text/pandoc ; then - einfo "Node.js will be used to convert notebooks to other formats" - einfo "like HTML. Support for that is still experimental. If you" - einfo "encounter any problems, please use app-text/pandoc instead." - fi - fi -} diff --git a/dev-python/ipython/ipython-7.19.0-r1.ebuild b/dev-python/ipython/ipython-7.19.0-r1.ebuild index 54fde8a2b7a1..43c5bd279fbc 100644 --- a/dev-python/ipython/ipython-7.19.0-r1.ebuild +++ b/dev-python/ipython/ipython-7.19.0-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux" IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test" RESTRICT="!test? ( test )" diff --git a/dev-python/ipython/ipython-7.19.0.ebuild b/dev-python/ipython/ipython-7.19.0.ebuild deleted file mode 100644 index a025490ca262..000000000000 --- a/dev-python/ipython/ipython-7.19.0.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE='readline,sqlite,threads(+)' - -inherit distutils-r1 optfeature virtualx - -DESCRIPTION="Advanced interactive shell for Python" -HOMEPAGE="https://ipython.org/ https://github.com/ipython/ipython/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test" -RESTRICT="!test? ( test )" - -CDEPEND=" - dev-python/backcall[${PYTHON_USEDEP}] - dev-python/decorator[${PYTHON_USEDEP}] - >=dev-python/jedi-0.10[${PYTHON_USEDEP}] - >=dev-python/pexpect-4.3[${PYTHON_USEDEP}] - dev-python/pickleshare[${PYTHON_USEDEP}] - >=dev-python/prompt_toolkit-2[${PYTHON_USEDEP}] - <dev-python/prompt_toolkit-3.1[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - dev-python/traitlets[${PYTHON_USEDEP}] - matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] ) -" - -RDEPEND="${CDEPEND} - nbconvert? ( dev-python/nbconvert[${PYTHON_USEDEP}] )" - -BDEPEND=" - test? ( - ${CDEPEND} - app-text/dvipng[truetype] - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] - dev-python/nbformat[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - >=dev-python/numpy-1.14[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/testpath[${PYTHON_USEDEP}] - ) - doc? ( - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - >=dev-python/sphinx-2[${PYTHON_USEDEP}] - )" - -PDEPEND=" - notebook? ( - dev-python/notebook[${PYTHON_USEDEP}] - dev-python/ipywidgets[${PYTHON_USEDEP}] - dev-python/widgetsnbextension[${PYTHON_USEDEP}] - ) - qt5? ( dev-python/qtconsole[${PYTHON_USEDEP}] ) - smp? ( - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] - >=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}] - )" - -PATCHES=( "${FILESDIR}"/2.1.0-substitute-files.patch ) - -DISTUTILS_IN_SOURCE_BUILD=1 - -python_prepare_all() { - # Remove out of date insource files - rm IPython/extensions/cythonmagic.py || die - rm IPython/extensions/rmagic.py || die - - # Prevent un-needed download during build - if use doc; then - sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die - fi - - distutils-r1_python_prepare_all -} - -python_compile_all() { - if use doc; then - emake -C docs html_noapi - HTML_DOCS=( docs/build/html/. ) - fi -} - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - distutils_install_for_testing - pushd "${TEST_DIR}" >/dev/null || die - "${TEST_DIR}"/scripts/iptest || die - popd >/dev/null || die -} - -python_install() { - distutils-r1_python_install - - # Create ipythonX.Y symlinks. - # TODO: - # 1. do we want them for pypy? No. pypy has no numpy - # 2. handle it in the eclass instead (use _python_ln_rel). - # With pypy not an option the dosym becomes unconditional - dosym ../lib/python-exec/${EPYTHON}/ipython \ - /usr/bin/ipython${EPYTHON#python} -} - -python_install_all() { - distutils-r1_python_install_all - - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi -} - -pkg_postinst() { - optfeature "sympyprinting" dev-python/sympy - optfeature "cythonmagic" dev-python/cython - optfeature "%lprun magic command" dev-python/line_profiler - optfeature "%mprun magic command" dev-python/memory_profiler - - if use nbconvert; then - if ! has_version app-text/pandoc ; then - einfo "Node.js will be used to convert notebooks to other formats" - einfo "like HTML. Support for that is still experimental. If you" - einfo "encounter any problems, please use app-text/pandoc instead." - fi - fi -} diff --git a/dev-python/ipywidgets/Manifest b/dev-python/ipywidgets/Manifest index 3ce40678e5e0..2f2ca05fc4e7 100644 --- a/dev-python/ipywidgets/Manifest +++ b/dev-python/ipywidgets/Manifest @@ -1,4 +1,2 @@ DIST ipywidgets-7.5.1.tar.gz 5656334 BLAKE2B 8bd98f523b619bea02e01ae5faffb08040dc5011905dd69510728b02736e66444b3c3cdf1e7272884c1df97f610aff790063f783e1d0939786669ef39cd1fc94 SHA512 856b3e4dad331766eff6e5f1fd31984a4b6ede5c678ffd51a4896f6448dac53ba181ccec2821f10e07e0f1095318427affe19f1420d0337bc3d37ef1e0a9ea0d -DIST ipywidgets-7.6.0.tar.gz 4066107 BLAKE2B 5e5f9f6fca1e554ef2b6157a493435148a9832c7f69ec1245e24828363e2a9a1edea804236beaff1f0870d3c7aa028d329e18bc7b1aade7b212110dda3be018a SHA512 eee04406d90f8cadab0208923d51679677b6f630417b69acd0382fcb69cf3d727e47e5abde071939f0b5f45b8b0e72d0bf9316e41508c2c0df7518bfb322db51 -DIST ipywidgets-7.6.1.tar.gz 4066110 BLAKE2B 81f46c91352c8c490c588263489e5e6b2de07df4a0ed8a94e620abd16d064a0776330bb4e3cacf610e99c5528deeca18fe019c9f573d67de212b8271bae29210 SHA512 7a69f57d378c76b0c4aea1878e5a5f19adfca0acf3ec362ebddad5b05513c3bb078321c3c700f91da78dace2adb468d6182cd650da6ae299cd7022329368e538 DIST ipywidgets-7.6.2.tar.gz 4066260 BLAKE2B b0d75d83108336bac204c24d2a67e88a200939cd8308d99bdb3842916387266f24607726ce0b8781b4a8b6330b9e26bf1eeeeebcaf7588b74980d5bc6603e1b8 SHA512 a8c25ee82e0b0752f850a314fd9a05bbcdd098c9fbe8a0cf0b23e097380beaf7fc916e555fe1597a45bd0085efebc40593da66ef1408114fc6d3085467d95183 diff --git a/dev-python/ipywidgets/ipywidgets-7.5.1.ebuild b/dev-python/ipywidgets/ipywidgets-7.5.1.ebuild deleted file mode 100644 index 9b1e2bd247cb..000000000000 --- a/dev-python/ipywidgets/ipywidgets-7.5.1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="IPython HTML widgets for Jupyter" -HOMEPAGE="https://ipywidgets.readthedocs.io/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/ipykernel-4.5.1[${PYTHON_USEDEP}] - >=dev-python/nbformat-4.2.0[${PYTHON_USEDEP}] - >=dev-python/traitlets-4.3.1[${PYTHON_USEDEP}] - >=dev-python/widgetsnbextension-3.5.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/ipywidgets/ipywidgets-7.6.0.ebuild b/dev-python/ipywidgets/ipywidgets-7.6.0.ebuild deleted file mode 100644 index 4c73e54656aa..000000000000 --- a/dev-python/ipywidgets/ipywidgets-7.6.0.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="IPython HTML widgets for Jupyter" -HOMEPAGE="https://ipywidgets.readthedocs.io/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/ipykernel-4.5.1[${PYTHON_USEDEP}] - >=dev-python/nbformat-4.2.0[${PYTHON_USEDEP}] - >=dev-python/traitlets-4.3.1[${PYTHON_USEDEP}] - >=dev-python/widgetsnbextension-3.5.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/ipywidgets/ipywidgets-7.6.1.ebuild b/dev-python/ipywidgets/ipywidgets-7.6.1.ebuild deleted file mode 100644 index 0f13295bd61a..000000000000 --- a/dev-python/ipywidgets/ipywidgets-7.6.1.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="IPython HTML widgets for Jupyter" -HOMEPAGE="https://ipywidgets.readthedocs.io/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/ipykernel-4.5.1[${PYTHON_USEDEP}] - >=dev-python/nbformat-4.2.0[${PYTHON_USEDEP}] - >=dev-python/traitlets-4.3.1[${PYTHON_USEDEP}] - >=dev-python/widgetsnbextension-3.5.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/jaraco-packaging/Manifest b/dev-python/jaraco-packaging/Manifest index a0d676d6e202..e92712967a67 100644 --- a/dev-python/jaraco-packaging/Manifest +++ b/dev-python/jaraco-packaging/Manifest @@ -1,3 +1,2 @@ -DIST jaraco.packaging-8.1.0.tar.gz 15322 BLAKE2B c354bec458a319bd9df0667c155203efa5c3de2d95218d0dd3a5878011d2d8fef694a490a2bac0035bff8daa18d1a3447c2c8dab7c0bd7bb09b62969f91d4709 SHA512 99996765cb047f2f0416d6afc4ff6ee0d84d03da0e07c7a7121518fbaf668f587c044f567c1d66a455372897ec1634ba5ee490552ac92064ca072e20b8f60a3b DIST jaraco.packaging-8.1.1.tar.gz 14580 BLAKE2B 6ec709571d74a9c840652b565e42b5301ab1ad71df823df6fb972c110d7bc0dbfdbae0dd3cc7123b29076a42de0d2b716ef2bab8dd58ffeb2563a868d90bdc90 SHA512 c0724e8694c3019bf3be24d99c7cde6dca65851e288ae027eb0b0fdfde9e1260804db3f8690b3bf69abd1e1e50733178c0387a859b0d634e8096dc49537f5877 DIST jaraco.packaging-8.2.0.tar.gz 15295 BLAKE2B bfa8ca1547586122a5e142681be573ff0c7b95e0a5f5df25cf32dbafb4cd105509d6f7dcd9673e9f31bfe9284811721d778596a5ca3d25e41c9b1d88e8eb90d0 SHA512 469eecdc0648a0262e901462c3447450b1e3ca229ffd3747ebfedc7f80e84ff293680ff84bce0d83ee356bfa35fd0db64c7b0d61e02bad191bcdb5713c770789 diff --git a/dev-python/jaraco-packaging/jaraco-packaging-8.1.0-r2.ebuild b/dev-python/jaraco-packaging/jaraco-packaging-8.1.0-r2.ebuild deleted file mode 100644 index e58e781f6e96..000000000000 --- a/dev-python/jaraco-packaging/jaraco-packaging-8.1.0-r2.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -MY_PN="${PN/-/.}" -DESCRIPTION="Tools to supplement packaging Python releases" -HOMEPAGE="https://github.com/jaraco/jaraco.packaging" -SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" -S="${WORKDIR}/${MY_PN}-${PV}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' pypy3 python3_{6,7}) - >=dev-python/six-1.4[${PYTHON_USEDEP}] -" -DEPEND=" - dev-python/toml[${PYTHON_USEDEP}] - >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - >=dev-python/pytest-2.8[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs '>=dev-python/rst-linker-1.9' - -python_test() { - # Skip one test which requires network access - # Override pytest options to skip flake8 - PYTHONPATH=. pytest -vv -k "not test_revived_distribution" \ - --override-ini="addopts=--doctest-modules" \ - || die "tests failed with ${EPYTHON}" -} - -# https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages#File_collisions_between_pkgutil-style_packages -python_install() { - rm "${BUILD_DIR}"/lib/jaraco/__init__.py || die - # note: eclass may default to --skip-build in the future - distutils-r1_python_install --skip-build -} diff --git a/dev-python/jaraco-packaging/jaraco-packaging-8.1.1-r1.ebuild b/dev-python/jaraco-packaging/jaraco-packaging-8.1.1-r1.ebuild index e056737df92c..9e60a3d59920 100644 --- a/dev-python/jaraco-packaging/jaraco-packaging-8.1.1-r1.ebuild +++ b/dev-python/jaraco-packaging/jaraco-packaging-8.1.1-r1.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 @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86" RDEPEND=" $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' pypy3 python3_{6,7}) diff --git a/dev-python/jeepney/Manifest b/dev-python/jeepney/Manifest index 281f9670e7f8..9a0370021b93 100644 --- a/dev-python/jeepney/Manifest +++ b/dev-python/jeepney/Manifest @@ -1,2 +1 @@ -DIST jeepney-0.4.3.tar.gz 28121 BLAKE2B 2c9b5b5ec26a9af25d28af602827c73c8ec9377a88a4aa79b9a986675c1ef3f195763a338f3efa4ee371f7751dcf05a9f9cfed06c8d6677d81da3699773d5561 SHA512 bfb12c9259a57324759f8be44d1faf2c0535762e72db5f1370e64cb144c0fc537c9bc9cfb9b075932fb3a20e3ef4e0c990c10905cc5a69e3fb088e8de4193689 DIST jeepney-0.6.0.tar.gz 49513 BLAKE2B e5f9b5104cf07dbcd2d40c2d22b690dfd56c456ab56daf44f4abee83f0bfe7e1dfbad797348044d51e3dc20fbc6ce68bf8df54f9c1e46d7a86ceb22d3ab30f8d SHA512 140be9dd28ed853d2d41b6a8bbeb2f22c0270ce7bf33b943ec2ac010db17d4f06e253fa8637fbbb3044fe9ffdbfa1e15f0c663eb44bdd538f8c47c2e7dab3ca5 diff --git a/dev-python/jeepney/jeepney-0.4.3.ebuild b/dev-python/jeepney/jeepney-0.4.3.ebuild deleted file mode 100644 index 026cefb675eb..000000000000 --- a/dev-python/jeepney/jeepney-0.4.3.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, pure Python DBus protocol wrapper" -HOMEPAGE="https://gitlab.com/takluyver/jeepney" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" -IUSE="examples" - -BDEPEND=" - test? ( dev-python/testpath[${PYTHON_USEDEP}] ) -" - -distutils_enable_tests pytest - -distutils_enable_sphinx docs \ - dev-python/sphinx_rtd_theme - -python_install_all() { - if use examples; then - docompress -x "/usr/share/doc/${PF}/examples" - dodoc -r examples - fi - distutils-r1_python_install_all -} diff --git a/dev-python/jeepney/jeepney-0.6.0.ebuild b/dev-python/jeepney/jeepney-0.6.0.ebuild index c3bbc124aa6a..302339d7f9f8 100644 --- a/dev-python/jeepney/jeepney-0.6.0.ebuild +++ b/dev-python/jeepney/jeepney-0.6.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 @@ -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 ppc ppc64 sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86 ~x64-macos" IUSE="examples" BDEPEND=" diff --git a/dev-python/jsonpatch/Manifest b/dev-python/jsonpatch/Manifest index 011f96b588bc..b7ac2914bf2f 100644 --- a/dev-python/jsonpatch/Manifest +++ b/dev-python/jsonpatch/Manifest @@ -1,2 +1 @@ -DIST jsonpatch-1.27.tar.gz 26599 BLAKE2B b3481b4dd01d4fc6c2ad129141fb2b72d53d04744da54c1e4c989b2869113c15862d1ec5c84390758ad495ac36a9156f0e7b730ad091f96f6cb42fe96dde7fcd SHA512 297ca02d114e6b199bd516f69dca147fbe309f0a1b031046859271720645322607236f97b489c242575f7e1ad3cab0c68b1b7f11894c5af82be24013e376c0a4 DIST jsonpatch-1.28.tar.gz 26829 BLAKE2B 1dee89500be23c49e5d7fdcaacb05da7ea089b691e133c5187c9558d378ae3714ad7fc6f164d0b7eea7b3cf1afefa39b7748a4637b0456051fab086e0e8f15d0 SHA512 2884cb95307cb607c8cd80e688491b4449f953e43e5b232d4d57d7249c590652ecae0856806ade6bf2807a04180e992fd2cdf61590ac058d573d653382bf7a28 diff --git a/dev-python/jsonpatch/jsonpatch-1.27.ebuild b/dev-python/jsonpatch/jsonpatch-1.27.ebuild deleted file mode 100644 index f1d5ea0dd440..000000000000 --- a/dev-python/jsonpatch/jsonpatch-1.27.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Apply JSON-Patches like http://tools.ietf.org/html/draft-pbryan-json-patch-04" -HOMEPAGE="https://github.com/stefankoegl/python-json-patch" -SRC_URI="https://github.com/stefankoegl/python-json-patch/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/python-json-patch-${PV}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=">=dev-python/jsonpointer-1.9[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( ${RDEPEND} ) -" - -python_test() { - "${EPYTHON}" tests.py || die "Tests of tests.py fail with ${EPYTHON}" - "${EPYTHON}" ext_tests.py || die "Tests of ext_tests.py fail with ${EPYTHON}" -} diff --git a/dev-python/jsonpatch/jsonpatch-1.28.ebuild b/dev-python/jsonpatch/jsonpatch-1.28.ebuild index 384ae87b8ac0..061171242f04 100644 --- a/dev-python/jsonpatch/jsonpatch-1.28.ebuild +++ b/dev-python/jsonpatch/jsonpatch-1.28.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 @@ -13,7 +13,7 @@ S="${WORKDIR}/python-json-patch-${PV}" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/jupyter_client/jupyter_client-6.1.6-r1.ebuild b/dev-python/jupyter_client/jupyter_client-6.1.6-r1.ebuild deleted file mode 100644 index 429bbdadb515..000000000000 --- a/dev-python/jupyter_client/jupyter_client-6.1.6-r1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE="threads(+)" -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="Jupyter protocol implementation and client libraries" -HOMEPAGE="https://jupyter.org" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm64 x86" - -RDEPEND=" - dev-python/async_generator[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/traitlets[${PYTHON_USEDEP}] - dev-python/jupyter_core[${PYTHON_USEDEP}] - >=dev-python/pyzmq-14.4.0[${PYTHON_USEDEP}] - www-servers/tornado[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - test? ( - dev-python/ipykernel[${PYTHON_USEDEP}] - dev-python/ipython[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest diff --git a/dev-python/jupyter_core/jupyter_core-4.6.3.ebuild b/dev-python/jupyter_core/jupyter_core-4.6.3.ebuild deleted file mode 100644 index 5b1b76bb5355..000000000000 --- a/dev-python/jupyter_core/jupyter_core-4.6.3.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="Core common functionality of Jupyter projects" -HOMEPAGE="https://jupyter.org" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm64 x86" - -RDEPEND="dev-python/traitlets[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - >=dev-python/ipython-4.0.1[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - )" - -distutils_enable_sphinx docs \ - dev-python/sphinxcontrib-github-alt -distutils_enable_tests pytest - -python_prepare_all() { - # rely on imports working without PYTHONPATH - sed -e 's:test_not_on_path:_&:' \ - -e 's:test_path_priority:_&:' \ - -i jupyter_core/tests/test_command.py || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/jupyter_core/metadata.xml b/dev-python/jupyter_core/metadata.xml index 97170cd46e3c..d1d54e5a5770 100644 --- a/dev-python/jupyter_core/metadata.xml +++ b/dev-python/jupyter_core/metadata.xml @@ -15,7 +15,7 @@ inhertited by other projects. It doesn't do much on its own. </longdescription> <upstream> - <remote-id type="pypi">jupyter_core</remote-id> + <remote-id type="pypi">jupyter-core</remote-id> <remote-id type="github">jupyter/jupyter_core</remote-id> </upstream> <origin>gentoo-staging</origin> diff --git a/dev-python/lxml/lxml-4.6.2-r1.ebuild b/dev-python/lxml/lxml-4.6.2-r1.ebuild index aecb4617bf6d..bcbc0d6ec893 100644 --- a/dev-python/lxml/lxml-4.6.2-r1.ebuild +++ b/dev-python/lxml/lxml-4.6.2-r1.ebuild @@ -14,7 +14,7 @@ S=${WORKDIR}/lxml-${P} LICENSE="BSD ElementTree GPL-2 PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc examples +threads test" RESTRICT="!test? ( test )" diff --git a/dev-python/lxml/lxml-4.6.2.ebuild b/dev-python/lxml/lxml-4.6.2.ebuild deleted file mode 100644 index 585a83d54c05..000000000000 --- a/dev-python/lxml/lxml-4.6.2.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 optfeature toolchain-funcs - -DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries" -HOMEPAGE="https://lxml.de/ https://pypi.org/project/lxml/ https://github.com/lxml/lxml" -SRC_URI="https://github.com/lxml/lxml/archive/${P}.tar.gz" -S=${WORKDIR}/lxml-${P} - -LICENSE="BSD ElementTree GPL-2 PSF-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="doc examples +threads test" -RESTRICT="!test? ( test )" - -# Note: lib{xml2,xslt} are used as C libraries, not Python modules. -RDEPEND=" - >=dev-libs/libxml2-2.9.5 - >=dev-libs/libxslt-1.1.28" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - dev-python/cython[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/cssselect[${PYTHON_USEDEP}] ) - " - -DISTUTILS_IN_SOURCE_BUILD=1 - -PATCHES=( - "${FILESDIR}"/${PN}-4.6.0-tests-pypy.patch -) - -python_prepare_all() { - # avoid replacing PYTHONPATH in tests. - sed -i -e '/sys\.path/d' test.py || die - - # don't use some random SDK on Darwin - sed -i -e '/_ldflags =/s/=.*isysroot.*darwin.*None/= None/' \ - setupinfo.py || die - - distutils-r1_python_prepare_all -} - -python_compile() { - if ! python_is_python3; then - local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" - fi - tc-export PKG_CONFIG - distutils-r1_python_compile -} - -python_test() { - cp -r -l src/lxml/tests "${BUILD_DIR}"/lib/lxml/ || die - cp -r -l src/lxml/html/tests "${BUILD_DIR}"/lib/lxml/html/ || die - ln -s "${S}"/doc "${BUILD_DIR}"/ || die - - "${EPYTHON}" test.py -vv --all-levels -p || die "Test ${test} fails with ${EPYTHON}" -} - -python_install_all() { - if use doc; then - local DOCS=( README.rst *.txt doc/*.txt ) - local HTML_DOCS=( doc/html/. ) - fi - if use examples; then - dodoc -r samples - fi - - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "Support for BeautifulSoup as a parser backend" dev-python/beautifulsoup - optfeature "Translates CSS selectors to XPath 1.0 expressions" dev-python/cssselect -} diff --git a/dev-python/lz4/Manifest b/dev-python/lz4/Manifest index 74fd56f30dfc..27c5efa22fce 100644 --- a/dev-python/lz4/Manifest +++ b/dev-python/lz4/Manifest @@ -1,2 +1 @@ -DIST lz4-3.0.2.tar.gz 152443 BLAKE2B 3bf452b5b5ee65caed13b21fd7c39f32ccdea18e6d900facf74e3271868299a2da258b2b0058efaea12a3b42006f0ad0d17004692c95be951c173fee1a1162be SHA512 c31116ee3cd70241b19bff6c59d1852d4c26ad5f0c9a56cd2ecec58e8c2751773162c7ac6a2d887e8cf537bc869ed8866929164f976849efa3ea041eacc4535a DIST lz4-3.1.1.tar.gz 154325 BLAKE2B 2d40728087aea735aeac4d39c415edf94f9aca83c77e4a36fe53f6f32f6c1595c0b1ad97c11f6e58cacafb95e0e12d29336d9f072d4f0d47f2d522f552a368bf SHA512 b6ddcabcb323b88eeff1fa9cb91d379d6435ab51b2b51e080138892fbce57d92c8175e2ae1ef72e8a2f95429aaa4be66a5e8cd9d4dbc5bcd6b44ec26b7df96db diff --git a/dev-python/lz4/lz4-3.0.2.ebuild b/dev-python/lz4/lz4-3.0.2.ebuild deleted file mode 100644 index 232ddc4a342d..000000000000 --- a/dev-python/lz4/lz4-3.0.2.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="LZ4 Bindings for Python" -HOMEPAGE="https://pypi.org/project/lz4/ https://github.com/python-lz4/python-lz4" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux" - -RDEPEND="app-arch/lz4" -DEPEND=" - ${RDEPEND} - dev-python/setuptools_scm[${PYTHON_USEDEP}] - dev-python/pkgconfig[${PYTHON_USEDEP}] - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - ) -" - -# known test failure: https://github.com/python-lz4/python-lz4/issues/199 -PATCHES=( "${FILESDIR}/lz4-3.0.2-test-fail-skip.patch" -) - -distutils_enable_tests pytest diff --git a/dev-python/lz4/lz4-3.1.1.ebuild b/dev-python/lz4/lz4-3.1.1.ebuild index 3e626b01a10c..70149bda2fa7 100644 --- a/dev-python/lz4/lz4-3.1.1.ebuild +++ b/dev-python/lz4/lz4-3.1.1.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 @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" SLOT="0" LICENSE="BSD" -KEYWORDS="amd64 arm arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux" RDEPEND="app-arch/lz4" DEPEND=" diff --git a/dev-python/matplotlib/matplotlib-3.2.2-r2.ebuild b/dev-python/matplotlib/matplotlib-3.2.2-r2.ebuild index dcfcf31e1f0b..b8dd0395a6bb 100644 --- a/dev-python/matplotlib/matplotlib-3.2.2-r2.ebuild +++ b/dev-python/matplotlib/matplotlib-3.2.2-r2.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 @@ -42,7 +42,7 @@ RDEPEND=" media-fonts/stix-fonts media-libs/freetype:2 media-libs/libpng:0 - >=media-libs/qhull-2013 + >=media-libs/qhull-2013:= >=www-servers/tornado-6.0.4[${PYTHON_USEDEP}] cairo? ( dev-python/cairocffi[${PYTHON_USEDEP}] diff --git a/dev-python/matplotlib/matplotlib-3.3.0-r1.ebuild b/dev-python/matplotlib/matplotlib-3.3.0-r1.ebuild index bb073a3cc9e4..391690255abe 100644 --- a/dev-python/matplotlib/matplotlib-3.3.0-r1.ebuild +++ b/dev-python/matplotlib/matplotlib-3.3.0-r1.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 @@ -42,7 +42,7 @@ RDEPEND=" media-fonts/stix-fonts media-libs/freetype:2 media-libs/libpng:0 - >=media-libs/qhull-2013 + >=media-libs/qhull-2013:= >=www-servers/tornado-6.0.4[${PYTHON_USEDEP}] cairo? ( dev-python/cairocffi[${PYTHON_USEDEP}] diff --git a/dev-python/matplotlib/matplotlib-3.3.2.ebuild b/dev-python/matplotlib/matplotlib-3.3.2.ebuild index 993a7312554e..ef041f1cda58 100644 --- a/dev-python/matplotlib/matplotlib-3.3.2.ebuild +++ b/dev-python/matplotlib/matplotlib-3.3.2.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 @@ -43,7 +43,7 @@ RDEPEND=" media-fonts/stix-fonts media-libs/freetype:2 media-libs/libpng:0 - >=media-libs/qhull-2013 + >=media-libs/qhull-2013:= >=www-servers/tornado-6.0.4[${PYTHON_USEDEP}] cairo? ( dev-python/cairocffi[${PYTHON_USEDEP}] diff --git a/dev-python/matplotlib/matplotlib-3.3.3-r1.ebuild b/dev-python/matplotlib/matplotlib-3.3.3-r1.ebuild index e6e8c4ace6a1..a5c556e4c232 100644 --- a/dev-python/matplotlib/matplotlib-3.3.3-r1.ebuild +++ b/dev-python/matplotlib/matplotlib-3.3.3-r1.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 @@ -43,7 +43,7 @@ RDEPEND=" media-fonts/stix-fonts media-libs/freetype:2 media-libs/libpng:0 - >=media-libs/qhull-2013 + >=media-libs/qhull-2013:= cairo? ( dev-python/cairocffi[${PYTHON_USEDEP}] ) diff --git a/dev-python/multidict/multidict-5.1.0.ebuild b/dev-python/multidict/multidict-5.1.0.ebuild index 26aafeb246d9..19f77f2b1822 100644 --- a/dev-python/multidict/multidict-5.1.0.ebuild +++ b/dev-python/multidict/multidict-5.1.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 @@ -12,7 +12,7 @@ SRC_URI="https://github.com/aio-libs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" BDEPEND=" >=dev-python/cython-0.28.4[${PYTHON_USEDEP}] diff --git a/dev-python/nbconvert/Manifest b/dev-python/nbconvert/Manifest index 5c7f25229538..88f54fefe085 100644 --- a/dev-python/nbconvert/Manifest +++ b/dev-python/nbconvert/Manifest @@ -1,2 +1 @@ -DIST nbconvert-5.6.1.tar.gz 703233 BLAKE2B e75d558aee6c66fe8e7455ecf22dbbcd2a0698380ffec80eff15aea6c70bc853daa9ab2fd1d114453bd5dfe7e75617afb9f5c1075704bfadbb59fef34bca88a9 SHA512 0c68adcb9f28ead9ec058fc2e02a9a1e6f65818709c99f7a006a59a7562b5f5ee74afe5287e41568c35542898dc1b43c4543d2386cc05a721b3f99d5cc789435 DIST nbconvert-6.0.7.tar.gz 896833 BLAKE2B 1b5b39144509aa9f61dc1e9675b112d69ed2e2f9859f3ce7ccfac517d89fff0010062c03ded1c3db571c84dd8d4f8ba12e4851245f370d2e671d24921dd50ab6 SHA512 3c78fa4d777a79a08606a39bb31f6b329dc9d28c1ef2ea9f3253746dce853a295e8fe85b14c65b04762aa5acd5facc879232a375875a2ca6dc9477cc1ab88786 diff --git a/dev-python/nbconvert/files/nbconvert-5.6.1-inkscape-1.patch b/dev-python/nbconvert/files/nbconvert-5.6.1-inkscape-1.patch deleted file mode 100644 index 1f997a3c3a32..000000000000 --- a/dev-python/nbconvert/files/nbconvert-5.6.1-inkscape-1.patch +++ /dev/null @@ -1,159 +0,0 @@ -diff --git a/nbconvert/preprocessors/svg2pdf.py b/nbconvert/preprocessors/svg2pdf.py -index aff14d9f..de51f3b8 100644 ---- a/nbconvert/preprocessors/svg2pdf.py -+++ b/nbconvert/preprocessors/svg2pdf.py -@@ -1,4 +1,4 @@ --"""Module containing a preprocessor that converts outputs in the notebook from -+"""Module containing a preprocessor that converts outputs in the notebook from - one format to another. - """ - -@@ -17,11 +17,7 @@ from traitlets import Unicode, default - - from .convertfigures import ConvertFiguresPreprocessor - --if sys.version_info >= (3,3): -- from shutil import which -- get_inkscape_path = which('inkscape') --else: -- get_inkscape_path = None -+from shutil import which - - - INKSCAPE_APP = '/Applications/Inkscape.app/Contents/Resources/bin/inkscape' -@@ -46,26 +42,49 @@ class SVG2PDFPreprocessor(ConvertFiguresPreprocessor): - def _to_format_default(self): - return 'application/pdf' - -+ inkscape_version = Unicode( -+ help="""The version of inkscpae being used. -+ -+ This affects how the conversion command is run. -+ """ -+ ).tag(config=True) -+ -+ @default('inkscape_version') -+ def _inkscape_version_default(self): -+ p = subprocess.Popen([self.inkscape, '--version'], -+ stdout=subprocess.PIPE, -+ stderr=subprocess.PIPE) -+ output, _ = p.communicate() -+ if p.returncode != 0: -+ raise RuntimeError("Unable to find inkscape executable --version") -+ return output.decode('utf-8').split(' ')[1] -+ - command = Unicode( - help="""The command to use for converting SVG to PDF -- -+ - This string is a template, which will be formatted with the keys - to_filename and from_filename. -- -+ - The conversion call must read the SVG from {from_filename}, - and write a PDF to {to_filename}. - """).tag(config=True) - - @default('command') - def _command_default(self): -- return self.inkscape + \ -- ' --without-gui --export-pdf="{to_filename}" "{from_filename}"' -- -+ major_verison = self.inkscape_version.split('.')[0] -+ export_option = ' --export-filename' if int(major_verison) > 0 else ' --export-pdf' -+ gui_option = '' if int(major_verison) > 0 else ' --without-gui' -+ -+ return '{inkscape}{gui_option}{export_option}='.format( -+ inkscape=self.inkscape, export_option=export_option, gui_option=gui_option -+ ) + '"{to_filename}" "{from_filename}"' -+ - inkscape = Unicode(help="The path to Inkscape, if necessary").tag(config=True) - @default('inkscape') - def _inkscape_default(self): -- if get_inkscape_path is not None: -- return get_inkscape_path -+ inkscape_path = which('inkscape') -+ if inkscape_path is not None: -+ return inkscape_path - if sys.platform == "darwin": - if os.path.isfile(INKSCAPE_APP): - return INKSCAPE_APP -@@ -85,22 +104,22 @@ class SVG2PDFPreprocessor(ConvertFiguresPreprocessor): - Convert a single SVG figure to PDF. Returns converted data. - """ - -- #Work in a temporary directory -+ # Work in a temporary directory - with TemporaryDirectory() as tmpdir: -- -- #Write fig to temp file -+ -+ # Write fig to temp file - input_filename = os.path.join(tmpdir, 'figure.svg') - # SVG data is unicode text - with io.open(input_filename, 'w', encoding='utf8') as f: - f.write(cast_unicode_py2(data)) - -- #Call conversion application -+ # Call conversion application - output_filename = os.path.join(tmpdir, 'figure.pdf') -- shell = self.command.format(from_filename=input_filename, -+ shell = self.command.format(from_filename=input_filename, - to_filename=output_filename) -- subprocess.call(shell, shell=True) #Shell=True okay since input is trusted. -+ subprocess.call(shell, shell=True) # Shell=True okay since input is trusted. - -- #Read output from drive -+ # Read output from drive - # return value expects a filename - if os.path.isfile(output_filename): - with open(output_filename, 'rb') as f: -diff --git a/nbconvert/preprocessors/tests/test_svg2pdf.py b/nbconvert/preprocessors/tests/test_svg2pdf.py -index c42222c7..d9ccec8c 100644 ---- a/nbconvert/preprocessors/tests/test_svg2pdf.py -+++ b/nbconvert/preprocessors/tests/test_svg2pdf.py -@@ -4,6 +4,7 @@ - # Distributed under the terms of the Modified BSD License. - - from nbformat import v4 as nbformat -+from unittest.mock import patch, Mock - - from .base import PreprocessorTestsBase - from ..svg2pdf import SVG2PDFPreprocessor -@@ -51,9 +52,9 @@ class Testsvg2pdf(PreprocessorTestsBase): - return nbformat.new_notebook(cells=cells) - - -- def build_preprocessor(self): -+ def build_preprocessor(self, **kwargs): - """Make an instance of a preprocessor""" -- preprocessor = SVG2PDFPreprocessor() -+ preprocessor = SVG2PDFPreprocessor(**kwargs) - preprocessor.enabled = True - return preprocessor - -@@ -71,4 +72,23 @@ class Testsvg2pdf(PreprocessorTestsBase): - preprocessor = self.build_preprocessor() - nb, res = preprocessor(nb, res) - self.assertIn('application/pdf', nb.cells[0].outputs[0].data) -- -+ -+ @patch('subprocess.Popen') -+ def test_inkscape_version_default(self, mock_popen): -+ mock_popen().communicate.return_value = (b'Inkscape 0.92.3 (2405546, 2018-03-11)', b'') -+ mock_popen().returncode = 0 -+ -+ preprocessor = self.build_preprocessor() -+ self.assertEquals(preprocessor.inkscape_version, '0.92.3') -+ -+ def test_inkscape_pre_v1_command(self): -+ preprocessor = self.build_preprocessor(inkscape_version='0.92.3') -+ self.assertEquals(preprocessor.command, '0.92.3') -+ -+ def test_inkscape_pre_v1_command(self): -+ preprocessor = self.build_preprocessor(inkscape='fake-inkscape', inkscape_version='0.92.3') -+ self.assertEquals(preprocessor.command, 'fake-inkscape --without-gui --export-pdf="{to_filename}" "{from_filename}"') -+ -+ def test_inkscape_v1_command(self): -+ preprocessor = self.build_preprocessor(inkscape='fake-inkscape', inkscape_version='1.0beta2') -+ self.assertEquals(preprocessor.command, 'fake-inkscape --export-filename="{to_filename}" "{from_filename}"') diff --git a/dev-python/nbconvert/files/nbconvert-5.6.1-py39.patch b/dev-python/nbconvert/files/nbconvert-5.6.1-py39.patch deleted file mode 100644 index 822c32753f83..000000000000 --- a/dev-python/nbconvert/files/nbconvert-5.6.1-py39.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff --git a/nbconvert/filters/strings.py b/nbconvert/filters/strings.py -index 2673d661..9ae82a13 100755 ---- a/nbconvert/filters/strings.py -+++ b/nbconvert/filters/strings.py -@@ -19,8 +19,8 @@ except ImportError: - from urllib2 import quote # Py 2 - - # defusedxml does safe(r) parsing of untrusted XML data --from defusedxml import cElementTree as ElementTree --from xml.etree.cElementTree import Element -+from defusedxml import ElementTree -+from xml.etree.ElementTree import Element - - from ipython_genutils import py3compat - -diff --git a/nbconvert/preprocessors/svg2pdf.py b/nbconvert/preprocessors/svg2pdf.py -index aff14d9f..b689b1bc 100644 ---- a/nbconvert/preprocessors/svg2pdf.py -+++ b/nbconvert/preprocessors/svg2pdf.py -@@ -105,6 +105,6 @@ class SVG2PDFPreprocessor(ConvertFiguresPreprocessor): - if os.path.isfile(output_filename): - with open(output_filename, 'rb') as f: - # PDF is a nb supported binary, data type, so base64 encode. -- return base64.encodestring(f.read()) -+ return base64.encodebytes(f.read()) - else: - raise TypeError("Inkscape svg to pdf conversion failed") diff --git a/dev-python/nbconvert/nbconvert-5.6.1.ebuild b/dev-python/nbconvert/nbconvert-5.6.1.ebuild deleted file mode 100644 index 53e76bdc7981..000000000000 --- a/dev-python/nbconvert/nbconvert-5.6.1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Converting Jupyter Notebooks" -HOMEPAGE="https://nbconvert.readthedocs.io/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux" -IUSE="test" - -RDEPEND=" - dev-python/bleach[${PYTHON_USEDEP}] - dev-python/defusedxml[${PYTHON_USEDEP}] - >=dev-python/entrypoints-0.2.2[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/jupyter_core[${PYTHON_USEDEP}] - >=dev-python/mistune-0.7.4[${PYTHON_USEDEP}] - dev-python/nbformat[${PYTHON_USEDEP}] - >=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}] - dev-python/testpath[${PYTHON_USEDEP}] - www-servers/tornado[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pebble[${PYTHON_USEDEP}] - dev-python/ipykernel[${PYTHON_USEDEP}] - dev-python/ipywidgets[${PYTHON_USEDEP}] - >=dev-python/jupyter_client-4.2[${PYTHON_USEDEP}] - media-gfx/inkscape - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/${P}-inkscape-1.patch - "${FILESDIR}"/${P}-py39.patch -) - -src_prepare() { - # assumes old inkscape output? - sed -i -e '/SVG\.ipynb/d' \ - nbconvert/preprocessors/tests/test_execute.py || die - - distutils-r1_src_prepare -} - -python_test() { - distutils_install_for_testing bdist_egg - cd "${TEST_DIR}"/lib || die - pytest -vv --pyargs nbconvert || die -} - -pkg_postinst() { - if ! has_version app-text/pandoc ; then - einfo "Pandoc is required for converting to formats other than Python," - einfo "HTML, and Markdown. If you need this functionality, install" - einfo "app-text/pandoc." - fi -} diff --git a/dev-python/nbformat/Manifest b/dev-python/nbformat/Manifest index 441dddd0ea1f..7f7ff795583f 100644 --- a/dev-python/nbformat/Manifest +++ b/dev-python/nbformat/Manifest @@ -1,2 +1 @@ -DIST nbformat-5.0.7.gh.tar.gz 125328 BLAKE2B fa048ceef9d0612052dcf3180bca4228dba5117c6b0fb642f777bbd35e2b6f868454ae3d793aa0da3904757e42309ac53be19621a62967b719da86ab37d5f052 SHA512 3c1429a232d15d023f161f41cdab3364242f1a026349ea5aaeceba6a80afba981cc512a9f148ae3a0fa856a847c4560cc95abd965cc5d088a9f89c2b61d48fd1 DIST nbformat-5.0.8.gh.tar.gz 127329 BLAKE2B 6252d35f72fd0af5a89d83e9e48f61baf2656eb6530d4a7b05a5241e7272098992d70d68705da4fb9921ab1939378658b2e6e5f765a453f932e94e9232006a66 SHA512 956add98517f1128d8efacae1f3cf9fe27b4d7acae4a56e14dd6c2942aab39b063170759bc6de67bcedd2e0fd6c7ab1a36aef268f2088644ba31caa936b9359d diff --git a/dev-python/nbformat/nbformat-5.0.7.ebuild b/dev-python/nbformat/nbformat-5.0.7.ebuild deleted file mode 100644 index 25c2da821d40..000000000000 --- a/dev-python/nbformat/nbformat-5.0.7.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE='sqlite' - -inherit distutils-r1 - -DESCRIPTION="Reference implementation of the Jupyter Notebook format" -HOMEPAGE="https://jupyter.org" -# missing on pypi -SRC_URI=" - https://github.com/jupyter/nbformat/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm64 x86" - -RDEPEND=" - >=dev-python/jsonschema-2.4.0[${PYTHON_USEDEP}] - dev-python/ipython_genutils[${PYTHON_USEDEP}] - >=dev-python/traitlets-4.1[${PYTHON_USEDEP}] - dev-python/jupyter_core[${PYTHON_USEDEP}] - " -DEPEND=" - test? ( - dev-python/testpath[${PYTHON_USEDEP}] - ) - " - -distutils_enable_sphinx docs \ - dev-python/numpydoc -distutils_enable_tests pytest diff --git a/dev-python/numpy/Manifest b/dev-python/numpy/Manifest index 760e5530948a..b89e51294241 100644 --- a/dev-python/numpy/Manifest +++ b/dev-python/numpy/Manifest @@ -1,6 +1,7 @@ DIST numpy-1.19.2.zip 7310530 BLAKE2B a019c64809bd61071a4dd5e10c2cdf6927f392ebe58b45a08529295079bca68a683502aba89847578e122271d2fa4ea6d2d5461f1e58322f550cda863d36125b SHA512 56ae348f08818e30b6675df7d41a2b03687af452d7a96356fccfce2994843c7b61918946381c3af25fe03f209413d0378ee691fc38d805491a12c464e49bb59c DIST numpy-1.19.3.zip 7315638 BLAKE2B 77f5ab83bfc69fcdb1c1bc0735e46914619be9e8291eb8ded3d5fa98694080f5272692453803b3924b371611014655f4532c85126c29ce1a84a4b807371cbb17 SHA512 9595e5adbad5debc7edb9fe2d4c511111a92413b6c3e5086c7dfb2f68974c0493d2dd2cb1cb8b07486b1f4fbef324fbdfa54f80a4c4cab66215980a40440f79f DIST numpy-1.19.4.zip 7315971 BLAKE2B 4809ad6aaf7f9893ea6ed4c2456f4827aa5728b9dba00ed4c8e517267dd299933ca6c9205e3e31ef61ba25a6c13dde32dbe7d268c2d54391bd532d368bb3c5e8 SHA512 ae8e6b2792022c147159a11188f9702fa9fa9c9707c834da4f21aa43752451509b0a5b8807d93dfa86dff7e95c127dab20e4f372336a66f25f9b56c2869a486f +DIST numpy-1.19.5.zip 7318340 BLAKE2B a01fd07d8cbfc53c1585b19701f9052fd4b1b4010d24c61e1054352a80343e6644ae6e61ce7565fd9c7c99b9e1174bdd2e685fd5666640d08b1ec9919f86cc8e SHA512 dfe2809b5f486624b4802ea5610822bf7ba80c46dcf8505f69b0267137b01719131f74aa366949954c66796d48ba1b4f74cf0ecc5692a9ebd49e673fb0881ff4 DIST numpy-html-1.16.4.zip 12097069 BLAKE2B db1f897342fbc80a761fbaee7b0eee3761dbfa04ef6c46a137bb2392caaec8256580467ce06498cceeada2639151a1ec75dafab484d64cb897c008727d6d32a5 SHA512 c44c5e1e0cb22f9dd46fe9e302030292d85e567456178fee296746a414271634e906509fb6665ac63fbfebdd13c5383574f0aa47b4fbc639063da31addc3316a DIST numpy-ref-1.16.4.pdf 5176571 BLAKE2B 9a875ebd1473b241d463d810a6d191581aef961158f2f82959671b554ace3ad482795e4f3e1cb7dd4632cff926c1e864c675a7624fb0f4e4f297948bf50f0564 SHA512 983ba0f34a70c011886bdbc9fd8f3f75a3a967ca29217acc76fa46e7da391296a5628c9a557ac76efb393271abfb8ee4f376d401c1cc1e5c30622e54b9325d09 DIST numpy-user-1.16.4.pdf 596203 BLAKE2B da3ad1f0ec1c965d20656f73a970911cbb58efa73a5df89e2e6485e0dd763f483e35eea1395ac919bf35d496fb216cee954fc5d31edebc1796a24a2a7a2d12b9 SHA512 3083008547213bfa98ffa5cd8e2cea13f6947f42d83aef61502a2a852b0d5f27d727c76b42d281d7a2f4f76c78e88b12ee3d9b164b39fe1f0213ace7097357d6 diff --git a/dev-python/numpy/numpy-1.19.5.ebuild b/dev-python/numpy/numpy-1.19.5.ebuild new file mode 100644 index 000000000000..0319937ea87f --- /dev/null +++ b/dev-python/numpy/numpy-1.19.5.ebuild @@ -0,0 +1,145 @@ +# 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} ) +PYTHON_REQ_USE="threads(+)" + +FORTRAN_NEEDED=lapack + +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 flag-o-matic fortran-2 multiprocessing toolchain-funcs + +DOC_PV="1.16.4" +DESCRIPTION="Fast array and numerical python library" +HOMEPAGE="https://numpy.org/" +SRC_URI=" + mirror://pypi/${PN:0:1}/${PN}/${P}.zip + doc? ( + https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-html.zip -> numpy-html-${DOC_PV}.zip + https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-ref.pdf -> numpy-ref-${DOC_PV}.pdf + https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-user.pdf -> numpy-user-${DOC_PV}.pdf + )" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="doc lapack" + +RDEPEND=" + lapack? ( + >=virtual/cblas-3.8 + >=virtual/lapack-3.8 + ) +" +BDEPEND=" + ${RDEPEND} + app-arch/unzip + >=dev-python/cython-0.29.21[${PYTHON_USEDEP}] + lapack? ( virtual/pkgconfig ) + test? ( + >=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}] + >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] + >=dev-python/cffi-1.14.0[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.17.4-no-hardcode-blasv2.patch +) + +distutils_enable_tests pytest + +src_unpack() { + default + if use doc; then + unzip -qo "${DISTDIR}"/numpy-html-${DOC_PV}.zip -d html || die + fi +} + +python_prepare_all() { + if use lapack; then + local incdir="${EPREFIX}"/usr/include + local libdir="${EPREFIX}"/usr/$(get_libdir) + cat >> site.cfg <<-EOF || die + [blas] + include_dirs = ${incdir} + library_dirs = ${libdir} + blas_libs = cblas,blas + [lapack] + library_dirs = ${libdir} + lapack_libs = lapack + EOF + else + export {ATLAS,PTATLAS,BLAS,LAPACK,MKL}=None + fi + + export CC="$(tc-getCC) ${CFLAGS}" + + append-flags -fno-strict-aliasing + + # See progress in http://projects.scipy.org/scipy/numpy/ticket/573 + # with the subtle difference that we don't want to break Darwin where + # -shared is not a valid linker argument + if [[ ${CHOST} != *-darwin* ]]; then + append-ldflags -shared + fi + + # only one fortran to link with: + # linking with cblas and lapack library will force + # autodetecting and linking to all available fortran compilers + append-fflags -fPIC + if use lapack; then + NUMPY_FCONFIG="config_fc --noopt --noarch" + # workaround bug 335908 + [[ $(tc-getFC) == *gfortran* ]] && NUMPY_FCONFIG+=" --fcompiler=gnu95" + fi + + # don't version f2py, we will handle it. + sed -i -e '/f2py_exe/s: + os\.path.*$::' numpy/f2py/setup.py || die + + # disable fuzzed tests + find numpy/*/tests -name '*.py' -exec sed -i \ + -e 's:def \(.*_fuzz\):def _\1:' {} + || die + # very memory- and disk-hungry + sed -i -e 's:test_large_zip:_&:' numpy/lib/tests/test_io.py || die + + distutils-r1_python_prepare_all +} + +python_compile() { + export MAKEOPTS=-j1 #660754 + + distutils-r1_python_compile ${NUMPY_FCONFIG} +} + +python_test() { + distutils_install_for_testing --single-version-externally-managed \ + --record "${TMPDIR}/record.txt" ${NUMPY_FCONFIG} + + cd "${TMPDIR}" || die + + "${EPYTHON}" -c " +import numpy, sys +r = numpy.test(label='full', verbose=3) +sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}" +} + +python_install() { + # https://github.com/numpy/numpy/issues/16005 + local mydistutilsargs=( build_src ) + distutils-r1_python_install ${NUMPY_FCONFIG} + python_optimize +} + +python_install_all() { + local DOCS=( LICENSE.txt README.md THANKS.txt ) + + if use doc; then + local HTML_DOCS=( "${WORKDIR}"/html/. ) + DOCS+=( "${DISTDIR}"/${PN}-{user,ref}-${DOC_PV}.pdf ) + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pathspec/Manifest b/dev-python/pathspec/Manifest index 2e6a6ca38c54..0ce452f3842a 100644 --- a/dev-python/pathspec/Manifest +++ b/dev-python/pathspec/Manifest @@ -1,2 +1 @@ -DIST pathspec-0.8.0.tar.gz 26256 BLAKE2B 3d4f2238c515253d83bfd17a2f3319e38024d4fbb22fb0f078bbcca73d3aff45f246a35752c4039b0d88f204ae49b4467b2d9e3b9134e14a7a171895dac770be SHA512 e0cb1883d11506b3d11963397db98a0fd3411f56df7c3e2ab3ac44116ab53977112bb51d1918591afc48b9c08f9cf997d34beba373aafbfbca2aa8749ffaf6c8 DIST pathspec-0.8.1.tar.gz 26644 BLAKE2B 3591aabbd62a0fa1908cef5478d74a6d3ba64333a540c124aa6e7d25fbc45d44faa83e0822fa776ccf787d72ec9c2a977daddefa07d5d6fea2c8c6345836350c SHA512 f793ecf9bfb6511420a37fefa5a9dbd79d8e7329c305d6f1ecb4ea90e322825471983b56722c680e418e0bab41204996075c83cfc8ba7c6a0e5e09b1d8fd1d2e diff --git a/dev-python/pathspec/pathspec-0.8.0.ebuild b/dev-python/pathspec/pathspec-0.8.0.ebuild deleted file mode 100644 index ff046419f85e..000000000000 --- a/dev-python/pathspec/pathspec-0.8.0.ebuild +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Utility library for gitignore style pattern matching of file paths." -HOMEPAGE="https://github.com/cpburnz/python-path-specification https://pypi.org/project/pathspec/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" -IUSE="" - -distutils_enable_tests setup.py diff --git a/dev-python/pathspec/pathspec-0.8.1.ebuild b/dev-python/pathspec/pathspec-0.8.1.ebuild index 6950239ec5cb..64e5e5770855 100644 --- a/dev-python/pathspec/pathspec-0.8.1.ebuild +++ b/dev-python/pathspec/pathspec-0.8.1.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 @@ -12,6 +12,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" distutils_enable_tests setup.py diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest index b84542f0e911..1ff29c06200a 100644 --- a/dev-python/pip/Manifest +++ b/dev-python/pip/Manifest @@ -1,6 +1,4 @@ -DIST pip-20.2.4.tar.gz 8723163 BLAKE2B 4b892950b6752b61af2f6a9d2c0a6f5db124cb7605d6cb9d4787bdbd88911cc6013474dd299f6eb5b1af4a8fa0ab6d3c5253513af182045a50cb463ced8382ea SHA512 649fdc6baa1ebe741717bd1e5ed8f2450d79f8bc0d06f2804c27488be9018f6fa6cc2eccc3ec2801442073f59ac0b8c377612c25116126aa919aa95050f4214f DIST pip-20.3.1.tar.gz 8753852 BLAKE2B dbcf719ed6a1e4f39f08c39df0cb4abf4284f6cd68c9fbd1282b17714aff9df9e33dd2a4a1af89f45ce5131a858f7d392c11447fe9aceba9d3be2ebe1529818d SHA512 6061004b51e57e428a7eef02968fbbde02311ee184019c491012758010bffcb49d371c7612bc43cfacf96fe8de37fdcad34e3cadefc46b3b5962b0c716ee5d59 -DIST pip-20.3.2.tar.gz 8757391 BLAKE2B 934e689dd42529269798fbd5e45e7392167492f5c723394f2fca3d12d7fa3408ca1108dd4ed517cd40cf2f20ded5a06344cb23cc22fbcc4eefeef74dd2024762 SHA512 aa794e57f440deb238215141854b58e67a682cd5ca70febde13d8e3b92c9897e7f5ef11be6bd2a9594a8233348e406402b91fd3caaadffc5ff377ede6fc4a480 DIST pip-20.3.3.tar.gz 8757085 BLAKE2B dce60cd59669929957715d6be70da4924c3a89bb4129f0972516bde8ccca751b4f327dd2f44a06cd0b48d092f8d520d1ec236ee812f768282004b34f1fabb798 SHA512 362d20e5d2665fa6211cf3836ca02a0340fb34ecde1d5902eecae744eb655d7dcfed0bd464e9db186b87b63a7aaf275e43645cf6321bdddd44b62787de84d87b DIST setuptools-44.0.0-py2.py3-none-any.whl 583230 BLAKE2B 823e6792471660f247e30a938aa869d345a63db7294e5f9b4bd88f15a7694779011d29740fe317149620985f705fc6e18cbb07a18e5680cc11d7c229ffbc74f6 SHA512 7006fd303181afbeeec0e30cafb9fd1e4d3c6f55cfdd6343fedbc32b17dbb96b3d96ae37f4db27bfb168738727474cf425904ec280ff1d2b789fc48077a8fa84 DIST wheel-0.34.2-py2.py3-none-any.whl 26502 BLAKE2B 3a1bd4571c582245b60ff33c9bf74ff8a2ebafb26e56fc7b9bd215058d059b6bd13bbe21ce46002af257813a54126f27e19253f211e21c4548c7cf84cd15caf7 SHA512 4f1a44f4691ed8baad777d7874f7f4da96a5019eb485fd3a9eed9259aa2a9d5acccc6dc63a72128664347c64ee039a6076c6ca9c3b75a1f94457967864e522ed diff --git a/dev-python/pip/pip-20.2.4.ebuild b/dev-python/pip/pip-20.2.4.ebuild deleted file mode 100644 index a3a9f1aceb1f..000000000000 --- a/dev-python/pip/pip-20.2.4.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="ssl(+),threads(+)" - -inherit bash-completion-r1 distutils-r1 multiprocessing - -SETUPTOOLS_PV="44.0.0" -WHEEL_PV="0.34.2" - -DESCRIPTION="Installs python packages -- replacement for easy_install" -HOMEPAGE="https://pip.pypa.io/ 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/py2.py3/s/setuptools/setuptools-${SETUPTOOLS_PV}-py2.py3-none-any.whl - https://files.pythonhosted.org/packages/py2.py3/w/wheel/wheel-${WHEEL_PV}-py2.py3-none-any.whl - ) -" -# PyPI archive does not have tests, so we need to download from GitHub. -# setuptools & wheel .whl files are required for testing, exact version is not very important. - -LICENSE="MIT" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~x64-macos" -SLOT="0" -IUSE="test -vanilla" - -# disable-system-install patch breaks tests -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}] -" -DEPEND=" - ${RDEPEND} - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/csv23[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pretend[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/scripttest[${PYTHON_USEDEP}] - <dev-python/virtualenv-20[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - ) -" - -python_prepare_all() { - local PATCHES=( - "${FILESDIR}/${PN}-19.3-disable-version-check.patch" - "${FILESDIR}/${PN}-20.2-no-coverage.patch" - ) - if ! use vanilla; then - PATCHES+=( "${FILESDIR}/pip-20.0.2-disable-system-install.patch" ) - fi - - # TODO - rm tests/functional/test_new_resolver_user.py || die - - distutils-r1_python_prepare_all - - if use test; then - mkdir tests/data/common_wheels/ || die - cp "${DISTDIR}"/setuptools-${SETUPTOOLS_PV}-py2.py3-none-any.whl \ - tests/data/common_wheels/ || die - - cp "${DISTDIR}"/wheel-${WHEEL_PV}-py2.py3-none-any.whl \ - tests/data/common_wheels/ || die - fi -} - -python_test() { - if [[ ${EPYTHON} == pypy* ]]; then - ewarn "Skipping tests on ${EPYTHON} since they are very broken" - return 0 - fi - - local -a exclude_tests - - # these will be built in to an expression passed to pytest to exclude - exclude_tests=( - git - svn - bazaar - mercurial - version_check - uninstall_non_local_distutils - pep518_uses_build_env - install_package_with_root - install_editable_with_prefix - install_user_wheel - install_from_current_directory_into_usersite - uninstall_editable_from_usersite - uninstall_from_usersite_with_dist_in_global_site - build_env_isolation - user_config_accepted - ) - - distutils_install_for_testing - - # generate the expression to exclude failing tests - local exclude_expr - printf -v exclude_expr "or %s " "${exclude_tests[@]}" || die - exclude_expr="not (${exclude_expr#or })" || die - - local -x GENTOO_PIP_TESTING=1 \ - PATH="${TEST_DIR}/scripts:${PATH}" \ - PYTHONPATH="${TEST_DIR}/lib:${BUILD_DIR}/lib" - - pytest -vv \ - -k "${exclude_expr}" \ - -m "not network" \ - || die "Tests fail with ${EPYTHON}" -} - -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"; import pip.__main__; sys.exit(pip.__main__._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-20.3.1.ebuild b/dev-python/pip/pip-20.3.1.ebuild index 4c1b980cee62..b2135795cf29 100644 --- a/dev-python/pip/pip-20.3.1.ebuild +++ b/dev-python/pip/pip-20.3.1.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 @@ -28,7 +28,7 @@ SRC_URI=" # setuptools & wheel .whl files are required for testing, exact version is not very important. LICENSE="MIT" -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" SLOT="0" IUSE="test -vanilla" diff --git a/dev-python/pip/pip-20.3.2.ebuild b/dev-python/pip/pip-20.3.2.ebuild deleted file mode 100644 index 4c1b980cee62..000000000000 --- a/dev-python/pip/pip-20.3.2.ebuild +++ /dev/null @@ -1,150 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="ssl(+),threads(+)" - -inherit bash-completion-r1 distutils-r1 multiprocessing - -SETUPTOOLS_PV="44.0.0" -WHEEL_PV="0.34.2" - -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/py2.py3/s/setuptools/setuptools-${SETUPTOOLS_PV}-py2.py3-none-any.whl - https://files.pythonhosted.org/packages/py2.py3/w/wheel/wheel-${WHEEL_PV}-py2.py3-none-any.whl - ) -" -# PyPI archive does not have tests, so we need to download from GitHub. -# setuptools & wheel .whl files are required for testing, exact version is not very important. - -LICENSE="MIT" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" -SLOT="0" -IUSE="test -vanilla" - -# disable-system-install patch breaks tests -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}] -" -DEPEND=" - ${RDEPEND} - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/csv23[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pretend[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/scripttest[${PYTHON_USEDEP}] - <dev-python/virtualenv-20[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - ) -" - -python_prepare_all() { - local PATCHES=( - "${FILESDIR}/${PN}-19.3-disable-version-check.patch" - "${FILESDIR}/${PN}-20.2-no-coverage.patch" - ) - if ! use vanilla; then - PATCHES+=( "${FILESDIR}/pip-20.0.2-disable-system-install.patch" ) - fi - - # TODO - rm tests/functional/test_new_resolver_user.py || die - - distutils-r1_python_prepare_all - - if use test; then - mkdir tests/data/common_wheels/ || die - cp "${DISTDIR}"/setuptools-${SETUPTOOLS_PV}-py2.py3-none-any.whl \ - tests/data/common_wheels/ || die - - cp "${DISTDIR}"/wheel-${WHEEL_PV}-py2.py3-none-any.whl \ - tests/data/common_wheels/ || die - fi -} - -python_test() { - if [[ ${EPYTHON} == pypy* ]]; then - ewarn "Skipping tests on ${EPYTHON} since they are very broken" - return 0 - fi - - local -a exclude_tests - - # these will be built in to an expression passed to pytest to exclude - exclude_tests=( - git - svn - bazaar - mercurial - version_check - uninstall_non_local_distutils - pep518_uses_build_env - install_package_with_root - install_editable_with_prefix - install_user_wheel - install_from_current_directory_into_usersite - uninstall_editable_from_usersite - uninstall_from_usersite_with_dist_in_global_site - build_env_isolation - user_config_accepted - # these fail with new setuptools + distutils_install_for_testing - double_install_fail - multiple_exclude_and_normalization - ) - - distutils_install_for_testing --via-root - - # generate the expression to exclude failing tests - local exclude_expr - printf -v exclude_expr "or %s " "${exclude_tests[@]}" || die - exclude_expr="not (${exclude_expr#or })" || die - - local -x GENTOO_PIP_TESTING=1 \ - PATH="${TEST_DIR}/scripts:${PATH}" \ - PYTHONPATH="${TEST_DIR}/lib:${BUILD_DIR}/lib" - - pytest -vv \ - -k "${exclude_expr}" \ - -m "not network" \ - || die "Tests fail with ${EPYTHON}" -} - -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"; import pip.__main__; sys.exit(pip.__main__._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/prompt_toolkit/Manifest b/dev-python/prompt_toolkit/Manifest index 07062815046b..e06b85deb0db 100644 --- a/dev-python/prompt_toolkit/Manifest +++ b/dev-python/prompt_toolkit/Manifest @@ -1,2 +1,3 @@ DIST prompt_toolkit-2.0.10.tar.gz 347981 BLAKE2B b95cf000d5249da3710f9b51f72d41c3d552f1d3a35dea5493f565f0f62998d890bf2b81b3376140a4d16a19f2c5fd60eb0cb5f2f58180c176ef1543c6fc4ec2 SHA512 b91292cf43607b3a7018ca29827f0aa9bc90efc064c68faffe02ad28e4bb60f45fc2d25bbfd9a40a383a815cb08596975f08237a498f94a5c088d56d3a0a9803 DIST prompt_toolkit-3.0.7.tar.gz 3018359 BLAKE2B c1d1f897a422df599d2bfbbfc53851489bf9f41a7ddb57fb1a03cae8411a7468bd047423922a5e95dcdcfb2730dee38029bdaa15eb7dc92ff47066b4b6edc6cb SHA512 3ee4cf65f175343273eb2c1b76250b35430ac3f3ee7cc61bfbcca86a717fdaaf74c723dba400d872b47b06883bed959b166df33b8960173beb466edf9266ff43 +DIST prompt_toolkit-3.0.9.tar.gz 3019859 BLAKE2B ebde3bd1ecf0f24b98e4f3e173c0a885c47af4a30bc19ce50bdc01636cd095cb7b09f9aacf37fd5f33f92ad2e5adec7f94cc85d5a48264c186a3a7460ef04b7d SHA512 8e9777215b73e1076f82e9733963151bbc4248581298b0f996cc1700db2aa28eaef3fb1a07470706e7569021f5e47ad9bc3a9a93c976fa36b6979552afc522b7 diff --git a/dev-python/prompt_toolkit/metadata.xml b/dev-python/prompt_toolkit/metadata.xml index ac15f4804b6f..ad7337051c53 100644 --- a/dev-python/prompt_toolkit/metadata.xml +++ b/dev-python/prompt_toolkit/metadata.xml @@ -7,7 +7,7 @@ </maintainer> <stabilize-allarches/> <upstream> - <remote-id type="pypi">prompt_toolkit</remote-id> + <remote-id type="pypi">prompt-toolkit</remote-id> <remote-id type="github">prompt-toolkit/python-prompt-toolkit</remote-id> </upstream> <origin>gentoo-staging</origin> diff --git a/dev-python/prompt_toolkit/prompt_toolkit-3.0.9.ebuild b/dev-python/prompt_toolkit/prompt_toolkit-3.0.9.ebuild new file mode 100644 index 000000000000..46cd3eff785d --- /dev/null +++ b/dev-python/prompt_toolkit/prompt_toolkit-3.0.9.ebuild @@ -0,0 +1,24 @@ +# 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} ) +inherit distutils-r1 + +DESCRIPTION="Building powerful interactive command lines in Python" +HOMEPAGE=" + https://pypi.org/project/prompt-toolkit/ + https://github.com/prompt-toolkit/python-prompt-toolkit" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND=" + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + dev-python/wcwidth[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest index d39a8757bbbb..2b17749bd63e 100644 --- a/dev-python/pygments/Manifest +++ b/dev-python/pygments/Manifest @@ -1,2 +1 @@ -DIST Pygments-2.7.2.tar.gz 2350457 BLAKE2B 4a67cd34cc41402e485e2bbb827a00f5184c00d26ca6f341c190457134598bd1cccc87a995eee85eb007a98b6d7b9e3e33585d0c1c0bba4289bedb36d22f351d SHA512 cd667e2cb33261060c316e3b92934dae735e2aa6c427b77852d4d18f28941cb369da05adb8540dd9fe3262b3e30e2fd6456e345bccc848be9dbdba20e97ef157 DIST Pygments-2.7.3.tar.gz 2355381 BLAKE2B a7ae0ce7fefd8e2ec707ca8cf2d01d1b746d233e36c78ec51055f750e1a508240b706be50e5f1260f93fe19e15dc27d8de8c614260783713dc61c3c683b86c57 SHA512 fe58ce0beb3d2fd88b374d7864e93dba41e4e2ad6dca570e284fd76615c5bb4e78459a4b8c4dd5f61603d4bccd5705cebafd7274369d158af149e838ec63f7eb diff --git a/dev-python/pygments/pygments-2.7.2.ebuild b/dev-python/pygments/pygments-2.7.2.ebuild deleted file mode 100644 index c1b58db45e36..000000000000 --- a/dev-python/pygments/pygments-2.7.2.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 bash-completion-r1 - -MY_P=${P^} -DESCRIPTION="Pygments is a syntax highlighting package written in Python" -HOMEPAGE=" - https://pygments.org/ - https://github.com/pygments/pygments/ - https://pypi.org/project/Pygments/" -SRC_URI="mirror://pypi/${MY_P:0:1}/${PN^}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -BDEPEND=" - test? ( - virtual/ttf-fonts - )" - -distutils_enable_sphinx doc -distutils_enable_tests pytest - -python_install_all() { - distutils-r1_python_install_all - newbashcomp external/pygments.bashcomp pygmentize -} diff --git a/dev-python/pygments/pygments-2.7.3.ebuild b/dev-python/pygments/pygments-2.7.3.ebuild index 2dfa7010513f..67c8891a7e07 100644 --- a/dev-python/pygments/pygments-2.7.3.ebuild +++ b/dev-python/pygments/pygments-2.7.3.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 @@ -19,7 +19,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" BDEPEND=" test? ( diff --git a/dev-python/pyopenssl/pyopenssl-20.0.0-r1.ebuild b/dev-python/pyopenssl/pyopenssl-20.0.0-r1.ebuild index 37e08a31e269..f7cf09ce623f 100644 --- a/dev-python/pyopenssl/pyopenssl-20.0.0-r1.ebuild +++ b/dev-python/pyopenssl/pyopenssl-20.0.0-r1.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 @@ -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 ~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" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/snakeoil/snakeoil-0.8.9.ebuild b/dev-python/snakeoil/snakeoil-0.8.9.ebuild index b2d544d32d27..3efd6c0ec6b9 100644 --- a/dev-python/snakeoil/snakeoil-0.8.9.ebuild +++ b/dev-python/snakeoil/snakeoil-0.8.9.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=6 @@ -10,7 +10,7 @@ if [[ ${PV} == *9999 ]] ; then EGIT_REPO_URI="https://github.com/pkgcore/snakeoil.git" inherit git-r3 else - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" fi diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest index c1b1c3a14619..b504c57e18c8 100644 --- a/dev-python/sphinx/Manifest +++ b/dev-python/sphinx/Manifest @@ -1,6 +1,3 @@ DIST Sphinx-2.4.4.tar.gz 5966973 BLAKE2B 727a75eb4ec33beadf80b22cdd8dda02a53f4da4aea10ee18ecae658a69a9bb797f83b0d11b41b8405bf18b2472ea7fd501bea85382c20c5f2a9d5b14a032428 SHA512 cd35b7ebdf4eb41fb3a58706333ca4328fbf9b37999ad1bcc751f9769f0a294464e4def019a403fcd2204ca963ef641c35c957a4145eb50af07573d21df8c74d -DIST Sphinx-3.2.1.tar.gz 5970067 BLAKE2B 6158d31390c9b07aa3abcdc4eb7ed827cf2160192a2c53ad845f07d5027cc4bd65264ea1114e78e06f9652a8788a8d0e992a8988382787a05bf507a73618cd96 SHA512 3f0f49036a44938abd470c2f825a0eeeeb818daf3dfbb3bc5c746b64305b5fe66c1c34d9703eb9420b2b347247c122825ddae1b6c28c88c249206151f39e3bdb DIST Sphinx-3.3.1.tar.gz 5979919 BLAKE2B 4eb9d8c9dccfd83690252ad6be05a3e69006e1e801bb0b37b77fb6ccf998f3a2fd99a90eba890cfb2baa5545ac0c2734fcd72d602fc2d1091e6754337f241b34 SHA512 bb1fb0780b741c0162ca014cb996dcdaac06985d14b6cc645a835679d7cf2680912784a815a027caf3fe902f721f9707bc9e9daaaf2c2d43051d31fe00584f78 -DIST Sphinx-3.4.0.tar.gz 5996932 BLAKE2B 9765d076b7b4738c3d4676618c69d401c49c5f5994f0daf0d04d02ce8c74a8084242910a821333b9233636a195df801f978bf43fbd4d323ad7e9f3651ef33b6e SHA512 49fe0aea70c244416bd26141271074d0f04dd69a8fa37be6d3f6cc3e5e98d4b64fa83ac3bbb80b0b37e8ea05d06bcc5f9891ddc00682e1c3c14130f48a831971 -DIST Sphinx-3.4.1.tar.gz 5997545 BLAKE2B 18bca0e05f0226785f96d108b08ed8a41638f1ce1678578a16666cde66b1a3a1d2a8cafa0213157fbb6aa5f471a7e2e8154f47e9b1a0c1ba017d0a86145a19cb SHA512 feaf20046dc82ca94c1d80e90e232dd3d183830202ef48f51599a58e3a8f255d5d746293926757e326d9fe1bd43b62bd9c29c265ad83baa34a7631b5b3cbd7a0 DIST Sphinx-3.4.2.tar.gz 5996867 BLAKE2B 4ab0989d521702a5e84148d12f57c2332d27519807de1aa33fff3a17813c8be0247e413c768cd3062c4c52372607cc6f5f16ca0a2ff46cbb8e73db4dd7270796 SHA512 7af39a6c40f54018cce59c2407af278bcbfbded305742918d053e75ae7bdc3a1ea8cc615fd554c9f9581c84723cf5f70ebed8916c54215c5024cf63e31dd3a0e diff --git a/dev-python/sphinx/sphinx-3.2.1.ebuild b/dev-python/sphinx/sphinx-3.2.1.ebuild deleted file mode 100644 index 6ad49b81cda3..000000000000 --- a/dev-python/sphinx/sphinx-3.2.1.ebuild +++ /dev/null @@ -1,137 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Python documentation generator" -HOMEPAGE="https://www.sphinx-doc.org/ - https://github.com/sphinx-doc/sphinx" -SRC_URI="mirror://pypi/S/${PN^}/${P^}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" -IUSE="doc latex test" -RESTRICT="!test? ( test )" - -RDEPEND=" - <dev-python/alabaster-0.8[${PYTHON_USEDEP}] - dev-python/Babel[${PYTHON_USEDEP}] - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/imagesize[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/snowballstemmer[${PYTHON_USEDEP}] - dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}] - dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}] - dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}] - dev-python/sphinxcontrib-htmlhelp[${PYTHON_USEDEP}] - dev-python/sphinxcontrib-serializinghtml[${PYTHON_USEDEP}] - dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/typed-ast[${PYTHON_USEDEP}] - ' python3_{6,7}) - latex? ( - dev-texlive/texlive-latexextra - dev-texlive/texlive-luatex - app-text/dvipng - )" -BDEPEND=" - doc? ( - dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}] - media-gfx/graphviz - ) - test? ( - ${RDEPEND} - dev-python/html5lib[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - virtual/imagemagick-tools[jpeg,png,svg] - dev-texlive/texlive-fontsextra - dev-texlive/texlive-latexextra - dev-texlive/texlive-luatex - app-text/dvipng - )" - -S="${WORKDIR}/${P^}" - -PATCHES=( - "${FILESDIR}/${PN}-3.2.1-doc-link.patch" -) - -python_prepare_all() { - # remove tests that fail due to network-sandbox - rm tests/test_build_linkcheck.py || die "Failed to remove web tests" - sed -i -e 's:test_latex_images:_&:' tests/test_build_latex.py || die - - # fail under pypy3 (some because of missing typed-ast) - # revisit when pypy3 becomes pypy3.8 - sed -i -e '/def test_partialfunction/i\ -@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on pypy3")' \ - -e '/def test_autodoc_typed_instance_variables/i\ -@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on pypy3")' \ - -e '/def test_autodoc_inherited_members_None/i\ -@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on pypy3")' \ - -e '/def test_cython/i\ -@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on pypy3")' \ - -e '/def test_automethod_for_builtin/i\ -@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on pypy3")' \ - tests/test_ext_autodoc.py || die - sed -i -e '/import pytest/aimport sys' \ - -e '/def test_builtin_function/i\ -@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on pypy3")' \ - -e '/def test_methoddescriptor/i\ -@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on pypy3")' \ - -e '/def test_wrapped_function/i\ -@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on pypy3")' \ - tests/test_ext_autodoc_autofunction.py || die - sed -i -e '/import pytest/aimport sys' \ - -e '/def test_autodoc_typehints_signature/i\ -@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on pypy3")' \ - tests/test_ext_autodoc_configs.py || die - sed -i -e '/import pytest/aimport sys' \ - -e '/def test_autosummary_generate_content_for_module/i\ -@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on pypy3")' \ - tests/test_ext_autosummary.py || die - sed -i -e '/def test_annotated_assignment_py36/i\ -@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on pypy3")' \ - tests/test_pycode_parser.py || die - - # disable internet access - sed -i -e 's:^intersphinx_mapping:disabled_&:' \ - doc/conf.py || die - - distutils-r1_python_prepare_all -} - -python_compile() { - distutils-r1_python_compile - - # Generate the grammar. It will be caught by install somehow. - # Note that the tests usually do it for us. However, I don't want - # to trust USE=test really running all the tests, especially - # with FEATURES=test-fail-continue. - pushd "${BUILD_DIR}"/lib >/dev/null || die - "${EPYTHON}" -m sphinx.pycode.__init__ || die "Grammar generation failed." - popd >/dev/null || die -} - -python_compile_all() { - if use doc; then - esetup.py build_sphinx - HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) - fi -} - -python_test() { - mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die - local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir" - pytest -vv || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/sphinx/sphinx-3.3.1-r1.ebuild b/dev-python/sphinx/sphinx-3.3.1-r1.ebuild index e852d369b5a4..541c2724498a 100644 --- a/dev-python/sphinx/sphinx-3.3.1-r1.ebuild +++ b/dev-python/sphinx/sphinx-3.3.1-r1.ebuild @@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/S/${PN^}/${P^}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" IUSE="doc latex test" RESTRICT="!test? ( test )" diff --git a/dev-python/sphinx/sphinx-3.4.0-r1.ebuild b/dev-python/sphinx/sphinx-3.4.0-r1.ebuild deleted file mode 100644 index 29a1dbbdbcf1..000000000000 --- a/dev-python/sphinx/sphinx-3.4.0-r1.ebuild +++ /dev/null @@ -1,128 +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} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Python documentation generator" -HOMEPAGE="https://www.sphinx-doc.org/ - https://github.com/sphinx-doc/sphinx" -SRC_URI="mirror://pypi/S/${PN^}/${P^}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" -IUSE="doc latex test" -RESTRICT="!test? ( test )" - -RDEPEND=" - <dev-python/alabaster-0.8[${PYTHON_USEDEP}] - >=dev-python/Babel-1.3[${PYTHON_USEDEP}] - >=dev-python/docutils-0.12[${PYTHON_USEDEP}] - dev-python/imagesize[${PYTHON_USEDEP}] - >=dev-python/jinja-2.3[${PYTHON_USEDEP}] - >=dev-python/pygments-2.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5.0[${PYTHON_USEDEP}] - >=dev-python/snowballstemmer-1.1[${PYTHON_USEDEP}] - dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}] - dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}] - dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}] - dev-python/sphinxcontrib-htmlhelp[${PYTHON_USEDEP}] - dev-python/sphinxcontrib-serializinghtml[${PYTHON_USEDEP}] - dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/typed-ast[${PYTHON_USEDEP}] - ' python3_{6,7}) - latex? ( - dev-texlive/texlive-latexextra - dev-texlive/texlive-luatex - app-text/dvipng - )" -BDEPEND=" - doc? ( - dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}] - media-gfx/graphviz - ) - test? ( - ${RDEPEND} - dev-python/html5lib[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - virtual/imagemagick-tools[jpeg,png,svg] - dev-texlive/texlive-fontsextra - dev-texlive/texlive-latexextra - dev-texlive/texlive-luatex - app-text/dvipng - )" - -S="${WORKDIR}/${P^}" - -PATCHES=( - "${FILESDIR}/${PN}-3.2.1-doc-link.patch" -) - -python_prepare_all() { - # disable internet access - sed -i -e 's:^intersphinx_mapping:disabled_&:' \ - doc/conf.py || die - - distutils-r1_python_prepare_all -} - -python_compile() { - distutils-r1_python_compile - - # Generate the grammar. It will be caught by install somehow. - # Note that the tests usually do it for us. However, I don't want - # to trust USE=test really running all the tests, especially - # with FEATURES=test-fail-continue. - pushd "${BUILD_DIR}"/lib >/dev/null || die - "${EPYTHON}" -m sphinx.pycode.__init__ || die "Grammar generation failed." - popd >/dev/null || die -} - -python_compile_all() { - if use doc; then - esetup.py build_sphinx - HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) - fi -} - -python_test() { - mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die - local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir" - - local deselect=( - # these tests require Internet access - tests/test_build_latex.py::test_latex_images - tests/test_build_linkcheck.py::test_defaults - tests/test_build_linkcheck.py::test_defaults_json - tests/test_build_linkcheck.py::test_anchors_ignored - ) - [[ ${EPYTHON} == pypy3 ]] && deselect+=( - tests/test_build_latex.py::test_latex_images - tests/test_ext_autodoc.py::test_autodoc_inherited_members_None - tests/test_ext_autodoc.py::test_automethod_for_builtin - tests/test_ext_autodoc.py::test_partialfunction - tests/test_ext_autodoc.py::test_autodoc_typed_instance_variables - tests/test_ext_autodoc.py::test_autodoc_typed_inherited_instance_variables - tests/test_ext_autodoc.py::test_cython - tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type - tests/test_ext_autodoc_autodata.py::test_autodata_type_comment - tests/test_ext_autodoc_autofunction.py::test_builtin_function - tests/test_ext_autodoc_autofunction.py::test_methoddescriptor - tests/test_ext_autodoc_configs.py::test_autodoc_typehints_signature - tests/test_ext_autodoc_configs.py::test_autodoc_type_aliases - tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module - tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped - tests/test_pycode_parser.py::test_annotated_assignment_py36 - ) - - pytest -vv ${deselect[@]/#/--deselect } || - die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/sphinx/sphinx-3.4.1-r1.ebuild b/dev-python/sphinx/sphinx-3.4.1-r1.ebuild deleted file mode 100644 index 29a1dbbdbcf1..000000000000 --- a/dev-python/sphinx/sphinx-3.4.1-r1.ebuild +++ /dev/null @@ -1,128 +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} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Python documentation generator" -HOMEPAGE="https://www.sphinx-doc.org/ - https://github.com/sphinx-doc/sphinx" -SRC_URI="mirror://pypi/S/${PN^}/${P^}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" -IUSE="doc latex test" -RESTRICT="!test? ( test )" - -RDEPEND=" - <dev-python/alabaster-0.8[${PYTHON_USEDEP}] - >=dev-python/Babel-1.3[${PYTHON_USEDEP}] - >=dev-python/docutils-0.12[${PYTHON_USEDEP}] - dev-python/imagesize[${PYTHON_USEDEP}] - >=dev-python/jinja-2.3[${PYTHON_USEDEP}] - >=dev-python/pygments-2.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5.0[${PYTHON_USEDEP}] - >=dev-python/snowballstemmer-1.1[${PYTHON_USEDEP}] - dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}] - dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}] - dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}] - dev-python/sphinxcontrib-htmlhelp[${PYTHON_USEDEP}] - dev-python/sphinxcontrib-serializinghtml[${PYTHON_USEDEP}] - dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/typed-ast[${PYTHON_USEDEP}] - ' python3_{6,7}) - latex? ( - dev-texlive/texlive-latexextra - dev-texlive/texlive-luatex - app-text/dvipng - )" -BDEPEND=" - doc? ( - dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}] - media-gfx/graphviz - ) - test? ( - ${RDEPEND} - dev-python/html5lib[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - virtual/imagemagick-tools[jpeg,png,svg] - dev-texlive/texlive-fontsextra - dev-texlive/texlive-latexextra - dev-texlive/texlive-luatex - app-text/dvipng - )" - -S="${WORKDIR}/${P^}" - -PATCHES=( - "${FILESDIR}/${PN}-3.2.1-doc-link.patch" -) - -python_prepare_all() { - # disable internet access - sed -i -e 's:^intersphinx_mapping:disabled_&:' \ - doc/conf.py || die - - distutils-r1_python_prepare_all -} - -python_compile() { - distutils-r1_python_compile - - # Generate the grammar. It will be caught by install somehow. - # Note that the tests usually do it for us. However, I don't want - # to trust USE=test really running all the tests, especially - # with FEATURES=test-fail-continue. - pushd "${BUILD_DIR}"/lib >/dev/null || die - "${EPYTHON}" -m sphinx.pycode.__init__ || die "Grammar generation failed." - popd >/dev/null || die -} - -python_compile_all() { - if use doc; then - esetup.py build_sphinx - HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) - fi -} - -python_test() { - mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die - local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir" - - local deselect=( - # these tests require Internet access - tests/test_build_latex.py::test_latex_images - tests/test_build_linkcheck.py::test_defaults - tests/test_build_linkcheck.py::test_defaults_json - tests/test_build_linkcheck.py::test_anchors_ignored - ) - [[ ${EPYTHON} == pypy3 ]] && deselect+=( - tests/test_build_latex.py::test_latex_images - tests/test_ext_autodoc.py::test_autodoc_inherited_members_None - tests/test_ext_autodoc.py::test_automethod_for_builtin - tests/test_ext_autodoc.py::test_partialfunction - tests/test_ext_autodoc.py::test_autodoc_typed_instance_variables - tests/test_ext_autodoc.py::test_autodoc_typed_inherited_instance_variables - tests/test_ext_autodoc.py::test_cython - tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type - tests/test_ext_autodoc_autodata.py::test_autodata_type_comment - tests/test_ext_autodoc_autofunction.py::test_builtin_function - tests/test_ext_autodoc_autofunction.py::test_methoddescriptor - tests/test_ext_autodoc_configs.py::test_autodoc_typehints_signature - tests/test_ext_autodoc_configs.py::test_autodoc_type_aliases - tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module - tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped - tests/test_pycode_parser.py::test_annotated_assignment_py36 - ) - - pytest -vv ${deselect[@]/#/--deselect } || - die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/sphinxcontrib-spelling/Manifest b/dev-python/sphinxcontrib-spelling/Manifest index 727d0defdbcb..50833ccd7e57 100644 --- a/dev-python/sphinxcontrib-spelling/Manifest +++ b/dev-python/sphinxcontrib-spelling/Manifest @@ -1,5 +1 @@ -DIST sphinxcontrib-spelling-5.3.0.tar.gz 45665 BLAKE2B c44c8c2621aecd74734c6137e1344a763e99fb61b3ce882c8ea70364df17a7e2fac49acc8878753cab1b70df2cf084de5087bed77f8b1bffe311410ecec3504d SHA512 8f3c4718877e55b0ebcd3d8c0f078a6c06c27c2cdd3cc557fd2e0e990f0c8956179fd9a8b3135b280973e45c0c8657f71372746ef4b55319078db8f16c7e00e9 -DIST sphinxcontrib-spelling-5.4.0.tar.gz 46823 BLAKE2B 8303a97b87d953a37db4548d895559baf93969c11f8417aafeb67804ec537f9ea028bcbf6a56eb3290f13871a782dcde142b1927865a6f9eefd5a20dc53061b1 SHA512 7e0fe6289f9482982825a1204c926490a1e31dc85e25e6418ba47f5575430875e3df5f77202ad458044b810bc2a29f989e6bc6f0c9b4934af938716a4ab887f0 -DIST sphinxcontrib-spelling-7.0.0.tar.gz 46859 BLAKE2B 08b8fb68f485ce9a091ad889999887c1683c39a99d8b138b1215228a01696181c0c1876004506f54a89812aa96dcb4936145f105829d82017576329bba416f4f SHA512 b5c9585e171747addc2c9d00ede4e4c290286a6f35921fc54bb8a88bb9574b01494e5e7dbf492d59e74afd3c815a2814a4b7d27b3c3aa98a7b6b8934626d2bde -DIST sphinxcontrib-spelling-7.0.1.tar.gz 47435 BLAKE2B c61d6c91f1765cbe793474f22df571fe0dff59caaef68caf48a5e43c211c589cfcdeb4a9cf397568d48071258ad945637db586c5b3c46b0002fb01248b8d4abd SHA512 54e48361554c54c75aa02512cd70759fbbd439947c9a0258e80d377598d4ed63abd7adcff51c898dcfc93c8b2176395d51830cfebd55a81a4fee13740733dea8 DIST sphinxcontrib-spelling-7.1.0.tar.gz 49353 BLAKE2B 59e1f5e3fadeb175fb3d1b7a77acdb23e532456de053f886507c76189bf5f657a948d6288625110ccacfb5b673f23d209e6164f3535da30559f0ac4e792f34e9 SHA512 b8ae9ad79afacd362a986dc63d3be87b91d3560333bbcb026ab7d64fa8139e05e048d5e868df0fc40a159a3c44aeac01191df5ef8208bbcd7e35242f9a0b97be diff --git a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-5.3.0.ebuild b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-5.3.0.ebuild deleted file mode 100644 index df664567a5e4..000000000000 --- a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-5.3.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Sphinx spelling extension" -HOMEPAGE="https://github.com/sphinx-contrib/spelling" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/importlib_metadata-1.7.0[${PYTHON_USEDEP}] - ' python3_{6,7}) - dev-python/pbr[${PYTHON_USEDEP}] - dev-python/pyenchant[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - app-dicts/myspell-en - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - dev-python/testtools[${PYTHON_USEDEP}] - ) -" - -# The doc can only be built from a git repository -distutils_enable_tests pytest - -RDEPEND+=" - dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}] -" - -python_install_all() { - distutils-r1_python_install_all - find "${ED}" -name '*.pth' -delete || die -} diff --git a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-5.4.0.ebuild b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-5.4.0.ebuild deleted file mode 100644 index 6a19fab56b30..000000000000 --- a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-5.4.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Sphinx spelling extension" -HOMEPAGE="https://github.com/sphinx-contrib/spelling" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/importlib_metadata-1.7.0[${PYTHON_USEDEP}] - ' python3_{6,7}) - dev-python/pyenchant[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/pbr[${PYTHON_USEDEP}] - test? ( - app-dicts/myspell-en - ) -" - -# The doc can only be built from a git repository -distutils_enable_tests pytest - -# We don't want distutils_enable_tests to add the namespace -# package to BDEPEND under "test?". Therefore we add it to RDEPEND -# after running distutils_enable_tests. -RDEPEND+=" - dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}] -" - -python_prepare_all() { - # Needs to be run from a git repository - sed -i 's/test_contributors/_&/' \ - sphinxcontrib/spelling/tests/test_filter.py || die - distutils-r1_python_prepare_all -} - -python_install_all() { - distutils-r1_python_install_all - find "${ED}" -name '*.pth' -delete || die -} diff --git a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.0.0.ebuild b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.0.0.ebuild deleted file mode 100644 index d06657cba70c..000000000000 --- a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.0.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Sphinx spelling extension" -HOMEPAGE="https://github.com/sphinx-contrib/spelling" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~ppc ~ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/importlib_metadata-1.7.0[${PYTHON_USEDEP}] - ' python3_{6,7}) - dev-python/pyenchant[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/pbr[${PYTHON_USEDEP}] - test? ( - app-dicts/myspell-en - ) -" - -# The doc can only be built from a git repository -distutils_enable_tests pytest - -# We don't want distutils_enable_tests to add the namespace -# package to BDEPEND under "test?". Therefore we add it to RDEPEND -# after running distutils_enable_tests. -RDEPEND+=" - dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}] -" - -python_prepare_all() { - # Needs to be run from a git repository - sed -i 's/test_contributors/_&/' \ - tests/test_filter.py || die - distutils-r1_python_prepare_all -} - -python_install_all() { - distutils-r1_python_install_all - find "${ED}" -name '*.pth' -delete || die -} diff --git a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.0.1.ebuild b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.0.1.ebuild deleted file mode 100644 index d9296a09dd73..000000000000 --- a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.0.1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Sphinx spelling extension" -HOMEPAGE="https://github.com/sphinx-contrib/spelling" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/importlib_metadata-1.7.0[${PYTHON_USEDEP}] - ' python3_{6,7}) - dev-python/pyenchant[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/pbr[${PYTHON_USEDEP}] - test? ( - app-dicts/myspell-en - ) -" - -# The doc can only be built from a git repository -distutils_enable_tests pytest - -# We don't want distutils_enable_tests to add the namespace -# package to BDEPEND under "test?". Therefore we add it to RDEPEND -# after running distutils_enable_tests. -RDEPEND+=" - dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}] -" - -python_prepare_all() { - # Needs to be run from a git repository - sed -i 's/test_contributors/_&/' \ - tests/test_filter.py || die - distutils-r1_python_prepare_all -} - -python_install_all() { - distutils-r1_python_install_all - find "${ED}" -name '*.pth' -delete || die -} diff --git a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.1.0.ebuild b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.1.0.ebuild index 8c2c3496f64d..b8e4cf6fde02 100644 --- a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.1.0.ebuild +++ b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.1.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 @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/sudsds/metadata.xml b/dev-python/sudsds/metadata.xml index c4e7a7e3d49d..a56745df0223 100644 --- a/dev-python/sudsds/metadata.xml +++ b/dev-python/sudsds/metadata.xml @@ -8,5 +8,5 @@ <longdescription lang="en"> A lightweight SOAP python client for consuming Web Services. Czech NIC labs fork. </longdescription> - <origin>calculatelinux-overlay</origin> + <origin>kit-fixups</origin> </pkgmetadata> diff --git a/dev-python/sudsds/sudsds-1.0.1-r1.ebuild b/dev-python/sudsds/sudsds-1.0.1-r1.ebuild index ac0d6b9c7860..054a9f5306c4 100644 --- a/dev-python/sudsds/sudsds-1.0.1-r1.ebuild +++ b/dev-python/sudsds/sudsds-1.0.1-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=5 PYTHON_COMPAT=( python2_7 python3_{6,7,8,9,10} ) @@ -17,4 +17,4 @@ KEYWORDS="amd64 x86" IUSE="doc" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND}" +RDEPEND="" diff --git a/dev-python/wheel/Manifest b/dev-python/wheel/Manifest index a7c35f1fb5d7..056638b6ea71 100644 --- a/dev-python/wheel/Manifest +++ b/dev-python/wheel/Manifest @@ -1,4 +1,2 @@ -DIST wheel-0.35.1.gh.tar.gz 63563 BLAKE2B d1432a638b91e821cb9b9fc748567b9ad18bbfd4737cee915ee3e2c585c4758e79bcf163edac56a09f9e356d81a057214c8e84c5c75b45505c67aa761e97fe3f SHA512 34cd6d1a649842abd895418c0183e68f44e228be905041e1dd8562987fbab8aa617da9b78479cb8d56fb6bb8714ec1085b87640c385bfc933e215f6e33ccf55b -DIST wheel-0.36.0.gh.tar.gz 65186 BLAKE2B 384dea20a6fdc2e9cc581c1e30814ac84285b8ca2ac5588fc837a1e27add493dedd38ead643776d1353a98cafa45a609e9655168fd09944cfe016d99e357fcd2 SHA512 1f851dfc18fa96d67bb96c61eec15999c46ea77c490173b71121810480f3c30f2de770a2e6e0712d04f35c91fcadbb276b05968e2b5db76dea882929f555f983 DIST wheel-0.36.1.gh.tar.gz 65846 BLAKE2B 906bd8887ab0efc6542547c603d613e6b12e4ea56e8d037c3a4532e064f3d337cd5c161e2c2557cc832262a42eeda2850303f1d92e8de45f44321ebc9d47c955 SHA512 1f9a27604b0fa0d1ae4782bdba57956a70d74a9a736f4c41481b417cd1e8a86938705555c37835ffe1a061ef55f8adad3475bfc20e2c1fd8de8083dd5c72cca0 DIST wheel-0.36.2.gh.tar.gz 67999 BLAKE2B 0bb6742ddb25a5b94f94fd071dfe63ae5fa555731625b4b8ca2c7abb1a255e24590ae9ea250ada0473fcd74f19bdca7e529f8eda1a79d8e394d8b339bd2a257a SHA512 23f3dd0540ecc8e762f37a4bb69713abe99125a605c03b1a3412cec910fb7a6cea3eee3910d7c98122b276170a17414c9132b57b57a30a4ba1283cea8f9e20fa diff --git a/dev-python/wheel/wheel-0.35.1-r1.ebuild b/dev-python/wheel/wheel-0.35.1-r1.ebuild deleted file mode 100644 index c7a24a1d3c44..000000000000 --- a/dev-python/wheel/wheel-0.35.1-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 eutils - -DESCRIPTION="A built-package format for Python" -HOMEPAGE="https://pypi.org/project/wheel/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -SRC_URI="https://github.com/pypa/wheel/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-macos" - -distutils_enable_tests pytest - -src_prepare() { - sed \ - -e 's:--cov=wheel::g' \ - -i setup.cfg || die - distutils-r1_src_prepare -} - -python_test() { - if ! python_is_python3; then - # install fails due to unicode in paths - ewarn "Testing is broken with py2.7, please test externally" - return - fi - - distutils_install_for_testing - pytest -vv || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/wheel/wheel-0.36.0.ebuild b/dev-python/wheel/wheel-0.36.0.ebuild deleted file mode 100644 index 0475f2c77666..000000000000 --- a/dev-python/wheel/wheel-0.36.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 eutils - -DESCRIPTION="A built-package format for Python" -HOMEPAGE="https://pypi.org/project/wheel/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -SRC_URI="https://github.com/pypa/wheel/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -distutils_enable_tests pytest - -src_prepare() { - sed \ - -e 's:--cov=wheel::g' \ - -i setup.cfg || die - distutils-r1_src_prepare -} - -python_test() { - if ! python_is_python3; then - # install fails due to unicode in paths - ewarn "Testing is broken with py2.7, please test externally" - return - fi - - distutils_install_for_testing --via-root - pytest -vv || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/wheel/wheel-0.36.1.ebuild b/dev-python/wheel/wheel-0.36.1.ebuild index 0475f2c77666..1c3dd4ace5fb 100644 --- a/dev-python/wheel/wheel-0.36.1.ebuild +++ b/dev-python/wheel/wheel-0.36.1.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 @@ -15,7 +15,7 @@ SRC_URI="https://github.com/pypa/wheel/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-macos" distutils_enable_tests pytest diff --git a/dev-python/zope-interface/zope-interface-5.2.0.ebuild b/dev-python/zope-interface/zope-interface-5.2.0.ebuild index b9b3af8828c2..a87045252e03 100644 --- a/dev-python/zope-interface/zope-interface-5.2.0.ebuild +++ b/dev-python/zope-interface/zope-interface-5.2.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 @@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" 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 ~x86-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 ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}]" BDEPEND=" |
