diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-08-02 01:37:06 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-08-02 01:37:06 +0000 |
| commit | 217889932ab486b46fce3dbf715f100b324236c3 (patch) | |
| tree | 9a44209cd1c032921f39ac65fcaaafa0e77be097 /dev-python | |
| parent | 44ab0453a34f437c4a5ffc9a3644828f47819bca (diff) | |
| download | baldeagleos-repo-217889932ab486b46fce3dbf715f100b324236c3.tar.gz baldeagleos-repo-217889932ab486b46fce3dbf715f100b324236c3.tar.xz baldeagleos-repo-217889932ab486b46fce3dbf715f100b324236c3.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
56 files changed, 644 insertions, 186 deletions
diff --git a/dev-python/arrow/arrow-1.1.1.ebuild b/dev-python/arrow/arrow-1.1.1.ebuild index fbbddd1ffbaa..114964753b10 100644 --- a/dev-python/arrow/arrow-1.1.1.ebuild +++ b/dev-python/arrow/arrow-1.1.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" RDEPEND=" >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}] diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index f7e8ec148182..335bfa0e7896 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -1,4 +1,2 @@ -DIST astroid-2.5.8.tar.gz 354281 BLAKE2B 70ee47c26b765ba9f9bd40cf120a9ce13709043738e20a08d201cdb899789c6c6bdc604aaab49c78b2888503b46321a1728cce656f39d70ce6877ac088cb9567 SHA512 ab2f413e399810e98bd61c837ac90674e7c6d8e2f4d32f3141b21bf1360c785831fc4afd347e755c97627a04cb482aa4e455897e1c02eec8c5fcd28c54c1e9fc DIST astroid-2.6.2.tar.gz 360787 BLAKE2B a2744b9ada601b731989f17ec75aa94d88825693a4ccf349374b8795b0db3879aa5bffe838df68759ff3296cd8af9cd45524e7d894a363f54055f3f1fa01e92e SHA512 776f8f9a12d425b7f048318b632dedb8894b6a3051a0607d1079437084aab4e9593e39cf9c7e01c2dd722364d2396cf13d7d26cc2acf33482d75584c458d4b89 -DIST astroid-2.6.4.tar.gz 364123 BLAKE2B 742d2bbe4a4056406b14a61d6aecb37d7add577b6f97b0649f22f7133a5ec0af30b0a7e195817681d014ae25fb69684d776a45948709cb6c2e349352da8960d4 SHA512 d81aee724804438565ab8d49b5df132e528989a3f746f9855ac841c98f06a85c72a7749492ed2856657895e948548f7f9293e4347f4247219065592d2eebf642 DIST astroid-2.6.5.tar.gz 364383 BLAKE2B 22da12e30bbb27ad93516ef18ebe64839fc1f7057a46fe82444c189bada942b32e00c314fe47eaecaf7cb2e7e047206152e1df98b4f46a40010bef9392721b9c SHA512 28c6fe2953f10f99c31af611644137d566489188459c9249e5621c4dc1c5fecb59c1ba3cc0bbab95c2609203388d1df299f0cb87a1fc3b3bb8b4ad3ad6b010a4 diff --git a/dev-python/astroid/astroid-2.5.8.ebuild b/dev-python/astroid/astroid-2.5.8.ebuild deleted file mode 100644 index c63d4beaa287..000000000000 --- a/dev-python/astroid/astroid-2.5.8.ebuild +++ /dev/null @@ -1,47 +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} ) - -inherit distutils-r1 - -DESCRIPTION="Abstract Syntax Tree for logilab packages" -HOMEPAGE=" - https://github.com/PyCQA/astroid/ - https://pypi.org/project/astroid/" -SRC_URI=" - https://github.com/PyCQA/astroid/archive/v${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86" - -# Version specified in __pkginfo__.py. -RDEPEND=" - >=dev-python/lazy-object-proxy-1.4.0[${PYTHON_USEDEP}] - >=dev-python/wrapt-1.11.2[${PYTHON_USEDEP}]" -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - dev-python/nose[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -python_test() { - local deselect=( - # no clue why it's broken - tests/unittest_modutils.py::GetModulePartTest::test_knownValues_get_builtin_module_part - ) - - # Faker causes sys.path_importer_cache keys to be overwritten - # with PosixPaths - epytest -p no:faker ${deselect[@]/#/--deselect } -} diff --git a/dev-python/astroid/astroid-2.6.4.ebuild b/dev-python/astroid/astroid-2.6.4.ebuild deleted file mode 100644 index 8ff40315092e..000000000000 --- a/dev-python/astroid/astroid-2.6.4.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Abstract Syntax Tree for logilab packages" -HOMEPAGE=" - https://github.com/PyCQA/astroid/ - https://pypi.org/project/astroid/" -SRC_URI=" - https://github.com/PyCQA/astroid/archive/v${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" - -# Version specified in __pkginfo__.py. -RDEPEND=" - >=dev-python/lazy-object-proxy-1.4.0[${PYTHON_USEDEP}] - >=dev-python/wrapt-1.11.2[${PYTHON_USEDEP}]" -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - dev-python/nose[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -python_test() { - local deselect=( - # no clue why it's broken - tests/unittest_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part - ) - - # Faker causes sys.path_importer_cache keys to be overwritten - # with PosixPaths - epytest -p no:faker ${deselect[@]/#/--deselect } -} diff --git a/dev-python/backports-entry_points_selectable/backports-entry_points_selectable-1.1.0.ebuild b/dev-python/backports-entry_points_selectable/backports-entry_points_selectable-1.1.0.ebuild index 434edc98c4af..5ad5e0b575ea 100644 --- a/dev-python/backports-entry_points_selectable/backports-entry_points_selectable-1.1.0.ebuild +++ b/dev-python/backports-entry_points_selectable/backports-entry_points_selectable-1.1.0.ebuild @@ -18,7 +18,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~hppa ~mips ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~sparc ~x86" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/commentjson/commentjson-0.9.0.ebuild b/dev-python/commentjson/commentjson-0.9.0.ebuild index 18f7461bfefa..7d5f0f8219a4 100644 --- a/dev-python/commentjson/commentjson-0.9.0.ebuild +++ b/dev-python/commentjson/commentjson-0.9.0.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" RDEPEND=" dev-python/lark-parser[${PYTHON_USEDEP}]" diff --git a/dev-python/emoji/Manifest b/dev-python/emoji/Manifest index 2be345fa88b1..1e807e3d57d9 100644 --- a/dev-python/emoji/Manifest +++ b/dev-python/emoji/Manifest @@ -1,3 +1 @@ -DIST emoji-0.5.4.tar.gz 43402 BLAKE2B a7d94af22d09159e23b160300f70372c08c095fae3be45e204e5be73a907cd4ffcbad00aeed4c85ec0048ae1a5fdedce52105bcfc1557217d3b53002e1770267 SHA512 20e592247f8bc9bc0a030181904d806b50768b444b728d074afa58896e258ca664b4983de5c51b7624b585edcd93e05a34b8df722f4d0eefb625ce11fbb63d0d -DIST emoji-1.2.1.tar.gz 158090 BLAKE2B c16ff949611f9453c3c073d466ddde75f31029fb4ec2160ba003dc94d1857c3d6f1de060220869f76fd94ab11539e7ea4bcff81211b7354c1f0e6bedc131e178 SHA512 b654494aab90c3ca4ec17331ba6504e2f16b46226170e170971f5f86553e025027e23d2e02020c899d5251e50bd8b78d4db3ea1a017b4eb371562595e4a9a5a7 DIST emoji-1.4.2.tar.gz 222120 BLAKE2B 8771c7289a41fc741c54b3096df4ba6099dfdc3bcdc72282c93c565376e8fdb2e5939949a206cb01bfb1f2d663f840cd958e4d762f9da45639c49e52f3410947 SHA512 abf7fcaa922963c990330ebb6fd26c1613ffbdcbd6cabdf44e977b54df4b9c80c30e70e0ed0a9d9311c2fb95423df052e4e9c22d95510eab10eb3754084622ed diff --git a/dev-python/emoji/emoji-0.5.4.ebuild b/dev-python/emoji/emoji-0.5.4.ebuild deleted file mode 100644 index 6e98fadf2715..000000000000 --- a/dev-python/emoji/emoji-0.5.4.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} ) - -inherit distutils-r1 - -DESCRIPTION="Emoji for Python" -HOMEPAGE="https://github.com/carpedm20/emoji/" -LICENSE="BSD" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64" - -BDEPEND="" -RDEPEND="" diff --git a/dev-python/emoji/emoji-1.2.1.ebuild b/dev-python/emoji/emoji-1.2.1.ebuild deleted file mode 100644 index 0fd5b89bbed0..000000000000 --- a/dev-python/emoji/emoji-1.2.1.ebuild +++ /dev/null @@ -1,18 +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} ) -inherit distutils-r1 - -DESCRIPTION="Emoji for Python" -HOMEPAGE="https://github.com/carpedm20/emoji/" -SRC_URI="https://github.com/carpedm20/emoji/archive/refs/tags/v.${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-v.${PV}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64" - -distutils_enable_tests pytest diff --git a/dev-python/exam/exam-0.10.6.ebuild b/dev-python/exam/exam-0.10.6.ebuild index 34727fc306ee..527c47edf11a 100644 --- a/dev-python/exam/exam-0.10.6.ebuild +++ b/dev-python/exam/exam-0.10.6.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# 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} ) @@ -19,4 +19,4 @@ RDEPEND=" dev-python/mock[${PYTHON_USEDEP}] " -distutils_enable_tests nose +distutils_enable_tests unittest diff --git a/dev-python/eyeD3/eyeD3-0.9.6.ebuild b/dev-python/eyeD3/eyeD3-0.9.6.ebuild index f1639d06fa06..67951ec1445d 100644 --- a/dev-python/eyeD3/eyeD3-0.9.6.ebuild +++ b/dev-python/eyeD3/eyeD3-0.9.6.ebuild @@ -3,7 +3,6 @@ EAPI=7 -DISTUTILS_USE_SETUPTOOLS=rdepend PYTHON_COMPAT=( python3_{6,7,8,9,10} ) inherit distutils-r1 diff --git a/dev-python/fido2/fido2-0.9.1.ebuild b/dev-python/fido2/fido2-0.9.1.ebuild index 13f676517fd0..ceb9fc0c3510 100644 --- a/dev-python/fido2/fido2-0.9.1.ebuild +++ b/dev-python/fido2/fido2-0.9.1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/Yubico/python-fido2/releases/download/${PV}/${P}.tar LICENSE="Apache-2.0 BSD-2 MIT MPL-2.0" SLOT="0/0.9" # Bumped every time a backwards-incompatible version is released -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~riscv x86" IUSE="examples" RESTRICT="test" # Tests require <dev-python/mock-4 diff --git a/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.5.1.ebuild b/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.5.1.ebuild index 928c86ebfac7..ce1edc1f6e0d 100644 --- a/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.5.1.ebuild +++ b/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.5.1.ebuild @@ -1,10 +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} pypy3 ) - inherit distutils-r1 MY_PN="Flask-SQLAlchemy" diff --git a/dev-python/flit/flit-3.2.0.ebuild b/dev-python/flit/flit-3.2.0.ebuild index a4425fca5a24..2e0423afed39 100644 --- a/dev-python/flit/flit-3.2.0.ebuild +++ b/dev-python/flit/flit-3.2.0.ebuild @@ -1,9 +1,8 @@ # Copyright 2019-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=8 +EAPI=7 -DISTUTILS_USE_SETUPTOOLS=pyproject.toml PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 @@ -14,6 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" +IUSE="test" RDEPEND=" >=dev-python/flit_core-3.2.0[${PYTHON_USEDEP}] @@ -22,7 +22,7 @@ RDEPEND=" dev-python/requests_download[${PYTHON_USEDEP}] dev-python/toml[${PYTHON_USEDEP}] " -BDEPEND=" +BDEPEND="${RDEPEND} sys-apps/grep sys-apps/findutils test? ( @@ -39,3 +39,10 @@ distutils_enable_tests pytest distutils_enable_sphinx doc \ dev-python/sphinxcontrib-github-alt \ dev-python/pygments-github-lexers \ + +python_prepare_all() { + printf -- "from setuptools import setup, find_packages\nsetup(name='%s',version='%s',%s)" \ + "${PN}" "${PV}" "packages=find_packages(exclude=['tests'])" > setup.py || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/flit/flit-3.3.0.ebuild b/dev-python/flit/flit-3.3.0.ebuild index 7aac596e790d..e2d42fa796d6 100644 --- a/dev-python/flit/flit-3.3.0.ebuild +++ b/dev-python/flit/flit-3.3.0.ebuild @@ -16,13 +16,13 @@ SLOT="0" KEYWORDS="~amd64 ~x86" RDEPEND=" - >=dev-python/flit_core-3.3.0[${PYTHON_USEDEP}] + >=dev-python/flit_core-3.2.0[${PYTHON_USEDEP}] dev-python/intreehooks[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] dev-python/requests_download[${PYTHON_USEDEP}] dev-python/toml[${PYTHON_USEDEP}] " -BDEPEND=" +BDEPEND="${RDEPEND} sys-apps/grep sys-apps/findutils test? ( diff --git a/dev-python/google-api-core/google-api-core-1.30.0.ebuild b/dev-python/google-api-core/google-api-core-1.30.0.ebuild index 226fc549154f..7079ecc79adf 100644 --- a/dev-python/google-api-core/google-api-core-1.30.0.ebuild +++ b/dev-python/google-api-core/google-api-core-1.30.0.ebuild @@ -15,7 +15,7 @@ S="${WORKDIR}/${P//google/python}" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 x86" RDEPEND=" dev-python/namespace-google[${PYTHON_USEDEP}] diff --git a/dev-python/google-auth/google-auth-1.32.1.ebuild b/dev-python/google-auth/google-auth-1.32.1.ebuild index b426bb5a42d2..bc039142f6fc 100644 --- a/dev-python/google-auth/google-auth-1.32.1.ebuild +++ b/dev-python/google-auth/google-auth-1.32.1.ebuild @@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 x86" RDEPEND=" dev-python/namespace-google[${PYTHON_USEDEP}] diff --git a/dev-python/hiredis/hiredis-2.0.0.ebuild b/dev-python/hiredis/hiredis-2.0.0.ebuild index 19f173e6e523..c648070967f1 100644 --- a/dev-python/hiredis/hiredis-2.0.0.ebuild +++ b/dev-python/hiredis/hiredis-2.0.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" +KEYWORDS="amd64 ~arm ~x86" IUSE="system-libs" DEPEND="system-libs? ( dev-libs/hiredis:0/1.0.0 )" diff --git a/dev-python/humanize/Manifest b/dev-python/humanize/Manifest index 4d4a890111f6..da21d1659948 100644 --- a/dev-python/humanize/Manifest +++ b/dev-python/humanize/Manifest @@ -1,2 +1,3 @@ DIST humanize-3.10.0.tar.gz 65658 BLAKE2B c60aff8f5e2044c10e997f3546b30e8ac7c040ee57aea5342ccce7ea6341a8695c1b94bdc8cb2acc18c3f421667fd4090b7b110b47aa229cd10d5ac8b42d6dae SHA512 f31929ddc1055fb54294b67e25e3b41883ef4e8ff9b76082cdd4703d64a066d0a368d116a60e26465f07dd3a0df8c87bb459ff1b03153d8843d3eefb06ff6961 +DIST humanize-3.11.0.tar.gz 67034 BLAKE2B 9e10582139578e8e041d1ce60c9c5d7e071c4c093a64cf620df6ff38f0567e8b2f3134f10722cb724d13343373db0fa2a1ae5bd68700ff85fb58ee318feb0fd0 SHA512 7aa3c513c6702de0e099865f787858de4c9c65cfe95af61fd0204ff6df64e7359474b4067b4672546936beae6c8c512dd9c75f555d7075c94819e81143c21ce9 DIST humanize-3.9.0.tar.gz 64229 BLAKE2B 09aeec6a92c8e2e104032d4c61f054785ff58ce2dda68c4f3acffb17c7fa4e262b28a24b7c06d33671ea18d2eb05c9bcc0a82d5491e60afa161ebc0041945bf2 SHA512 75aa8f9f6b07d4b65e5589c3f337a92ee17769ab8da6608147b0f1ec3965b95788dd90cf0d0cae1b7c9be689b44910029ee72e2eba39a60c9926b67726c74353 diff --git a/dev-python/humanize/humanize-3.11.0.ebuild b/dev-python/humanize/humanize-3.11.0.ebuild new file mode 100644 index 000000000000..02733a360bdd --- /dev/null +++ b/dev-python/humanize/humanize-3.11.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Common humanization utilities" +HOMEPAGE="https://github.com/jmoiron/humanize/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( dev-python/freezegun[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests --install pytest diff --git a/dev-python/importlib_metadata/Manifest b/dev-python/importlib_metadata/Manifest index 14c41bf5792d..d667193357e1 100644 --- a/dev-python/importlib_metadata/Manifest +++ b/dev-python/importlib_metadata/Manifest @@ -1,3 +1,4 @@ DIST importlib_metadata-4.5.0.tar.gz 39595 BLAKE2B 22ef03a47637f523b583cb8c442f7351e0b94633772978fea47dab9be583f35daa32691997b4110b832709658568b6eb79a006f109b969c6f25a638dcfcd4702 SHA512 62b9cefa502d751d36b5f43606ea86c46574fea159941b68319e5dd9aa53d6d990e630c36d72830c54eb2bba2f2be53201be2482974f833cc1da8869eb2a8dc2 DIST importlib_metadata-4.6.1.tar.gz 39801 BLAKE2B 89a792eee17f31a86c27820a0b3972cd8f6a06314763930ccdf0cfce31435f8074e6f8f27050d1618713ee6d517f0cd8dfba6a86b1e8917af2769ae22ac40cf5 SHA512 2a0bcef3d49de00a1013eac48f1ce020cb89ab895f5e4a1673b46a1ad8f84515148eff33608847331de8ee05d7e10040e128b2c887065d3ca16d0bd338c761c0 DIST importlib_metadata-4.6.2.tar.gz 39837 BLAKE2B c41ad332e7d54a8483928347c95bbae020e8fb1833667cd1864ee372d815a2b2e310ade7ff4d6df41c0e0bb9203e4714b4139e87f26ce81bc2c7810580425552 SHA512 01e0398e02bd04293c4135dac8eae9412bed119773d830895d34383afb9a7f883291a6b9943d654cfba4abe9a56f3e0d3625f1e6e83fbf85d6ee6c6613b2bd9e +DIST importlib_metadata-4.6.3.tar.gz 39852 BLAKE2B a6ab735a8471cddbdd1cefcbbabb29664a8dc96c4163a361422066081f00ffb627612a4b7522cd636de9cb030d0add61dcbb38d085dc759f810239017bb5f681 SHA512 b34b3384bfa1043a1b366505c43fb8a8f0a3a055637cd745009095026dc8a1424c1065fbff5a9170523a3b9b0a48951b615dc64b7bf096bbc2c40261fa200e60 diff --git a/dev-python/importlib_metadata/importlib_metadata-4.6.3.ebuild b/dev-python/importlib_metadata/importlib_metadata-4.6.3.ebuild new file mode 100644 index 000000000000..ff9c09d60191 --- /dev/null +++ b/dev-python/importlib_metadata/importlib_metadata-4.6.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# NB: this package extends beyond built-in importlib stuff in py3.8+ +# new entry_point API not yet included in cpython release +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 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + $(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' pypy3) + dev-python/zipp[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pyfakefs[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/importlib_resources[${PYTHON_USEDEP}] + ' pypy3 python3_8) + ) +" + +distutils_enable_sphinx docs dev-python/jaraco-packaging 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_resources/importlib_resources-5.2.2.ebuild b/dev-python/importlib_resources/importlib_resources-5.2.2.ebuild index 3122ce294d47..46c39be70d5e 100644 --- a/dev-python/importlib_resources/importlib_resources-5.2.2.ebuild +++ b/dev-python/importlib_resources/importlib_resources-5.2.2.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 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/intelhex/intelhex-2.3.0.ebuild b/dev-python/intelhex/intelhex-2.3.0.ebuild index f439ee7a0514..3cdb633e45f2 100644 --- a/dev-python/intelhex/intelhex-2.3.0.ebuild +++ b/dev-python/intelhex/intelhex-2.3.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} ) @@ -13,6 +13,6 @@ SRC_URI="mirror://pypi/I/IntelHex/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~mips ~x86" +KEYWORDS="amd64 ~arm ~mips ~riscv ~x86" distutils_enable_tests setup.py diff --git a/dev-python/ipython/Manifest b/dev-python/ipython/Manifest index 96c70171a65b..2a45f4009beb 100644 --- a/dev-python/ipython/Manifest +++ b/dev-python/ipython/Manifest @@ -1,2 +1,3 @@ DIST ipython-7.24.1.tar.gz 5146561 BLAKE2B ae63d024f488f44dbd61eb9f3e14ac5b8ad801b1db195632c184c6106d4c2e6d6143c1524ae6fc5a2f6f631683b73f241c9115c439c0f97a4fe540cc232fb181 SHA512 0ea8843a1f2e7f9357ff9896f2b6da058adb5fcbbad5c3b1fc4138a085eb57034c62c0b50d82dea0e563523649ec112edd4ef0c267a914f6a7d33b44be30b977 DIST ipython-7.25.0.tar.gz 5147224 BLAKE2B 0a2ae7cd315ba1abde18cdfcb7ed5227e5fc43b9a053f82e7db0146cbec66b0c2a1585158e60c37559523b457ab339ad42ab8fb3fccfc9e5ea7b880593de2e73 SHA512 726d3577bfb05d0c01c55d7111f8ee03fa879427de0750ee25b0a6451365728b5fb8ccf79c42585268f768680b13f628956d292f27b9e622e5dee0b4d368d22b +DIST ipython-7.26.0.tar.gz 5147847 BLAKE2B c0cb45550387e47bba6ea67656bbb4561a2250bf9c39b4560b26a8a9e380061f79c5fa663f90df166af1fa49811cb59953fb367b2fea5f07d44ba3f9dae3de44 SHA512 142ff8ebddd61640e6ebff01d16b1310b6370643aa8cf4c7fd076872ad342949a1778c5ad74eccbafdc6b4d31a1849e096d75a28eafc555d629948db523b4776 diff --git a/dev-python/ipython/ipython-7.26.0.ebuild b/dev-python/ipython/ipython-7.26.0.ebuild new file mode 100644 index 000000000000..7c3fa4fbea7e --- /dev/null +++ b/dev-python/ipython/ipython-7.26.0.ebuild @@ -0,0 +1,148 @@ +# Copyright 1999-2021 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 ~riscv ~sparc ~x86" +IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/backcall[${PYTHON_USEDEP}] + dev-python/decorator[${PYTHON_USEDEP}] + >=dev-python/jedi-0.16[${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}] + dev-python/matplotlib-inline[${PYTHON_USEDEP}] + ) +" + +BDEPEND=" + test? ( + app-text/dvipng[truetype] + >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/matplotlib-inline[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + >=dev-python/numpy-1.17[${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}] + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +RDEPEND+=" + nbconvert? ( + dev-python/nbconvert[${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 + + # Rename the test directory to reduce sys.path pollution + # https://github.com/ipython/ipython/issues/12892 + mv IPython/extensions/{,ipython_}tests || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + if use doc; then + emake -C docs html_noapi + HTML_DOCS=( docs/build/html/. ) + fi +} + +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() { + 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/js2py/js2py-0.71.ebuild b/dev-python/js2py/js2py-0.71.ebuild index 66dbc91bac2b..1ea23494dab3 100644 --- a/dev-python/js2py/js2py-0.71.ebuild +++ b/dev-python/js2py/js2py-0.71.ebuild @@ -22,7 +22,7 @@ SRC_URI="https://github.com/PiotrDabkowski/${MY_PN}/archive/${MY_COMMIT}.tar.gz LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" RDEPEND=" >=dev-python/pyjsparser-2.5.1[${PYTHON_USEDEP}] diff --git a/dev-python/kafka-python/Manifest b/dev-python/kafka-python/Manifest index 1db6ff139ac4..85b0e67e3638 100644 --- a/dev-python/kafka-python/Manifest +++ b/dev-python/kafka-python/Manifest @@ -1 +1,2 @@ DIST kafka-python-1.4.7.tar.gz 352844 BLAKE2B 812c185bf19f3398c358722a44feb572693556ec671d07f2d74d63e45473f5b6d35390cc0fa2c95b8c42a15b635237ffa3c3829adde1f60a7611ce4fdf06f587 SHA512 5bbf9f998fba12e8e7c67a48e82b04e745f1ac528684e91b7454e825656e4a68b8c369984308cff575241b7f808f52f16ab02b7effd6d6b4319215f44ae4748e +DIST kafka-python-2.0.2.tar.gz 327238 BLAKE2B 9d8bdee1cedcc3c7c0bee9d900bb815552b29f50ec45b7db9d1052a26eb772c84d92648ccc0d498189fc44314f5c8c30529fa61cb983481f2e2480e009630f91 SHA512 e193a8fe5852d2134e854749115feba46a0b8ff748336989a27bf56acba1124dbb8a5d841670a67ee26eef030a686d931d03d329f978b2eef7904183e83d2594 diff --git a/dev-python/kafka-python/kafka-python-2.0.2.ebuild b/dev-python/kafka-python/kafka-python-2.0.2.ebuild new file mode 100644 index 000000000000..8023ccb97b86 --- /dev/null +++ b/dev-python/kafka-python/kafka-python-2.0.2.ebuild @@ -0,0 +1,43 @@ +# 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 optfeature + +DESCRIPTION="Kafka protocol support in Python" +HOMEPAGE="https://github.com/dpkp/kafka-python/ https://pypi.org/project/kafka-python/" +SRC_URI="https://github.com/dpkp/kafka-python/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/xxhash[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/lz4[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/snappy[${PYTHON_USEDEP}] + dev-python/zstandard[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +python_test() { + local deselect=( + # Needs the unpackaged crc32c module + test/record/test_util.py::test_crc32c[None] + # Needs kafka server running + test/test_consumer_integration.py::test_kafka_consumer_offsets_for_time_old + ) + epytest ${deselect[@]/#/--deselect } +} + +pkg_postinst() { + optfeature "LZ4 compression/decompression support" dev-python/lz4 + optfeature "Snappy compression support" dev-python/snappy + optfeature "ZSTD compression/decompression support" dev-python/zstandard +} diff --git a/dev-python/lark-parser/lark-parser-0.11.3.ebuild b/dev-python/lark-parser/lark-parser-0.11.3.ebuild index 080263ee531f..26f017578c91 100644 --- a/dev-python/lark-parser/lark-parser-0.11.3.ebuild +++ b/dev-python/lark-parser/lark-parser-0.11.3.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/numpy/numpy-1.21.1.ebuild b/dev-python/numpy/numpy-1.21.1.ebuild index bc578df2aa4b..5db7f98edfaf 100644 --- a/dev-python/numpy/numpy-1.21.1.ebuild +++ b/dev-python/numpy/numpy-1.21.1.ebuild @@ -22,7 +22,7 @@ SRC_URI=" )" 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 ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc lapack" RDEPEND=" diff --git a/dev-python/opt-einsum/opt-einsum-3.3.0.ebuild b/dev-python/opt-einsum/opt-einsum-3.3.0.ebuild index 23c6c0e8fce8..f63f2d2f83fe 100644 --- a/dev-python/opt-einsum/opt-einsum-3.3.0.ebuild +++ b/dev-python/opt-einsum/opt-einsum-3.3.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/pip/Manifest b/dev-python/pip/Manifest index d9a8e6a29722..383e4a15012c 100644 --- a/dev-python/pip/Manifest +++ b/dev-python/pip/Manifest @@ -1,5 +1,6 @@ DIST pip-21.1.3.tar.gz 8772944 BLAKE2B 4c50fcb7c05e05d11b137d08547d9d55f19687442b8d44caf05d19917b200bcf860032cb28745e41d51afda80a7ac09d60afb8d619ade5b965ed87bac1133006 SHA512 21bdc78f24751981ae49c9fda0430fc92b8d33eb7a546bc344e8cea4aa85dcd42191ef8eb3fdfb4f3d1cb5921698f819d73e6e190d8745cf7ddfa52732d95999 DIST pip-21.2.1.tar.gz 8781474 BLAKE2B 6a6a4972de31cea2f9ee2d70df00acec65efe344fa13e56ecf9b2f55125baa2effb30bf25c7649f5f30b2ecf9b5ebb7d32dc0f2dfa101444510c8573bd0c60be SHA512 2fff39703eb387ded66552ee62c2b3e4d18da6e8a904399919a5c51f65ddf1695ad410408fe5370877a1ce9992e7c07e091a1852dfb136ce5580e31fc1c03b81 +DIST pip-21.2.2.tar.gz 8785943 BLAKE2B 3e99a4e6e01b6239ff5a45097bbae8ba3459a16d0e78f8da4fc1be0ef5986962d30ea8e376705cd7b88198e324e700d04ee25fc6d1d9faa9bb6a76ae89efd38f SHA512 81ec1819481fa2378404c580a4c60fc48b03ae9bd5c945a3def4af331c530efb19949ab45dcb4be5835673b65299e0245c28c6653f9f60eaf86be472fd31faa1 DIST setuptools-57.4.0-py3-none-any.whl 819017 BLAKE2B afba86cf9aeea58ee869fdc11bbb192abbf2f89710e468b90dc291fec228ca16202483e36195a5ad4e2b8d210326bc83e2be6ec696ab413d94ffaeb05bb9c030 SHA512 9bf230f4e0e72acab07ab372a6ca05adb3d175a8079d2f73d327c632f3d27b8ee10442d3e60f4c94a6e61d5ba2212fc78187ca6e1717e15bb570bdce4263fd0b DIST virtualenv-16.7.11.tar.gz 8134533 BLAKE2B ea81e11c210d911bf9576edf7b1754721b270adcc5d9633415d33b8f659149d64932fe2d366200121ec00c266c25dae380e248add438fc357477114eba4dfb4e SHA512 82d0d2a964508511e8e1686703581ff543f65791dc2449d9741d46ea57c4c89673947d2477ba374176f05fcea2a5ca572aa650c61c4f3271c4d73d1ff9d9ff42 DIST wheel-0.36.2-py2.py3-none-any.whl 35046 BLAKE2B bc4e8dab7c74eea34d3b4a813b7eaf6295a99a396a861b6cdd76f743043e89140bad132bdd13e385e8945ce02e0798e1d3ac73fc1b23bde5b2a83e4bb4dd5cdc SHA512 6bb5119b4d3704fe1e3c1eaaa3124edab13f61b46f8a0a8e75974fac4e5b25d8b53606071a03a8d8990ad1cfe2ab247ddea260098df2c0c35ae965be47080284 diff --git a/dev-python/pip/pip-21.2.2.ebuild b/dev-python/pip/pip-21.2.2.ebuild new file mode 100644 index 000000000000..53bbe7b92a96 --- /dev/null +++ b/dev-python/pip/pip-21.2.2.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +PYTHON_REQ_USE="ssl(+),threads(+)" + +inherit bash-completion-r1 distutils-r1 + +# setuptools & wheel .whl files are required for testing, +# the exact version is not very important. +SETUPTOOLS_WHL="setuptools-57.4.0-py3-none-any.whl" +WHEEL_WHL="wheel-0.36.2-py2.py3-none-any.whl" +# upstream still requires virtualenv-16 for testing, we are now fetching +# it directly to avoid blockers with virtualenv-20 +VENV_PV=16.7.11 + +DESCRIPTION="Installs python packages -- replacement for easy_install" +HOMEPAGE=" + https://pip.pypa.io/en/stable/ + https://pypi.org/project/pip/ + https://github.com/pypa/pip/" +SRC_URI=" + https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + test? ( + https://files.pythonhosted.org/packages/py3/s/setuptools/${SETUPTOOLS_WHL} + https://files.pythonhosted.org/packages/py2.py3/w/wheel/${WHEEL_WHL} + https://github.com/pypa/virtualenv/archive/${VENV_PV}.tar.gz + -> virtualenv-${VENV_PV}.tar.gz + ) +" + +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +SLOT="0" +IUSE="test vanilla" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/scripttest[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + ) +" + +python_prepare_all() { + local PATCHES=( + "${FILESDIR}/${PN}-21.1-no-coverage.patch" + ) + if ! use vanilla; then + PATCHES+=( "${FILESDIR}/pip-20.0.2-disable-system-install.patch" ) + fi + + distutils-r1_python_prepare_all + + if use test; then + mkdir tests/data/common_wheels/ || die + cp "${DISTDIR}"/{${SETUPTOOLS_WHL},${WHEEL_WHL}} \ + tests/data/common_wheels/ || die + fi +} + +python_test() { + if [[ ${EPYTHON} == pypy* ]]; then + ewarn "Skipping tests on ${EPYTHON} since they are very broken" + return 0 + fi + + local deselect=( + tests/functional/test_install.py::test_double_install_fail + tests/functional/test_list.py::test_multiple_exclude_and_normalization + 'tests/unit/test_commands.py::test_index_group_handle_pip_version_check[False-False-True-download]' + 'tests/unit/test_commands.py::test_index_group_handle_pip_version_check[False-False-True-install]' + 'tests/unit/test_commands.py::test_index_group_handle_pip_version_check[False-False-True-list]' + 'tests/unit/test_commands.py::test_index_group_handle_pip_version_check[False-False-True-wheel]' + tests/functional/test_install.py::test_install_pip_does_not_modify_pip_when_satisfied + # Internet + tests/functional/test_install.py::test_install_editable_with_prefix_setup_cfg + ) + + [[ ${EPYTHON} == python3.10 ]] && deselect+=( + tests/lib/test_lib.py::test_correct_pip_version + # uses vendored packaging that uses deprecated distutils + tests/functional/test_warning.py::test_pip_works_with_warnings_as_errors + ) + + distutils_install_for_testing + pushd "${WORKDIR}/virtualenv-${VENV_PV}" >/dev/null || die + distutils_install_for_testing + popd >/dev/null || die + + local -x GENTOO_PIP_TESTING=1 \ + PATH="${TEST_DIR}/scripts:${PATH}" \ + PYTHONPATH="${TEST_DIR}/lib:${BUILD_DIR}/lib" + epytest ${deselect[@]/#/--deselect } -m "not network" +} + +python_install_all() { + # Prevent dbus auto-launch + # https://bugs.gentoo.org/692178 + export DBUS_SESSION_BUS_ADDRESS="disabled:" + + local DOCS=( AUTHORS.txt docs/html/**/*.rst ) + distutils-r1_python_install_all + + COMPLETION="${T}"/completion.tmp + + # 'pip completion' command embeds full $0 into completion script, which confuses + # 'complete' and causes QA warning when running as "${PYTHON} -m pip". + # This trick sets correct $0 while still calling just installed pip. + local pipcmd='import sys; sys.argv[0] = "pip"; from pip._internal.cli.main import main; sys.exit(main())' + + ${PYTHON} -c "${pipcmd}" completion --bash > "${COMPLETION}" || die + newbashcomp "${COMPLETION}" ${PN} + + ${PYTHON} -c "${pipcmd}" completion --zsh > "${COMPLETION}" || die + insinto /usr/share/zsh/site-functions + newins "${COMPLETION}" _pip +} diff --git a/dev-python/platformdirs/platformdirs-2.0.2.ebuild b/dev-python/platformdirs/platformdirs-2.0.2.ebuild index 533b8af95f91..c11c9283251c 100644 --- a/dev-python/platformdirs/platformdirs-2.0.2.ebuild +++ b/dev-python/platformdirs/platformdirs-2.0.2.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~hppa ~mips ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~sparc ~x86" BDEPEND=" test? ( dev-python/appdirs[${PYTHON_USEDEP}] )" diff --git a/dev-python/priority/priority-2.0.0.ebuild b/dev-python/priority/priority-2.0.0.ebuild index 37826c00847a..a132fe9661f3 100644 --- a/dev-python/priority/priority-2.0.0.ebuild +++ b/dev-python/priority/priority-2.0.0.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" 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" BDEPEND=" test? ( >=dev-python/hypothesis-3.4.2[${PYTHON_USEDEP}] ) diff --git a/dev-python/pyclipper/pyclipper-1.3.0.ebuild b/dev-python/pyclipper/pyclipper-1.3.0.ebuild index beedc151bf11..e0136ec0c5a1 100644 --- a/dev-python/pyclipper/pyclipper-1.3.0.ebuild +++ b/dev-python/pyclipper/pyclipper-1.3.0.ebuild @@ -13,7 +13,7 @@ S="${WORKDIR}/${P/_p/.post}" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" IUSE="" BDEPEND=" diff --git a/dev-python/pydyf/pydyf-0.0.3.ebuild b/dev-python/pydyf/pydyf-0.0.3.ebuild index 00fcddeb6c7e..9a4a17a20f94 100644 --- a/dev-python/pydyf/pydyf-0.0.3.ebuild +++ b/dev-python/pydyf/pydyf-0.0.3.ebuild @@ -20,7 +20,10 @@ SLOT="0" KEYWORDS="~amd64 ~x86" BDEPEND=" - test? ( dev-python/pillow[${PYTHON_USEDEP}] )" + test? ( + app-text/ghostscript-gpl + dev-python/pillow[${PYTHON_USEDEP}] + )" distutils_enable_tests pytest diff --git a/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421.ebuild b/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421.ebuild index 3b0e53c44a02..a53579bf61a0 100644 --- a/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421.ebuild +++ b/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/PiotrDabkowski/${PN}/archive/${MY_COMMIT}.tar.gz -> RESTRICT="!test? ( test )" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" IUSE="test" BDEPEND=" diff --git a/dev-python/pyphen/metadata.xml b/dev-python/pyphen/metadata.xml index 37d5282ee704..26fa79537957 100644 --- a/dev-python/pyphen/metadata.xml +++ b/dev-python/pyphen/metadata.xml @@ -5,6 +5,10 @@ <email>whissi@gentoo.org</email> <name>Thomas Deutschmann</name> </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> <upstream> <remote-id type="pypi">Pyphen</remote-id> </upstream> diff --git a/dev-python/pyphen/pyphen-0.11.0.ebuild b/dev-python/pyphen/pyphen-0.11.0-r1.ebuild index 37c87c1e16e6..515d7e6666bc 100644 --- a/dev-python/pyphen/pyphen-0.11.0.ebuild +++ b/dev-python/pyphen/pyphen-0.11.0-r1.ebuild @@ -18,7 +18,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86" BDEPEND=" - >=dev-python/pyproject2setuppy-17[${PYTHON_USEDEP}]" + >=dev-python/pyproject2setuppy-18[${PYTHON_USEDEP}]" distutils_enable_tests pytest diff --git a/dev-python/pyproject2setuppy/Manifest b/dev-python/pyproject2setuppy/Manifest index c3848107cca4..9ff671a0e8d1 100644 --- a/dev-python/pyproject2setuppy/Manifest +++ b/dev-python/pyproject2setuppy/Manifest @@ -1 +1,2 @@ DIST pyproject2setuppy-17.tar.gz 12191 BLAKE2B 5be19c9e70abf37d776649237581b1cb281331585c6ffa312f63e50bd2fd8104972861b38958272d5eced086b2a60ed370437807d1eeb382e4ad0cde5f03b0db SHA512 0291f9ad1c3059a4ccd366d8f1078ffd57de89cc128e996126f62a92ac4dded9c7da25be1325ca9f660062ba3a65fd01d62d4ffb22084cec7f4aba79e552ae2f +DIST pyproject2setuppy-18.tar.gz 12566 BLAKE2B 424aac4c89f498cca61b18bc1e8da3dd72324014d04b2a1e0b7d9aad48b445ddf95117902f6f2d80f9c0e1f3ac808d22dc62b31a2bc41f59820765e49de56a48 SHA512 f29f262ea59cccb698e82de630c8de40fae5a758e71b741c5c5e26639813bc45de13d1479b92a92aaee24edc71ea6f66b0484bba765c4d66eb10e0487bdef080 diff --git a/dev-python/pyproject2setuppy/pyproject2setuppy-18.ebuild b/dev-python/pyproject2setuppy/pyproject2setuppy-18.ebuild new file mode 100644 index 000000000000..5de6536a8bad --- /dev/null +++ b/dev-python/pyproject2setuppy/pyproject2setuppy-18.ebuild @@ -0,0 +1,30 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=manual +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Cheap setup.py hack to install flit & poetry-based projects" +HOMEPAGE="https://github.com/mgorny/pyproject2setuppy" +SRC_URI=" + https://github.com/mgorny/pyproject2setuppy/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}]" +BDEPEND="${RDEPEND} + test? ( + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest diff --git a/dev-python/pyscard/pyscard-2.0.1.ebuild b/dev-python/pyscard/pyscard-2.0.1.ebuild index 331ae519fd97..f512534dec96 100644 --- a/dev-python/pyscard/pyscard-2.0.1.ebuild +++ b/dev-python/pyscard/pyscard-2.0.1.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 ~arm x86" +KEYWORDS="amd64 ~arm ~riscv x86" RDEPEND="sys-apps/pcsc-lite" DEPEND="${RDEPEND}" diff --git a/dev-python/pytest-tempdir/pytest-tempdir-2019.10.12.ebuild b/dev-python/pytest-tempdir/pytest-tempdir-2019.10.12.ebuild index d65c9b8ba5b3..52ab8975baa9 100644 --- a/dev-python/pytest-tempdir/pytest-tempdir-2019.10.12.ebuild +++ b/dev-python/pytest-tempdir/pytest-tempdir-2019.10.12.ebuild @@ -14,13 +14,4 @@ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="amd64 ~arm ~arm64 x86" -BDEPEND=" - >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - distutils_install_for_testing - pytest -vv || die "Tests failed with ${EPYTHON}" -} +distutils_enable_tests --install pytest diff --git a/dev-python/pyusb/pyusb-1.2.1.ebuild b/dev-python/pyusb/pyusb-1.2.1.ebuild index 9ff3fa79a501..881ec9e6beae 100644 --- a/dev-python/pyusb/pyusb-1.2.1.ebuild +++ b/dev-python/pyusb/pyusb-1.2.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86" ### This version is compatible with both 0.X and 1.X versions of libusb DEPEND="virtual/libusb:=" diff --git a/dev-python/qrcode/qrcode-7.1.ebuild b/dev-python/qrcode/qrcode-7.1.ebuild index 389083c86a81..7304e379179c 100644 --- a/dev-python/qrcode/qrcode-7.1.ebuild +++ b/dev-python/qrcode/qrcode-7.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~x86" # optional deps: # - pillow and lxml for svg backend, set as hard deps diff --git a/dev-python/qtconsole/qtconsole-5.1.1.ebuild b/dev-python/qtconsole/qtconsole-5.1.1.ebuild index fc930f12af05..54d58a61b98a 100644 --- a/dev-python/qtconsole/qtconsole-5.1.1.ebuild +++ b/dev-python/qtconsole/qtconsole-5.1.1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" RDEPEND=" dev-python/ipykernel[${PYTHON_USEDEP}] diff --git a/dev-python/resolvelib/resolvelib-0.7.1.ebuild b/dev-python/resolvelib/resolvelib-0.7.1.ebuild index 2ef1bfb80483..55fc8d8a9cfb 100644 --- a/dev-python/resolvelib/resolvelib-0.7.1.ebuild +++ b/dev-python/resolvelib/resolvelib-0.7.1.ebuild @@ -14,7 +14,7 @@ SRC_URI=" LICENSE="ISC" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" BDEPEND=" test? ( diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 07b0397c7006..9b1d030251fd 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -1,2 +1,3 @@ DIST tox-3.23.1.tar.gz 303896 BLAKE2B d59160035a6412a69f9434bfb5b2b27aa9a2ebd5344b4898b677dac15dc91ab94feca67b8edde4c0ba68c8a6a12fa885091d82a088439257e9393a99e77ade88 SHA512 ec5daf106287b265d1abec8465df8ad053ecf59876038a7cb419a57e22373809e50f8131736762dc485f559363b1878abb49d909e7b6952b2e49eea77c193281 DIST tox-3.24.0.tar.gz 304960 BLAKE2B 5f6256d27d75651929f2d4d511f6137f20c71ab44c57e5b908c0ba92d5d7998ad5df69bd937a963bdf27625eefb222b9be2c7dffbf44684092ef345f4e33d0ba SHA512 94879cb65c1d41cfca02b23c7d540b93f5d3667ce72135969c584f09e00e3a246d80851f7cefad1e199f0a56c526e4ffa31c2938428b6632a38ad72388925dcd +DIST tox-3.24.1.tar.gz 305886 BLAKE2B fcedf8054a19a79045b2edead599fb11b7942986fa4bbc184140603e3bc6700eada452e661f4a576d029804ab2a9282df0cf9198eee9b483c2c6c68b086ee156 SHA512 e4bfb3dab15887ce6432a91b88a7387179cbf2a5ab5fa608b3f1f7349be4122d76ce01d396ae9b1515c211f2905d110a8414e254cc72bcf8a74542db98ea52de diff --git a/dev-python/tox/tox-3.24.1.ebuild b/dev-python/tox/tox-3.24.1.ebuild new file mode 100644 index 000000000000..45a436b5923c --- /dev/null +++ b/dev-python/tox/tox-3.24.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="virtualenv-based automation of test activities" +HOMEPAGE="https://tox.readthedocs.io https://github.com/tox-dev/tox https://pypi.org/project/tox/" +SRC_URI="https://github.com/tox-dev/tox/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +# doc disabled because of missing deps in tree +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/filelock[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-1.1[${PYTHON_USEDEP}] + ' pypy3) + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/py[${PYTHON_USEDEP}] + >=dev-python/six-1.14[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] + >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]" +# TODO: figure out how to make tests work without the package being +# installed first. +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + >=dev-python/flaky-3.4.0[${PYTHON_USEDEP}] + >=dev-python/freezegun-0.3.11[${PYTHON_USEDEP}] + >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + )" + +src_configure() { + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +python_test() { + local deselect=( + # broken without Internet + tests/unit/session/test_provision.py::test_provision_non_canonical_dep + tests/integration/test_provision_int.py::test_provision_interrupt_child + + # expects python2 to exist + tests/unit/interpreters/test_interpreters.py::test_tox_get_python_executable + ) + + [[ ${EPYTHON} != pypy3 ]] && deselect+=( + # TODO? + tests/unit/interpreters/test_interpreters.py::test_find_alias_on_path + + # broken without tox installed first + # TODO: why it can't import itself? + tests/integration/test_parallel_interrupt.py::test_parallel_interrupt + ) + + distutils_install_for_testing --via-venv + epytest --no-network ${deselect[@]/#/--deselect } +} diff --git a/dev-python/uvloop/uvloop-0.15.3-r1.ebuild b/dev-python/uvloop/uvloop-0.15.3-r1.ebuild index 901d079a3b06..e34e3d4c337a 100644 --- a/dev-python/uvloop/uvloop-0.15.3-r1.ebuild +++ b/dev-python/uvloop/uvloop-0.15.3-r1.ebuild @@ -10,7 +10,7 @@ DESCRIPTION="Ultra-fast implementation of asyncio event loop on top of libuv" HOMEPAGE="https://github.com/magicstack/uvloop" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -KEYWORDS="~amd64" +KEYWORDS="~alpha ~amd64" LICENSE="MIT" SLOT="0" IUSE="doc examples" diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest index 72e15fcdbb74..db0e37a80ddb 100644 --- a/dev-python/virtualenv/Manifest +++ b/dev-python/virtualenv/Manifest @@ -1,2 +1,3 @@ DIST virtualenv-20.4.7.tar.gz 10625204 BLAKE2B 1233ea45f771fb425b99c966904e2c5444e5fcb617b1d7cd34cdac097ee15566b7f4c841d444393723ed369193f33bef90ea7caa5b3c20aaf65fbde2f865abf7 SHA512 a554fb32cc46cb1cef2a2655bdae598efb52a4e71223eb10d9a36b124390546250aa11cf7da991a41ef4697523ec4562a31e35b5ab7ee8aba748ea4ff28e088b DIST virtualenv-20.6.0.tar.gz 8700762 BLAKE2B 718bbfda175ab4ef0820ba66b480060c0371c54a3e6c622c816d8c30141951c85b4f461fa03f71912a767b8d6a40733ab253062466e38a4a2e18b3169812e6a1 SHA512 7eff570f407a4986336d5a34bdcab1621d953aa6900d41962a85a5a44d7b68d378cda4a1bc1ddbfbc468580e051a98c37be17b0a52babbb00166718a987a591c +DIST virtualenv-20.7.0.tar.gz 8714219 BLAKE2B 81b5ee144614a7c854e03599270d03454f991520e8381b98ef01b64e91bb7520a3949e5af9710ceb6292be6b7b7e3738ed7a08324b5ada37f8f4941b408fb425 SHA512 af0f993045013814d9397419fc9d789a1ad64dc53818cbeceb5146e418a8535f76b74ed36b4b164d6974660be77de91cda244eb70b810c8c9fb522ba1088813a diff --git a/dev-python/virtualenv/virtualenv-20.7.0.ebuild b/dev-python/virtualenv/virtualenv-20.7.0.ebuild new file mode 100644 index 000000000000..0edb9f2dc5a6 --- /dev/null +++ b/dev-python/virtualenv/virtualenv-20.7.0.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +DISTUTILS_USE_SETUPTOOLS=manual + +inherit distutils-r1 + +DESCRIPTION="Virtual Python Environment builder" +HOMEPAGE=" + https://virtualenv.pypa.io/en/stable/ + https://pypi.org/project/virtualenv/ + https://github.com/pypa/virtualenv/ +" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~sparc ~x86" +SLOT="0" + +RDEPEND=" + >=dev-python/backports-entry_points_selectable-1.0.4[${PYTHON_USEDEP}] + >=dev-python/distlib-0.3.1[${PYTHON_USEDEP}] + >=dev-python/filelock-3[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2[${PYTHON_USEDEP}] + >=dev-python/setuptools-41[${PYTHON_USEDEP}] + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-0.12[${PYTHON_USEDEP}] + ' pypy3)" +# coverage is used somehow magically in virtualenv, maybe it actually +# tests something useful +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + >=dev-python/pip-20.0.2[${PYTHON_USEDEP}] + >=dev-python/pytest-freezegun-0.4.1[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-2.0.0[${PYTHON_USEDEP}] + >=dev-python/pytest-timeout-1.3.4[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + )" + +# (unpackaged deps) +#distutils_enable_sphinx docs \ +# dev-python/sphinx-argparse \ +# dev-python/sphinx_rtd_theme \ +# dev-python/towncrier +distutils_enable_tests pytest + +src_configure() { + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +python_test() { + local deselect=( + tests/unit/activation/test_xonsh.py + tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data + tests/unit/create/test_creator.py::test_cross_major + ) + [[ ${EPYTHON} == pypy3 ]] && deselect+=( + 'tests/unit/create/test_creator.py::test_create_no_seed[root-pypy3-posix-copies-isolated]' + 'tests/unit/create/test_creator.py::test_create_no_seed[root-pypy3-posix-copies-global]' + 'tests/unit/create/test_creator.py::test_create_no_seed[venv-pypy3-posix-copies-isolated]' + 'tests/unit/create/test_creator.py::test_create_no_seed[venv-pypy3-posix-copies-global]' + 'tests/unit/create/test_creator.py::test_zip_importer_can_import_setuptools' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.9-64-bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.9--bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.10-64-bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.10--bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7-64-bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7--bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3-64-bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3--bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.9-64-bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.9--bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.10-64-bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.10--bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7-64-bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7--bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3-64-bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3--bin-]' + ) + + distutils_install_for_testing + epytest ${deselect[@]/#/--deselect } +} + +pkg_postinst() { + elog "Please note that while virtualenv package no longer supports" + elog "Python 2.7, you can still create py2.7 virtualenvs via:" + elog " $ virtualenv -p 2.7 ..." +} diff --git a/dev-python/xxhash/xxhash-2.0.2.ebuild b/dev-python/xxhash/xxhash-2.0.2.ebuild index 51aa7bc8adae..6bc98cc17b05 100644 --- a/dev-python/xxhash/xxhash-2.0.2.ebuild +++ b/dev-python/xxhash/xxhash-2.0.2.ebuild @@ -11,13 +11,13 @@ DESCRIPTION="Python binding for the xxHash library" HOMEPAGE="https://github.com/ifduyue/python-xxhash https://pypi.org/project/xxhash/" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -LICENSE="MIT" -KEYWORDS="~amd64" +LICENSE="MIT" SLOT="0" +KEYWORDS="~amd64 ~x86" RDEPEND=">=dev-libs/xxhash-0.8.0" -BDEPEND="${RDEPEND}" +DEPEND="${RDEPEND}" distutils_enable_tests unittest diff --git a/dev-python/zeroconf/zeroconf-0.32.1.ebuild b/dev-python/zeroconf/zeroconf-0.32.1.ebuild index c406eead3ace..c73003154e65 100644 --- a/dev-python/zeroconf/zeroconf-0.32.1.ebuild +++ b/dev-python/zeroconf/zeroconf-0.32.1.ebuild @@ -18,7 +18,7 @@ S=${WORKDIR}/${MY_P} LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" RDEPEND=">=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]" |
