diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-09-23 12:29:32 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-09-23 12:29:32 +0000 |
| commit | 6bb6b441e95dff04f66a60c11bdce542096e7273 (patch) | |
| tree | 75cd4d3b482fac394dbcb2936da67d38574a815f /dev-python | |
| parent | f139025893f70f7bc464713ebe7f102577a65189 (diff) | |
| download | baldeagleos-repo-6bb6b441e95dff04f66a60c11bdce542096e7273.tar.gz baldeagleos-repo-6bb6b441e95dff04f66a60c11bdce542096e7273.tar.xz baldeagleos-repo-6bb6b441e95dff04f66a60c11bdce542096e7273.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python')
33 files changed, 396 insertions, 357 deletions
diff --git a/dev-python/aiohttp-socks/Manifest b/dev-python/aiohttp-socks/Manifest index a4ad837143a4..ef6a3f2caaeb 100644 --- a/dev-python/aiohttp-socks/Manifest +++ b/dev-python/aiohttp-socks/Manifest @@ -1,2 +1,3 @@ DIST aiohttp-socks-0.5.3.tar.gz 1360418 BLAKE2B 7282a4952d5f0301b14291a1892db5ec058af91cf553e4a17ab0e933bb327d1fae9c015d25ff7405ef69cdf56637140fefa9bd1ab1e6f2e224cdc94b9e279159 SHA512 2999f850081d05c31535c24c0fcf0948dbaaec5e421c28ed4ca68b4bfb122f881942e7e829cefc01377212b4579547aafcf273fe5a999acb3d158ee1c3f0a888 DIST aiohttp-socks-0.5.4.tar.gz 1349276 BLAKE2B 17cfc9a326d45e6af4044ccd0ce56dff3adaddf619118a5a98a6e82c778f5e397780d51924e11ff50d059a60df22cbb1c03b27165042f78d06b242ed95f5f254 SHA512 30ac5544b935f021fbd40aac9df682970a1ed39295dcd64909dce270e66f61fd92933a81a25c79b5063a5b382d412ba7b26def67e1e8c059e8daa2a771342a77 +DIST aiohttp-socks-0.5.5.tar.gz 1349283 BLAKE2B 85cd19fdc8c549a1c8ed66a71a9ccb61093fa6febfc2b2e93e26e47be9fc4d319f0ceecc0d6f70739e861fe5f7cd8c78615dfe67ed0669049d38da1f89da33f2 SHA512 94b9d5fc5a5eb04ce16302ca4a1abdaf8ec2b31811a6156aa3667aeb5bd284fc1757a65dc8dc7b77450017a04aa315a908a52a4d38b0657c41bcd64b9b1605b9 diff --git a/dev-python/aiohttp-socks/aiohttp-socks-0.5.5.ebuild b/dev-python/aiohttp-socks/aiohttp-socks-0.5.5.ebuild new file mode 100644 index 000000000000..1392b3342ec5 --- /dev/null +++ b/dev-python/aiohttp-socks/aiohttp-socks-0.5.5.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="SOCKS proxy connector for aiohttp" +HOMEPAGE="https://pypi.org/project/aiohttp-socks/" +SRC_URI="https://github.com/romis2012/aiohttp-socks/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +# tests require Internet +RESTRICT="test" + +# TODO: optional dep on trio +# TODO: is attrs actually used? +RDEPEND=" + >=dev-python/aiohttp-2.3.2[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/python-socks[${PYTHON_USEDEP}] +" +#DEPEND=" +# test? ( +# dev-python/pytest-asyncio[${PYTHON_USEDEP}] +# )" + +#distutils_enable_tests pytest diff --git a/dev-python/blockdiag/metadata.xml b/dev-python/blockdiag/metadata.xml index b4c4789a23e7..7de77c985bcb 100644 --- a/dev-python/blockdiag/metadata.xml +++ b/dev-python/blockdiag/metadata.xml @@ -5,6 +5,7 @@ <email>python@gentoo.org</email> <name>Python</name> </maintainer> + <stabilize-allarches/> <upstream> <maintainer> <email>i.tkomiya@gmail.com</email> diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 8fa817fbc3ab..2b8f85dc7ac1 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,3 +4,4 @@ DIST boto3-1.14.63.tar.gz 334965 BLAKE2B 370a1d5bcc32ba6fd8f187fa56fbb3afa4aafa0 DIST boto3-1.15.0.tar.gz 335099 BLAKE2B 0cdf8cc0007a90671d4d3c66482d834e24860990bf46634bf542e2e2a025a661d7a45d6be33932581e2697daf5829ca7f47021f863b4219cd3287650bb1ebaa4 SHA512 ed0ddbd4372d591062ef0ce102e6c913842c70921486b09ba1c2901a28d02cf0c41917e246a3654c43382254be32aa5242667199f8a0c2bb9293d7e2cc3827a5 DIST boto3-1.15.1.tar.gz 335146 BLAKE2B d2d008dcb2059b120f142aaf588264122d1e84b450ab1fbc938627d1c8cc9bb60d1b80e68bc5e538376b56866156ca901abde747a8f973588b64b962284229c4 SHA512 46e1aabaa975b0215c2ece160b5e584468ba19699f87686c2787404d0a13274f763272cec577f830c6c71cb7f9e10b1c317a1348770f49283257d8cba65c5e3a DIST boto3-1.15.2.tar.gz 335231 BLAKE2B f1eb144da7afc1cf630cdc1f61880d094186a37d46556ae361da278fd3045a119dcb09c3d08387a019ca88d6502fa8710a5e5733cd9dc9056676ef17853d76e2 SHA512 6866e0d6a50d11495e5f2a33a392b0edbe1ff6625235b26b5d6028f7c2c7089d78febe17b982f65dc2564254800a23409247ac09716b099f09f3751c5b7f47b5 +DIST boto3-1.15.3.tar.gz 335286 BLAKE2B 05c9ef757b8d227ae06a22e78d978821ff50da719f122ac025940b2e1ac5728d6bac044d4bfab95c56ac8c363efd7abfe3de2b3fd65d423ab53dbdfc60b910da SHA512 dfecfc075896ce84fd58d0437b84a6a794af69ff3e598b35b43f83b2b5ef57b88f96ef62a0d6505d5fe7fef0401513c8ecf0dfcaa22e4575510acd3ece191901 diff --git a/dev-python/boto3/boto3-1.15.3.ebuild b/dev-python/boto3/boto3-1.15.3.ebuild new file mode 100644 index 000000000000..12584b2fba42 --- /dev/null +++ b/dev-python/boto3/boto3-1.15.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=bdepend +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE="https://github.com/boto/boto3" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests nose + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # prevent an infinite loop + rm tests/functional/docs/test_smoke.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + nosetests -v tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}" +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 28b8282e5412..299a11d8f512 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,3 +4,4 @@ DIST botocore-1.17.63.tar.gz 6841028 BLAKE2B 89b2d5d520e733deaf3c4b68faa103e4227 DIST botocore-1.18.0.tar.gz 6838497 BLAKE2B efc0930b8ffafdf8d7f24d4f30cbf12e0dd81aa4ae405beee7663271fe8ffe680df91d40f8629b75635fae87ad29f0186e42f11e4bfebc64cc58979edd74e64b SHA512 43b5992d1ffb8d10f32f532c3085825e3775e3da4d6c25c2e300dfcd6e24967bdd318a7be37889a9d7802eb74bd9085b9642cda099b0064cbd9ffd65a56b7de5 DIST botocore-1.18.1.tar.gz 6839699 BLAKE2B 188c5a05345fc7c4d4c05b3a8d9b675b5c2141326caa62f9ae8a5a996f6c7ff4e56c581fd010afbc4c57073d7b6efd22debad3e03456f6ad0453c7f823d6409e SHA512 63a9a7ac93a8774d7a1a511da0464d7b5d0841598c7358e97343406b4d76842ca56a0187ff173e0a29d9da9ee22f94fde66f4b8c3e9c8a3fbcabdaddbe95b752 DIST botocore-1.18.2.tar.gz 6843154 BLAKE2B 77f4cbccd6a686cfbdb2f25fafb9f2210c0e23de72fb40403f905711ec5d073b92cfd003d39406d273feb0bfb90e2ab594f2bb9c1564b5b0879efdf3bcfa47e3 SHA512 f4fec4caf3b4ebca8a593d58827fb4377c2458b7ebccb53ccd830df5423a2021ecebd534d2fe276662f8d8e91078bb5adbf611a52baa29c8ab3526d9c7b975ac +DIST botocore-1.18.3.tar.gz 6846755 BLAKE2B 3f6709cac832dff1ba07c2e8b4c235b5bcdf305c9851eedea2ce5f7847d0be93d7e9cbcb1765add47aaec1d0c1c31cdd2c88542a984af570140ffb7fe30d8388 SHA512 a8831b1549a768cea9d550dc2dc3c1c8afc03e018d2ce246569bed35cb9ce25bcb18689d066dc5b6e6dcc69db93e0b0957b32cb68c101127e01cfe3fbfa9fe08 diff --git a/dev-python/botocore/botocore-1.18.3.ebuild b/dev-python/botocore/botocore-1.18.3.ebuild new file mode 100644 index 000000000000..12940d28a2af --- /dev/null +++ b/dev-python/botocore/botocore-1.18.3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE="https://github.com/boto/botocore" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/jmespath[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/urllib3[${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/clang-python/Manifest b/dev-python/clang-python/Manifest index 990dc5965a23..dff4b05ec630 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -1,6 +1,4 @@ DIST llvmorg-10.0.0.tar.gz 120804856 BLAKE2B 6b0254f5b913398cdcf2b2ec1ff219888706d2b79d5296590934714e42ac79f6a6547941ac2b1d2c4e6313dd18b6c7068e748aa6ac033e49fccbf5d355aa8191 SHA512 baa182d62fef1851836013ae8a1a00861ea89769778d67fb97b407a9de664e6c85da2af9c5b3f75d2bf34ff6b00004e531ca7e4b3115a26c0e61c575cf2303a0 DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1 SHA512 48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151 -DIST llvmorg-11.0.0-rc1.tar.gz 122688246 BLAKE2B 10ff3f08ff3780abb1d86ac67942e6aac52ff5daf820a2e3d23d8b79dbade1c5b1d398d0a577028d2d7c8759ab9a8b552a0305b5750310a015585c06cdadf844 SHA512 09564ed903902a5795fffaa4679badc30bf49739889a48074b5ae2c93bd29000cfb36a650208d5cae5d74899bade066f84b4aa023fc852eec246ff67bf64a267 -DIST llvmorg-11.0.0-rc2.tar.gz 122728230 BLAKE2B 7944adf41ec7cd82489666a0a38a857de628879d59a2e3bb566b67c18500092430db66ff214d45cb324128c874a74a72c367b452df3b88ec95b33c284dd35512 SHA512 25eb2879eb22e79a1e840ef24cf3f5eec602e947101db299393e06e3d09f2d1531eef214264636e1b511eafff7f51b1834d5a03976ccd088eb680745b147e9f3 DIST llvmorg-11.0.0-rc3.tar.gz 122766783 BLAKE2B 052fdc864fed52692141284ebdc41d52d21fbeaf24ac5ed3e67701537baa683bae61b1c06de68322e0578a27a1f5a8856088cdc001d2b8d34d2ec88ae65ff739 SHA512 a28ce74775373c63fe23b3116cd25db0efb95c6fdb60e56f2522659a404a59576f3d9429a109cb0f90534927259289aa1c712673f36f92272d642bf8dce5699f DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f SHA512 fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59 diff --git a/dev-python/clang-python/clang-python-11.0.0_rc1.ebuild b/dev-python/clang-python/clang-python-11.0.0_rc1.ebuild deleted file mode 100644 index 8509078f7309..000000000000 --- a/dev-python/clang-python/clang-python-11.0.0_rc1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{5,6,7,8,9} ) -inherit llvm.org python-r1 - -DESCRIPTION="Python bindings for sys-devel/clang" -HOMEPAGE="https://llvm.org/" -LLVM_COMPONENTS=( clang/bindings/python ) -llvm.org_set_globals - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="" -IUSE="test" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -# The module is opening libclang.so directly, and doing some blasphemy -# on top of it. -RDEPEND=" - >=sys-devel/clang-${PV}:* - !sys-devel/llvm:0[clang(-),python(-)] - !sys-devel/clang:0[python(-)] - ${PYTHON_DEPS}" -DEPEND="${RDEPEND}" - -python_test() { - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -src_test() { - python_foreach_impl python_test -} - -src_install() { - python_foreach_impl python_domodule clang -} diff --git a/dev-python/clang-python/clang-python-11.0.0_rc2.ebuild b/dev-python/clang-python/clang-python-11.0.0_rc2.ebuild deleted file mode 100644 index 8509078f7309..000000000000 --- a/dev-python/clang-python/clang-python-11.0.0_rc2.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{5,6,7,8,9} ) -inherit llvm.org python-r1 - -DESCRIPTION="Python bindings for sys-devel/clang" -HOMEPAGE="https://llvm.org/" -LLVM_COMPONENTS=( clang/bindings/python ) -llvm.org_set_globals - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="" -IUSE="test" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -# The module is opening libclang.so directly, and doing some blasphemy -# on top of it. -RDEPEND=" - >=sys-devel/clang-${PV}:* - !sys-devel/llvm:0[clang(-),python(-)] - !sys-devel/clang:0[python(-)] - ${PYTHON_DEPS}" -DEPEND="${RDEPEND}" - -python_test() { - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -src_test() { - python_foreach_impl python_test -} - -src_install() { - python_foreach_impl python_domodule clang -} diff --git a/dev-python/eventlet/Manifest b/dev-python/eventlet/Manifest index 6e8f112415e9..2f77ed84d942 100644 --- a/dev-python/eventlet/Manifest +++ b/dev-python/eventlet/Manifest @@ -1,2 +1 @@ -DIST eventlet-0.25.1.tar.gz 392719 BLAKE2B 7dbc23e63e9dc8b8bb0b4a53fc07cb467661bd695b6c778b973bd690bd24f3dd0f867d7ed803e1a89ffd36e5597fd244ef2c616c663d3d9130033f5f5928e816 SHA512 936aac45e24b2797cc8b6cd6238d493ce5eb60a47096e13827b8be145bd8dd14503f5ae624485c87b163718a85733b2317688366ef5fdf347f7d367fbf4d521d DIST eventlet-0.26.1.tar.gz 398200 BLAKE2B f14024d0825fb5530929766c63dceea7446057d9ad5dfb98ab013e96cab9b0eef5440f2d4d7ceeef17691c8a2a9055cac2b93fb23653a6facba4967c4e7cb0b3 SHA512 55b9b214130d0482ea005ea570a5aa3eafdf66e6d315a95c5ba60186a2d9a9df5c2638c86d886968954ce39e5ac2153e1f9e11631e6aef237078c3776af7d6c5 diff --git a/dev-python/eventlet/eventlet-0.25.1-r1.ebuild b/dev-python/eventlet/eventlet-0.25.1-r1.ebuild deleted file mode 100644 index 8f3f5197f916..000000000000 --- a/dev-python/eventlet/eventlet-0.25.1-r1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9} ) - -inherit distutils-r1 - -DESCRIPTION="Highly concurrent networking library" -HOMEPAGE="https://pypi.org/project/eventlet/ https://github.com/eventlet/eventlet/" -SRC_URI="mirror://pypi/e/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~s390 sparc x86" -IUSE="doc examples test" - -RDEPEND=" - >=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}] - >=dev-python/greenlet-0.3[${PYTHON_USEDEP}] - >=dev-python/monotonic-1.4[${PYTHON_USEDEP}] - >=dev-python/six-1.10.0[${PYTHON_USEDEP}]" -DEPEND="doc? ( >=dev-python/python-docs-2.7.6-r1:2.7 ) - test? ( ${RDEPEND} - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] )" - -PATCHES=( - "${FILESDIR}/eventlet-0.25.1-sparc.patch" - "${FILESDIR}/eventlet-0.25.1-tests.patch" -) - -distutils_enable_sphinx doc -distutils_enable_tests nose - -python_prepare_all() { - # provided by virtual/python-enum34 - sed -i '/enum-compat/d' setup.py || die - - if use doc; then - local PYTHON_DOC_ATOM=$(best_version -b dev-python/python-docs:2.7) - local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}" - local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html" - local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv" - sed -i "s|'https://docs.python.org/': None|'${PYTHON_DOC}': '${PYTHON_DOC_INVENTORY}'|" doc/conf.py || die - fi - - if use test; then -# sed -i '/This is a Python 3 module/d' eventlet/green/http/__init__.py || die -# sed -i 's/^import/from OpenSSL import/g' eventlet/green/OpenSSL/__init__.py || die -# sed -i 's/^from version/from OpenSSL.version/' eventlet/green/OpenSSL/__init__.py || die - sed -i 's/TEST_TIMEOUT = 1/TEST_TIMEOUT = 10/' tests/__init__.py || die - fi - - # Prevent file collisions from teestsuite - sed -e "s:'tests', :'tests', 'tests.*', :" -i setup.py || die - - distutils-r1_python_prepare_all -} - -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/eventlet/eventlet-0.26.1.ebuild b/dev-python/eventlet/eventlet-0.26.1.ebuild index 888bbee1f73b..e140cd0676ef 100644 --- a/dev-python/eventlet/eventlet-0.26.1.ebuild +++ b/dev-python/eventlet/eventlet-0.26.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/e/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ppc ppc64 ~s390 sparc x86" IUSE="doc examples test" RDEPEND=" diff --git a/dev-python/eventlet/files/eventlet-0.25.1-sparc.patch b/dev-python/eventlet/files/eventlet-0.25.1-sparc.patch deleted file mode 100644 index c7f6a75b4f3c..000000000000 --- a/dev-python/eventlet/files/eventlet-0.25.1-sparc.patch +++ /dev/null @@ -1,118 +0,0 @@ -From b288e969b6a0ed24913114b7b7eaad5010db5ce1 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Fri, 29 May 2020 09:04:37 +0200 -Subject: [PATCH 1/4] tests: F_SETFL does not return flags, use F_GETFL again - -Fix TestGreenSocket.test_skip_nonblocking() to call F_GETFL again -to get the flags for the socket. Previously, the code wrongly assumed -F_SETFL will return flags while it always returns 0 (see fcntl(2)). ---- - tests/greenio_test.py | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/tests/greenio_test.py b/tests/greenio_test.py -index 39d77737b..593444d07 100644 ---- a/tests/greenio_test.py -+++ b/tests/greenio_test.py -@@ -634,7 +634,8 @@ def test_skip_nonblocking(self): - sock1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) - fd = sock1.fd.fileno() - flags = fcntl.fcntl(fd, fcntl.F_GETFL) -- flags = fcntl.fcntl(fd, fcntl.F_SETFL, flags & ~os.O_NONBLOCK) -+ fcntl.fcntl(fd, fcntl.F_SETFL, flags & ~os.O_NONBLOCK) -+ flags = fcntl.fcntl(fd, fcntl.F_GETFL) - assert flags & os.O_NONBLOCK == 0 - - sock2 = socket.socket(sock1.fd, set_nonblocking=False) - -From 803422302f5e813f1f00435d7ae943bf8513946c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Fri, 29 May 2020 09:07:17 +0200 -Subject: [PATCH 2/4] tests: Unset O_NONBLOCK|O_NDELAY to fix SPARC - -Fix TestGreenSocket.test_skip_nonblocking() to unset both O_NONBLOCK -and O_NDELAY. This is necessary to fix tests on SPARC where both flags -are used simultaneously, and unsetting one is ineffective (flags remain -the same). This should not affect other platforms where O_NDELAY -is an alias for O_NONBLOCK. ---- - tests/greenio_test.py | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/tests/greenio_test.py b/tests/greenio_test.py -index 593444d07..736c2e539 100644 ---- a/tests/greenio_test.py -+++ b/tests/greenio_test.py -@@ -634,7 +634,9 @@ def test_skip_nonblocking(self): - sock1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) - fd = sock1.fd.fileno() - flags = fcntl.fcntl(fd, fcntl.F_GETFL) -- fcntl.fcntl(fd, fcntl.F_SETFL, flags & ~os.O_NONBLOCK) -+ # on SPARC, nonblocking mode sets O_NDELAY as well -+ fcntl.fcntl(fd, fcntl.F_SETFL, flags & ~(os.O_NONBLOCK -+ | os.O_NDELAY)) - flags = fcntl.fcntl(fd, fcntl.F_GETFL) - assert flags & os.O_NONBLOCK == 0 - - -From b742b443d079ec9001a1452e138773b066ed784e Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Fri, 29 May 2020 09:09:07 +0200 -Subject: [PATCH 3/4] tests: Assume that nonblocking mode might set O_NDELAY to - fix SPARC - -Fix test_set_nonblocking() to account for the alternative possible -outcome that enabling non-blocking mode can set both O_NONBLOCK -and O_NDELAY as it does on SPARC. Note that O_NDELAY may be a superset -of O_NONBLOCK, so we can't just filter it out of new_flags. ---- - tests/greenio_test.py | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/tests/greenio_test.py b/tests/greenio_test.py -index 736c2e539..a2d1ad856 100644 ---- a/tests/greenio_test.py -+++ b/tests/greenio_test.py -@@ -925,7 +925,10 @@ def test_set_nonblocking(): - assert orig_flags & os.O_NONBLOCK == 0 - greenio.set_nonblocking(sock) - new_flags = fcntl.fcntl(fileno, fcntl.F_GETFL) -- assert new_flags == (orig_flags | os.O_NONBLOCK) -+ # on SPARC, O_NDELAY is set as well, and it might be a superset -+ # of O_NONBLOCK -+ assert (new_flags == (orig_flags | os.O_NONBLOCK) -+ or new_flags == (orig_flags | os.O_NONBLOCK | os.O_NDELAY)) - - - def test_socket_del_fails_gracefully_when_not_fully_initialized(): - -From d324431b14ea57c6d7b295bd8b00f128ed4c2f5a Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Fri, 29 May 2020 09:17:21 +0200 -Subject: [PATCH 4/4] tests: Increase timeout for - test_isolate_from_socket_default_timeout - -Increase the timeout used for test_isolate_from_socket_default_timeout -from 1 second to 5 seconds. Otherwise, the test can't succeed -on hardware where Python runs slower. In particular, on our SPARC box -importing greenlet modules takes almost 2 seconds, so the test program -does not even start properly. - -Fixes #614 ---- - tests/tpool_test.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/tpool_test.py b/tests/tpool_test.py -index 4826f30de..1a730dc10 100644 ---- a/tests/tpool_test.py -+++ b/tests/tpool_test.py -@@ -366,7 +366,7 @@ def test_leakage_from_tracebacks(self): - - - def test_isolate_from_socket_default_timeout(): -- tests.run_isolated('tpool_isolate_socket_default_timeout.py', timeout=1) -+ tests.run_isolated('tpool_isolate_socket_default_timeout.py', timeout=5) - - - def test_exception_leak(): diff --git a/dev-python/flask-api/files/flask-api-2.0-fix-pypy-tests.patch b/dev-python/flask-api/files/flask-api-2.0-fix-pypy-tests.patch new file mode 100644 index 000000000000..4d30691b60d3 --- /dev/null +++ b/dev-python/flask-api/files/flask-api-2.0-fix-pypy-tests.patch @@ -0,0 +1,22 @@ +commit beb6a364de93a429398a9491e16f60a7aa82f51d +Author: Louis Sautier <sautier.louis@gmail.com> +Date: Tue Sep 22 00:46:38 2020 +0200 + + Fix tests with PyPy, remove unused Python2-related code + +diff --git a/flask_api/tests/test_parsers.py b/flask_api/tests/test_parsers.py +index 90a6b83..b7968f6 100644 +--- a/flask_api/tests/test_parsers.py ++++ b/flask_api/tests/test_parsers.py +@@ -36,9 +36,9 @@ class ParserTests(unittest.TestCase): + with self.assertRaises(exceptions.ParseError) as context: + parser.parse(stream, mediatypes.MediaType('application/json')) + detail = str(context.exception) +- expected_py2 = 'JSON parse error - Expecting property name: line 1 column 1 (char 1)' ++ expected_pypy = 'JSON parse error - Key name must be string at char: line 1 column 2 (char 1)' + expected_py3 = 'JSON parse error - Expecting property name enclosed in double quotes: line 1 column 2 (char 1)' +- self.assertIn(detail, (expected_py2, expected_py3)) ++ self.assertIn(detail, (expected_pypy, expected_py3)) + + def test_invalid_multipart(self): + parser = parsers.MultiPartParser() diff --git a/dev-python/flask-api/flask-api-2.0.ebuild b/dev-python/flask-api/flask-api-2.0.ebuild index 2efc168f4825..76e13b332bef 100644 --- a/dev-python/flask-api/flask-api-2.0.ebuild +++ b/dev-python/flask-api/flask-api-2.0.ebuild @@ -3,12 +3,12 @@ EAPI=7 -PYTHON_COMPAT=( python3_{5,6,7,8,9} ) +PYTHON_COMPAT=( python3_{5,6,7,8,9} pypy3 ) inherit distutils-r1 DESCRIPTION="Browsable web APIs for Flask" -HOMEPAGE="https://github.com/flask-api/flask-api" +HOMEPAGE="https://www.flaskapi.org/" # pypi mirror don't have docs folder SRC_URI="https://github.com/flask-api/flask-api/archive/v${PV}.tar.gz -> ${P}.tar.gz" @@ -16,10 +16,13 @@ LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64 ~x86" -RDEPEND="dev-python/flask[${PYTHON_USEDEP}] - dev-python/markdown[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/flask[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] +" -DEPEND="${RDEPEND}" +# https://github.com/flask-api/flask-api/pull/117 +PATCHES=( "${FILESDIR}/${P}-fix-pypy-tests.patch" ) distutils_enable_tests pytest diff --git a/dev-python/flask-api/metadata.xml b/dev-python/flask-api/metadata.xml index 9192bab3af3e..d217e38f4d8b 100644 --- a/dev-python/flask-api/metadata.xml +++ b/dev-python/flask-api/metadata.xml @@ -15,6 +15,7 @@ </maintainer> <upstream> <remote-id type="github">flask-api/flask-api</remote-id> + <remote-id type="pypi">Flask-API</remote-id> </upstream> <origin>gentoo-staging</origin> </pkgmetadata> diff --git a/dev-python/gevent/Manifest b/dev-python/gevent/Manifest index a5155708321a..47f2379319ef 100644 --- a/dev-python/gevent/Manifest +++ b/dev-python/gevent/Manifest @@ -1 +1,2 @@ DIST gevent-20.6.2.tar.gz 5806612 BLAKE2B 8b1fbd991cb169292d33001bb0df06702d36eb3849c9251e4fac9e2fb5826eda3435971e39e209f1f537536081ce2730e561e91c398ee66a9b1d55c9d0e5a81a SHA512 65caa9caf8a2913b4c3bcc9a303169ce5837a0d7ccf4fb6b7583bf4ec3a0b288d65fc7e28399f0715e61aed128ffc6e67fc9b455474e47263236136a492021f4 +DIST gevent-20.9.0.tar.gz 5806581 BLAKE2B 6b1b653fa6e22539e049a9bba3d3a2b9d798a5555ce4ba60ce33ecbdf14bb5201967d22d677e1ce3170129b0763fddfcc5991347186fb102d10ae39e22538c44 SHA512 966efc945b623df2521fffadca3b7e56cae1efe6de904a724765e0593389e8b1305094baa6fbc9f4fa376b1157d0f230b01e2a90de21e4b9650614363edec9f4 diff --git a/dev-python/gevent/gevent-20.9.0.ebuild b/dev-python/gevent/gevent-20.9.0.ebuild new file mode 100644 index 000000000000..426eeee02faa --- /dev/null +++ b/dev-python/gevent/gevent-20.9.0.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9} ) +PYTHON_REQ_USE="ssl(+),threads(+)" + +inherit distutils-r1 flag-o-matic + +DESCRIPTION="Coroutine-based network library" +HOMEPAGE="https://www.gevent.org/ https://pypi.org/project/gevent/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/libev-4.23:= + dev-libs/libuv:= + >=net-dns/c-ares-1.12:= + >=dev-python/greenlet-0.4.17 + dev-python/zope-event[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] + virtual/python-greenlet[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + )" + +distutils_enable_sphinx doc + +# Tests take long and fail terribly a few times. +# It also seems that they require network access. +#RESTRICT="test" + +python_prepare_all() { + export LIBEV_EMBED="false" + export CARES_EMBED="false" + export EMBED="false" + + distutils-r1_python_prepare_all +} + +python_configure_all() { + append-flags -fno-strict-aliasing +} + +python_test() { + cd src/gevent/tests || die + # TODO: figure out how to make them work and not hang +# GEVENT_RESOLVER=ares \ +# "${EPYTHON}" -m gevent.tests \ +# -uall,-network \ +# --config known_failures.py \ +# --ignore tests_that_dont_use_resolver.txt || die +# GEVENT_RESOLVER=dnspython \ +# "${EPYTHON}" -m gevent.tests \ +# -uall,-network \ +# --config known_failures.py \ +# --ignore tests_that_dont_use_resolver.txt || die +# GEVENT_RESOLVER=thread \ +# "${EPYTHON}" -m gevent.tests \ +# --verbose \ +# -uall,-network \ +# --config known_failures.py \ +# --ignore tests_that_dont_use_resolver.txt || die + GEVENT_FILE=thread \ + "${EPYTHON}" -m gevent.tests \ + --verbose \ + -uall,-network \ + --config known_failures.py \ + test__*subprocess*.py || die +} + +python_install_all() { + local DOCS=( AUTHORS README.rst ) + use examples && dodoc -r examples + + distutils-r1_python_install_all +} diff --git a/dev-python/greenlet/Manifest b/dev-python/greenlet/Manifest index 2b227c87d349..be50f662ec7c 100644 --- a/dev-python/greenlet/Manifest +++ b/dev-python/greenlet/Manifest @@ -1 +1,2 @@ DIST greenlet-0.4.16.tar.gz 60576 BLAKE2B e0c53af4b6886fe00f0299a1779e478b7cbce5ff733669e8a62757cef49f034e19b7b932e7900b09e288ff4ab7e883fc2dd5f97f78c0e1b5702e5ba9c9f62fa1 SHA512 0dc473c05c1d54a830c009fe8197fd2017b8f3117532af0fc7970eb5abd93a82bbaa1a8403375a0ac7148fcff63cdc3faa663d0c5e442f3dd10ea3b2f98b306e +DIST greenlet-0.4.17.tar.gz 61381 BLAKE2B fd5b8ed72acd390f3d5fe3ca1d5894bc47278b1f0e04e4fe5c6015c60dfb3109e766dc6072bf85b96760f673a1af08cd546171906800a1221a216899077a908e SHA512 41afd80a6cd5e9cf9c8149016f24d0944d2651288d50094ef04bb6759202903c436af639872d7aab631ed8fe13aad7d4405beb428415b198a3ba30a96d4bd3de diff --git a/dev-python/greenlet/greenlet-0.4.17.ebuild b/dev-python/greenlet/greenlet-0.4.17.ebuild new file mode 100644 index 000000000000..66523de5fde0 --- /dev/null +++ b/dev-python/greenlet/greenlet-0.4.17.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# setuptools is used only if one of the fancy commands are used +DISTUTILS_USE_SETUPTOOLS=no +# Note: greenlet is built-in in pypy +PYTHON_COMPAT=( python3_{6,7,8,9} ) + +inherit distutils-r1 flag-o-matic + +DESCRIPTION="Lightweight in-process concurrent programming" +HOMEPAGE="https://pypi.org/project/greenlet/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa -ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +DISTUTILS_IN_SOURCE_BUILD=1 + +distutils_enable_sphinx doc --no-autodoc + +python_compile() { + if ! python_is_python3; then + local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS} + append-flags -fno-strict-aliasing + fi + + distutils-r1_python_compile +} + +python_test() { + "${PYTHON}" run-tests.py -n || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/importlib_metadata/Manifest b/dev-python/importlib_metadata/Manifest index 82003d5ec6d9..65a808dbe292 100644 --- a/dev-python/importlib_metadata/Manifest +++ b/dev-python/importlib_metadata/Manifest @@ -1 +1,2 @@ DIST importlib_metadata-1.7.0.tar.gz 29233 BLAKE2B a8cd97a384ab06201025fcbdc401fb25788c2eb1dd4f1697ca00e79634cbce32b984cb8a7c2aeacfb0871f92857d08f3ce9c3ae43d698df7401db91add07b6ca SHA512 31f7cda6a1149ca2040032945b19b55d2e97ef8be67db1423c2c2cbb79da3dead46338f3c9eb03b46f9202fca08ed7bf388adc25d34903ddff4b2873c8a89aba +DIST importlib_metadata-2.0.0.tar.gz 29289 BLAKE2B 4ec24db057006affe1dee20e021a47d385770b1aa905db4ff4223d59f19b53dc85c21475875074664a84a0fb6994493735f5e098d38f938816ebc69dced7a40d SHA512 3f789d717f04f7649dd4a75895669b4f9b875671937035c1c76bd089504afff8c2ba5bfb6a91096ba29eccadc88dca98ea1da5107772fd2053541db15c52b16a diff --git a/dev-python/importlib_metadata/importlib_metadata-2.0.0.ebuild b/dev-python/importlib_metadata/importlib_metadata-2.0.0.ebuild new file mode 100644 index 000000000000..72326a4ab748 --- /dev/null +++ b/dev-python/importlib_metadata/importlib_metadata-2.0.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Read metadata from Python packages" +HOMEPAGE="https://importlib-metadata.readthedocs.io/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/zipp[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + >=dev-python/importlib_resources-1.3.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pyfakefs[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx "${PN}/docs" \ + '>=dev-python/rst-linker-1.9' +distutils_enable_tests unittest + +python_prepare_all() { + # remove dep on setuptools_scm + sed -e 's:test_find_local:_&:' \ + -i importlib_metadata/tests/test_integration.py || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 990dc5965a23..dff4b05ec630 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -1,6 +1,4 @@ DIST llvmorg-10.0.0.tar.gz 120804856 BLAKE2B 6b0254f5b913398cdcf2b2ec1ff219888706d2b79d5296590934714e42ac79f6a6547941ac2b1d2c4e6313dd18b6c7068e748aa6ac033e49fccbf5d355aa8191 SHA512 baa182d62fef1851836013ae8a1a00861ea89769778d67fb97b407a9de664e6c85da2af9c5b3f75d2bf34ff6b00004e531ca7e4b3115a26c0e61c575cf2303a0 DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1 SHA512 48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151 -DIST llvmorg-11.0.0-rc1.tar.gz 122688246 BLAKE2B 10ff3f08ff3780abb1d86ac67942e6aac52ff5daf820a2e3d23d8b79dbade1c5b1d398d0a577028d2d7c8759ab9a8b552a0305b5750310a015585c06cdadf844 SHA512 09564ed903902a5795fffaa4679badc30bf49739889a48074b5ae2c93bd29000cfb36a650208d5cae5d74899bade066f84b4aa023fc852eec246ff67bf64a267 -DIST llvmorg-11.0.0-rc2.tar.gz 122728230 BLAKE2B 7944adf41ec7cd82489666a0a38a857de628879d59a2e3bb566b67c18500092430db66ff214d45cb324128c874a74a72c367b452df3b88ec95b33c284dd35512 SHA512 25eb2879eb22e79a1e840ef24cf3f5eec602e947101db299393e06e3d09f2d1531eef214264636e1b511eafff7f51b1834d5a03976ccd088eb680745b147e9f3 DIST llvmorg-11.0.0-rc3.tar.gz 122766783 BLAKE2B 052fdc864fed52692141284ebdc41d52d21fbeaf24ac5ed3e67701537baa683bae61b1c06de68322e0578a27a1f5a8856088cdc001d2b8d34d2ec88ae65ff739 SHA512 a28ce74775373c63fe23b3116cd25db0efb95c6fdb60e56f2522659a404a59576f3d9429a109cb0f90534927259289aa1c712673f36f92272d642bf8dce5699f DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f SHA512 fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59 diff --git a/dev-python/lit/lit-11.0.0_rc1.ebuild b/dev-python/lit/lit-11.0.0_rc1.ebuild deleted file mode 100644 index f3959b4c536a..000000000000 --- a/dev-python/lit/lit-11.0.0_rc1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{5,6,7,8,9} ) - -inherit distutils-r1 llvm.org - -DESCRIPTION="A stand-alone install of the LLVM suite testing tool" -HOMEPAGE="https://llvm.org/" -LLVM_COMPONENTS=( llvm/utils/lit ) -llvm.org_set_globals - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="" -IUSE="test" -RESTRICT="!test? ( test )" - -# Tests require 'FileCheck' and 'not' utilities (from llvm) -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - sys-devel/llvm )" - -# TODO: move the manpage generation here (from sys-devel/llvm) - -src_prepare() { - cd "${WORKDIR}" || die - distutils-r1_src_prepare -} - -python_test() { - local -x LIT_PRESERVES_TMP=1 - local litflags=$(get_lit_flags) - ./lit.py ${litflags//;/ } tests || die -} diff --git a/dev-python/lit/lit-11.0.0_rc2.ebuild b/dev-python/lit/lit-11.0.0_rc2.ebuild deleted file mode 100644 index f3959b4c536a..000000000000 --- a/dev-python/lit/lit-11.0.0_rc2.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{5,6,7,8,9} ) - -inherit distutils-r1 llvm.org - -DESCRIPTION="A stand-alone install of the LLVM suite testing tool" -HOMEPAGE="https://llvm.org/" -LLVM_COMPONENTS=( llvm/utils/lit ) -llvm.org_set_globals - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="" -IUSE="test" -RESTRICT="!test? ( test )" - -# Tests require 'FileCheck' and 'not' utilities (from llvm) -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - sys-devel/llvm )" - -# TODO: move the manpage generation here (from sys-devel/llvm) - -src_prepare() { - cd "${WORKDIR}" || die - distutils-r1_src_prepare -} - -python_test() { - local -x LIT_PRESERVES_TMP=1 - local litflags=$(get_lit_flags) - ./lit.py ${litflags//;/ } tests || die -} diff --git a/dev-python/networkx/metadata.xml b/dev-python/networkx/metadata.xml index 0d5472957160..dc9c18e5c449 100644 --- a/dev-python/networkx/metadata.xml +++ b/dev-python/networkx/metadata.xml @@ -16,6 +16,7 @@ The potential audience for NetworkX includes: mathematicians, physicists, biologists, computer scientists, social scientists. </longdescription> + <stabilize-allarches/> <upstream> <remote-id type="pypi">networkx</remote-id> <remote-id type="github">networkx/networkx</remote-id> diff --git a/dev-python/pyglet/pyglet-1.5.7.ebuild b/dev-python/pyglet/pyglet-1.5.7-r1.ebuild index be339624d157..0e1bac84c1e6 100644 --- a/dev-python/pyglet/pyglet-1.5.7.ebuild +++ b/dev-python/pyglet/pyglet-1.5.7-r1.ebuild @@ -23,6 +23,7 @@ BDEPEND=" ) " RDEPEND=" + virtual/glu virtual/opengl image? ( || ( dev-python/pillow[${PYTHON_USEDEP}] diff --git a/dev-python/pymysql/metadata.xml b/dev-python/pymysql/metadata.xml index 4e9442869fa6..ad0989aa57e5 100644 --- a/dev-python/pymysql/metadata.xml +++ b/dev-python/pymysql/metadata.xml @@ -9,6 +9,7 @@ <email>python@gentoo.org</email> <name>Python</name> </maintainer> + <stabilize-allarches/> <upstream> <remote-id type="github">PyMySQL/PyMySQL</remote-id> </upstream> diff --git a/dev-python/typing-extensions/typing-extensions-3.7.4.3.ebuild b/dev-python/typing-extensions/typing-extensions-3.7.4.3.ebuild index 685a4a4f766b..768ac4e0a01c 100644 --- a/dev-python/typing-extensions/typing-extensions-3.7.4.3.ebuild +++ b/dev-python/typing-extensions/typing-extensions-3.7.4.3.ebuild @@ -17,7 +17,7 @@ S=${WORKDIR}/${MY_P} LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris" python_test() { cd "${S}"/src_py3 || die diff --git a/dev-python/yarl/yarl-1.5.1.ebuild b/dev-python/yarl/yarl-1.5.1.ebuild index ee6260fea14f..d27070eca2dc 100644 --- a/dev-python/yarl/yarl-1.5.1.ebuild +++ b/dev-python/yarl/yarl-1.5.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/multidict-4.0[${PYTHON_USEDEP}] diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest index 301e191fabb2..b6230e3f3b68 100644 --- a/dev-python/zipp/Manifest +++ b/dev-python/zipp/Manifest @@ -1 +1,2 @@ DIST zipp-3.1.0.tar.gz 14808 BLAKE2B fb5524c2619e51c5f8c1b85fa819d1001e6296df6c9d5320c6ab3ec88fa5c932c139161e621d51b2827ef40402bb2492b8b08e470b7333e847495ec690024879 SHA512 bb8dea71eccc4f3b18fc816dae700582c3feb72f346e115bb2d1adc336f121304a285e4d5dad48d15b386b9e137c6e1d1793ef50d22b6bd697812a661817684e +DIST zipp-3.2.0.tar.gz 16238 BLAKE2B d74781639c714342863a0532ac8bbfc4d8cdcd554b9ce2b0edf83dc26ac423231ac85323379b4923308f2319c828aca2e0bcd4bd136845e7026b09e1e16e108e SHA512 fc0c8a9f1fbbcdd0f70c536e7498605e0a338dd99abd65f16b360cb16f96c7860d422ce2b55f7b2c1bfd7e5c5b5ca3bf818a48bae19bfbf190d91d4778aed31a diff --git a/dev-python/zipp/zipp-3.2.0.ebuild b/dev-python/zipp/zipp-3.2.0.ebuild new file mode 100644 index 000000000000..6206e0c94929 --- /dev/null +++ b/dev-python/zipp/zipp-3.2.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Backport of pathlib-compatible object wrapper for zip files" +HOMEPAGE="https://github.com/jaraco/zipp" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" + +BDEPEND=" + dev-python/toml[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm-3.4.2[${PYTHON_USEDEP}] + test? ( dev-python/jaraco-itertools[${PYTHON_USEDEP}] ) +" + +distutils_enable_sphinx docs \ + ">=dev-python/jaraco-packaging-3.2" \ + ">=dev-python/rst-linker-1.9" +distutils_enable_tests pytest + +python_prepare_all() { + # Skip a potentially flaky performance test + sed -i -e '/^import func_timeout\|^ *@func_timeout\.func_set_timeout/d' \ + -e 's/test_implied_dirs_performance/_&/' test_zipp.py || die + distutils-r1_python_prepare_all +} + +python_test() { + # Ignoring zipp.py from ${S} avoids ImportPathMismatchError with Python < 3.8 + # by ensuring only zipp from ${BUILD_DIR} is loaded + pytest --ignore zipp.py -vv || die "Tests fail with ${EPYTHON}" +} |
