diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-07-02 01:41:23 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-07-02 01:41:23 +0000 |
| commit | 0ba494e523ba757577f257de56cd501702f4b626 (patch) | |
| tree | a2bede3390ef4d36417af254fb0410623855831b /dev-python | |
| parent | 48a7d649a087018af97ab85637b920975df35e1c (diff) | |
| download | baldeagleos-repo-0ba494e523ba757577f257de56cd501702f4b626.tar.gz baldeagleos-repo-0ba494e523ba757577f257de56cd501702f4b626.tar.xz baldeagleos-repo-0ba494e523ba757577f257de56cd501702f4b626.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
61 files changed, 801 insertions, 74 deletions
diff --git a/dev-python/argon2-cffi/argon2-cffi-20.1.0.ebuild b/dev-python/argon2-cffi/argon2-cffi-20.1.0.ebuild index f264e9e6b1fc..6760e8dc2275 100644 --- a/dev-python/argon2-cffi/argon2-cffi-20.1.0.ebuild +++ b/dev-python/argon2-cffi/argon2-cffi-20.1.0.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 @@ -33,3 +33,12 @@ distutils_enable_tests pytest python_configure_all() { export ARGON2_CFFI_USE_SYSTEM=1 } + +python_test() { + local deselect=() + [[ ${EPYTHON} == python3.10 ]] && deselect+=( + # fails due to changed Enum repr + tests/test_utils.py::TestParameters::test_repr + ) + epytest ${deselect[@]/#/--deselect } +} diff --git a/dev-python/asgiref/Manifest b/dev-python/asgiref/Manifest index db3fdb7c35c9..735c3399505f 100644 --- a/dev-python/asgiref/Manifest +++ b/dev-python/asgiref/Manifest @@ -1,2 +1,3 @@ DIST asgiref-3.3.4.tar.gz 30780 BLAKE2B f14a5ae3cc3d0c67a827b4b8d002c9d92388285f7388b7ac439b11fbe2e72b6dee5a9c38637e6b5189e3a3625d24a806b5aeff1ffc41861fd4947d7b7c4621ba SHA512 e224ce82f9156e3efde316f3e209a9fbb9494cb9347d6652e19ed130921143de8d3e2a45f50352bf13fcdf229c291e68a0348fff31de144e58cd1a53b4eb0c31 DIST asgiref-3.4.0.tar.gz 32396 BLAKE2B bbf80c4f5bfc7eaf2f27896913a59f522643de35a5eac45807b88f0b2deef6acef408a6d3abb939c4653554415028b5eea68e99ee45247e384848c554ab61c7c SHA512 259dd6fafcd4db73554a4bd26f6000b33c61e8e4d42294bc22826bc95e89959bcc3f9f97d8f0b5dc7e0cf8420890ea8ab368232b4046254e8c91ad010f6509c0 +DIST asgiref-3.4.1.tar.gz 32529 BLAKE2B 4b5f3b33e165468d71711cf28a5a6161866cd7495140cb67ff028aba5a2586414783d2fa7ce744e99e269714d9d64a019a67c852fd4546ba1f71625473010b9f SHA512 af266fc3eac58c21f2ab3f66e522067388f9cf232b17344fb5afbc408c034e61a1cce02362ec5dc494985beef099800f75cf7de28dc057c45e4bcb973b0a6dbe diff --git a/dev-python/asgiref/asgiref-3.4.1.ebuild b/dev-python/asgiref/asgiref-3.4.1.ebuild new file mode 100644 index 000000000000..9c4062306cd3 --- /dev/null +++ b/dev-python/asgiref/asgiref-3.4.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="ASGI utilities (successor to WSGI)" +HOMEPAGE=" + https://asgi.readthedocs.io/en/latest/ + https://github.com/django/asgiref/ + https://pypi.org/project/asgiref/" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' python3_7 pypy3)" +BDEPEND=" + test? ( dev-python/pytest-asyncio[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index fa783952f6b5..6f70bd076c09 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,4 +1,5 @@ DIST boto3-1.17.102.tar.gz 386456 BLAKE2B 25b18f086f8881a237a953c85cecc403fdd1b047f990ae289c16695ca1c1faf50da3cd7363e72d1655d7a887c8f5c0729bb25121fa0066db5d393f5b6cd3d4a6 SHA512 42cbd01626bd11f774466dc718086648eb7a4b73a50226a04485e934010271b0f20c030c300ada074fb0b3bf3eac8f6fa113dee86d0f1cf3f12f12230778c2e5 DIST boto3-1.17.103.tar.gz 387576 BLAKE2B fe3b6f1e30f00bc47e9361a695cc36622aa05d29abedd192d1bfe730f1c7d18a7337a5f24294fad8a74a293838c9e7315ff421231ecd1921914c21f9bc76dba6 SHA512 2bbe10741bd80cd7fe1cf16d6125a131d2885c66d237eca270e7bb8d459c5907c5a5e4f5ac266f36052fe8f12b9126fb7915c18e5d8adee594bc0245ba1cb5b4 +DIST boto3-1.17.104.tar.gz 387800 BLAKE2B 928824ab0a0c091fec430c5d86b0c5663f2a98042a76311588463f36f48a6bd9641fd25e07b63ad50afcb3ea9bfea0b5f3304e3c2689a2187198aac04549346c SHA512 477033e623476fa1e2e49cdb788f204ac49230088788cbae3f079de4561e7bbe56bb3b170480592a0ce056fcd2ea0cb3f14b4f5091279f46346465853a191829 DIST boto3-1.17.78.tar.gz 374487 BLAKE2B 8a83cb32db8336351454251a3cf78efad6197885a66c10a4e3f9e13770d92d7cd9e9b51bfc7c4bfdb2f5183c5246872d7f3075d55b5129606ad9d977ecbf9891 SHA512 8ab9f13360f63342219d7b0278e2ca5613f8d051d006ef26da14307e83fcaaf1a546c566cb4b8ba012fa5e8e6b5e409722228da0989e56f50e40df4a733602de DIST boto3-1.17.97.tar.gz 383223 BLAKE2B 1a1b4e9f2c51d830762f27cf3e30038efb88322e300ac304d1cb88d5b7efc6af35ad9810cea7292c9807dcdfedb11ba039ee6d5dbb9162f2a1c6d6936ef75bcc SHA512 e74a59763cc9b8a51fd09121a790d29a7291d9380d4451c2e6af90902f18415a3780eeea7f7d63e052b295792b92c3cdd3b8597f7013241ebbbdb7e418cf73ce diff --git a/dev-python/boto3/boto3-1.17.104.ebuild b/dev-python/boto3/boto3-1.17.104.ebuild new file mode 100644 index 000000000000..8e0f2cecffd7 --- /dev/null +++ b/dev-python/boto3/boto3-1.17.104.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="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 ~ppc ~ppc64 ~sparc ~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 ce40a8131e63..49762a1867bb 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,4 +1,5 @@ DIST botocore-1.20.102.tar.gz 7881122 BLAKE2B 51d2acb780766a02a2b58bab10c22557614711e944c58fdbd78479a59e1139446a642da7a8192f2d37c22fa8fa60d27024fca68737601d143018a17669f8df4c SHA512 ee756829454bca50e872cc8cb3caa66ff9ff3cc1075a1afdf693d39e4e9f3c7953b1c69c13c78be594aee572752eb89700369985dfc57e7ebc772b444f8d8c91 DIST botocore-1.20.103.tar.gz 7882203 BLAKE2B 349de76a9e1cd664a8ad124f1b935289468df4bf37f23067efa2217d8c29ed39b3128796d83a54e5c59968c9f6fd396511956fb29cf114488ab1dee1b5e4951f SHA512 5d0543af8aa9ad0c4021b845e659136e05eb688604f32514e1895fa4bf4588b2901cbef05ec336dfe9326e3959d10bb78a9b4f772d75d40d6a53af1615d76c6a +DIST botocore-1.20.104.tar.gz 7883624 BLAKE2B 4fb4c6abff5a2c3d3e19b11576e723f15a442b2d49e461a2a4c2bd613e26095ceb87f4b7ceb672f338ea04ad918060bed118f7bc4c184c46cce1d6a9f98d4239 SHA512 2201d87ce2e1c8979548698d6a46eb03c0a2026360b178fea895ad6a244efad534d9970d3c6343d50639d25b3b8643db6744658fec14e0fa29fd7c4b45c8e0d8 DIST botocore-1.20.78.tar.gz 7758829 BLAKE2B af13d6c1aa918e2c49c6dc931c9a78e1899c83e62657c063e20ba2a5544c48e4946018628e47d6a56db456a3a8d43fe3b577824bd76bbc339abaef375459932e SHA512 fc96ed8b6b4af05404654e470a4f83419b885fa32d9dc704727f4ffb3d5deeefa752d235b37fd81448b7f3b101bc0f8e7ea09ae8641f8961566f77f6a039cef9 DIST botocore-1.20.97.tar.gz 7846552 BLAKE2B da0355cc229ba8a0632f67866bf06b27d7b257184b53670e5dc183c6b5a1f4d3a34145de0a3f04abd2adc08de3f0775e3c7e0dbecae729acb5bc05c7ce9acaf2 SHA512 7411d5de8ecf0c42c0142ded036189dcf378cd16f761071beb5bc2a2c240eabb0c4a8c669ce89a5b4e798a0aae92f0e67755627c2a84df77fc2e9557265a4e3b diff --git a/dev-python/botocore/botocore-1.20.104.ebuild b/dev-python/botocore/botocore-1.20.104.ebuild new file mode 100644 index 000000000000..5684261bd4b3 --- /dev/null +++ b/dev-python/botocore/botocore-1.20.104.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="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 ~ppc ~ppc64 ~sparc ~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/commonmark/commonmark-0.9.1.ebuild b/dev-python/commonmark/commonmark-0.9.1.ebuild index 6c376435fc58..90eca35e82b7 100644 --- a/dev-python/commonmark/commonmark-0.9.1.ebuild +++ b/dev-python/commonmark/commonmark-0.9.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/consonance/consonance-0.1.3-r1.ebuild b/dev-python/consonance/consonance-0.1.3-r1.ebuild index 3e826fb83cd2..7545691a0ffb 100644 --- a/dev-python/consonance/consonance-0.1.3-r1.ebuild +++ b/dev-python/consonance/consonance-0.1.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 diff --git a/dev-python/contextlib2/contextlib2-21.6.0.ebuild b/dev-python/contextlib2/contextlib2-21.6.0.ebuild index 6e2282d9e3e3..5352f26fd89d 100644 --- a/dev-python/contextlib2/contextlib2-21.6.0.ebuild +++ b/dev-python/contextlib2/contextlib2-21.6.0.ebuild @@ -15,7 +15,7 @@ S=${WORKDIR}/${MY_P} LICENSE="PSF-2.4 Apache-2.0" 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 ~riscv ~s390 ~sparc ~x86 ~x64-macos" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/dissononce/dissononce-0.34.3-r1.ebuild b/dev-python/dissononce/dissononce-0.34.3-r1.ebuild index 181df62dbf6a..3bab5957be30 100644 --- a/dev-python/dissononce/dissononce-0.34.3-r1.ebuild +++ b/dev-python/dissononce/dissononce-0.34.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 diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest index 8ef2e04741b5..41355116e8e7 100644 --- a/dev-python/django/Manifest +++ b/dev-python/django/Manifest @@ -2,5 +2,9 @@ DIST Django-2.2.24.checksum.txt 2558 BLAKE2B 8a4b1759f0c52f9dfe6eafc2b54d2d6db8c DIST Django-2.2.24.tar.gz 9211396 BLAKE2B 7422019ad8849ae543d7b2ca7f5624b5379c832b5d19511f52df77d95acaa0a45cc61579b0e3a74671c295ffab5e1dfecd1c044e9ec042c46606f888c257e1d0 SHA512 5a3ee79500ad458bfc5220b9b68248bec59bf6d2304d58ca280111854d6a5f7e25784680e949487e8b59c1de0b329a53cf0676d2ee4bb2b88463918c4b0b6085 DIST Django-3.1.12.checksum.txt 2558 BLAKE2B fe31c76517811b5a69bbab6a44966059b40e26e81134682a56753fb886abb1081ad998628fb45eb9959fa1b625c1ffc7128ed0153aadde23319ca28daedf71ca SHA512 6b5a243eee10a33721725be4f09b34395f0d7b34775c72b387d47445947de25f927b2b6d3bc6d76896096b8d06080ebd66ad3a667984087b7c3505a705ec8f76 DIST Django-3.1.12.tar.gz 9676259 BLAKE2B 91781b77b63591a9fc1dffbe341b5400898ccce6267b18236f8680e86f02bb70cc4ab3297fb504e5a809947bd7e68795286b875f319a60ad501d38f4af1f17a7 SHA512 7b58d0bd6ccd6a3222bd58e87ee26646e75b807f284cb259baa5442514c249b3d7695ed0c61e5cc544e121d06a102c5ea1b40694d17e7d4dd3a8437891284c0a +DIST Django-3.1.13.checksum.txt 2552 BLAKE2B e82052d952f7dfd15e11b413fe2f106af3d3774073c57538b10f1beeada3128de2cb3d861684599fbf5f337b0ae4eff3a101998da30d8d961f84ac7cb3bb31c5 SHA512 07870c27034f70f335ac35b34317944947f544f63108f21134e81326b4e8f05a7cb3d382d91e7f0a846d51944032efcddca2c3bf980f626627c74c388932e4cf +DIST Django-3.1.13.tar.gz 9656683 BLAKE2B bb2dd72ba2dfc13c8f487d6b59cd9302160800dca4f63b92e640eddf4aba2e5b1bd67580e56477bced44a5393b5f65a463a9c0c539ba998a20606bffdfafcf74 SHA512 55b1ceb24b6e0ba542a96319f63b138439532cf4b00971a8432baaab4a8ee219cc9fbb31d457ba7da9e932c919df83da9630866d909df4a5d432866b158098d7 DIST Django-3.2.4.checksum.txt 2549 BLAKE2B d7f9e0fb88d9913c611ab3e5c0c276e135d2f2dbf2ad27043a46a9c57ecfd7e7f774b1d60630f47a53fdf455e63b2deb32b4f9caed77f33732cf85c92dc03108 SHA512 67e67719eb24fdf47da9611eb18184283657dca398eaf52963e17b2ff29a2687921171b1c68853fb7e17307d03c01be0d2554931c8bff38e2252c371f81e40b9 DIST Django-3.2.4.tar.gz 9824343 BLAKE2B 25123c228171953e057fe6ba75afadc49c49567e167045c292606e914538f58f9628e48485f611afaacd7e173f36c720391c06662f8dcd796e966f7557f60216 SHA512 5891f77c884cb4bc74f4c9759e2e7be463fc0c661b8dd4d889be0ec46919e59b81f5ce1585c28075b15f03355e66d4b8e7b09001f0c2bea15f8c8aac77d1ea16 +DIST Django-3.2.5.checksum.txt 2543 BLAKE2B 4a07a518bdde4670dc3bf079d8d3cfa32b6580cc06f18306a2127463f3a6a2d8f2a50c4562092439c7c99ccf80dde160b061180826c94d4e1064d5064ff500fe SHA512 b073ff758843f72b6467dae7580941774de9702db02a6fab303cb696cb22c84ca961885792e8ec85545294610f34a4eb52ac3f6521c190d2c339c1957ab4156a +DIST Django-3.2.5.tar.gz 9806547 BLAKE2B d804d758f95f18aac5c44cba9bd9248efa56cba91bea5db2ac89e8c2202ac1fd088b61d6cc98eb7d6d33a95f85983b801c6cc26a3231986a8cf224a0bbeb8a7c SHA512 03d4eee650a857bed298658c68b916beb74690d16b4b28d649c52a7c2d8a61e92f53136d2de3a77fabe1dd01c0e6b3033befc6842f39c222793fb590b1020c13 diff --git a/dev-python/django/django-3.1.13.ebuild b/dev-python/django/django-3.1.13.ebuild new file mode 100644 index 000000000000..a6df9a447ab6 --- /dev/null +++ b/dev-python/django/django-3.1.13.ebuild @@ -0,0 +1,95 @@ +# 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='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 ~sparc ~x86 ~x64-macos" +IUSE="doc sqlite test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/asgiref-3.3.4[${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 + !!<dev-python/ipython-7.21.0-r1 + !!=dev-python/ipython-7.22.0-r0 + ) + verify-sig? ( >=app-crypt/openpgp-keys-django-20201201 ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-3.1-bashcomp.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 +} + +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() { + optfeature_header "Additional Backend support can be enabled via:" + optfeature "MySQL backend support" dev-python/mysqlclient + optfeature "PostgreSQL backend support" dev-python/psycopg:2 + optfeature_header + 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.2.5.ebuild b/dev-python/django/django-3.2.5.ebuild new file mode 100644 index 000000000000..506506a26cc6 --- /dev/null +++ b/dev-python/django/django-3.2.5.ebuild @@ -0,0 +1,103 @@ +# 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='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 ~riscv ~sparc ~x86 ~x64-macos" +IUSE="doc sqlite test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/asgiref-3.3.4[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]" +BDEPEND=" + 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 + !!<dev-python/ipython-7.21.0-r1 + !!=dev-python/ipython-7.22.0-r0 + ) + verify-sig? ( >=app-crypt/openpgp-keys-django-20201201 ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-3.1-bashcomp.patch + # From https://github.com/django/django/pull/14228 + "${FILESDIR}"/${PN}-3.2.3-py310-repr.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 +} + +python_prepare_all() { + # Fails because of warnings + sed -i 's/test_dumpdata_proxy_with_concrete/_&/' tests/fixtures/tests.py + + distutils-r1_python_prepare_all +} + +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() { + optfeature_header "Additional Backend support can be enabled via:" + optfeature "MySQL backend support" dev-python/mysqlclient + optfeature "PostgreSQL backend support" dev-python/psycopg:2 + optfeature_header + 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/extras/extras-1.0.0-r1.ebuild b/dev-python/extras/extras-1.0.0-r1.ebuild index 1df1fdbde5b6..468aad13d32d 100644 --- a/dev-python/extras/extras-1.0.0-r1.ebuild +++ b/dev-python/extras/extras-1.0.0-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/fixtures/fixtures-3.0.0-r1.ebuild b/dev-python/fixtures/fixtures-3.0.0-r1.ebuild index 7cc0ad498069..8b3f9ccfde18 100644 --- a/dev-python/fixtures/fixtures-3.0.0-r1.ebuild +++ b/dev-python/fixtures/fixtures-3.0.0-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="|| ( Apache-2.0 BSD )" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/happybase/Manifest b/dev-python/happybase/Manifest new file mode 100644 index 000000000000..6c1b0e3212c6 --- /dev/null +++ b/dev-python/happybase/Manifest @@ -0,0 +1 @@ +DIST happybase-0.9_p20210701.tar.gz 106551 BLAKE2B 66e39d8db10b8b7adbab5b77462560d50a2a494e1cd9b0411abd1c928cb4b630e42ca0cc6740c35cc9a3b65dab8e637df6ae6d4105665fa21fa7668324c82ec5 SHA512 b55028e6fe8b1087e835b01d373af6357ecc495e82badda6bd1641d1d7ef79d5ec72d3336ca7112b5b6886d28b4a6296336c96b83ce58740ea5802c4f11ab12e diff --git a/dev-python/happybase/happybase-0.9_p20210701.ebuild b/dev-python/happybase/happybase-0.9_p20210701.ebuild new file mode 100644 index 000000000000..dccc3e79089b --- /dev/null +++ b/dev-python/happybase/happybase-0.9_p20210701.ebuild @@ -0,0 +1,33 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +COMMIT_HASH="f5b6d104140c2be93e4175c0c844aaf094eb43da" + +DESCRIPTION="A developer-friendly Python library to interact with Apache HBase" +HOMEPAGE="https://github.com/python-happybase/happybase https://happybase.readthedocs.io/" +SRC_URI="https://github.com/python-happybase/happybase/archive/${COMMIT_HASH}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT_HASH}" + +LICENSE="MIT Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/thriftpy2[${PYTHON_USEDEP}] +" + +# tests require a running thrift server +RESTRICT="test" + +distutils_enable_tests pytest + +python_prepare_all() { + rm pytest.ini || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/happybase/metadata.xml b/dev-python/happybase/metadata.xml new file mode 100644 index 000000000000..0f2e57ded13c --- /dev/null +++ b/dev-python/happybase/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> + </maintainer> + + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/ipdb/ipdb-0.13.9-r1.ebuild b/dev-python/ipdb/ipdb-0.13.9-r1.ebuild new file mode 100644 index 000000000000..1d13d702de88 --- /dev/null +++ b/dev-python/ipdb/ipdb-0.13.9-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="IPython-enabled pdb" +HOMEPAGE="https://pypi.org/project/ipdb/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=">=dev-python/ipython-7.17[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + app-arch/unzip" + +DOCS=( HISTORY.txt ) + +distutils_enable_tests unittest diff --git a/dev-python/ipykernel/ipykernel-5.5.4-r1.ebuild b/dev-python/ipykernel/ipykernel-5.5.4-r1.ebuild index d2b536daa8f6..0fce90cfd48d 100644 --- a/dev-python/ipykernel/ipykernel-5.5.4-r1.ebuild +++ b/dev-python/ipykernel/ipykernel-5.5.4-r1.ebuild @@ -1,11 +1,10 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) PYTHON_REQ_USE="threads(+)" - inherit distutils-r1 DESCRIPTION="IPython Kernel for Jupyter" @@ -40,6 +39,8 @@ python_test() { ipykernel/tests/test_serialize.py::test_class ipykernel/tests/test_serialize.py::test_class_oldstyle ipykernel/tests/test_serialize.py::test_class_inheritance + 'ipykernel/tests/test_async.py::test_async_interrupt[trio]' + 'ipykernel/tests/test_async.py::test_async_interrupt[trio]' ) epytest ${deselect[@]/#/--deselect } diff --git a/dev-python/ipyparallel/ipyparallel-6.3.0-r1.ebuild b/dev-python/ipyparallel/ipyparallel-6.3.0-r1.ebuild index 29f9c395863d..d11b6a19332c 100644 --- a/dev-python/ipyparallel/ipyparallel-6.3.0-r1.ebuild +++ b/dev-python/ipyparallel/ipyparallel-6.3.0-r1.ebuild @@ -5,8 +5,6 @@ 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" @@ -16,8 +14,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ~arm arm64 ~sparc 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 @@ -40,7 +36,6 @@ BDEPEND="${RDEPEND} test? ( dev-python/ipython[test] dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] dev-python/testpath[${PYTHON_USEDEP}] ) " @@ -48,13 +43,24 @@ BDEPEND="${RDEPEND} 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 +python_test() { + local deselect=( + # we don't run a mongo instance for tests + ipyparallel/tests/test_mongodb.py::TestMongoBackend + # TODO + ipyparallel/tests/test_util.py::test_disambiguate_ip + ipyparallel/tests/test_view.py::TestView::test_temp_flags + ipyparallel/tests/test_view.py::TestView::test_unicode_apply_arg + ipyparallel/tests/test_view.py::TestView::test_unicode_apply_result + ipyparallel/tests/test_view.py::TestView::test_unicode_execute + ipyparallel/tests/test_view.py::TestView::test_sync_imports_quiet + ) + [[ ${EPYTHON} == python3.10 ]] && deselect+=( + # failing due to irrelevant warnings + ipyparallel/tests/test_client.py::TestClient::test_local_ip_true_doesnt_trigger_warning + ipyparallel/tests/test_client.py::TestClient::test_warning_on_hostname_match + ) + epytest ${deselect[@]/#/--deselect } } pkg_postinst() { diff --git a/dev-python/ipython/ipython-7.25.0.ebuild b/dev-python/ipython/ipython-7.25.0.ebuild index df50f5b4ea69..610c955fe1ef 100644 --- a/dev-python/ipython/ipython-7.25.0.ebuild +++ b/dev-python/ipython/ipython-7.25.0.ebuild @@ -57,7 +57,9 @@ BDEPEND=" distutils_enable_tests pytest RDEPEND+=" - nbconvert? ( dev-python/nbconvert[${PYTHON_USEDEP}] )" + nbconvert? ( + dev-python/nbconvert[${PYTHON_USEDEP}] + )" PDEPEND=" notebook? ( dev-python/notebook[${PYTHON_USEDEP}] @@ -98,8 +100,15 @@ python_compile_all() { fi } -src_test() { - virtx distutils-r1_src_test +python_test() { + local deselect=() + [[ ${EPYTHON} == python3.10 ]] && deselect+=( + # fails due to changed argparse output + IPython/core/tests/test_magic_arguments.py::test_magic_arguments + # py3.10 API incompat, doesn't look important + IPython/lib/tests/test_pretty.py::test_pprint_heap_allocated_type + ) + virtx epytest ${deselect[@]/#/--deselect } } python_install() { diff --git a/dev-python/ipywidgets/files/ipywidgets-7.6.3-py310.patch b/dev-python/ipywidgets/files/ipywidgets-7.6.3-py310.patch new file mode 100644 index 000000000000..f3d82d0a8ec1 --- /dev/null +++ b/dev-python/ipywidgets/files/ipywidgets-7.6.3-py310.patch @@ -0,0 +1,37 @@ +From f9a13dbb3b8f1ffefef483bdb4c14f04f7743ff1 Mon Sep 17 00:00:00 2001 +From: Jason Grout <jgrout6@bloomberg.net> +Date: Tue, 31 Dec 2019 12:57:52 -0800 +Subject: [PATCH] Fix more python 3 deprecations + +--- + ipywidgets/widgets/interaction.py | 2 +- + ipywidgets/widgets/tests/test_interaction.py | 3 ++- + 2 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/ipywidgets/widgets/interaction.py b/ipywidgets/widgets/interaction.py +index 3dd7272047..6e3b9fc955 100644 +--- a/ipywidgets/widgets/interaction.py ++++ b/ipywidgets/widgets/interaction.py +@@ -246,7 +246,7 @@ def update(self, *args): + except Exception as e: + ip = get_ipython() + if ip is None: +- self.log.warn("Exception in interact callback: %s", e, exc_info=True) ++ self.log.warning("Exception in interact callback: %s", e, exc_info=True) + else: + ip.showtraceback() + finally: +diff --git a/ipywidgets/widgets/tests/test_interaction.py b/ipywidgets/widgets/tests/test_interaction.py +index 1ee946744e..c792c5377a 100644 +--- a/ipywidgets/widgets/tests/test_interaction.py ++++ b/ipywidgets/widgets/tests/test_interaction.py +@@ -249,7 +249,8 @@ def test_iterable_tuple(): + check_widgets(c, lis=d) + + def test_mapping(): +- from collections import Mapping, OrderedDict ++ from collections.abc import Mapping ++ from collections import OrderedDict + class TestMapping(Mapping): + def __init__(self, values): + self.values = values diff --git a/dev-python/ipywidgets/ipywidgets-7.6.3.ebuild b/dev-python/ipywidgets/ipywidgets-7.6.3.ebuild index 3c8221e4315e..641a035fdac5 100644 --- a/dev-python/ipywidgets/ipywidgets-7.6.3.ebuild +++ b/dev-python/ipywidgets/ipywidgets-7.6.3.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 DISTUTILS_USE_SETUPTOOLS=no PYTHON_COMPAT=( python3_{6,7,8,9,10} ) @@ -25,3 +25,7 @@ RDEPEND=" " distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/${P}-py310.patch" +) diff --git a/dev-python/jedi/jedi-0.17.2-r1.ebuild b/dev-python/jedi/jedi-0.17.2-r1.ebuild index 6eeedf019dc9..b1be3752dda1 100644 --- a/dev-python/jedi/jedi-0.17.2-r1.ebuild +++ b/dev-python/jedi/jedi-0.17.2-r1.ebuild @@ -52,7 +52,7 @@ python_prepare_all() { python_test() { local deselect=( # TODO - 'test/test_integration.py::test_completion[stdlib:155]' + 'test/test_integration.py::test_completion[stdlib:197]' 'test/test_integration.py::test_completion[on_import:29]' # assume pristine virtualenv test/test_utils.py::TestSetupReadline::test_local_import diff --git a/dev-python/jupyter_client/jupyter_client-6.1.12.ebuild b/dev-python/jupyter_client/jupyter_client-6.1.12.ebuild index 1d10b6b9557f..c02ee362e312 100644 --- a/dev-python/jupyter_client/jupyter_client-6.1.12.ebuild +++ b/dev-python/jupyter_client/jupyter_client-6.1.12.ebuild @@ -1,12 +1,10 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 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" @@ -33,3 +31,11 @@ BDEPEND=" )" distutils_enable_tests pytest + +python_test() { + local deselect=( + jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_signal_kernel_subprocesses + jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_start_new_async_kernel + ) + epytest ${deselect[@]/#/--deselect } +} diff --git a/dev-python/jupyter_core/jupyter_core-4.7.1.ebuild b/dev-python/jupyter_core/jupyter_core-4.7.1.ebuild index 6d98a9a0392f..c13760130657 100644 --- a/dev-python/jupyter_core/jupyter_core-4.7.1.ebuild +++ b/dev-python/jupyter_core/jupyter_core-4.7.1.ebuild @@ -1,11 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - inherit distutils-r1 DESCRIPTION="Core common functionality of Jupyter projects" diff --git a/dev-python/jupyterlab_pygments/jupyterlab_pygments-0.1.2.ebuild b/dev-python/jupyterlab_pygments/jupyterlab_pygments-0.1.2.ebuild index 3098e3b7616b..965c5a1144f8 100644 --- a/dev-python/jupyterlab_pygments/jupyterlab_pygments-0.1.2.ebuild +++ b/dev-python/jupyterlab_pygments/jupyterlab_pygments-0.1.2.ebuild @@ -1,10 +1,9 @@ # Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - inherit distutils-r1 DESCRIPTION="Pygments theme making use of JupyterLab CSS variables" diff --git a/dev-python/matplotlib-inline/matplotlib-inline-0.1.2.ebuild b/dev-python/matplotlib-inline/matplotlib-inline-0.1.2.ebuild index 035928445f77..bb49d060e08b 100644 --- a/dev-python/matplotlib-inline/matplotlib-inline-0.1.2.ebuild +++ b/dev-python/matplotlib-inline/matplotlib-inline-0.1.2.ebuild @@ -1,7 +1,7 @@ # Copyright 2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) inherit distutils-r1 diff --git a/dev-python/mpdlcd/mpdlcd-0.5.2.ebuild b/dev-python/mpdlcd/mpdlcd-0.5.2.ebuild index e95a56206168..5606e6f53a75 100644 --- a/dev-python/mpdlcd/mpdlcd-0.5.2.ebuild +++ b/dev-python/mpdlcd/mpdlcd-0.5.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 @@ -10,6 +10,7 @@ inherit distutils-r1 DESCRIPTION="A small tool to display the MPD status on a LCDproc server." HOMEPAGE="https://github.com/rbarrois/mpdlcd" SRC_URI="https://github.com/rbarrois/${PN}/archive/${P}.tar.gz" +S="${WORKDIR}/${PN}-${P}" LICENSE="BSD" SLOT="0" @@ -17,8 +18,6 @@ KEYWORDS="amd64 x86" RDEPEND="dev-python/python-mpd" -S="${WORKDIR}/${PN}-${P}" - distutils_enable_tests pytest python_install_all() { diff --git a/dev-python/nautilus-python/nautilus-python-1.2.3-r1.ebuild b/dev-python/nautilus-python/nautilus-python-1.2.3-r1.ebuild index 6c9c75f50768..0cd6ab41e367 100644 --- a/dev-python/nautilus-python/nautilus-python-1.2.3-r1.ebuild +++ b/dev-python/nautilus-python/nautilus-python-1.2.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=6 diff --git a/dev-python/nbclient/nbclient-0.5.3.ebuild b/dev-python/nbclient/nbclient-0.5.3.ebuild index 780ac101013b..afc7d6e736bd 100644 --- a/dev-python/nbclient/nbclient-0.5.3.ebuild +++ b/dev-python/nbclient/nbclient-0.5.3.ebuild @@ -1,10 +1,9 @@ # Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - inherit distutils-r1 DESCRIPTION="A client library for executing Jupyter notebooks" diff --git a/dev-python/nbconvert/nbconvert-6.0.7.ebuild b/dev-python/nbconvert/nbconvert-6.0.7.ebuild index e4961d623e2f..a7a4e4541778 100644 --- a/dev-python/nbconvert/nbconvert-6.0.7.ebuild +++ b/dev-python/nbconvert/nbconvert-6.0.7.ebuild @@ -1,11 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -DISTUTILS_USE_SETUPTOOLS=rdepend PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - inherit distutils-r1 DESCRIPTION="Converting Jupyter Notebooks" @@ -54,9 +52,9 @@ python_test() { local deselect=( # Missing pyppeteer for now # TODO: Doesn't skip? - --deselect exporters/tests/test_webpdf.py + --deselect nbconvert/exporters/tests/test_webpdf.py # Needs pyppeteer too - --deselect 'tests/test_nbconvertapp.py::TestNbConvertApp::test_webpdf_with_chromium' + --deselect 'nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_webpdf_with_chromium' ) distutils_install_for_testing bdist_egg diff --git a/dev-python/nest_asyncio/nest_asyncio-1.5.1.ebuild b/dev-python/nest_asyncio/nest_asyncio-1.5.1.ebuild index 054c1d071779..b4aa9ab02060 100644 --- a/dev-python/nest_asyncio/nest_asyncio-1.5.1.ebuild +++ b/dev-python/nest_asyncio/nest_asyncio-1.5.1.ebuild @@ -1,7 +1,7 @@ # Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) @@ -15,4 +15,13 @@ LICENSE="BSD-2" SLOT="0" KEYWORDS="amd64 ~arm arm64 ~sparc x86" -distutils_enable_tests setup.py +distutils_enable_tests pytest + +python_test() { + local deselect=() + [[ ${EPYTHON} == python3.10 ]] && deselect+=( + # incorrect args in test itself + tests/nest_test.py::NestTest::test_two_run_until_completes_in_one_outer_loop + ) + epytest ${deselect[@]/#/--deselect } +} diff --git a/dev-python/nose_warnings_filters/nose_warnings_filters-0.1.5-r3.ebuild b/dev-python/nose_warnings_filters/nose_warnings_filters-0.1.5-r3.ebuild index 5c3fc50dfa19..998658a1d4c8 100644 --- a/dev-python/nose_warnings_filters/nose_warnings_filters-0.1.5-r3.ebuild +++ b/dev-python/nose_warnings_filters/nose_warnings_filters-0.1.5-r3.ebuild @@ -3,9 +3,7 @@ EAPI=7 -DISTUTILS_USE_SETUPTOOLS=bdepend PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - inherit distutils-r1 DESCRIPTION="A python module to inject warning filters during nosetest" diff --git a/dev-python/notebook/notebook-6.4.0.ebuild b/dev-python/notebook/notebook-6.4.0.ebuild index 278e8fd148d4..24d62cb5245c 100644 --- a/dev-python/notebook/notebook-6.4.0.ebuild +++ b/dev-python/notebook/notebook-6.4.0.ebuild @@ -3,7 +3,6 @@ EAPI=7 -DISTUTILS_USE_SETUPTOOLS=rdepend PYTHON_COMPAT=( python3_{6,7,8,9,10} ) PYTHON_REQ_USE="threads(+)" diff --git a/dev-python/oslo-log/Manifest b/dev-python/oslo-log/Manifest index cf51a6fa93ab..f81e6bae43f5 100644 --- a/dev-python/oslo-log/Manifest +++ b/dev-python/oslo-log/Manifest @@ -1 +1,2 @@ DIST oslo.log-4.4.0.tar.gz 86108 BLAKE2B b710d110759612dc7c1516a0df7b0ffe5af1ee83f99ff776212e72a52a4249657b4857a8fa99aa06047093ac554b6374ba529bafee75d4589beb538baca5b190 SHA512 6501963e90d40d2e722f338ec7c78fa36f6b5b255d36fc5df7d6160d1f35397ff112b88053603f6b57d9d93539bdb665e3c1b6894f3898988fd8d06b5a356120 +DIST oslo.log-4.6.0.tar.gz 92331 BLAKE2B 974f8fef0f132c5429b6512c39b770206947eae9e7a195d7a570b9da6b5bdca675440c800b6ec969ab950e375d4d4ae722d08cf662fe644949322ddc80df01df SHA512 991b661be12b2d16060b621e743fb65809f753b240d5039cd4d51f13a95d6852404156d46507fc611b612cb656d68960026c8735f4f91b32caf89e09499a3c7b diff --git a/dev-python/oslo-log/oslo-log-4.6.0.ebuild b/dev-python/oslo-log/oslo-log-4.6.0.ebuild new file mode 100644 index 000000000000..fc6ee7aac352 --- /dev/null +++ b/dev-python/oslo-log/oslo-log-4.6.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="OpenStack logging config library, configuration for all openstack projects." +HOMEPAGE="https://pypi.org/project/oslo.log/ https://github.com/openstack/oslo.log" +SRC_URI="mirror://pypi/o/oslo.log/oslo.log-${PV}.tar.gz" +S="${WORKDIR}/oslo.log-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=">=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] + >=dev-python/oslo-context-2.20.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.20.0[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.36.0[${PYTHON_USEDEP}] + >=dev-python/oslo-serialization-1.25.0[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.19.0[${PYTHON_USEDEP}] + >=dev-python/pyinotify-0.9.6[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}]" +BDEPEND=">=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] + test? ( + >=dev-python/testtools-2.3.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.3.0[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + )" + +distutils_enable_tests unittest + +python_test() { + eunittest -b +} diff --git a/dev-python/pillow/Manifest b/dev-python/pillow/Manifest index 4bb03cd2cb31..8871ec905d01 100644 --- a/dev-python/pillow/Manifest +++ b/dev-python/pillow/Manifest @@ -1 +1,2 @@ DIST pillow-8.2.0.tar.gz 47898485 BLAKE2B bd8421a101e0be080f2fab238c3c26a4e1e722738e1036bfbb533f420881ea638016ac56e9e66ec74a93c6dafc6e4f8807ec3d504400bb675488da00c9c3cb1c SHA512 40e97a54689ca04349d17b69b0e95bb3ef4fde0b60c6c55a2ec76034a5c2a9ebee0b310f68de1636db08786d9b2ad444bf10ac3b42a31404847cc165aa8392ac +DIST pillow-8.3.0.tar.gz 48543291 BLAKE2B f74f2576e3f906db3c96f0854dcc3d7d5d0248b1e35d32da5f88e41751068012e64fed134f34263e2b244263f655fb2602d00d8d191c04573a93164a2fcc7c22 SHA512 ad0f9c50d1dbaaef56fdc43d6b4fa0960453bb0bf60bcafcc33bdbd8e5b4d698e4690baf1ec6be56651153fdbf5af520e9bbd8367a75fe36a995baac47069b4d diff --git a/dev-python/pillow/pillow-8.3.0.ebuild b/dev-python/pillow/pillow-8.3.0.ebuild new file mode 100644 index 000000000000..1dcd96a792a4 --- /dev/null +++ b/dev-python/pillow/pillow-8.3.0.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +PYTHON_REQ_USE='tk?,threads(+)' + +inherit distutils-r1 toolchain-funcs virtualx + +MY_PN=Pillow +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python Imaging Library (fork)" +HOMEPAGE="https://python-pillow.org/" +SRC_URI="https://github.com/python-pillow/Pillow/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="HPND" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="examples imagequant +jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib" +REQUIRED_USE="test? ( jpeg jpeg2k tiff )" +RESTRICT="!test? ( test )" + +DEPEND=" + imagequant? ( media-gfx/libimagequant:0 ) + jpeg? ( virtual/jpeg:0 ) + jpeg2k? ( media-libs/openjpeg:2= ) + lcms? ( media-libs/lcms:2= ) + tiff? ( media-libs/tiff:0=[jpeg,zlib] ) + truetype? ( media-libs/freetype:2= ) + webp? ( media-libs/libwebp:0= ) + xcb? ( x11-libs/libxcb ) + zlib? ( sys-libs/zlib:0= )" +RDEPEND="${DEPEND} + dev-python/olefile[${PYTHON_USEDEP}]" +BDEPEND=" + virtual/pkgconfig + test? ( + ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] + || ( + media-gfx/imagemagick[png] + media-gfx/graphicsmagick[png] + ) + ) +" + +python_configure_all() { + # It's important that these flags are also passed during the install phase + # as well. Make sure of that if you change the lines below. See bug 661308. + mydistutilsargs=( + build_ext + --disable-platform-guessing + $(use_enable truetype freetype) + $(use_enable jpeg) + $(use_enable jpeg2k jpeg2000) + $(use_enable lcms) + $(use_enable tiff) + $(use_enable imagequant) + $(use_enable webp) + $(use_enable webp webpmux) + $(use_enable xcb) + $(use_enable zlib) + ) + + # setup.py sucks at adding the right toolchain paths but it does + # accept additional ones from INCLUDE and LIB so set these. You + # wouldn't normally need these at all as the toolchain should look + # here anyway but this setup.py does stupid things. + export \ + INCLUDE=${ESYSROOT}/usr/include \ + LIB=${ESYSROOT}/usr/$(get_libdir) + + # We have patched in this env var. + tc-export PKG_CONFIG +} + +python_test() { + "${EPYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}" + # no:relaxed: pytest-relaxed plugin make our tests fail. deactivate if installed + virtx epytest -p no:relaxed +} + +python_install() { + python_doheader src/libImaging/*.h + distutils-r1_python_install +} + +python_install_all() { + if use examples ; then + docinto example + dodoc docs/example/* + docompress -x /usr/share/doc/${PF}/example + fi + distutils-r1_python_install_all +} diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest index c5ff2b690fed..289525454cda 100644 --- a/dev-python/pylint/Manifest +++ b/dev-python/pylint/Manifest @@ -1,3 +1,4 @@ DIST pylint-2.8.2.gh.tar.gz 734667 BLAKE2B 1525273298f39163de4db7946a749768cb9bcf7e11f89791944ccb5fb8d0918eedfc80d5e559d33934d468dd5781d4cb4921b9407daf2842613a8e3ba7d134e0 SHA512 7023603668f540ecc0b35f3289377855c4c0df01e04a9af255f5c8031f568f6b76508bb3a7f0aba8e76a86b63eae423908c30f47258d6dee46bb23320c952701 DIST pylint-2.9.0.gh.tar.gz 768301 BLAKE2B a86ccb83d3155acee0165dc7b0095f5b7741c62e7b1f127349eef643cd1d0513ed2f5aaa89d78728806f03b08645ed1579aafb073d649e928d4c415e50dc8a49 SHA512 b524a3d3241702c1fc34ca9ee38815d02e7f4572d8ff3c132141ac7d9c7ff59f88995b92ccfcf18fd57e04be8f24571ef0ab99e6b4ce615f0f6957022d1d1467 DIST pylint-2.9.1.gh.tar.gz 769124 BLAKE2B feabb520c22722df73471e87e05f22f0fb937113c9d02e39bf4e2554479c58a5044afe565c107e9478d868284b8875fec65b976633dddb4bc9d7748b35640218 SHA512 7aea388c6e62fd53e6775a4732da87269f3df22f995241621eb9b8d72c8573b6a4fa9545b1553db91f09eee013bd695e075d69c35436b05623576f13f1317cb6 +DIST pylint-2.9.3.gh.tar.gz 770364 BLAKE2B 3892286ffbd79b417c6decba44bce97f45192299ac8e2ec0e24770b2dd6cf1c28bac790626a478d47a6124ec0470ea9fc0d4230c5a1e807532852844445bb95a SHA512 45c037b970b66254b54a4810a5609dc098b5493d409826333e6a75f9ff0fc02921162711d88c45fd2f437e6521f639c33b25b714830a977c501612ee497501bb diff --git a/dev-python/pylint/pylint-2.9.3.ebuild b/dev-python/pylint/pylint-2.9.3.ebuild new file mode 100644 index 000000000000..b8dcf410ca2b --- /dev/null +++ b/dev-python/pylint/pylint-2.9.3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Python code static checker" +HOMEPAGE="https://www.logilab.org/project/pylint + https://pypi.org/project/pylint/ + https://github.com/pycqa/pylint/" +SRC_URI=" + https://github.com/pycqa/pylint/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="examples" + +RDEPEND=" + <dev-python/astroid-2.7[${PYTHON_USEDEP}] + >=dev-python/astroid-2.6.2[${PYTHON_USEDEP}] + >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] + <dev-python/isort-6[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] + <dev-python/mccabe-0.7[${PYTHON_USEDEP}] + >=dev-python/toml-0.7.1[${PYTHON_USEDEP}] +" + +PATCHES=( + "${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch" +) + +distutils_enable_sphinx doc --no-autodoc +distutils_enable_tests pytest + +python_test() { + local skipped_tests=( + # No need to run the benchmarks + tests/benchmark/test_baseline_benchmarks.py + ) + # Specify the test directory explicitly to avoid import file mismatches + epytest tests ${skipped_tests[@]/#/--deselect } +} + +python_install_all() { + if use examples ; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pyrsistent/pyrsistent-0.18.0.ebuild b/dev-python/pyrsistent/pyrsistent-0.18.0.ebuild index 5bb5c21cbd91..33004de446b3 100644 --- a/dev-python/pyrsistent/pyrsistent-0.18.0.ebuild +++ b/dev-python/pyrsistent/pyrsistent-0.18.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" BDEPEND=" test? ( diff --git a/dev-python/pyspectrum2/pyspectrum2-0.2.0.ebuild b/dev-python/pyspectrum2/pyspectrum2-0.2.0.ebuild index 979adadaa567..fd4ee52c2909 100644 --- a/dev-python/pyspectrum2/pyspectrum2-0.2.0.ebuild +++ b/dev-python/pyspectrum2/pyspectrum2-0.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 diff --git a/dev-python/python-axolotl-curve25519/python-axolotl-curve25519-0.4.1_p2-r1.ebuild b/dev-python/python-axolotl-curve25519/python-axolotl-curve25519-0.4.1_p2-r1.ebuild index 2991eb15381b..af5e50b5ff33 100644 --- a/dev-python/python-axolotl-curve25519/python-axolotl-curve25519-0.4.1_p2-r1.ebuild +++ b/dev-python/python-axolotl-curve25519/python-axolotl-curve25519-0.4.1_p2-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 @@ -13,9 +13,8 @@ MY_PV="${PV/_p/-}" DESCRIPTION="A python wrapper for the curve25519 library with ed25519 signatures" HOMEPAGE="https://github.com/tgalal/python-axolotl-curve25519" SRC_URI="https://github.com/tgalal/${PN}/archive/${MY_PV}.tar.gz -> ${PN}-${MY_PV}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" LICENSE="BSD GPL-3" SLOT="0" KEYWORDS="amd64 x86" - -S="${WORKDIR}/${PN}-${MY_PV}" diff --git a/dev-python/python-axolotl/python-axolotl-0.2.3-r1.ebuild b/dev-python/python-axolotl/python-axolotl-0.2.3-r1.ebuild index 82c1c843e3d2..a2251a23867d 100644 --- a/dev-python/python-axolotl/python-axolotl-0.2.3-r1.ebuild +++ b/dev-python/python-axolotl/python-axolotl-0.2.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 diff --git a/dev-python/python-mimeparse/python-mimeparse-1.6.0-r3.ebuild b/dev-python/python-mimeparse/python-mimeparse-1.6.0-r3.ebuild index 0dd659547701..4c127df6ab41 100644 --- a/dev-python/python-mimeparse/python-mimeparse-1.6.0-r3.ebuild +++ b/dev-python/python-mimeparse/python-mimeparse-1.6.0-r3.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" python_test() { "${EPYTHON}" mimeparse_test.py -v || die "Tests fail with ${EPYTHON}" diff --git a/dev-python/python-sense-hat/python-sense-hat-2.2.0-r2.ebuild b/dev-python/python-sense-hat/python-sense-hat-2.2.0-r2.ebuild index 927fd76386ef..cdbea99125b4 100644 --- a/dev-python/python-sense-hat/python-sense-hat-2.2.0-r2.ebuild +++ b/dev-python/python-sense-hat/python-sense-hat-2.2.0-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 diff --git a/dev-python/qtconsole/qtconsole-5.1.1.ebuild b/dev-python/qtconsole/qtconsole-5.1.1.ebuild index 9ca373716170..fc930f12af05 100644 --- a/dev-python/qtconsole/qtconsole-5.1.1.ebuild +++ b/dev-python/qtconsole/qtconsole-5.1.1.ebuild @@ -5,7 +5,6 @@ EAPI=8 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) PYTHON_REQ_USE="threads(+)" - inherit distutils-r1 DESCRIPTION="Qt-based console for Jupyter with support for rich media output" diff --git a/dev-python/recommonmark/recommonmark-0.7.1.ebuild b/dev-python/recommonmark/recommonmark-0.7.1.ebuild index b6bcef28e4fd..e498c8a86ea7 100644 --- a/dev-python/recommonmark/recommonmark-0.7.1.ebuild +++ b/dev-python/recommonmark/recommonmark-0.7.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/rtfd/recommonmark/archive/${PV}.tar.gz -> ${P}.tar.g LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/commonmark-0.8.1[${PYTHON_USEDEP}] diff --git a/dev-python/rtimulib/rtimulib-7.2.1-r1.ebuild b/dev-python/rtimulib/rtimulib-7.2.1-r1.ebuild index e73690100ae4..63a7957a0b8d 100644 --- a/dev-python/rtimulib/rtimulib-7.2.1-r1.ebuild +++ b/dev-python/rtimulib/rtimulib-7.2.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 @@ -14,9 +14,8 @@ MY_P="${MY_PN}-${PV}" DESCRIPTION="Python Binding for RTIMULib, a versatile IMU library" HOMEPAGE="https://github.com/RPi-Distro/RTIMULib" SRC_URI="https://github.com/RPi-Distro/${MY_PN}/archive/V${PV}.tar.gz -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}/Linux/python" LICENSE="MIT" SLOT="0" KEYWORDS="amd64 arm arm64 x86" - -S="${WORKDIR}/${MY_P}/Linux/python" diff --git a/dev-python/testscenarios/testscenarios-0.5.0-r1.ebuild b/dev-python/testscenarios/testscenarios-0.5.0-r1.ebuild index 8e56e300f4a3..dc5dbe25ec9a 100644 --- a/dev-python/testscenarios/testscenarios-0.5.0-r1.ebuild +++ b/dev-python/testscenarios/testscenarios-0.5.0-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/testtools/testtools-2.4.0-r1.ebuild b/dev-python/testtools/testtools-2.4.0-r1.ebuild index 85ae40e98b55..e08164b24e16 100644 --- a/dev-python/testtools/testtools-2.4.0-r1.ebuild +++ b/dev-python/testtools/testtools-2.4.0-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" RDEPEND=" >=dev-python/extras-1.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/thriftpy2/Manifest b/dev-python/thriftpy2/Manifest new file mode 100644 index 000000000000..e844d9323692 --- /dev/null +++ b/dev-python/thriftpy2/Manifest @@ -0,0 +1 @@ +DIST thriftpy2-0.4.14.tar.gz 127552 BLAKE2B 4061642fb14b60ba53e0c4e6342ead25f781ee923b718a6c557235fcbfe4219b4d8944894afe9783062e7950b689b909af6be5cefe3b634a476ec582adfefbed SHA512 0b248c4999b0a97287d8db3e5b79ac687bc7e25a5478ef125b479e0baf9be9d0aa5f9eaadf0612c228133295743ba913bfe69e7fe59a8d5f854a682da9d31c50 diff --git a/dev-python/thriftpy2/metadata.xml b/dev-python/thriftpy2/metadata.xml new file mode 100644 index 000000000000..0f2e57ded13c --- /dev/null +++ b/dev-python/thriftpy2/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> + </maintainer> + + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/thriftpy2/thriftpy2-0.4.14.ebuild b/dev-python/thriftpy2/thriftpy2-0.4.14.ebuild new file mode 100644 index 000000000000..7aa19cbabcdf --- /dev/null +++ b/dev-python/thriftpy2/thriftpy2-0.4.14.ebuild @@ -0,0 +1,39 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Pure python approach of Apache Thrift" +HOMEPAGE="https://github.com/Thriftpy/thriftpy2" +SRC_URI="https://github.com/Thriftpy/thriftpy2/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + dev-python/ply[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + www-servers/tornado[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests --install pytest + +python_prepare_all() { + rm tests/test_tornado.py || die + distutils-r1_python_prepare_all +} + +python_test() { + distutils_install_for_testing --via-root + pushd tests >/dev/null || die + epytest + popd >/dev/null || die +} diff --git a/dev-python/traitlets/traitlets-5.0.5.ebuild b/dev-python/traitlets/traitlets-5.0.5.ebuild index 6091aadf9d3d..2cf5d79c60a9 100644 --- a/dev-python/traitlets/traitlets-5.0.5.ebuild +++ b/dev-python/traitlets/traitlets-5.0.5.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) DISTUTILS_USE_SETUPTOOLS=no diff --git a/dev-python/ubelt/ubelt-0.9.5.ebuild b/dev-python/ubelt/ubelt-0.9.5.ebuild index 0458566cddd1..76aad88a89fc 100644 --- a/dev-python/ubelt/ubelt-0.9.5.ebuild +++ b/dev-python/ubelt/ubelt-0.9.5.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) @@ -28,6 +28,5 @@ python_test() { ubelt/util_path.py::userhome:0 ) - pytest -vv ${deselect[@]/#/--deselect } tests || - die "Tests fail with ${EPYTHON}" + epytest ${deselect[@]/#/--deselect } tests } diff --git a/dev-python/widgetsnbextension/widgetsnbextension-3.5.1-r1.ebuild b/dev-python/widgetsnbextension/widgetsnbextension-3.5.1-r1.ebuild index e4a13432676b..31da7b32a068 100644 --- a/dev-python/widgetsnbextension/widgetsnbextension-3.5.1-r1.ebuild +++ b/dev-python/widgetsnbextension/widgetsnbextension-3.5.1-r1.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) PYTHON_REQ_USE="threads(+)" diff --git a/dev-python/xdoctest/xdoctest-0.15.4.ebuild b/dev-python/xdoctest/xdoctest-0.15.4.ebuild index 4e468f5a86d2..4bcec68d1f32 100644 --- a/dev-python/xdoctest/xdoctest-0.15.4.ebuild +++ b/dev-python/xdoctest/xdoctest-0.15.4.ebuild @@ -1,11 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - inherit distutils-r1 DESCRIPTION="A rewrite of Python's builtin doctest module but without all the weirdness" |
