diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-05-07 16:33:26 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-05-07 16:33:26 +0000 |
| commit | 7675ccca73f5c413e3505b0308c6f010d62d5302 (patch) | |
| tree | 6f5ebc03987e8bca8e16ed8342d620fb3c1c257c /dev-python | |
| parent | a00c2c86ca5bd725aeb821d4e4374947d0efae36 (diff) | |
| download | baldeagleos-repo-7675ccca73f5c413e3505b0308c6f010d62d5302.tar.gz baldeagleos-repo-7675ccca73f5c413e3505b0308c6f010d62d5302.tar.xz baldeagleos-repo-7675ccca73f5c413e3505b0308c6f010d62d5302.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
93 files changed, 1069 insertions, 338 deletions
diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest index e2c084202f76..bf05c71c0e48 100644 --- a/dev-python/alembic/Manifest +++ b/dev-python/alembic/Manifest @@ -1,2 +1,3 @@ DIST alembic-1.5.8.tar.gz 1154284 BLAKE2B 704a7aeb15fcfae8746238ef7ae4533ecbaaf83ab9248035c35cea343a4d02e02c00dfa3c8186826a437c839053fc6292c3f8343945ca32273ee608f6572f513 SHA512 e68f3709ed969764cff4c9f755781a10123631d2d07a970674fda2226c84cb92c140bc5ae81e44c8b279823718d4f0544236d260fd04fb7107f3d8293c85b4f0 DIST alembic-1.6.0.tar.gz 1166934 BLAKE2B 1d1473ca55bf2e5f8f6dcdf2fd7cbd5246e11e7a14e5964a5891c60e5ba814eabc2fe8550b87317c3b57268f649b46c6b611ef1b2c81b5a025ca4e8e537660c2 SHA512 bfef894f13762420128b01d2671639de6361848387d4661d92bab66d8c5820ebe9ede62d335b4cc5915f60378e20a02a2b2664a7bf815294fb4cfdee7414dd33 +DIST alembic-1.6.2.tar.gz 1167842 BLAKE2B 0b61282987e974e81b1007d4a66620b1ac2393b175f91011d0d6c450af1038a9ea553f4a7c1906b2e463f7b95617a00629f337547788821b250373f0de18d0b7 SHA512 d5b23812d3e65e9642f39e2596ab86773476a77959938f518438d7659c2da5436432fdc020a5fbda33fe866a047d9558f7a4c5eabe032a6d3f2e6d04ff7928e7 diff --git a/dev-python/alembic/alembic-1.6.2.ebuild b/dev-python/alembic/alembic-1.6.2.ebuild new file mode 100644 index 000000000000..d53ec4cad934 --- /dev/null +++ b/dev-python/alembic/alembic-1.6.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="database migrations tool, written by the author of SQLAlchemy" +HOMEPAGE="https://github.com/sqlalchemy/alembic" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc" + +RDEPEND=" + >=dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] + dev-python/mako[${PYTHON_USEDEP}] + >=dev-python/python-editor-0.3[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_install_all() { + use doc && local HTML_DOCS=( docs/. ) + + distutils-r1_python_install_all +} diff --git a/dev-python/anyqt/Manifest b/dev-python/anyqt/Manifest index ae2923d475ec..20de6b110d61 100644 --- a/dev-python/anyqt/Manifest +++ b/dev-python/anyqt/Manifest @@ -1,2 +1,3 @@ DIST anyqt-0.0.12.tar.gz 45657 BLAKE2B 5b09a31f35f9faa161473c6575a66ac57d0415179f0cc779e95e3ce3e4c25fa2573fb7062dfc031d3eb6500be8866736ffb00dce4fdd6b105c12be3fd6421954 SHA512 bb1bca5c6396512656a7c18775d87e26d003cf84f40dfe23b54ae170e61e99d1bcb88d74eb2e21239030ea69275dfae9ff620330d1e3355d82a71cb7f6335073 +DIST anyqt-0.0.13.tar.gz 46677 BLAKE2B 1b6eeb4a3c0ca6a76504c919e41d749d042668e0c9392616518b3b1741d4db270e5a0f354971ba5757da8f906f46149e996895212dcad2d2614d62a3d53bf554 SHA512 33033c90a945524ea1659de557dff36be06cbdbf8f0b580e57e7c8f386dd3d3007465e236d3865b76af4178b9d83eba51405a3257d0226bd117f7d9804146e41 DIST anyqt-0.0.8.tar.gz 43519 BLAKE2B cd70564e858fc344d89b85a5e5556cdd35dd584f51bba2bc39b9e015dcacdb8f0964b0d6dd435ba6e219543aafbca2fda0f49309e8df07e790bd75660d8585b0 SHA512 8bff488972703385bb0506fce7b33e2c62a0c6469e0284062b0882dda0842d5488621c722e00c2005aa1f8ff18307e823e146aca92c16f5116d2bc974b194641 diff --git a/dev-python/anyqt/anyqt-0.0.13.ebuild b/dev-python/anyqt/anyqt-0.0.13.ebuild new file mode 100644 index 000000000000..6a1ba911ab42 --- /dev/null +++ b/dev-python/anyqt/anyqt-0.0.13.ebuild @@ -0,0 +1,16 @@ +# 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="PyQt4/PyQt5 compatibility layer" +HOMEPAGE="https://github.com/ales-erjavec/anyqt" +SRC_URI="https://github.com/ales-erjavec/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" diff --git a/dev-python/attrs/Manifest b/dev-python/attrs/Manifest index 56b2785eb383..a69b43f8cca3 100644 --- a/dev-python/attrs/Manifest +++ b/dev-python/attrs/Manifest @@ -1,3 +1,4 @@ DIST attrs-03d3fc7a71fe770e1f86b9c3ad8588586e5ea63b.tar.gz 170688 BLAKE2B 1256cb115b3613929f9caf7f31907a51c9afdd5f6e0a10a172089e920d6604c41db3fb11726ab71a698b4ff9e6420e827d5ff25c4127ef7c6cf12536a66a9bb3 SHA512 3007f8c502c0bcd2481ffbbb00bec4ed677d1be9514e417670c4adb791dc67eee76b8a7c07a4a972cd4ece3291e2c996944bb1cdb282682086551cbd571a0011 DIST attrs-20.3.0.tar.gz 164523 BLAKE2B 66d2e038e485833f5033fbabe2ef9a6565e3f5f5e8530f2c70019e4f5bdfca51083ac6d0bbc9eb765f838070bc90e01db1c83ed6da113ced67300238e12b5f42 SHA512 640532c6b763fd96572e5d85e93c111bebc4c5e0ff9419fe92fb51280f03acb5f9f43339f57d30659e777d5578460675c60ec0a362f9ad433893e3624ce6a931 DIST attrs-21.1.0.tar.gz 187841 BLAKE2B fa3c4294d5b4f01ec7a8903cfdeb2ad37a77ac6a3d37cca8e559226ff8c28be989128132c0cc8a08963b095f2dd1b279522f5fe93b0ad497a030a09291f1056d SHA512 32110d74fc578a94edd959868cec491f22b9f63637fea72522980e3c1894eaa7ca4fd3a4c0a3f9a8a6d10d9186e6f04c52a18b66698947efa13e0922d61e87be +DIST attrs-21.2.0.tar.gz 184694 BLAKE2B 5c960f7c1a4623186c7a0cec8a9096df8df8e7d3022b67b281dcdd3a512ce6f105dfdd5ec10dc85a2b9971564f44e7b4474d760667e53cd2cf0f0543153eb6e2 SHA512 35863f599076357e40f72a62968f4a2f9bc2af9f59f484fef051be4f9730ce9e28e11568915d690ade7980df8998af22e2ff8b9568a205d7745e246ba5f3a7e1 diff --git a/dev-python/attrs/attrs-21.2.0.ebuild b/dev-python/attrs/attrs-21.2.0.ebuild new file mode 100644 index 000000000000..8e86973388fd --- /dev/null +++ b/dev-python/attrs/attrs-21.2.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Attributes without boilerplate" +HOMEPAGE=" + https://github.com/python-attrs/attrs/ + https://attrs.readthedocs.io/ + https://pypi.org/project/attrs/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND=" + dev-python/zope-interface[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + >=dev-python/hypothesis-3.6.0[${PYTHON_USEDEP}] + >=dev-python/pytest-4.3.0[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest diff --git a/dev-python/backcall/backcall-0.2.0.ebuild b/dev-python/backcall/backcall-0.2.0.ebuild index 372208b0c23c..399368ba7121 100644 --- a/dev-python/backcall/backcall-0.2.0.ebuild +++ b/dev-python/backcall/backcall-0.2.0.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) DISTUTILS_USE_SETUPTOOLS=no inherit distutils-r1 diff --git a/dev-python/blinker/blinker-1.4-r2.ebuild b/dev-python/blinker/blinker-1.4-r2.ebuild index 161870715460..0bc89f56ae5c 100644 --- a/dev-python/blinker/blinker-1.4-r2.ebuild +++ b/dev-python/blinker/blinker-1.4-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 02c29b699950..0ec94059504a 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -3,3 +3,4 @@ DIST boto3-1.17.62.tar.gz 366832 BLAKE2B be452f1afe79538c29a9c8d8aaf0e0d0224a34b DIST boto3-1.17.64.tar.gz 367357 BLAKE2B 582cc599628df29acdb146a0a1da78fb1e35d560f08f54709e5aed9fb27be9ffeaec27b1c2f393ddd48fad5b9c5ff5e51d001972a798b516e089d58d321aaac3 SHA512 ffe248707d162de5a2edd2dec4acb769bda3d2d0c9611548813647d3f0d70de9e6754216ba32df70eacf2e4a6ed2c8fab30261731aa87977eb5972af6052ddb4 DIST boto3-1.17.65.tar.gz 367905 BLAKE2B d6aa552a8f5a40613577dcb4d43de185662799f471eae2c14baee4799ac2ccc3b8a7c44e39bad8997b2c68d783c1e4454c0f94e41888a895f88bbc740905d626 SHA512 0bfdcba7fa15e0340b9bc235c4f3e09cd1e01d99b6fc7a95e7543723477b6d642ef2b833b24a5cd1adf2c274d517fe43ee0f9bdceac973b472227580fa39b29f DIST boto3-1.17.67.tar.gz 368242 BLAKE2B 72e612816c45d49c74430d82f4ede59f6b6e7c128d5cb60b8f7d0f07808776b2a1b7656fa8acdf1b8c0d18b4b0a33479aeeebb57355b07ea2e9b6970f84bc4e0 SHA512 a80ea576a60c21f67f43a556ebead8caffcfd18fb9e777693375f591c5e842bfefff86d0d15252057b7ec1ef5cc54b66019d023880a30c88bc8bce012c9b063d +DIST boto3-1.17.68.tar.gz 368708 BLAKE2B 4ed78bae6e8c9ee6e8f1a5a4009f89b1c5efac1ddfa8189a6ec76f1ba47b8113dd479ed935e1d6f4631fcd1e40659398a5189bab77b15e1efe5acf706871b90f SHA512 c8a4a78da518530b3e47c1f3e37f51a61070f9b626b29ee4b1a990bfb2dfce49332add6674a0ec8b156c50e922736a500f2b265cf9ba286000aca55a272a7257 diff --git a/dev-python/boto3/boto3-1.17.68.ebuild b/dev-python/boto3/boto3-1.17.68.ebuild new file mode 100644 index 000000000000..2df16964cdb0 --- /dev/null +++ b/dev-python/boto3/boto3-1.17.68.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +DISTUTILS_USE_SETUPTOOLS=bdepend +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE="https://github.com/boto/boto3" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests nose + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # prevent an infinite loop + rm tests/functional/docs/test_smoke.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + nosetests -v tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}" +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 8a592bc398ca..29c63d7e65c4 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -3,3 +3,4 @@ DIST botocore-1.20.62.tar.gz 7674812 BLAKE2B 6fec1213c13bc12937f45c2584ce52532ea DIST botocore-1.20.64.tar.gz 7685481 BLAKE2B d939b262f04a67918fe61ba0789a4ac9a73bd571096fde881ad537bd7b193798960096ea6d966b49634f33454845c8227786c7bb16c0008e8b5dd84591c2e018 SHA512 a2e82988e59f05ae7050b3e8f86b379dde83f516736c9ca133c0fa678cb7c6ba5448e2165cb0ab3f4262e8e3681ede37048508092ba62313e6ce3f89700c8827 DIST botocore-1.20.65.tar.gz 7689179 BLAKE2B 4f831519c785747b48351b9820fe00efb39ae9157ff11604b6d850b9768a6613ad54b3db9071dedf51e0e9209f3741f35d7e21e953842d1bc89db52b22779d41 SHA512 1936955ab69aaa7d82ea2dc522603162b00e3a9ca39b5911ccd4f3d78688ff1375c4e2abc65638a517a5d7a07076c1c7d6fb81529c6d5cfbe9c13254c3736777 DIST botocore-1.20.67.tar.gz 7691087 BLAKE2B b56cb7e80179b7c5c2b4daa27907870c075b0cc5b0c14da1d96583701df6d764f0e80cff7973f501263a4edd4e70e4adb613cbe7fa05d7855602db508b509539 SHA512 d0feea0042ef5bbe1fc76ca107cb2450bdf564d82542c483f3b484aa3e32986d649bea9e7e65ea7a36e23582c73c7b341bdb1b07722f09b67334b97ca423999c +DIST botocore-1.20.68.tar.gz 7692876 BLAKE2B a5de44db992688a7ceff14e2663e21f370811871d87286215d04db9d0ba9649c67c047b6ec290967eddcdc8cc6fd12bbe9c99589fea183ec2b2036dc69f4d7e6 SHA512 f3de8f5cb621174dc0ed1b8c8d4cbbc3cee56f0b0f4363767cfc68a879fc6e837225e82538640736687efa4340d62ff3d1923abc315f914b0a9189f775c65b6b diff --git a/dev-python/botocore/botocore-1.20.68.ebuild b/dev-python/botocore/botocore-1.20.68.ebuild new file mode 100644 index 000000000000..31e4df449edc --- /dev/null +++ b/dev-python/botocore/botocore-1.20.68.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE="https://github.com/boto/botocore" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/jmespath[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" + "${FILESDIR}/botocore-1.20.64-bpo43882.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/bottle/bottle-0.12.19.ebuild b/dev-python/bottle/bottle-0.12.19.ebuild index 900b2eaad597..41921534d9e4 100644 --- a/dev-python/bottle/bottle-0.12.19.ebuild +++ b/dev-python/bottle/bottle-0.12.19.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,7 +18,6 @@ IUSE="test" RESTRICT="!test? ( test )" BDEPEND="test? ( dev-python/mako[${PYTHON_USEDEP}] )" -RDEPEND="" PATCHES=( "${FILESDIR}"/${PN}-0.12.8-py3.5-backport.patch diff --git a/dev-python/breathe/Manifest b/dev-python/breathe/Manifest index b2006cab533c..15ea7ef7ae78 100644 --- a/dev-python/breathe/Manifest +++ b/dev-python/breathe/Manifest @@ -1,2 +1,3 @@ DIST breathe-4.28.0.tar.gz 187954 BLAKE2B fc17eb9fb47f01907a3edeb316a427c9f06b802189cb860fa43bf7333a2897c36b2ed6ed008ca30e6e5c856d10fcf55df53ed05997ea60c29aade84cc1e5111a SHA512 a02ff717e4f50d336c91aa943a6a15b7ad834e3896d63c3ec31b3d10ff098400c53fb80fd3441e115194942722e5fce8f9b858fc3a3ba691aac900e0b415906a DIST breathe-4.29.2.tar.gz 190695 BLAKE2B c3ecdc02f7ef8d83a63d4c6077f3ddfa794ff9113428a0686e37dcb281bb05a27a885b0664a3eadeeb2efdab5b51a1164c93fe67954bc3e71f54e1c6bc114c84 SHA512 1a47a36f9ebb4c863dd3d06d19ae1dd18af3b9468561f2b2370f57da8573faf4489ee3f1c9aebc84d867a51a6a7032d1a57a3430b804c5dd5886a0fce4c0adfc +DIST breathe-4.30.0.tar.gz 190892 BLAKE2B 19723ed2f979eedcab73a9920c37cf6d3f6e02ff08703d601cc38fe55ecbac28b8ef8d319205723fce75b5e679a75fbd8e712dc134358e1ba6c23dfcb999a472 SHA512 fa09ee687a8e67fa480865a0d33affd9aa0ab48b0cb5b685731ec393045d8c9e1ae0622a1315f805449d712e99e6982ed229bb79314c69f69da0c705d075f7f9 diff --git a/dev-python/breathe/breathe-4.30.0.ebuild b/dev-python/breathe/breathe-4.30.0.ebuild new file mode 100644 index 000000000000..1252b4ea61e4 --- /dev/null +++ b/dev-python/breathe/breathe-4.30.0.ebuild @@ -0,0 +1,31 @@ +# 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="Sphinx Doxygen renderer" +HOMEPAGE=" + https://breathe.readthedocs.io/en/latest/ + https://github.com/michaeljones/breathe/" +SRC_URI="https://github.com/michaeljones/breathe/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + app-doc/doxygen + dev-python/docutils[${PYTHON_USEDEP}] + >=dev-python/sphinx-3.0.0[${PYTHON_USEDEP}] + dev-texlive/texlive-bibtexextra + dev-texlive/texlive-fontsextra + dev-texlive/texlive-fontutils + dev-texlive/texlive-latex + dev-texlive/texlive-latexextra +" + +distutils_enable_tests pytest diff --git a/dev-python/click-default-group/click-default-group-1.2.2.ebuild b/dev-python/click-default-group/click-default-group-1.2.2.ebuild index 7fea257e50ea..d1bd5f9986d5 100644 --- a/dev-python/click-default-group/click-default-group-1.2.2.ebuild +++ b/dev-python/click-default-group/click-default-group-1.2.2.ebuild @@ -15,6 +15,5 @@ SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND="dev-python/click[${PYTHON_USEDEP}]" -BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" distutils_enable_tests pytest diff --git a/dev-python/click/click-7.1.2-r1.ebuild b/dev-python/click/click-7.1.2-r1.ebuild index 9fcebd800c81..7cd2a25fe972 100644 --- a/dev-python/click/click-7.1.2-r1.ebuild +++ b/dev-python/click/click-7.1.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/dev-python/cloudpickle/cloudpickle-1.6.0.ebuild b/dev-python/cloudpickle/cloudpickle-1.6.0.ebuild index a79c04501cb5..34d59c2ee764 100644 --- a/dev-python/cloudpickle/cloudpickle-1.6.0.ebuild +++ b/dev-python/cloudpickle/cloudpickle-1.6.0.ebuild @@ -2,7 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 DESCRIPTION="Extended pickling support for Python objects" @@ -27,5 +28,5 @@ python_test() { local -x PYTHONPATH=${PYTHONPATH}:tests/cloudpickle_testpkg # -s unbreaks some tests # https://github.com/cloudpipe/cloudpickle/issues/252 - pytest -svv || die "Tests fail with ${EPYTHON}" + epytest -s } diff --git a/dev-python/configobj/configobj-5.0.6-r1.ebuild b/dev-python/configobj/configobj-5.0.6-r1.ebuild index 2c7929857189..870ba10e5c21 100644 --- a/dev-python/configobj/configobj-5.0.6-r1.ebuild +++ b/dev-python/configobj/configobj-5.0.6-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) DISTUTILS_USE_SETUPTOOLS=no inherit distutils-r1 diff --git a/dev-python/cookies/cookies-2.2.1-r1.ebuild b/dev-python/cookies/cookies-2.2.1-r1.ebuild index 54355853a5c8..131a2797023e 100644 --- a/dev-python/cookies/cookies-2.2.1-r1.ebuild +++ b/dev-python/cookies/cookies-2.2.1-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +PYTHON_COMPAT=(python3_{7..10} pypy3 ) inherit distutils-r1 diff --git a/dev-python/croniter/Manifest b/dev-python/croniter/Manifest index 319f120b1307..ad52ccf8714c 100644 --- a/dev-python/croniter/Manifest +++ b/dev-python/croniter/Manifest @@ -1 +1,2 @@ DIST croniter-1.0.12.tar.gz 38763 BLAKE2B 28bb662b05d893c782807687261b3bdafa0b1412d98dc8ceebcc0d9fff941f58b22a3abf9462c0f601bbe8701460350dad70d1239aa4f28978444698836b87b2 SHA512 ff5e35ddb0a6080ff95155de2ac5942fa1cab827a4cbb6e639553f8646b89063d0292b7fd69bc38fca90429da0272f3efeeefe0cbde0d83b9915ecb078340f08 +DIST croniter-1.0.13.tar.gz 38907 BLAKE2B 436bb766c39ad61343913e354d0838458e56048115ed5d15ef95b0dc0c22b38fb4e7ec3fe6162856d208d45268fd360c8b18698b7c61bb0f70636b79a6a84988 SHA512 721749a268734e06776ab968a1fb01926f416e1a42678ee28dcac9b4655a92b5cb17984a9b9d886f8d963484f1af7382b17e72fd3998e3e1e8101fa5038a4fa1 diff --git a/dev-python/croniter/croniter-1.0.13.ebuild b/dev-python/croniter/croniter-1.0.13.ebuild new file mode 100644 index 000000000000..abce99f9e8d3 --- /dev/null +++ b/dev-python/croniter/croniter-1.0.13.ebuild @@ -0,0 +1,26 @@ +# 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="Python module to provide iteration for datetime object" +HOMEPAGE="https://github.com/kiorky/croniter https://pypi.org/project/croniter/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/python-dateutil[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/tzlocal[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest diff --git a/dev-python/cycler/cycler-0.10.0-r1.ebuild b/dev-python/cycler/cycler-0.10.0-r1.ebuild index 7186d17fa1e6..fc6094d4d825 100644 --- a/dev-python/cycler/cycler-0.10.0-r1.ebuild +++ b/dev-python/cycler/cycler-0.10.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 diff --git a/dev-python/dill/dill-0.3.3.ebuild b/dev-python/dill/dill-0.3.3.ebuild index e777bb6e9e62..bc769cc969af 100644 --- a/dev-python/dill/dill-0.3.3.ebuild +++ b/dev-python/dill/dill-0.3.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest index 0f3bdddc585a..9a0807f7d406 100644 --- a/dev-python/django/Manifest +++ b/dev-python/django/Manifest @@ -1,6 +1,12 @@ DIST Django-2.2.21.checksum.txt 2557 BLAKE2B 76c1588760de34bdd4274eb12abcb60dd476ef1057dd7679ae76f8b7fe916c40c26ab19a821075523c5ae886802af7aa267efafe3d8192ad14ac18557651f5cf SHA512 83d4893e83eaf271f783c177549f8267a2d84969a6d87447f3cb9d9cb36d9acb48564867644c7d95763f9a3888dd9d8647233733b92b432c54e4472f8c34a5fd DIST Django-2.2.21.tar.gz 9209871 BLAKE2B 616215d43fc879bd4f01fb6fec7f3fa47c4630bcc961c8606c01a6e25c2ff27dfdf886db7dc03f8445b52957c1ad858fb8bb5e7cd25c97a927646bba436399de SHA512 37d1f58c23907792e49c827fe1efe4345fd5d74ca85b44d1f492d45c9f4f7cc9ebfbd59dc6a142bb24b666fb89e2ee62a3bc3e2242cd25d5c1e801a3f07a2589 +DIST Django-2.2.22.checksum.txt 2551 BLAKE2B b08f1d904caedfad04eceb57a704cec9dc660e59d2ceeddbd98f16b8bf4f578a030f1baaef7e8eb7ffb022bcf11957642d08b972eec12aed12e51d41bacea07a SHA512 20adea9a59fad6974679836f044bd4a1089faa881a7efbf15fc6a17e3a674ff9b638708bdfa7724b82d80db73c64b478eed08cec6eb5d040100aec20078dc1df +DIST Django-2.2.22.tar.gz 9182392 BLAKE2B f68141772ec101332a2a0c7b1b2216a14535404e814d80a6a350effcd4ee07eb6a4271f997a43d24e4a083fef690492714858b2c92d982fb113352f6fd062545 SHA512 215497034224dbbbffb3e70f9c50e51a149c9962074d2ae7152a664d21f7e762a7f62baebad2387037feff02e880e1dfdfa04ad797907ba5daf65276c2b99fd7 +DIST Django-3.1.10.checksum.txt 2551 BLAKE2B 811e820ef036301ee1a6aafb2f74e5809baee591b37a04e5726bff4086f58d29e13ef7b0fd5f95fe9316232cff45ebd2d7c69fbdcd9a3d1322ede118c4577a65 SHA512 b1eb565dfb978cd4819817b1f0fbb9685c1a7d9d9863ea4a0da137056add6af98d6051eae1b81f37bfb0e673993a4af7dd760811e343bb2fd7a0d98a3ee1663a +DIST Django-3.1.10.tar.gz 9654073 BLAKE2B c3729b7007b0b8309fda111f7bd988c861fb1002da3683e972a01bcd2aecfc6b42e896f91297239cba2061106096226552c26eb50325ea5b50f5a5df3a191bfd SHA512 6dd3c7a5cd1b5cbeb6e62f72fa56fce260bd407a3ac659ddee893489efae7a6bea862ecc113da342a2ed4cffa39e564c55dd20792b5435f9f00fef5488579aad DIST Django-3.1.9.checksum.txt 2548 BLAKE2B 2b733f7ef48b861fd97136a4efa034420e956e506020336ffaec4de7aa7d967d88bcfc5d8574afde317a74f95703378489109334569a84e163fcc635c59378ee SHA512 4558df4393661deb44c0b0c4658aeef3757e8e16dab98b177d0f5102398530dc96d526a955e4f7c88b2d0c40af544e7f9f6deb8d2697c4626c19e16f1860fb06 DIST Django-3.1.9.tar.gz 9673018 BLAKE2B 6212bb48b31566ed2d87f2bdf7922b6e3e93df06b4f8f7ddb1fd20a1a7465856ccc280dad6885f1d2fbf90c6c1919cbc0830416e82e4123fee1c116561d0631c SHA512 7df6afd2539407727a250a981488c80450b882772ecf0edb778182a828d4c80a47b668e64e6e2adc8d21fcab92aef5322cfae3f386369688087774708e75fa13 DIST Django-3.2.1.checksum.txt 2548 BLAKE2B 2f5feeffd4cc664e5ef97de2ae1428a9f432f4480fee846bf8abefbecdd4e418736ca700481e3fc6f114d6c62ff083dae60cefee4e5d8481f97f013fba1e0242 SHA512 32cfa9d890059fda32bbd0062b0333bad4b1b616bd555a99870fad09e7d3c662117b4fd5fb98ac7e634daf199434c2f58fdaeb28d895cf714ae05fbf7eef1b91 DIST Django-3.2.1.tar.gz 9820723 BLAKE2B 968104e3a42310effe8a81b46eb7e17b97aa8f92fddaeef6a1dbee49947d9711daf0c71628fb9c4384a4e7bcb63041a15151f71a368f20934db80513967f0ea2 SHA512 5f3f80047cdcb6c9a07ca0dc9d6d83d190c8c0215311f39e6e441384659c92e4fa42bf4677d297a4ba8520a0bfbd78c4b2ca13cf467c1e1220c0c6a3131ba444 +DIST Django-3.2.2.checksum.txt 2542 BLAKE2B 1a61ea4e8415d77b50d0dc227905596941a9cfed019c3442be1d7529d0b82204b08e15befdcccccd3a7a4625b762e99526b762053e9ec7c29068caa2dfe055a1 SHA512 eebb6e7172d85af3d6f65296d816f40cacd78c8270bd198d275c3c2844e9106ec517265490e7371d5df803d044ee1534a4eb836d2a279d395884c1ec7b9cb0f5 +DIST Django-3.2.2.tar.gz 9796920 BLAKE2B 09a720d169702f1d80b592e8a4c8e136b9b3c4539db44f8bcf3ef7d0e6bb678892b7ad4bbeac89fc887c9938cb35d8a9d3fee9a58e692f99c37e81f01615a6b4 SHA512 28d1d56cdf883f8fb5e438124be53dbefaa0045d1acf0b4b8b455a482422e2b88ffc5a3c8be2ee1b7d3c39fe29cfa854b44b438c3d43323483bd35e0d05f9e49 diff --git a/dev-python/django/django-2.2.22.ebuild b/dev-python/django/django-2.2.22.ebuild new file mode 100644 index 000000000000..0ee1bbac738c --- /dev/null +++ b/dev-python/django/django-2.2.22.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_REQ_USE='sqlite?,threads(+)' + +inherit bash-completion-r1 distutils-r1 optfeature verify-sig + +MY_P=${P^} +DESCRIPTION="High-level Python web framework" +HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" +SRC_URI=" + https://media.djangoproject.com/releases/$(ver_cut 1-2)/${MY_P}.tar.gz + verify-sig? ( https://media.djangoproject.com/pgp/${MY_P}.checksum.txt )" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD" +# admin fonts: Roboto (media-fonts/roboto) +LICENSE+=" Apache-2.0" +# admin icons, jquery, xregexp.js +LICENSE+=" MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="doc sqlite test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]" +BDEPEND=" + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + $(python_gen_impl_dep sqlite) + ${RDEPEND} + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[webp,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/selenium[${PYTHON_USEDEP}] + dev-python/tblib[${PYTHON_USEDEP}] + sys-devel/gettext + ) + verify-sig? ( app-crypt/openpgp-keys-django ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-2.0.7-bashcomp.patch +) + +distutils_enable_sphinx docs --no-autodoc + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/django.asc + +src_unpack() { + if use verify-sig; then + cd "${DISTDIR}" || die + verify-sig_verify_signed_checksums \ + "${MY_P}.checksum.txt" sha256 "${MY_P}.tar.gz" + cd "${WORKDIR}" || die + fi + + default +} + +python_test() { + # Tests have non-standard assumptions about PYTHONPATH, + # and don't work with ${BUILD_DIR}/lib. + PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || + die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + newbashcomp extras/django_bash_completion ${PN}-admin + bashcomp_alias ${PN}-admin django-admin.py + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature_header "Additional Backend support can be enabled via:" + optfeature "MySQL backend support" dev-python/mysqlclient + optfeature "PostgreSQL backend support" dev-python/psycopg:2 + optfeature_header + optfeature "GEO Django" "sci-libs/gdal[geos]" + optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached + optfeature "ImageField Support" dev-python/pillow + optfeature "Password encryption" dev-python/bcrypt + optfeature "High-level abstractions for Django forms" dev-python/django-formtools +} diff --git a/dev-python/django/django-3.1.10.ebuild b/dev-python/django/django-3.1.10.ebuild new file mode 100644 index 000000000000..18563ceb80f8 --- /dev/null +++ b/dev-python/django/django-3.1.10.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_REQ_USE='sqlite?,threads(+)' + +inherit bash-completion-r1 distutils-r1 optfeature verify-sig + +MY_P=${P^} +DESCRIPTION="High-level Python web framework" +HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" +SRC_URI=" + https://media.djangoproject.com/releases/$(ver_cut 1-2)/${MY_P}.tar.gz + verify-sig? ( https://media.djangoproject.com/pgp/${MY_P}.checksum.txt )" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD" +# admin fonts: Roboto (media-fonts/roboto) +LICENSE+=" Apache-2.0" +# admin icons, jquery, xregexp.js +LICENSE+=" MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos" +IUSE="doc sqlite test" +RESTRICT="!test? ( test )" + +RDEPEND=" + || ( + >=dev-python/asgiref-3.3.4[${PYTHON_USEDEP}] + <dev-python/asgiref-3.3.2[${PYTHON_USEDEP}] + ) + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]" +BDEPEND=" + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + $(python_gen_impl_dep sqlite) + ${RDEPEND} + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[webp,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/selenium[${PYTHON_USEDEP}] + dev-python/tblib[${PYTHON_USEDEP}] + sys-devel/gettext + !!<dev-python/ipython-7.21.0-r1 + !!=dev-python/ipython-7.22.0-r0 + ) + verify-sig? ( >=app-crypt/openpgp-keys-django-20201201 ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-3.1-bashcomp.patch +) + +distutils_enable_sphinx docs --no-autodoc + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/django.asc + +src_unpack() { + if use verify-sig; then + cd "${DISTDIR}" || die + verify-sig_verify_signed_checksums \ + "${MY_P}.checksum.txt" sha256 "${MY_P}.tar.gz" + cd "${WORKDIR}" || die + fi + + default +} + +python_test() { + # Tests have non-standard assumptions about PYTHONPATH, + # and don't work with ${BUILD_DIR}/lib. + PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || + die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + newbashcomp extras/django_bash_completion ${PN}-admin + bashcomp_alias ${PN}-admin django-admin.py + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature_header "Additional Backend support can be enabled via:" + optfeature "MySQL backend support" dev-python/mysqlclient + optfeature "PostgreSQL backend support" dev-python/psycopg:2 + optfeature_header + optfeature "GEO Django" "sci-libs/gdal[geos]" + optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached + optfeature "ImageField Support" dev-python/pillow + optfeature "Password encryption" dev-python/bcrypt + optfeature "High-level abstractions for Django forms" dev-python/django-formtools +} diff --git a/dev-python/django/django-3.2.2.ebuild b/dev-python/django/django-3.2.2.ebuild new file mode 100644 index 000000000000..705984d913bb --- /dev/null +++ b/dev-python/django/django-3.2.2.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_REQ_USE='sqlite?,threads(+)' + +inherit bash-completion-r1 distutils-r1 optfeature verify-sig + +MY_P=${P^} +DESCRIPTION="High-level Python web framework" +HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" +SRC_URI=" + https://media.djangoproject.com/releases/$(ver_cut 1-2)/${MY_P}.tar.gz + verify-sig? ( https://media.djangoproject.com/pgp/${MY_P}.checksum.txt )" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD" +# admin fonts: Roboto (media-fonts/roboto) +LICENSE+=" Apache-2.0" +# admin icons, jquery, xregexp.js +LICENSE+=" MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos" +IUSE="doc sqlite test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/asgiref-3.3.4[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ${RDEPEND} + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[webp,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/selenium[${PYTHON_USEDEP}] + dev-python/tblib[${PYTHON_USEDEP}] + sys-devel/gettext + !!<dev-python/ipython-7.21.0-r1 + !!=dev-python/ipython-7.22.0-r0 + ) + verify-sig? ( >=app-crypt/openpgp-keys-django-20201201 ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-3.1-bashcomp.patch +) + +distutils_enable_sphinx docs --no-autodoc + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/django.asc + +src_unpack() { + if use verify-sig; then + cd "${DISTDIR}" || die + verify-sig_verify_signed_checksums \ + "${MY_P}.checksum.txt" sha256 "${MY_P}.tar.gz" + cd "${WORKDIR}" || die + fi + + default +} + +python_test() { + # Tests have non-standard assumptions about PYTHONPATH, + # and don't work with ${BUILD_DIR}/lib. + PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || + die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + newbashcomp extras/django_bash_completion ${PN}-admin + bashcomp_alias ${PN}-admin django-admin.py + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature_header "Additional Backend support can be enabled via:" + optfeature "MySQL backend support" dev-python/mysqlclient + optfeature "PostgreSQL backend support" dev-python/psycopg:2 + optfeature_header + optfeature "GEO Django" "sci-libs/gdal[geos]" + optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached + optfeature "ImageField Support" dev-python/pillow + optfeature "Password encryption" dev-python/bcrypt + optfeature "High-level abstractions for Django forms" dev-python/django-formtools +} diff --git a/dev-python/exdown/Manifest b/dev-python/exdown/Manifest index 1eccde3c67cd..1f5deedebc9c 100644 --- a/dev-python/exdown/Manifest +++ b/dev-python/exdown/Manifest @@ -1,3 +1,4 @@ DIST exdown-0.8.6.tar.gz 5480 BLAKE2B fe383a2092691afdb2a3fd8cfeffb78f62b23bd4dc8f8d5365102084acc8670c9f2bc3e4a0ade95a50ceffc5cc142c39dbd3e505678a238d6f39b82f6553071a SHA512 28cd68ed99d24c79a7764f7603242f2b1426f119864d39424b1326cecc5bc922ed610133099e7d03d384c485f4f67d1fefcaadee4e1f69ac8ece08136eb858e9 DIST exdown-0.8.8.tar.gz 5523 BLAKE2B b53f23ebf133ad75973298b9b98c3f85f63802a9a302e92dda1446f0d686ba4eecd4fa72056d331b6e6caca5e066ec032a31fbfa3e74c1dba39ed007cf116480 SHA512 f5ef32b15720091c459110d6c9644b8dfcc84f6fd117f8433380704e93848cac0c9a3709d879bc42561474dd46b2035bc2be2f7e0bb5207a40ceb26ce4577b4a DIST exdown-0.8.9.tar.gz 5558 BLAKE2B 9fade2918bed1a6f81619e2d2bf13a2459f36e73422e271fc470944006b2fb28d5fe0c7bd01810a605fdae64a3725d96e9ea3b8b39f391a4254292244437f380 SHA512 c1d556634295dc24fb7b4a13ea73aff9a162d96e5f698c3923e87fb6a5a1b28be49d2527d91b861aeb8c26bce08b8ebfa0ad6b02553d8e7c291430ec1f72be7c +DIST pytest-codeblocks-0.9.0.tar.gz 6590 BLAKE2B 34d1c72a891d2f2f1d98c4238322d888a48b286d628e3738043d16a59a75b3bd15b29e31c554a83508d9af31caf1b526e3c535a243bcf77c8d77f9bf5be69f5b SHA512 834002c4e9c8ad36baa9a4ed494fe28cf09460e0ee5a0a3d8d111cb0bd8ca4ed3c784a047901bc67984e7892f931b5644c1ea68112e4d9dda514a20e048b3d11 diff --git a/dev-python/exdown/exdown-0.9.0.ebuild b/dev-python/exdown/exdown-0.9.0.ebuild new file mode 100644 index 000000000000..e91816ec7ce7 --- /dev/null +++ b/dev-python/exdown/exdown-0.9.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 virtualx + +MY_P=pytest-codeblocks-${PV} +DESCRIPTION="Extract code blocks from markdown" +HOMEPAGE="https://github.com/nschloe/pytest-codeblocks/" +SRC_URI=" + https://github.com/nschloe/pytest-codeblocks/archive/v${PV}.tar.gz + -> ${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/importlib_metadata[${PYTHON_USEDEP}] + ' python3_7) +" + +distutils_enable_tests pytest diff --git a/dev-python/greenlet/Manifest b/dev-python/greenlet/Manifest index 17c616a10d9c..09b0a99369ef 100644 --- a/dev-python/greenlet/Manifest +++ b/dev-python/greenlet/Manifest @@ -1 +1,2 @@ DIST greenlet-1.0.0.tar.gz 84525 BLAKE2B b5b7094a3dd7b6426fb93fb147077e98e7313700be7a94c221cda3df3bb12f5322f0cea786b77b7b6500e5e97f71ba19b2c32535ccdbdf8a14c3db049cc2850a SHA512 7b615792c340e0eb8ca61bd09bde48ed15110d97254910bd8598312e15adb7267ba795e9e6b52f0998db27d8413d2e1aa9e977511c0d09cd3a5583b37475f882 +DIST greenlet-1.1.0.tar.gz 85043 BLAKE2B d9f5eccfe2dda528e5bc90bdc9c3992517b42c7d5f9d5549590b8f94003f715921585fa01219eea0348d6204b0109c4e342657fdf8150f09cabd2d6179e6e9f2 SHA512 13547917860d9a19f2fab519380121805d8f7801ad47b1584003833a5de66eb703373c71e67b32f13b770d429bcee6856b35bc6fc8afb7be598c2bf509bede03 diff --git a/dev-python/greenlet/greenlet-1.1.0.ebuild b/dev-python/greenlet/greenlet-1.1.0.ebuild new file mode 100644 index 000000000000..29935595d956 --- /dev/null +++ b/dev-python/greenlet/greenlet-1.1.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# Note: greenlet is built-in in pypy +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) + +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 ~x64-macos" + +distutils_enable_sphinx docs +distutils_enable_tests unittest + +python_test() { + eunittest greenlet.tests +} diff --git a/dev-python/html5lib/files/html5lib-1.1-pytest6.patch b/dev-python/html5lib/files/html5lib-1.1-pytest6.patch new file mode 100644 index 000000000000..a511b40abeaa --- /dev/null +++ b/dev-python/html5lib/files/html5lib-1.1-pytest6.patch @@ -0,0 +1,153 @@ +# https://github.com/html5lib/html5lib-python/pull/506 +# https://bugs.gentoo.org/754144 +From e6bd99e8f2497194ffd0a06c6954ebb28d7526bb Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz> +Date: Sat, 8 Aug 2020 13:39:22 +0200 +Subject: [PATCH] Use Node.from_parent() constructor to support pytest 6 + +Add a wrapper not to break pytest 4 (needed for Python 2 support). + + ============================= test session starts ============================== + platform linux -- Python 3.9.0b5, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 + rootdir: /builddir/build/BUILD/html5lib-1.1, configfile: pytest.ini + plugins: expect-1.1.0 + collected 0 items / 1 error + + ==================================== ERRORS ==================================== + ________________________ ERROR collecting test session _________________________ + /usr/lib/python3.9/site-packages/pluggy/hooks.py:286: in __call__ + return self._hookexec(self, self.get_hookimpls(), kwargs) + /usr/lib/python3.9/site-packages/pluggy/manager.py:93: in _hookexec + return self._inner_hookexec(hook, methods, kwargs) + /usr/lib/python3.9/site-packages/pluggy/manager.py:84: in <lambda> + self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( + html5lib/tests/conftest.py:105: in pytest_collect_file + return TokenizerFile(path, parent) + /usr/lib/python3.9/site-packages/_pytest/nodes.py:95: in __call__ + warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2) + E pytest.PytestDeprecationWarning: Direct construction of TokenizerFile has been deprecated, please use TokenizerFile.from_parent. + E See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details. + +Fixes https://github.com/html5lib/html5lib-python/issues/505 +--- + html5lib/tests/conftest.py | 15 ++++++++++++--- + html5lib/tests/sanitizer.py | 2 +- + html5lib/tests/tokenizer.py | 10 +++++----- + html5lib/tests/tree_construction.py | 20 ++++++++++---------- + requirements-test.txt | 2 +- + 5 files changed, 29 insertions(+), 20 deletions(-) + +diff --git a/html5lib/tests/conftest.py b/html5lib/tests/conftest.py +index dad167c5..fffeb50c 100644 +--- a/html5lib/tests/conftest.py ++++ b/html5lib/tests/conftest.py +@@ -99,10 +99,19 @@ def pytest_collect_file(path, parent): + + if _tree_construction in dir_and_parents: + if path.ext == ".dat": +- return TreeConstructionFile(path, parent) ++ return TreeConstructionFile.from_parent(parent, fspath=path) + elif _tokenizer in dir_and_parents: + if path.ext == ".test": +- return TokenizerFile(path, parent) ++ return TokenizerFile.from_parent(parent, fspath=path) + elif _sanitizer_testdata in dir_and_parents: + if path.ext == ".dat": +- return SanitizerFile(path, parent) ++ return SanitizerFile.from_parent(parent, fspath=path) ++ ++ ++# Tiny wrapper to allow .from_parent constructors on older pytest for PY27 ++if not hasattr(pytest.Item.__base__, "from_parent"): ++ @classmethod ++ def from_parent(cls, parent, **kwargs): ++ return cls(parent=parent, **kwargs) ++ ++ pytest.Item.__base__.from_parent = from_parent +diff --git a/html5lib/tests/sanitizer.py b/html5lib/tests/sanitizer.py +index bb483421..16e53868 100644 +--- a/html5lib/tests/sanitizer.py ++++ b/html5lib/tests/sanitizer.py +@@ -13,7 +13,7 @@ def collect(self): + with codecs.open(str(self.fspath), "r", encoding="utf-8") as fp: + tests = json.load(fp) + for i, test in enumerate(tests): +- yield SanitizerTest(str(i), self, test=test) ++ yield SanitizerTest.from_parent(self, name=str(i), test=test) + + + class SanitizerTest(pytest.Item): +diff --git a/html5lib/tests/tokenizer.py b/html5lib/tests/tokenizer.py +index 47264cc3..cc9897a4 100644 +--- a/html5lib/tests/tokenizer.py ++++ b/html5lib/tests/tokenizer.py +@@ -192,7 +192,7 @@ def collect(self): + tests = json.load(fp) + if 'tests' in tests: + for i, test in enumerate(tests['tests']): +- yield TokenizerTestCollector(str(i), self, testdata=test) ++ yield TokenizerTestCollector.from_parent(self, name=str(i), testdata=test) + + + class TokenizerTestCollector(pytest.Collector): +@@ -207,10 +207,10 @@ def __init__(self, name, parent=None, config=None, session=None, testdata=None): + def collect(self): + for initialState in self.testdata["initialStates"]: + initialState = capitalize(initialState) +- item = TokenizerTest(initialState, +- self, +- self.testdata, +- initialState) ++ item = TokenizerTest.from_parent(self, ++ name=initialState, ++ test=self.testdata, ++ initialState=initialState) + if self.testdata["input"] is None: + item.add_marker(pytest.mark.skipif(True, reason="Relies on lone surrogates")) + yield item +diff --git a/html5lib/tests/tree_construction.py b/html5lib/tests/tree_construction.py +index 1ef6e725..fb0657bf 100644 +--- a/html5lib/tests/tree_construction.py ++++ b/html5lib/tests/tree_construction.py +@@ -26,7 +26,7 @@ class TreeConstructionFile(pytest.File): + def collect(self): + tests = TestData(str(self.fspath), "data") + for i, test in enumerate(tests): +- yield TreeConstructionTest(str(i), self, testdata=test) ++ yield TreeConstructionTest.from_parent(self, name=str(i), testdata=test) + + + class TreeConstructionTest(pytest.Collector): +@@ -48,11 +48,11 @@ def _getParserTests(self, treeName, treeAPIs): + nodeid = "%s::parser::namespaced" % treeName + else: + nodeid = "%s::parser::void-namespace" % treeName +- item = ParserTest(nodeid, +- self, +- self.testdata, +- treeAPIs["builder"] if treeAPIs is not None else None, +- namespaceHTMLElements) ++ item = ParserTest.from_parent(self, ++ name=nodeid, ++ test=self.testdata, ++ treeClass=treeAPIs["builder"] if treeAPIs is not None else None, ++ namespaceHTMLElements=namespaceHTMLElements) + item.add_marker(getattr(pytest.mark, treeName)) + item.add_marker(pytest.mark.parser) + if namespaceHTMLElements: +@@ -61,10 +61,10 @@ def _getParserTests(self, treeName, treeAPIs): + + def _getTreeWalkerTests(self, treeName, treeAPIs): + nodeid = "%s::treewalker" % treeName +- item = TreeWalkerTest(nodeid, +- self, +- self.testdata, +- treeAPIs) ++ item = TreeWalkerTest.from_parent(self, ++ name=nodeid, ++ test=self.testdata, ++ treeAPIs=treeAPIs) + item.add_marker(getattr(pytest.mark, treeName)) + item.add_marker(pytest.mark.treewalker) + yield item + diff --git a/dev-python/html5lib/html5lib-1.1.ebuild b/dev-python/html5lib/html5lib-1.1.ebuild index e1174c3d16fd..1156a40eb94d 100644 --- a/dev-python/html5lib/html5lib-1.1.ebuild +++ b/dev-python/html5lib/html5lib-1.1.ebuild @@ -15,14 +15,15 @@ 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 ~x64-macos" -IUSE="test" -RESTRICT+=" !test? ( test )" + +PATCHES=( + "${FILESDIR}"/${P}-pytest6.patch +) RDEPEND=">=dev-python/six-1.9[${PYTHON_USEDEP}] dev-python/webencodings[${PYTHON_USEDEP}]" BDEPEND=" test? ( - ${RDEPEND} dev-python/pytest-expect[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] )" diff --git a/dev-python/httpcore/Manifest b/dev-python/httpcore/Manifest index 81b4b14f7a26..8e6badc51ed0 100644 --- a/dev-python/httpcore/Manifest +++ b/dev-python/httpcore/Manifest @@ -2,3 +2,4 @@ DIST httpcore-0.12.3.tar.gz 57587 BLAKE2B 3c0e7a210b21e54564c4c6077fadf66344b887 DIST httpcore-0.13.0.tar.gz 58310 BLAKE2B 29ed4ad768088c6226ece27cb82e2a1d8df32eba4cf446015b43360c330ec65b433f571ac8e13e4b8f8994ff6e097ce5bf79ae1b9561d940298172c66d539153 SHA512 28ed65d3b3b30a62e3f198d98ae77a3cc26bd80250f10a506851433b5572a6fdcab38bf0d670caea94dec43d5b61de21a3ea967a445041536cad68eb98cc12bc DIST httpcore-0.13.1.tar.gz 58538 BLAKE2B 4c0b681f96fd64d17bc1974bdb74486fd336f84b27eda450d7de630c9f5dc2012ca91d10c4d0bcdaa06ff0e60d524993ab784721e4ffb55ff2848d68ea9ebb29 SHA512 ba410bf61e820016b061a8cd5a30b227bb75a78e90465459b2ff67dd76b9de9120d3b2474f6d8bb54698f627bb8801f2da5b3d85a4a41a0c5330d6bba8e10a49 DIST httpcore-0.13.2.tar.gz 59043 BLAKE2B c534c304b238837486b8a61860553475c87363b43842c9dad2629673c1d30c2f906f31658f6ff75bd9354040c08453c3d4ffe8bdf53077ca993399b93d68a57a SHA512 b032d56bc5bf4049d02ca2ddfaf66615a1ac2f0723291f82f9104a0d7f09d5eec710f9e1ac2082fa1e83ef7fa6fe4f5a6c7c28d660abd6803a990094c952834f +DIST httpcore-0.13.3.tar.gz 64246 BLAKE2B afc43122a5502770b6efe7052846926e25fa678dcbd5c8ddbcd806df36dcf684d94df12571efaab0ff1b657fef14d5d71dd902be5cbec12c61db13004d7fe5a9 SHA512 7ba6c2cb77c082bcdb8cdfad2bc17646ccc9348f49760150ec1070429f94913b2fb9eae6d3407b404581b48670b866bf11696453325dd70610bd700e94990450 diff --git a/dev-python/httpcore/httpcore-0.13.3.ebuild b/dev-python/httpcore/httpcore-0.13.3.ebuild new file mode 100644 index 000000000000..7195dca81ee2 --- /dev/null +++ b/dev-python/httpcore/httpcore-0.13.3.ebuild @@ -0,0 +1,64 @@ +# 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="A minimal low-level HTTP client" +HOMEPAGE="https://www.encode.io/httpcore/" +SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + <dev-python/h11-0.13[${PYTHON_USEDEP}] + <dev-python/hyper-h2-5[${PYTHON_USEDEP}] + =dev-python/sniffio-1*[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # anyio and trio are not in the tree + sed -i 's/^@pytest.mark.\(anyio\|trio\)/@pytest.mark.skip/' \ + tests/async_tests/test_*.py || die + sed -i '/^import trio/d' tests/utils.py || die + # pproxy is not in the tree, the associated fixture + # must be disabled to prevent errors during test setup + sed -i 's/def proxy_server().*/&\n pytest.skip()/' \ + tests/conftest.py || die + distutils-r1_python_prepare_all +} + +python_test() { + local skipped_tests=( + # Require Internet access or hypercorn (not in the tree) + tests/test_threadsafety.py::test_threadsafe_basic + tests/sync_tests/test_interfaces.py::test_http_request + tests/sync_tests/test_interfaces.py::test_https_request + tests/sync_tests/test_interfaces.py::test_http2_request + tests/sync_tests/test_interfaces.py::test_closing_http_request + tests/sync_tests/test_interfaces.py::test_connection_pool_get_connection_info + tests/sync_tests/test_interfaces.py::test_max_keepalive_connections_handled_correctly + tests/sync_tests/test_interfaces.py::test_explicit_backend_name + tests/sync_tests/test_interfaces.py::test_connection_timeout_tcp + tests/sync_tests/test_interfaces.py::test_broken_socket_detection_many_open_files + tests/sync_tests/test_retries.py::test_no_retries + tests/sync_tests/test_retries.py::test_retries_exceeded + tests/sync_tests/test_retries.py::test_retries_enabled + # Require hypercorn + tests/sync_tests/test_interfaces.py::test_connection_timeout_uds + ) + epytest ${skipped_tests[@]/#/--deselect } +} diff --git a/dev-python/hyperlink/hyperlink-21.0.0.ebuild b/dev-python/hyperlink/hyperlink-21.0.0.ebuild index a30f94ebbe79..11ead60ef39a 100644 --- a/dev-python/hyperlink/hyperlink-21.0.0.ebuild +++ b/dev-python/hyperlink/hyperlink-21.0.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 @@ -14,8 +14,7 @@ LICENSE="BSD MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" -RDEPEND=" - dev-python/idna[${PYTHON_USEDEP}]" +RDEPEND="dev-python/idna[${PYTHON_USEDEP}]" distutils_enable_tests pytest diff --git a/dev-python/loky/metadata.xml b/dev-python/loky/metadata.xml index 85f74251f05e..74ec6f67147a 100644 --- a/dev-python/loky/metadata.xml +++ b/dev-python/loky/metadata.xml @@ -3,6 +3,7 @@ <pkgmetadata> <maintainer type="project"> <email>python@gentoo.org</email> + <name>Python</name> </maintainer> <upstream> <remote-id type="pypi">loky</remote-id> diff --git a/dev-python/olefile/olefile-0.46-r1.ebuild b/dev-python/olefile/olefile-0.46-r1.ebuild index 60d939198378..ddb4ee03333a 100644 --- a/dev-python/olefile/olefile-0.46-r1.ebuild +++ b/dev-python/olefile/olefile-0.46-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/dev-python/pkginfo/pkginfo-1.7.0.ebuild b/dev-python/pkginfo/pkginfo-1.7.0.ebuild index dc0c86f2b8ec..b7133200902b 100644 --- a/dev-python/pkginfo/pkginfo-1.7.0.ebuild +++ b/dev-python/pkginfo/pkginfo-1.7.0.ebuild @@ -3,9 +3,7 @@ EAPI=7 -DISTUTILS_USE_SETUPTOOLS=rdepend PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - inherit distutils-r1 DESCRIPTION="Provides an API for querying the distutils metadata written in a PKG-INFO file" diff --git a/dev-python/priority/priority-1.3.0.ebuild b/dev-python/priority/priority-1.3.0.ebuild index ea0c2d4eb937..e9ca28249957 100644 --- a/dev-python/priority/priority-1.3.0.ebuild +++ b/dev-python/priority/priority-1.3.0.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 @@ -16,7 +17,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" -DEPEND=" +BDEPEND=" test? ( >=dev-python/hypothesis-3.4.2[${PYTHON_USEDEP}] ) " diff --git a/dev-python/prompt_toolkit/prompt_toolkit-3.0.18.ebuild b/dev-python/prompt_toolkit/prompt_toolkit-3.0.18.ebuild index 65261ccb753e..a44413fc2453 100644 --- a/dev-python/prompt_toolkit/prompt_toolkit-3.0.18.ebuild +++ b/dev-python/prompt_toolkit/prompt_toolkit-3.0.18.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 DESCRIPTION="Building powerful interactive command lines in Python" diff --git a/dev-python/psycopg/psycopg-2.8.6-r1.ebuild b/dev-python/psycopg/psycopg-2.8.6-r1.ebuild index 4aa37fe51560..0dd9b3d88ebd 100644 --- a/dev-python/psycopg/psycopg-2.8.6-r1.ebuild +++ b/dev-python/psycopg/psycopg-2.8.6-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 flag-o-matic @@ -21,20 +21,10 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-li IUSE="debug test" RESTRICT="!test? ( test )" -# automagic dep on mxdatetime (from egenix-mx-base) -# the package was removed, so let's just make sure it's gone RDEPEND=">=dev-db/postgresql-8.1:*" -DEPEND="${RDEPEND} - test? ( >=dev-db/postgresql-8.1[server] ) - !!dev-python/egenix-mx-base" - -python_compile() { - local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS} - - ! python_is_python3 && append-flags -fno-strict-aliasing - - distutils-r1_python_compile -} +DEPEND="${RDEPEND}" +BDEPEND=" + test? ( >=dev-db/postgresql-8.1[server] )" python_prepare_all() { if use debug; then diff --git a/dev-python/py-ubjson/py-ubjson-0.16.1.ebuild b/dev-python/py-ubjson/py-ubjson-0.16.1.ebuild index b0676534854a..7cd2ad544f05 100644 --- a/dev-python/py-ubjson/py-ubjson-0.16.1.ebuild +++ b/dev-python/py-ubjson/py-ubjson-0.16.1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 diff --git a/dev-python/pypng/pypng-0.0.20.ebuild b/dev-python/pypng/pypng-0.0.20.ebuild index 1adfb07b8f0e..ebd7bd5dab39 100644 --- a/dev-python/pypng/pypng-0.0.20.ebuild +++ b/dev-python/pypng/pypng-0.0.20.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# 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_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 diff --git a/dev-python/pyprof2calltree/Manifest b/dev-python/pyprof2calltree/Manifest index 8b4e28492409..cbeea65c4c4e 100644 --- a/dev-python/pyprof2calltree/Manifest +++ b/dev-python/pyprof2calltree/Manifest @@ -1,2 +1 @@ -DIST pyprof2calltree-1.4.4.tar.gz 8797 BLAKE2B 0929728d3a6de1cc40e54bd4581bb4b64875a4d7f3ccef725300d40d2b3fd175d8ff462591357e32a471e5c3a4c5c51ac7e9c81c2e857050745a748bc4117d8a SHA512 7ffc228e542a568cb421394035660623415495472b5b3659a35b02c7ccccb7f578dc872d2bb1daf4fdfcd44134e1ad9b5ce3a18f49b15dd4aeb3b5f1201a28d8 DIST pyprof2calltree-1.4.5.tar.gz 8806 BLAKE2B 3a8a838a8b03294504c64dbe1d0caee2606a1ec53005222dfe6c3692bacd0801041ce199fedb9c38e4f6edc91e210116d9c1e034e0aa283cafebb19bf6303fed SHA512 2fcda74ae67dc3a8abb5dc153864ef59f96cc62b1c9359d02be12e83966c17738f5aa4a3d1c6e2ff81614dc963fc4b2faf375bbbb1ad15650a6817e493cdde39 diff --git a/dev-python/pyprof2calltree/pyprof2calltree-1.4.4.ebuild b/dev-python/pyprof2calltree/pyprof2calltree-1.4.4.ebuild deleted file mode 100644 index 271f34af77d2..000000000000 --- a/dev-python/pyprof2calltree/pyprof2calltree-1.4.4.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="convert python profile data to kcachegrind calltree form" -HOMEPAGE="https://pypi.org/project/pyprof2calltree/" -# pypi tarball lacks tests -SRC_URI="https://github.com/pwaller/pyprof2calltree/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -distutils_enable_tests setup.py diff --git a/dev-python/pyprof2calltree/pyprof2calltree-1.4.5.ebuild b/dev-python/pyprof2calltree/pyprof2calltree-1.4.5.ebuild index 2e5a80325cdd..dd44f18d642d 100644 --- a/dev-python/pyprof2calltree/pyprof2calltree-1.4.5.ebuild +++ b/dev-python/pyprof2calltree/pyprof2calltree-1.4.5.ebuild @@ -3,8 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 DESCRIPTION="convert python profile data to kcachegrind calltree form" diff --git a/dev-python/pyqrcode/pyqrcode-1.2.1-r1.ebuild b/dev-python/pyqrcode/pyqrcode-1.2.1-r1.ebuild index f104227cc6c0..eef6ac1b7d4f 100644 --- a/dev-python/pyqrcode/pyqrcode-1.2.1-r1.ebuild +++ b/dev-python/pyqrcode/pyqrcode-1.2.1-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 # upstream doesn't do tags diff --git a/dev-python/pyte/pyte-0.8.0-r1.ebuild b/dev-python/pyte/pyte-0.8.0-r1.ebuild index 40e19cc1c3a4..c39799e5b633 100644 --- a/dev-python/pyte/pyte-0.8.0-r1.ebuild +++ b/dev-python/pyte/pyte-0.8.0-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 diff --git a/dev-python/pytest-expect/metadata.xml b/dev-python/pytest-expect/metadata.xml index e75c3642cb93..4b5f547ae9f6 100644 --- a/dev-python/pytest-expect/metadata.xml +++ b/dev-python/pytest-expect/metadata.xml @@ -3,6 +3,7 @@ <pkgmetadata> <maintainer type="person"> <email>zmedico@gentoo.org</email> + <name>Zac Medico</name> </maintainer> <maintainer type="project"> <email>python@gentoo.org</email> diff --git a/dev-python/pytest-expect/pytest-expect-1.1.0-r1.ebuild b/dev-python/pytest-expect/pytest-expect-1.1.0-r1.ebuild index 427035246d08..da2322e7ba00 100644 --- a/dev-python/pytest-expect/pytest-expect-1.1.0-r1.ebuild +++ b/dev-python/pytest-expect/pytest-expect-1.1.0-r1.ebuild @@ -13,11 +13,9 @@ 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="" +# no tests +RESTRICT="test" RDEPEND=" dev-python/pytest[${PYTHON_USEDEP}] dev-python/u-msgpack[${PYTHON_USEDEP}]" - -# no tests... -RESTRICT="test" diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest index 945d631ce790..1244c4ba7055 100644 --- a/dev-python/pytest-mock/Manifest +++ b/dev-python/pytest-mock/Manifest @@ -1,2 +1,3 @@ DIST pytest-mock-3.5.1.tar.gz 29135 BLAKE2B f9eb37bff0965772919c359ad56a0cdd0cac24fa763685c42ffaa2dfaea183a9c0be480269cbfc80990baaf406021c541b6dccc09602e98c8f731bbd530e928a SHA512 28ab2f239d3dfee134dd4e4fd467109cf3c76cb60aeb537dbc0c21b9a7619d068d54737e33d98c585e9341588fdafba4737ea5f428af37796f55e61ec30373a7 DIST pytest-mock-3.6.0.tar.gz 29795 BLAKE2B ac0a9ebf47ceacaa6f1e109571a15509780ca25b67f46a74710fb81e3af4cb90f4bf95e077abd9c5be803fed1a4dfe691f57f4b0d89fbc91cb91ed85fd326f9b SHA512 158614ad655545a95134335b6ca5ab81bfae57a045a6e394c4195d267e2b5cce277302036ad7e23e3c771eaae71575b901ac3e02a734714d63ecb50c11b9df94 +DIST pytest-mock-3.6.1.tar.gz 29933 BLAKE2B 6c22d23f3a8e9b5ef26f990325f5a2c2897b60f61f84472716a1f984e72a8c38f6992e439ef581d7772e25a5fe9e76d190697d9c7bc8b5dcbf6375bead4b3dc3 SHA512 50a8ffbac1b20b1962558789b24d50c1e7d8d2e2706ee15a576eb5fd1b40d4523482dce7a1078d532b686ff8d38b6d769d356b04241528a0196e14acae0b6199 diff --git a/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild b/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild new file mode 100644 index 000000000000..88026025c385 --- /dev/null +++ b/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest" +HOMEPAGE="https://github.com/pytest-dev/pytest-mock/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" + +RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]" +BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_test() { + local deselect=() + if has_version dev-python/mock; then + deselect+=( + tests/test_pytest_mock.py::test_standalone_mock + ) + fi + + distutils_install_for_testing + epytest --assert=plain ${deselect[@]/#/--deselect } +} diff --git a/dev-python/pytrie/pytrie-0.4.0.ebuild b/dev-python/pytrie/pytrie-0.4.0.ebuild index ab2e68f99898..c696fa4eae74 100644 --- a/dev-python/pytrie/pytrie-0.4.0.ebuild +++ b/dev-python/pytrie/pytrie-0.4.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 diff --git a/dev-python/random2/metadata.xml b/dev-python/random2/metadata.xml index 789f6c171abf..d010fef14bad 100644 --- a/dev-python/random2/metadata.xml +++ b/dev-python/random2/metadata.xml @@ -3,6 +3,7 @@ <pkgmetadata> <maintainer type="person"> <email>grozin@gentoo.org</email> + <name>Andrey Grozin</name> </maintainer> <upstream> <remote-id type="pypi">random2</remote-id> diff --git a/dev-python/random2/random2-1.0.1-r1.ebuild b/dev-python/random2/random2-1.0.1-r1.ebuild index 7e443f14f11e..501efa1f0b44 100644 --- a/dev-python/random2/random2-1.0.1-r1.ebuild +++ b/dev-python/random2/random2-1.0.1-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 DESCRIPTION="Python-2.7 random module ported to python-3" @@ -14,8 +14,7 @@ LICENSE="PSF-2" SLOT="0" KEYWORDS="amd64 arm64 x86" -BDEPEND="app-arch/unzip - dev-python/setuptools[${PYTHON_USEDEP}]" +BDEPEND="app-arch/unzip" distutils_enable_tests setup.py diff --git a/dev-python/re-assert/metadata.xml b/dev-python/re-assert/metadata.xml index 3b0aaca69625..89b709b5136c 100644 --- a/dev-python/re-assert/metadata.xml +++ b/dev-python/re-assert/metadata.xml @@ -3,6 +3,7 @@ <pkgmetadata> <maintainer type="project"> <email>python@gentoo.org</email> + <name>Python</name> </maintainer> <upstream> <remote-id type="pypi">re-assert</remote-id> diff --git a/dev-python/regex/Manifest b/dev-python/regex/Manifest index 99ec8b5753b0..9ba09870a389 100644 --- a/dev-python/regex/Manifest +++ b/dev-python/regex/Manifest @@ -1,2 +1 @@ -DIST regex-2021.3.17.tar.gz 694380 BLAKE2B 9388038519cc4c11a332dd1fc9b4f742af3f69453890e148971105bb4a5e73f562f7eaa4e2533548066e87aade2f64b507a6e65cd4b0070a26733fa2675190ea SHA512 3eb5e307e5e3656ea88de9f762522412192c687d0f0a4175dd1c605c9142386b98035b177f73c8c0daf10e629e9a3a3cf8851a25cbe6f10a018ba252cb348b1b DIST regex-2021.4.4.tar.gz 693187 BLAKE2B a13a51a883599f726c20cdbf28d5b0f1a53d8f2eec5f4047da0ede2951694507c5065de5a84152510874db087c342d52f19d920a7b72c034325ddc91f5fb75ac SHA512 2eff9867639f16ad7894997f399262d653a9ef0bb4e8d40bd977e5c55625cf57b4bb593f84504009a0b3cd50b3876d1938c71fd733c0ad1a076de32b6b4b33b9 diff --git a/dev-python/regex/regex-2021.3.17.ebuild b/dev-python/regex/regex-2021.3.17.ebuild deleted file mode 100644 index 30bf789a1c7b..000000000000 --- a/dev-python/regex/regex-2021.3.17.ebuild +++ /dev/null @@ -1,30 +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 flag-o-matic - -DESCRIPTION="Alternative regular expression module to replace re" -HOMEPAGE="https://bitbucket.org/mrabarnett/mrab-regex" -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" -IUSE="doc" - -python_test() { - pushd "${BUILD_DIR}/lib" > /dev/null || die - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" - popd > /dev/null || die -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/Features.html ) - local DOCS=( README.rst docs/*.rst ) - - distutils-r1_python_install_all -} diff --git a/dev-python/scipy/scipy-1.6.2.ebuild b/dev-python/scipy/scipy-1.6.2.ebuild index 7cfad7b4cc7d..f3e68c041686 100644 --- a/dev-python/scipy/scipy-1.6.2.ebuild +++ b/dev-python/scipy/scipy-1.6.2.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD LGPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="doc sparse" DEPEND=" diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index 5112c6e965d1..d5e140d98be9 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -1 +1,2 @@ DIST sentry-sdk-1.0.0.tar.gz 213707 BLAKE2B 9fa3dfac7d82c9e2c81be6f4edafbc27ab19a2a96876885dabe72d2dbd6cf392b80e453c640affb94d84f35b227b12d56927bec88e01a0ebfdcf8a466470a909 SHA512 e91ede3e5e31c2acba7094bd5c6a95280aa8367b1fcd524fc9b100d2a3a253efec1ed3d9c72465f5b2ef5276c834906d622b84e1650b65d2032f4acaf2fd1ab8 +DIST sentry-sdk-1.1.0.tar.gz 215946 BLAKE2B 486f32430a03d42c73814195ef16ec4efc71512faca197d8020fad7b3d1e7350ec619ef453075bc4fc4e0e454f3aa6eda41ec29b88af19d75b5f6a10273db325 SHA512 500d0d3add4bf8e74f2e34d6c00491f4bbd45a2226cc0ee93ca0f63f5ae5aea61be6730f845d50e10909c9ede6918ec6cfb90e5ebe80b753dd634ac9a9238061 diff --git a/dev-python/sentry-sdk/sentry-sdk-1.1.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.1.0.ebuild new file mode 100644 index 000000000000..0f15b46a86bd --- /dev/null +++ b/dev-python/sentry-sdk/sentry-sdk-1.1.0.ebuild @@ -0,0 +1,69 @@ +# 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="Python client for Sentry" +HOMEPAGE="https://sentry.io/ https://pypi.org/project/sentry-sdk/" +SRC_URI="https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/sentry-python-${PV}" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + dev-python/urllib3[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/asttokens[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/executing[${PYTHON_USEDEP}] + dev-python/eventlet[${PYTHON_USEDEP}] + dev-python/fakeredis[${PYTHON_USEDEP}] + dev-python/flask-login[${PYTHON_USEDEP}] + dev-python/gevent[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pyrsistent[${PYTHON_USEDEP}] + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local deselect=( + # tests require Internet access + tests/integrations/stdlib/test_httplib.py + tests/integrations/requests/test_requests.py + # wtf is it supposed to do?! + tests/integrations/gcp/test_gcp.py + # hangs + 'tests/test_transport.py::test_transport_works[eventlet' + # TODO + 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error' + tests/test_client.py::test_databag_depth_stripping + tests/test_client.py::test_databag_string_stripping + tests/test_client.py::test_databag_breadth_stripping + # test_circular_references: apparently fragile + 'tests/integrations/threading/test_threading.py::test_circular_references' + # test for new feature, fails with IndexError + tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler + ) + + # Prevent tests/integrations/modules/test_modules.py:test_basic failure + # Needs to detect sentry-sdk in the installed modules + distutils_install_for_testing + + epytest ${deselect[@]/#/--deselect } +} diff --git a/dev-python/serpent/serpent-1.30.2.ebuild b/dev-python/serpent/serpent-1.30.2.ebuild index ba60080cac52..baf0f2eac55c 100644 --- a/dev-python/serpent/serpent-1.30.2.ebuild +++ b/dev-python/serpent/serpent-1.30.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# 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_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 DESCRIPTION="A simple serialization library based on ast.literal_eval" diff --git a/dev-python/sphinxcontrib-programoutput/Manifest b/dev-python/sphinxcontrib-programoutput/Manifest index 4589542c7e98..2714c744e1ce 100644 --- a/dev-python/sphinxcontrib-programoutput/Manifest +++ b/dev-python/sphinxcontrib-programoutput/Manifest @@ -1,2 +1 @@ -DIST sphinxcontrib-programoutput-0.16.tar.gz 23714 BLAKE2B 1e5136faa89a2f303008fb0e24f99f544464d30f5c0c072db4e2e25cb30bfc3cd4af6157f6c8dc7ddfaffd8f6587435c5947b6981c34daf2d6029736fdc22870 SHA512 6003b8ce43ed468b01f6bda02c6f58c0518b38c43a75f1ed0869dd8df2ee215310246b7feeba90f213547644c1bdb0164cf1f44f44879ac054dcbd6d6f48a69e DIST sphinxcontrib-programoutput-0.17.tar.gz 24067 BLAKE2B 07687a221aa9be1e02629b2961b49eace217631a1298337f77a01986c3c6444a50069a8a8b9c96ca224895ae0f9490158a720519fdf3fb544e9d3e513282eb36 SHA512 cbb564830b8a627de6ecfa83fcc235d7dd7981e191ab3cada66a74d79a5bb2ec0a993eb8ae6249db553dc1814eae98891ea285f2c3cf5e745eabce7b8647b0c4 diff --git a/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.16.ebuild b/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.16.ebuild deleted file mode 100644 index 99421f64d577..000000000000 --- a/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.16.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Extension to sphinx to include program output" -HOMEPAGE=" - https://github.com/NextThought/sphinxcontrib-programoutput - https://pypi.org/project/sphinxcontrib-programoutput -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] -" -DEPEND=" - ${RDEPEND} - test? ( - dev-python/mock[${PYTHON_USEDEP}] - ) -" -distutils_enable_tests pytest -distutils_enable_sphinx doc - -python_install_all() { - distutils-r1_python_install_all - find "${ED}" -name '*.pth' -delete || die -} diff --git a/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.17.ebuild b/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.17.ebuild index a9dd38266767..578f214b3c56 100644 --- a/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.17.ebuild +++ b/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.17.ebuild @@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}] diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest index 5a51f2eb52b5..20427c9b618c 100644 --- a/dev-python/sqlalchemy/Manifest +++ b/dev-python/sqlalchemy/Manifest @@ -2,3 +2,4 @@ DIST SQLAlchemy-1.3.24.tar.gz 6353598 BLAKE2B 6eb92b20fa3412a1f1398e18e902e33383 DIST SQLAlchemy-1.4.11.tar.gz 7551299 BLAKE2B 65f560223f1f1656ec90a2b46b5447e92908cb7a8124f1a16f59ae04e5c22b9c4b7a30cbc0d1c8ebf31d31f544619223bdff0546fcfe6124195c4430bc8167c5 SHA512 28d5da109d754183e7f1887c652c47cd7162afec285a44ed6bc51566dc40d43cdb8cd1794f93f31b2e085488025f04243613d500936c220aaab3aedb75fb6dcd DIST SQLAlchemy-1.4.12.tar.gz 7583069 BLAKE2B a3097c53ba1c8e979c3eab712e51da39214710e174a90cdabd5f5588fcb01d2d45436e8019a1026780474e2fde7663495cffa411c58b255e847aa584a38ca26a SHA512 5863e4982c260d39e79db3a8fffd7ca6710b7f6ab0f73f9ddb09860e27d679fe2c92e0eaab9fe6914b38be4390c0eb685adef6624b06874fb43d96027b545659 DIST SQLAlchemy-1.4.13.tar.gz 7589942 BLAKE2B 08e9fb6112aa71738f27dc4ce86ebe2274dd2513f39ded7211a5617ecd677f37fe31de754a24ecd519b227b141287ad86d0d0337f3d278d4c4ca5b67e2a1a79d SHA512 fb81c71922a768221f6675686fb2696b5e6d1f2e72231611e9afd20b7659193247eef4191841799fb1fe6a51304629efb6d3fba5dc298fdf70f248010bce8bb3 +DIST SQLAlchemy-1.4.14.tar.gz 7599698 BLAKE2B 500a6257829244e1181b8ef5cb39fb87b62ae2d7ca054fedb580b7431b32d15c8f68600b881eb67eb97a73301660ab96793ab12094ae901782ce4eebdc8929db SHA512 2f33ab034467344ffb19aa3934148faaa4a57e4ffa5f97008d814d54149da4e15cfca14d138b9fb656227e25932ca95cf7321209c31c2706405d3916dc2fb9c0 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.14.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.14.ebuild new file mode 100644 index 000000000000..aa99618e929b --- /dev/null +++ b/dev-python/sqlalchemy/sqlalchemy-1.4.14.ebuild @@ -0,0 +1,66 @@ +# 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="sqlite?" + +inherit distutils-r1 multiprocessing optfeature + +MY_PN="SQLAlchemy" +MY_P="${MY_PN}-${PV/_beta/b}" + +DESCRIPTION="Python SQL toolkit and Object Relational Mapper" +HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/" +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="examples +sqlite test" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/importlib_metadata[${PYTHON_USEDEP}] + ' python3_7 pypy3) +" +# Use pytest-xdist to speed up tests +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # remove optional/partial dep on greenlet, greenlet is not very portable + sed -i -e '/greenlet/d' setup.cfg || die + + distutils-r1_src_prepare +} + +python_test() { + # Disable tests hardcoding function call counts specific to Python versions. + epytest --ignore test/aaa_profiling \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "MySQL support" dev-python/mysqlclient dev-python/pymysql \ + dev-python/mysql-connector-python + optfeature "mssql support" dev-python/pymssql + optfeature "postgresql support" dev-python/psycopg:2 +} diff --git a/dev-python/sqlparse/sqlparse-0.4.1.ebuild b/dev-python/sqlparse/sqlparse-0.4.1.ebuild index 19ff3c170c07..397fa4295f21 100644 --- a/dev-python/sqlparse/sqlparse-0.4.1.ebuild +++ b/dev-python/sqlparse/sqlparse-0.4.1.ebuild @@ -3,8 +3,7 @@ EAPI=7 -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 MY_PN="${PN##python-}" diff --git a/dev-python/terminado/Manifest b/dev-python/terminado/Manifest index 7e89fa8a8769..49405556f0a7 100644 --- a/dev-python/terminado/Manifest +++ b/dev-python/terminado/Manifest @@ -1,3 +1 @@ -DIST terminado-0.8.3.tar.gz 21165 BLAKE2B ec031cb7828840a4f299aa25de0030d5b7993119fd41b71e698dd032f4fd31ea725a9b610dc53a71d480ee74b49a1d072d76555b434da4f5fee2479efa03fdec SHA512 441355cdc919b6f04b1bf1eb870f24e0bd6c7ef412e72e1747707049b1fa0d6676644e3646007f2653b3df00e1f30048d9dc40d73f0827b2bbfc0821549e140b -DIST terminado-0.9.1.tar.gz 12335 BLAKE2B 7f4d7794b8bccb3d7eafd5ab35130521633c391d19fcc93e02c24f3937c7f186e786d12047dde066807ee2ace3ee7db4f0607fc9c10dc976344c32398b5da23b SHA512 429d2417cfc5521ee471febae6d893764cc0f1c7024c272951a178db5e2d20ce64af499393cd020ff6b424dc8b07d69a70da5789b39b49510a5789351a6f04f4 DIST terminado-0.9.4.tar.gz 13934 BLAKE2B 8544d70a7c561005370bbb2b16db593ac9e4453b729b58d641b99066dc1255e294b712958d54a35a92d85e30b918a1122d24e97400b967858b542498d76305b5 SHA512 ab297e60c1adb25b5fbfcd0246db12f5df3acceeac3357af310602da3915345cb2d4fb460cc303cc4b5b5df237e750ce123ac0ed98a9bf7c6e8493783398cbc9 diff --git a/dev-python/terminado/terminado-0.8.3.ebuild b/dev-python/terminado/terminado-0.8.3.ebuild deleted file mode 100644 index 04ecda4e8fb8..000000000000 --- a/dev-python/terminado/terminado-0.8.3.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Terminals served to term.js using Tornado websockets" -HOMEPAGE="https://pypi.org/project/terminado/ https://github.com/jupyter/terminado" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="BSD-2" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - dev-python/ptyprocess[${PYTHON_USEDEP}] - www-servers/tornado[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e 's:test_max_terminals:_&:' \ - terminado/tests/basic_test.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/terminado/terminado-0.9.1.ebuild b/dev-python/terminado/terminado-0.9.1.ebuild deleted file mode 100644 index db6a5b3cfc41..000000000000 --- a/dev-python/terminado/terminado-0.9.1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=pyproject.toml -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Terminals served to term.js using Tornado websockets" -HOMEPAGE="https://pypi.org/project/terminado/ https://github.com/jupyter/terminado" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="BSD-2" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - dev-python/ptyprocess[${PYTHON_USEDEP}] - www-servers/tornado[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e 's:test_max_terminals:_&:' \ - terminado/tests/basic_test.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/terminado/terminado-0.9.4.ebuild b/dev-python/terminado/terminado-0.9.4.ebuild index 3589fe1290df..c17b31f94799 100644 --- a/dev-python/terminado/terminado-0.9.4.ebuild +++ b/dev-python/terminado/terminado-0.9.4.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" SLOT="0" LICENSE="BSD-2" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/ptyprocess[${PYTHON_USEDEP}] diff --git a/dev-python/typed-ast/typed-ast-1.4.3.ebuild b/dev-python/typed-ast/typed-ast-1.4.3.ebuild index 2a7d718fb385..7c595d376edc 100644 --- a/dev-python/typed-ast/typed-ast-1.4.3.ebuild +++ b/dev-python/typed-ast/typed-ast-1.4.3.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 DESCRIPTION="Python typed-ast backported" diff --git a/dev-python/u-msgpack/u-msgpack-2.7.1.ebuild b/dev-python/u-msgpack/u-msgpack-2.7.1.ebuild index c63a20d2fc7c..1a27c1f1d22c 100644 --- a/dev-python/u-msgpack/u-msgpack-2.7.1.ebuild +++ b/dev-python/u-msgpack/u-msgpack-2.7.1.ebuild @@ -12,11 +12,10 @@ MY_P="${MY_PN}-${PV}" DESCRIPTION="A portable, lightweight MessagePack serializer and deserializer" HOMEPAGE="https://github.com/vsergeev/u-msgpack-python https://pypi.org/project/u-msgpack-python/" SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" -S="${WORKDIR}/${MY_P}" - distutils_enable_tests pytest diff --git a/dev-python/versioneer/versioneer-0.19.ebuild b/dev-python/versioneer/versioneer-0.19.ebuild index d74902ce88fa..b22220e5fa57 100644 --- a/dev-python/versioneer/versioneer-0.19.ebuild +++ b/dev-python/versioneer/versioneer-0.19.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 @@ -33,5 +32,5 @@ python_test() { git config --global user.email "you@example.com" || die git config --global user.name "Your Name" || die - ${PYTHON} test/git/test_git.py -v || die + "${EPYTHON}" test/git/test_git.py -v || die } diff --git a/dev-python/vine/Manifest b/dev-python/vine/Manifest index 174aa0a8ac9a..d17e446324e9 100644 --- a/dev-python/vine/Manifest +++ b/dev-python/vine/Manifest @@ -1,2 +1 @@ -DIST vine-1.3.0.tar.gz 51953 BLAKE2B e58d750dd7a84f4a3abb24156de6ec7ab84a911692587643cabcb0df750d3768e70b14ea134da4a39978782ecc530f4fa08ba0ecb780a7a32fb2d9b506633ef5 SHA512 f7242378ebc9b591b6e0a7b6263514f32cee4b996bc6461313221b9a391dd0dd1d833591d6e9ca72ae003f6ce5c4204856d49bb5e57c69a125072cac25758688 DIST vine-5.0.0.tar.gz 48758 BLAKE2B 11f90ceb3d3f0b008551db458e18a41b301b797a2109e011154cc3e6063433c3c917b0aa2cfdd0df8b868a3b459c061e6ed97fd23b9fb8cfdf58f5833e17459a SHA512 ff8f4b3f675220772ed0523e468eedbaec4aca793877b984e9a215603d1288cc3cc71dfeb152219d22f98de0ac7e9f9fa0cc35c2424ff36044cfc8f28192c159 diff --git a/dev-python/vine/vine-1.3.0.ebuild b/dev-python/vine/vine-1.3.0.ebuild deleted file mode 100644 index 441e56943020..000000000000 --- a/dev-python/vine/vine-1.3.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -DISTUTILS_USE_SETUPTOOLS=bdepend - -inherit distutils-r1 - -DESCRIPTION="Python Promises" -HOMEPAGE="https://pypi.org/project/vine/ https://github.com/celery/vine" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND="" -DEPEND=" - test? ( - >=dev-python/case-1.3.1[${PYTHON_USEDEP}] - >=dev-python/pytest-3.0[${PYTHON_USEDEP}] - )" - -python_test() { - esetup.py test -} diff --git a/dev-python/vine/vine-5.0.0.ebuild b/dev-python/vine/vine-5.0.0.ebuild index 6da02147de2d..44ecdffbe037 100644 --- a/dev-python/vine/vine-5.0.0.ebuild +++ b/dev-python/vine/vine-5.0.0.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" DEPEND=" test? ( diff --git a/dev-python/wcwidth/wcwidth-0.2.5-r1.ebuild b/dev-python/wcwidth/wcwidth-0.2.5-r1.ebuild index db4edaaafd8e..ebf0922f25f0 100644 --- a/dev-python/wcwidth/wcwidth-0.2.5-r1.ebuild +++ b/dev-python/wcwidth/wcwidth-0.2.5-r1.ebuild @@ -24,13 +24,20 @@ RDEPEND=" distutils_enable_tests pytest -DOCS=() - src_prepare() { sed -e 's:--cov-append::' \ -e 's:--cov-report=html::' \ -e 's:--cov=wcwidth::' \ -i tox.ini || die sed -i -e 's:test_package_version:_&:' tests/test_core.py || die + + # causes pytest to fail, bug 775077 + sed -i '/^looponfailroots =/d' tox.ini || die distutils-r1_src_prepare } + +python_install_all() { + docinto docs + dodoc docs/intro.rst + distutils-r1_python_install_all +} diff --git a/dev-python/webencodings/webencodings-0.5.1-r1.ebuild b/dev-python/webencodings/webencodings-0.5.1-r1.ebuild index 0c084e9d4610..7c11d3bc9273 100644 --- a/dev-python/webencodings/webencodings-0.5.1-r1.ebuild +++ b/dev-python/webencodings/webencodings-0.5.1-r1.ebuild @@ -18,7 +18,7 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x distutils_enable_tests pytest python_prepare_all() { - cat >> setup.cfg <<- EOF + cat >> setup.cfg <<- EOF || die [tool:pytest] python_files=test*.py EOF diff --git a/dev-python/wurlitzer/Manifest b/dev-python/wurlitzer/Manifest index 19b28ae0e463..daa8702c8d22 100644 --- a/dev-python/wurlitzer/Manifest +++ b/dev-python/wurlitzer/Manifest @@ -1,2 +1 @@ -DIST wurlitzer-2.0.1.tar.gz 10638 BLAKE2B e5350a3920ae072f93a0043ec368766d8e190558b3e897e68b272b06d0d6ff7907f2aeecfd41a99b54804a596ad9f7d7062995a5c465724a2b87419ee801daa3 SHA512 06f67b666c2a364b5ee497fa2f0ab8640aeb2953b678e35b13e1558ab29bc5554f479731f9942d8f033275f5151bb9f86408e0f04b1120bae0f29b27649d783c DIST wurlitzer-2.1.0.tar.gz 8788 BLAKE2B 9a9e9696446fe31f0ff392eee011f341ee24c102e4e6bac195586b764386d1a835567560306cd3cb6e942b539a57ffa15aa9b3a20fac9224311ed7301130c84d SHA512 cc7291786b0505627129619094218f51c0679c0c3550645af3b94bdd3f10afd5fc8402d89dcb599d874a5c9e4f4966dc49a6f98a1ab0e2bb9adbc3f95d4fcc6a diff --git a/dev-python/wurlitzer/wurlitzer-2.0.1.ebuild b/dev-python/wurlitzer/wurlitzer-2.0.1.ebuild deleted file mode 100644 index 151e2f577a39..000000000000 --- a/dev-python/wurlitzer/wurlitzer-2.0.1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Capture C-level stdout/stderr in Python" -HOMEPAGE=" - https://github.com/minrk/wurlitzer/ - https://pypi.org/project/wurlitzer/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" - -DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )" - -distutils_enable_tests pytest - -python_test() { - pytest -vv test.py || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/wurlitzer/wurlitzer-2.1.0.ebuild b/dev-python/wurlitzer/wurlitzer-2.1.0.ebuild index 4db6636a26ef..1a4a0237d206 100644 --- a/dev-python/wurlitzer/wurlitzer-2.1.0.ebuild +++ b/dev-python/wurlitzer/wurlitzer-2.1.0.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" distutils_enable_tests pytest diff --git a/dev-python/xlrd/xlrd-2.0.1.ebuild b/dev-python/xlrd/xlrd-2.0.1.ebuild index 292fa790bae2..e5f0bdd0a4de 100644 --- a/dev-python/xlrd/xlrd-2.0.1.ebuild +++ b/dev-python/xlrd/xlrd-2.0.1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 diff --git a/dev-python/xlsxwriter/Manifest b/dev-python/xlsxwriter/Manifest index c5ee2c101a34..743c1a8651d4 100644 --- a/dev-python/xlsxwriter/Manifest +++ b/dev-python/xlsxwriter/Manifest @@ -1,4 +1,2 @@ -DIST XlsxWriter-RELEASE_1.3.8.tar.gz 32860748 BLAKE2B ef60f0a28cf07c3cf9f13ead3dd02ac952ae6fbd92cb88a2e8ee7593ddb53cc705e1cc4315e943e4c2634bf7a1520184951972b19b7c8d0ba9d70f0814020cbe SHA512 1c2826daf3ed68a1148bf690defe1ba3d2af2640fe398e7741d12f146198823f27659bf8d604ac05c02fb262db218651ad57baf470623ba41009a0b5f4d8f598 DIST XlsxWriter-RELEASE_1.3.9.tar.gz 32931982 BLAKE2B 3cf4d6497e615b8404da6bcfb610f1a728d6a47a5c70feee82098bf30be46a2b0fcbfaa5ba5fb88544a96bf9bd4c0187721b2db27484e1e293fa3fc45c0ebeef SHA512 1227788c98381fbbfee02c31d846d54ab769bdb8feeb179fa8462278614d8c75d71ee6d2fc4204e8677ebe949add14b1a5448c36bf0e8721eec5b8789da0b676 -DIST XlsxWriter-RELEASE_1.4.0.tar.gz 32749880 BLAKE2B bad24f970f3adb9cf9a32adb7576fc3b5e854b5e4ce31fd40b70b840fcb08feb07713e9e0b19549660b3f7424904886935b3b655e0a24a1e837286754adeb38d SHA512 6bc918e80dab7181447d02be2064cebb3ee2142cc8f378f663b957c9d7a4c40d6c1be9fc58e73f58dd9c5e7aa3bf16187b0ac368e1604f64cc44a94c20011626 -DIST xlsxwriter-1.3.7-tests.tar.gz 32545996 BLAKE2B 789ee62a955422629f5a1ab80924774a98c34b2276f9fbc865d6a9d0e31778a49c5b4be72b3f7db55a13ff1d265514bd1dfaadb9243b21faa8ed2740db60ebd7 SHA512 516be34f5f5fd64835a4015c6eb23c23e8aabb34adc189a50f6ff4afe5cb31f01282870ce037679d14e0c40757f1ed51d26b4cb8fecdf952b4c38b6638d1d72f +DIST XlsxWriter-RELEASE_1.4.2.tar.gz 33854120 BLAKE2B b3d21fad8c81f2ca7179f0a9af3f1177baa9c104d78594ca2731dae8ece8f7704ea7a2e4d8f938e6fa9fd703068dc2de56fc7588fe9b6213e794bf72008895f0 SHA512 b31886c991f5df537a5bbca09ba545019e65f949e157b5a4dff4b68bc944b8397f25d297bb64847249f748cd31e7a9cba2ae02d08f96e970b5840cd9eb33e5ca diff --git a/dev-python/xlsxwriter/xlsxwriter-1.3.7.ebuild b/dev-python/xlsxwriter/xlsxwriter-1.3.7.ebuild deleted file mode 100644 index 960f9dbae6b8..000000000000 --- a/dev-python/xlsxwriter/xlsxwriter-1.3.7.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 - -MY_PN="XlsxWriter" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Python module for creating Excel XLSX files" -HOMEPAGE="https://github.com/jmcnamara/XlsxWriter" -SRC_URI="https://github.com/jmcnamara/XlsxWriter/archive/RELEASE_${PV}.tar.gz -> ${P}-tests.tar.gz" -S="${WORKDIR}/${MY_PN}-RELEASE_${PV}" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" - -distutils_enable_tests pytest diff --git a/dev-python/xlsxwriter/xlsxwriter-1.3.9.ebuild b/dev-python/xlsxwriter/xlsxwriter-1.3.9.ebuild index cbf8e34eedd0..52c40871d51d 100644 --- a/dev-python/xlsxwriter/xlsxwriter-1.3.9.ebuild +++ b/dev-python/xlsxwriter/xlsxwriter-1.3.9.ebuild @@ -18,6 +18,6 @@ S=${WORKDIR}/${MY_P} SLOT="0" LICENSE="BSD" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" distutils_enable_tests pytest diff --git a/dev-python/xlsxwriter/xlsxwriter-1.4.0.ebuild b/dev-python/xlsxwriter/xlsxwriter-1.4.0.ebuild deleted file mode 100644 index cbf8e34eedd0..000000000000 --- a/dev-python/xlsxwriter/xlsxwriter-1.4.0.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 - -TAG=RELEASE_${PV} -MY_P=XlsxWriter-${TAG} -DESCRIPTION="Python module for creating Excel XLSX files" -HOMEPAGE="https://github.com/jmcnamara/XlsxWriter" -SRC_URI=" - https://github.com/jmcnamara/XlsxWriter/archive/${TAG}.tar.gz - -> ${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" - -distutils_enable_tests pytest diff --git a/dev-python/xlsxwriter/xlsxwriter-1.3.8.ebuild b/dev-python/xlsxwriter/xlsxwriter-1.4.2.ebuild index cbf8e34eedd0..cbf8e34eedd0 100644 --- a/dev-python/xlsxwriter/xlsxwriter-1.3.8.ebuild +++ b/dev-python/xlsxwriter/xlsxwriter-1.4.2.ebuild diff --git a/dev-python/xlwt/xlwt-1.3.0-r1.ebuild b/dev-python/xlwt/xlwt-1.3.0-r1.ebuild index 1b36eda865ac..a85d6bf4e098 100644 --- a/dev-python/xlwt/xlwt-1.3.0-r1.ebuild +++ b/dev-python/xlwt/xlwt-1.3.0-r1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 DESCRIPTION="Python library to create spreadsheet files compatible with Excel" diff --git a/dev-python/xmltodict/xmltodict-0.12.0-r1.ebuild b/dev-python/xmltodict/xmltodict-0.12.0-r1.ebuild index ded1fd7c2e00..8dfc87c95b1a 100644 --- a/dev-python/xmltodict/xmltodict-0.12.0-r1.ebuild +++ b/dev-python/xmltodict/xmltodict-0.12.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 |
