diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-08-08 01:36:15 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-08-08 01:36:15 +0000 |
| commit | 72ddcf21db0af991867c0334b4a0388c1483c081 (patch) | |
| tree | 2155acdf6ba8ca158e8367868bf1802d2c563704 /dev-python | |
| parent | 1b03664c7f27f905055a5260ed72dc6ffc49bb0a (diff) | |
| download | baldeagleos-repo-72ddcf21db0af991867c0334b4a0388c1483c081.tar.gz baldeagleos-repo-72ddcf21db0af991867c0334b4a0388c1483c081.tar.xz baldeagleos-repo-72ddcf21db0af991867c0334b4a0388c1483c081.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
92 files changed, 185 insertions, 1584 deletions
diff --git a/dev-python/MechanicalSoup/Manifest b/dev-python/MechanicalSoup/Manifest index 8d29a79d193b..4f5d5f1898ab 100644 --- a/dev-python/MechanicalSoup/Manifest +++ b/dev-python/MechanicalSoup/Manifest @@ -1,3 +1,2 @@ -DIST MechanicalSoup-0.12.0.tar.gz 44505 BLAKE2B 7c303f7ae4dea12157d5c845a4dcdc6923e76d3565debd88d2f43e2cfc29a503feb6accb969839a39b1c4071b029f53908a12902a5c4f175f0383da227224c55 SHA512 6cce80ea5a90e7f19f2b13749f6ee48222d973af66cb350ac867a554580b0d619defe5a93741e6ec8aa808c585a8c01703158c7484521ac069977388de8bb7e3 DIST MechanicalSoup-1.0.0.tar.gz 47572 BLAKE2B eace6cc4eaf50f01f8a7816d4d87a9345676b6921c8fe46b3280ac83463b241b2e6175b91ee1a5f907635c07ee8cf66324cb2e7938736b81e9a4f849f9159548 SHA512 00e2c5220c065b517301d9381a9bc5019f6f75dc5951a5ab4427fd7939b296b6b33a20b8f8a7e82c6feed2c9100e3481f38a424d63065883d71a6927119ad88c DIST MechanicalSoup-1.1.0.tar.gz 49270 BLAKE2B 947b35d819dc69508595adcfe5a0c8e6bd34888c995e9c3931613498ee1ca840ce16a14359aacbf9d40aa4f9ae59d45d14da5a150e3ce39ae7e72f587c94820e SHA512 26eaa54bcd1c0aac26504d7c482ed001830a1c79bf48a3055cef92348e9336887bef86cda68281911032159a3404a1f4ee8de9b6516d7d767cfd6b3b380c4ebe diff --git a/dev-python/MechanicalSoup/MechanicalSoup-0.12.0.ebuild b/dev-python/MechanicalSoup/MechanicalSoup-0.12.0.ebuild deleted file mode 100644 index e8086f730a92..000000000000 --- a/dev-python/MechanicalSoup/MechanicalSoup-0.12.0.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A python library for automating interaction with websites" -HOMEPAGE="https://pypi.org/project/MechanicalSoup/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="examples" - -RDEPEND=" - >=dev-python/beautifulsoup-4.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.0[${PYTHON_USEDEP}] - >=dev-python/six-1.4[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/requests-mock-1.3.0[${PYTHON_USEDEP}] - dev-python/pytest-httpbin[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs - -python_prepare_all() { - # Override pytest options to skip coverage and flake8 - sed -i -e '/^addopts =/d' setup.cfg || die - distutils-r1_python_prepare_all -} - -python_install_all() { - if use examples; then - docompress -x "/usr/share/doc/${PF}/examples" - dodoc -r examples - fi - distutils-r1_python_install_all -} diff --git a/dev-python/PySDL2/PySDL2-0.9.8.ebuild b/dev-python/PySDL2/PySDL2-0.9.8.ebuild index f37d2f06f704..50f11b8b0860 100644 --- a/dev-python/PySDL2/PySDL2-0.9.8.ebuild +++ b/dev-python/PySDL2/PySDL2-0.9.8.ebuild @@ -32,8 +32,14 @@ DEPEND=" dev-python/pillow[${PYTHON_USEDEP}] media-libs/libsdl2[joystick,sound,video] media-libs/sdl2-gfx - media-libs/sdl2-image - media-libs/sdl2-mixer + media-libs/sdl2-image[gif,jpeg,png,tiff,webp] + || ( + media-libs/sdl2-mixer[flac] + media-libs/sdl2-mixer[midi] + media-libs/sdl2-mixer[mod] + media-libs/sdl2-mixer[mp3] + media-libs/sdl2-mixer[opus] + ) media-libs/sdl2-ttf )" diff --git a/dev-python/aiorpcX/aiorpcX-0.22.1.ebuild b/dev-python/aiorpcX/aiorpcX-0.22.1.ebuild index 7070ddd8b097..140a0bb9d1e6 100644 --- a/dev-python/aiorpcX/aiorpcX-0.22.1.ebuild +++ b/dev-python/aiorpcX/aiorpcX-0.22.1.ebuild @@ -22,7 +22,8 @@ BDEPEND=" dev-python/pytest-asyncio[${PYTHON_USEDEP}] dev-python/uvloop[${PYTHON_USEDEP}] dev-python/websockets[${PYTHON_USEDEP}] - )" + ) +" distutils_enable_tests pytest diff --git a/dev-python/aws-sam-translator/Manifest b/dev-python/aws-sam-translator/Manifest index d1baefbb22ba..14beae6d4222 100644 --- a/dev-python/aws-sam-translator/Manifest +++ b/dev-python/aws-sam-translator/Manifest @@ -1,3 +1,2 @@ -DIST aws-sam-translator-1.36.0.tar.gz 878204 BLAKE2B 027837687709d2bbe166d4c40599156c8075b1902fe9f75aa5f29bc1f725e2cb97a1f7020cba2f75d5a7180e658e1d47cf4ff03ff3336b0ac21458426f6241fa SHA512 8af9e54d9a02ac3a315b1274d71a5e7413b5a39c6913036f0cc57cf1cd94d6d079f78e4810d5b501003bf5b06a4f25c2481c8abce0836c01da6f962dc0163651 DIST aws-sam-translator-1.37.0.tar.gz 880633 BLAKE2B b3913b12fff38657662a16c13ae6ea3b836faa94eae986e7364543e7ece6cd53afbc9bc80380ce5c4500be57d1b588f617f3ec7e6104cf83357ffe733f4e50e2 SHA512 aeaf194d7c8338802762a667ac05e57a8fbffbae7d1a707a708392b1d103d4e30f42e683e077b5cbfc540bd38debac95c578dc2c02f2c3f7ed531ece64bb7200 DIST aws-sam-translator-1.38.0.tar.gz 895012 BLAKE2B e3beae1af8b9fa510f3f21f4f637b0816084c206d49009106097c3b58ef8755b51041b6908fcd04c28b18e512b782570f84f5acfc7de5c6cab239a70e5bd114e SHA512 d76ef3e95bf5e4db1cfbfd1df9928d8f62dd1245f6629ab5078c4f3761e1d5e4ac372d698aa8fba1f4f77a38826c2e9c9f4899518dccacf56ffba2f89ddea801 diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.36.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.36.0.ebuild deleted file mode 100644 index bd7aa415779d..000000000000 --- a/dev-python/aws-sam-translator/aws-sam-translator-1.36.0.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="A library that transform SAM templates into AWS CloudFormation templates" -HOMEPAGE="https://github.com/aws/serverless-application-model - https://pypi.org/project/aws-sam-translator/" -SRC_URI="https://github.com/aws/serverless-application-model/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/serverless-application-model-${PV}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/boto3-1.5[${PYTHON_USEDEP}] - >=dev-python/jsonschema-2.6[${PYTHON_USEDEP}] - >=dev-python/six-1.11[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # remove pytest-cov dependency - sed -r -e 's:--cov(-[[:graph:]]+|)[[:space:]]+[[:graph:]]+::g' \ - -i pytest.ini || die - - # deps are installed by ebuild, don't try to reinstall them via pip - truncate --size=0 requirements/*.txt || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.37.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.37.0.ebuild index 469920a5ff46..c479dd294175 100644 --- a/dev-python/aws-sam-translator/aws-sam-translator-1.37.0.ebuild +++ b/dev-python/aws-sam-translator/aws-sam-translator-1.37.0.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}/serverless-application-model-${PV}" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/boto3-1.5[${PYTHON_USEDEP}] diff --git a/dev-python/bitarray/Manifest b/dev-python/bitarray/Manifest index a1a30fd5322d..c06df8871076 100644 --- a/dev-python/bitarray/Manifest +++ b/dev-python/bitarray/Manifest @@ -1,2 +1,2 @@ -DIST bitarray-2.2.3.tar.gz 79709 BLAKE2B 75bb085914fa5f7b926ede947d69f7a8de1dcd8e61917d1e154049102c539e78a7d0a4bab181a8bf8a19338d0d73124d9aec5f746f25d12a8f5a0c188f309009 SHA512 ed8641bd12a87e440642535baab62b132ce4499b8525a699eb82926b098d7f9ce6f66ea07846bfacabcf45cdc1d30c12c104a0b1af638efa8ad809329914a186 DIST bitarray-2.2.4.tar.gz 82471 BLAKE2B 0b2bd1afd17df2756e3e6ecfe78f84ee4ec84121c9eb59eaaa57042c67702004c25b0286474b1abea82a10ed682b8e0e221001e770238d144452049019300ae3 SHA512 ad5d96c8232d239e51c40782e7a487fd898732774e39228c996dd32f0697898b65f2a26479a0af03e07a347a404174924c8299590433b41a6bf6189447f4194f +DIST bitarray-2.2.5.tar.gz 82954 BLAKE2B 2841f7bd3627e3f057e9f7fa39b25172d36b77e32a70f982f970a19f7102326860f2ccc268298263a2e8869e708b3e746ca06d3182394c9500f5473e44d4f2f6 SHA512 c611d4e3cb0e0a5353789a87d0a0c643015bb607756e07318e8f41ac8d43ff7c0d53785cfaa4ebd8f84634d374611e0d5553a4847f166e9cb68fd79e0fd62eb0 diff --git a/dev-python/bitarray/bitarray-2.2.3.ebuild b/dev-python/bitarray/bitarray-2.2.5.ebuild index 012b3f886892..012b3f886892 100644 --- a/dev-python/bitarray/bitarray-2.2.3.ebuild +++ b/dev-python/bitarray/bitarray-2.2.5.ebuild diff --git a/dev-python/cherrypy/Manifest b/dev-python/cherrypy/Manifest index f85a63b78c25..910f688327a5 100644 --- a/dev-python/cherrypy/Manifest +++ b/dev-python/cherrypy/Manifest @@ -1,2 +1 @@ -DIST CherryPy-18.6.0.tar.gz 686804 BLAKE2B dae7f0ac403084acdf611e4a9e75f152355491e4383a1bd1374ae77ac68b415f41ce79f1e65a7a66c61aa0965ac94cd9bfd0d425cf7752ab54edf0bc0d8cabfb SHA512 cd33303fa9b9704ef427553091a6a6c2bbfea20e7d81acd2bcdc2855f8a36a084a0781bb19f3a084b24f0664bd7b318a667c8c79b5073381901acce4602de9d7 DIST CherryPy-18.6.1.tar.gz 692730 BLAKE2B 44cef7ed54a090df396691001b794bf13be2c61003bf80b63223e3a42914ce50fcfe43c06626fb881105e3ed6fbf587df7024bbf7cfde00a8263c432f4cc7ae4 SHA512 186a0992a443e1ffc1a2924b3351dcb0e6cc6c88b39ac32330d6365fe1b0a35c2008a3a18e1a57f61ffd1901ea6134333bb6288024d8ffbb1fd8e8dcd3145007 diff --git a/dev-python/cherrypy/cherrypy-18.6.0.ebuild b/dev-python/cherrypy/cherrypy-18.6.0.ebuild deleted file mode 100644 index 1f68829c69d9..000000000000 --- a/dev-python/cherrypy/cherrypy-18.6.0.ebuild +++ /dev/null @@ -1,63 +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 - -MY_P="CherryPy-${PV}" - -DESCRIPTION="CherryPy is a pythonic, object-oriented HTTP framework" -HOMEPAGE="https://www.cherrypy.org https://pypi.org/project/CherryPy/" -SRC_URI="mirror://pypi/C/CherryPy/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ia64 ppc ~ppc64 x86" -IUSE="ssl test" - -RDEPEND=">=dev-python/cheroot-8.2.1[${PYTHON_USEDEP}] - >=dev-python/portend-2.1.1[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - dev-python/zc-lockfile[${PYTHON_USEDEP}] - dev-python/jaraco-collections[${PYTHON_USEDEP}] - ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )" -BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - dev-python/routes[${PYTHON_USEDEP}] - dev-python/simplejson[${PYTHON_USEDEP}] - dev-python/objgraph[${PYTHON_USEDEP}] - dev-python/path-py[${PYTHON_USEDEP}] - dev-python/requests-toolbelt[${PYTHON_USEDEP}] - >=dev-python/pytest-5.3.5[${PYTHON_USEDEP}] - dev-python/pytest-services[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # UnicodeEncodeError: 'ascii' codec can't encode character u'\u2603' in position 0: ordinal not in range(128) - sed -e 's|@pytest.mark.xfail(py27_on_windows|@pytest.mark.xfail(sys.version_info < (3,)|' \ - -i cherrypy/test/test_static.py || die - - # fragile, fails with newer versions of CPython - sed -e 's:testCombinedTools:_&:' \ - -i cherrypy/test/test_tools.py || die - - sed -r -e '/(pytest-sugar|pytest-cov)/ d' \ - -i setup.py || die - - sed -r -e 's:--cov-report[[:space:]]+[[:graph:]]+::g' \ - -e 's:--cov[[:graph:]]+::g' \ - -e 's:--doctest[[:graph:]]+::g' \ - -i pytest.ini || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/cherrypy/cherrypy-18.6.1.ebuild b/dev-python/cherrypy/cherrypy-18.6.1.ebuild index 906653983b7a..9f86cfaf56fe 100644 --- a/dev-python/cherrypy/cherrypy-18.6.1.ebuild +++ b/dev-python/cherrypy/cherrypy-18.6.1.ebuild @@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 arm arm64 ~ia64 ppc ~ppc64 x86" IUSE="ssl test" RDEPEND=" diff --git a/dev-python/cmd2/Manifest b/dev-python/cmd2/Manifest index 411b31579396..5e1f0860e1f6 100644 --- a/dev-python/cmd2/Manifest +++ b/dev-python/cmd2/Manifest @@ -1,2 +1 @@ -DIST cmd2-2.1.1.tar.gz 659548 BLAKE2B 17ff372505398df460b56b13c8ab7c8830a1bab25cc52429555bb3e0f766ef46d14a72826a5af58a6641ef533289296d00afa1e6d2980aea33c9792ce3173cbb SHA512 03624ce8eb6d94c7234427a8a7dfb9b321bab76679b166fc3af26ba581ceae74a90ab282f9d6ab0d48eec589614d5daa38ed88251dc7400b48c112863959d164 DIST cmd2-2.1.2.tar.gz 660849 BLAKE2B a8c8db8036badc020b34e6d4cc62a6828a6f3788562d550826369d2ce6ddc41fdd29ab95bd56d35115a1e8c2cfdb6df97e3b25c3f414798aed9a597243b37967 SHA512 3f2edb336ec662e3b2e22abc947ffb669786142d29f0723b0d5bbf898ecff12096a91e08c4890dde79915b413c0f9a70945f1b5795ae12991e85d7ee79331d31 diff --git a/dev-python/cmd2/cmd2-2.1.1.ebuild b/dev-python/cmd2/cmd2-2.1.1.ebuild deleted file mode 100644 index c56fc1933c65..000000000000 --- a/dev-python/cmd2/cmd2-2.1.1.ebuild +++ /dev/null @@ -1,52 +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 virtualx - -DESCRIPTION="Extra features for standard library's cmd module" -HOMEPAGE="https://github.com/python-cmd2/cmd2" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc64 sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - dev-python/attrs[${PYTHON_USEDEP}] - >=dev-python/colorama-0.3.7[${PYTHON_USEDEP}] - >=dev-python/pyperclip-1.6[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/wcwidth[${PYTHON_USEDEP}] -" -# pyperclip uses clipboard backends in the following preference order: -# pygtk, xclip, xsel, klipper, qtpy, pyqt5, pyqt4. -# klipper is known to be broken in Xvfb, and therefore causes test -# failures. to avoid them, we must ensure that one of the backends -# preferred to it is available (i.e. xclip or xsel) + which(1). -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - sys-apps/which - || ( - x11-misc/xclip - x11-misc/xsel - ) - ) -" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - sed -i -e '/--cov/d' setup.cfg || die -} - -src_test() { - # tests rely on very specific text wrapping... - local -x COLUMNS=80 - virtx distutils-r1_src_test -} diff --git a/dev-python/cmd2/cmd2-2.1.2.ebuild b/dev-python/cmd2/cmd2-2.1.2.ebuild index d148ce53f971..a69b1e651a30 100644 --- a/dev-python/cmd2/cmd2-2.1.2.ebuild +++ b/dev-python/cmd2/cmd2-2.1.2.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc64 sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/attrs[${PYTHON_USEDEP}] diff --git a/dev-python/executing/executing-0.7.0.ebuild b/dev-python/executing/executing-0.7.0.ebuild index 44645805f0dc..569cfe4aca2e 100644 --- a/dev-python/executing/executing-0.7.0.ebuild +++ b/dev-python/executing/executing-0.7.0.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86" # asttokens is optional runtime dep BDEPEND=" diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index 3fe9ba6f87f4..d5b5afa2ea10 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -1,3 +1,2 @@ DIST fonttools-4.24.4.tar.gz 2556059 BLAKE2B c415ae5214b6df7171a5f8a7ea179b1a4adbc6646598d773f0d3d6a8cd777e8fd3c74c14f00e6c4735a73e712e3fd42ddfc96f3f101d34b122fb9c471d4d94a3 SHA512 aa4ee8f0a7f9cb6d8a84497e6f33f891491cd06cc477a785715f8fde8e5b33cf781ef8b848bfab8cf9a97fc15c018d493c6baf0fb8fd314b8a348c36ff627f41 -DIST fonttools-4.25.2.tar.gz 2577630 BLAKE2B ba03dcc25672008722bb7f5ad4238e9216988f5ed1d545297937e771bf076ae516172cd90bd450ded04ca28fe158c83247bd6b6aaaf4687a5893c0980630210b SHA512 b5c94e76a09aeb92061cf792f53eccc0ab369c5458aeac103f865f6110b2764677ad7c63d1367fb027c891a11d7eb158469748ec495c3a7aa6b86029e7c95223 DIST fonttools-4.26.1.tar.gz 2579211 BLAKE2B 886a803f6214658423c98bd347db6e2cc0baea5e2619ce18ba2a96589785a1b93228f5b35dd7f6c819b81ca471d6ea1a09d12ad6de04c75388ab6cb5003f5bf5 SHA512 226338cd1c3f71662080c69b0786a6a945b5a75d3a4b7ee6fcf6d7e2e089407d11b4a43950c7aebdaeccad1819e5c6e0b947938fbfbaa3caa9747b7b4a1bd5f6 diff --git a/dev-python/fonttools/fonttools-4.25.2.ebuild b/dev-python/fonttools/fonttools-4.25.2.ebuild deleted file mode 100644 index c079f50b216a..000000000000 --- a/dev-python/fonttools/fonttools-4.25.2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 virtualx - -DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" -HOMEPAGE="https://github.com/fonttools/fonttools/" -SRC_URI="https://github.com/fonttools/fonttools/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" - -RDEPEND=">=dev-python/fs-2.4.9[${PYTHON_USEDEP}]" -BDEPEND=" - ${RDEPEND} - test? ( - app-arch/brotli[python,${PYTHON_USEDEP}] - app-arch/zopfli - )" - -distutils_enable_tests pytest - -python_prepare_all() { - # When dev-python/pytest-shutil is installed, we get weird import errors. - # This is due to incomplete nesting in the Tests/ tree: - # - # Tests/feaLib/__init__.py - # Tests/ufoLib/__init__.py - # Tests/svgLib/path/__init__.py - # Tests/otlLib/__init__.py - # Tests/varLib/__init__.py - # - # This tree requires an __init__.py in Tests/svgLib/ too, bug #701148. - touch Tests/svgLib/__init__.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - # virtualx used when matplotlib is installed causing plot module tests to run - virtx epytest Tests fontTools -} diff --git a/dev-python/fonttools/fonttools-4.26.1.ebuild b/dev-python/fonttools/fonttools-4.26.1-r1.ebuild index c079f50b216a..98c1bab920b8 100644 --- a/dev-python/fonttools/fonttools-4.26.1.ebuild +++ b/dev-python/fonttools/fonttools-4.26.1-r1.ebuild @@ -19,6 +19,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ RDEPEND=">=dev-python/fs-2.4.9[${PYTHON_USEDEP}]" BDEPEND=" ${RDEPEND} + dev-python/cython[${PYTHON_USEDEP}] test? ( app-arch/brotli[python,${PYTHON_USEDEP}] app-arch/zopfli @@ -42,7 +43,12 @@ python_prepare_all() { distutils-r1_python_prepare_all } +src_configure() { + DISTUTILS_ARGS=( --with-cython ) +} + python_test() { + distutils_install_for_testing # virtualx used when matplotlib is installed causing plot module tests to run virtx epytest Tests fontTools } diff --git a/dev-python/fs/Manifest b/dev-python/fs/Manifest index e9e14df3abdc..33c0799877ce 100644 --- a/dev-python/fs/Manifest +++ b/dev-python/fs/Manifest @@ -1 +1 @@ -DIST fs-2.4.13.tar.gz 176958 BLAKE2B 154761ddc4db087abdb294ec82ac5b18c46e05f04e783559f3b4d65cde21b9444100130c29d1051a3d2b177f5c9ef7299806fcce1ab3a4b0770b4f1c156abd71 SHA512 c07bf6a8d373a11019709ada392153dbf953399631fa388433f9b7b73d9ae1072ea70b8ed9896752161a4737a399520f030b7875dc23137f418268c5acc24f48 +DIST pyfilesystem2-2.4.13.tar.gz 176958 BLAKE2B 154761ddc4db087abdb294ec82ac5b18c46e05f04e783559f3b4d65cde21b9444100130c29d1051a3d2b177f5c9ef7299806fcce1ab3a4b0770b4f1c156abd71 SHA512 c07bf6a8d373a11019709ada392153dbf953399631fa388433f9b7b73d9ae1072ea70b8ed9896752161a4737a399520f030b7875dc23137f418268c5acc24f48 diff --git a/dev-python/fs/fs-2.4.13.ebuild b/dev-python/fs/fs-2.4.13.ebuild index 9761ac58490a..da98230f5f3e 100644 --- a/dev-python/fs/fs-2.4.13.ebuild +++ b/dev-python/fs/fs-2.4.13.ebuild @@ -8,7 +8,7 @@ DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 optfeature -MY_PN="pyfilesystem2" +MY_P=pyfilesystem2-${PV} DESCRIPTION="Filesystem abstraction layer" HOMEPAGE=" https://pypi.org/project/fs/ @@ -17,8 +17,10 @@ HOMEPAGE=" " # Tests from the PyPI tarball are broken # https://github.com/PyFilesystem/pyfilesystem2/issues/364 -SRC_URI="https://github.com/PyFilesystem/pyfilesystem2/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_PN}-${PV}" +SRC_URI=" + https://github.com/PyFilesystem/pyfilesystem2/archive/v${PV}.tar.gz + -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" @@ -39,6 +41,11 @@ BDEPEND=" distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme distutils_enable_tests pytest +python_test() { + # pytest-xvfb causes test failures due to a zombie Xvfb process + epytest -p no:xvfb +} + pkg_postinst() { optfeature "S3 support" dev-python/boto optfeature "SFTP support" dev-python/paramiko diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 8580a2911891..3db13ef38e79 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,6 +1,2 @@ -DIST google-api-python-client-2.11.0.tar.gz 25408815 BLAKE2B 9bc7d0163961f5b6341fcb43f41a91dfe12702254047ac2b418ce89dad4f8f40400a7df1fff5ce9d73a05c5249b7242a4d642b866b97a34140826901f74f9d6e SHA512 6d31e0ed926f87f12400b1ec244f8e193d6559c58d6775c34ef5747af3ba633e76e8a883983438e84c6d31fe81ea57ac522f924270b80993cc6396cb6f3ae60e -DIST google-api-python-client-2.12.0.tar.gz 25476570 BLAKE2B 7d5f53c19f00878ef717515f406a56d22ce520a0de4f8c5b4142de56263a5bdef76aaa64b3b87301f8c704ad279554f66425c746c8bb869ef735c061fc5d1b6a SHA512 47bfebe8649a4dbf2f8570f71ec4a0c4ececccf6734138e3c84e0501328f949485b5476227c123493b5874e43cc0ab72622ce9fb44484502e21e364f6c8cea54 DIST google-api-python-client-2.13.0.tar.gz 25562934 BLAKE2B 6ce955995c0f2fa5d09e1c90e65d38a7f321421199f53957fb58934c1f067de03a48f47f1d161c9ad2cb852663316c5d0f873a32b9eedd7fffaa2b067d84ae05 SHA512 d2b0cf3c250a500e774970790390025119102e24eaf8c7a0c170139cf322c37f4c8cd3f406a41d18deb2597dfeb21e6304e173cfaafb4d6faeff23b2215d4072 -DIST google-api-python-client-2.14.0.tar.gz 25412673 BLAKE2B e8c14c069f2900d560ab2ed70855cd0ebcf1191f0932cefa385858466a482f92934df97cb994801a0d85514bcc33d918ce50ee2e980f1957f11c1cb8cfbb34dd SHA512 4c644d7acb5eb9853672a17fb3cb08796c3afa172b3b1c56027b8ef20734cdc2995d972006a6803ed806171f88a0652910a0fd1682f3427c546312cf1a719e42 DIST google-api-python-client-2.14.1.tar.gz 25415625 BLAKE2B 2b843a6ec6345e51c5a92c0285c2b8ae195928bec61b73033fbc64d8e55c34ae39d8d542534d89edac36d6ddc6c12b6acf11a25dbcbc06f72776799a70606659 SHA512 e22600b9b87d646775780d0f45043753e4dea24e898faf16ae49f2c91677282700b45de993d085923c006f2948747a6afa2e58b38f42f934f1602401faa30d22 -DIST google-api-python-client-2.8.0.tar.gz 25286774 BLAKE2B b21aebda062984b9eb8f2f5c563016f0f8f663883dc8ddb913053ff3df32c652c6a83f924f3e19136e5edec085e12c43cc584bc9898630122c77a219810033bc SHA512 cc3c55438b2f5835b52d17d04a749919c4865991ff78cf95920d0941a55e1493eae502a13f6565cfe1db799ce9950659e8baaa690bada058d711309861c8d07e diff --git a/dev-python/google-api-python-client/google-api-python-client-2.11.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.11.0.ebuild deleted file mode 100644 index b22215560af2..000000000000 --- a/dev-python/google-api-python-client/google-api-python-client-2.11.0.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Google API Client for Python" -HOMEPAGE="https://github.com/googleapis/google-api-python-client" -SRC_URI="https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -RDEPEND=" - >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] - <dev-python/httplib2-1[${PYTHON_USEDEP}] - dev-python/google-api-core[${PYTHON_USEDEP}] - >=dev-python/google-auth-1.16.0[${PYTHON_USEDEP}] - >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] - >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] - <dev-python/uritemplate-4[${PYTHON_USEDEP}] - >=dev-python/six-1.13.0[${PYTHON_USEDEP}] - <dev-python/six-2[${PYTHON_USEDEP}] - " -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/oauth2client[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - )" - -distutils_enable_tests --install pytest - -src_prepare() { - find tests -name '*.py' -exec \ - sed -i -e 's:unittest2 as ::' {} + || die - distutils-r1_src_prepare -} - -python_test() { - local deselect=( - # require Internet access (and credentials) - tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive - tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object - ) - - distutils_install_for_testing - epytest ${deselect[@]/#/--deselect } -} diff --git a/dev-python/google-api-python-client/google-api-python-client-2.12.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.12.0.ebuild deleted file mode 100644 index 509d82ac8388..000000000000 --- a/dev-python/google-api-python-client/google-api-python-client-2.12.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Google API Client for Python" -HOMEPAGE="https://github.com/googleapis/google-api-python-client" -SRC_URI="https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -RDEPEND=" - >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] - <dev-python/httplib2-1[${PYTHON_USEDEP}] - dev-python/google-api-core[${PYTHON_USEDEP}] - >=dev-python/google-auth-1.16.0[${PYTHON_USEDEP}] - >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] - >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] - <dev-python/uritemplate-4[${PYTHON_USEDEP}] - >=dev-python/six-1.13.0[${PYTHON_USEDEP}] - <dev-python/six-2[${PYTHON_USEDEP}] - " -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/oauth2client[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - )" - -distutils_enable_tests --install pytest - -src_prepare() { - find tests -name '*.py' -exec \ - sed -i -e 's:unittest2 as ::' {} + || die - distutils-r1_src_prepare -} - -python_test() { - local deselect=( - # require Internet access (and credentials) - tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive - tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object - ) - - distutils_install_for_testing - epytest ${deselect[@]/#/--deselect } -} diff --git a/dev-python/google-api-python-client/google-api-python-client-2.13.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.13.0.ebuild index 509d82ac8388..8e083b99a1e6 100644 --- a/dev-python/google-api-python-client/google-api-python-client-2.13.0.ebuild +++ b/dev-python/google-api-python-client/google-api-python-client-2.13.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/googleapis/google-api-python-client/archive/v${PV}.t LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 x86" RDEPEND=" >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] diff --git a/dev-python/google-api-python-client/google-api-python-client-2.14.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.14.0.ebuild deleted file mode 100644 index c0638013636d..000000000000 --- a/dev-python/google-api-python-client/google-api-python-client-2.14.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Google API Client for Python" -HOMEPAGE="https://github.com/googleapis/google-api-python-client" -SRC_URI="https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -RDEPEND=" - >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] - <dev-python/httplib2-1[${PYTHON_USEDEP}] - dev-python/google-api-core[${PYTHON_USEDEP}] - >=dev-python/google-auth-1.16.0[${PYTHON_USEDEP}] - >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] - >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] - <dev-python/uritemplate-4[${PYTHON_USEDEP}] - >=dev-python/six-1.13.0[${PYTHON_USEDEP}] - <dev-python/six-2[${PYTHON_USEDEP}] - " -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/oauth2client[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - )" - -distutils_enable_tests --install pytest - -src_prepare() { - find tests -name '*.py' -exec \ - sed -i -e 's:unittest2 as ::' {} + || die - distutils-r1_src_prepare -} - -python_test() { - local deselect=( - # require Internet access (and credentials) - tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive - tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object - ) - - distutils_install_for_testing - epytest tests ${deselect[@]/#/--deselect } -} diff --git a/dev-python/google-api-python-client/google-api-python-client-2.8.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.8.0.ebuild deleted file mode 100644 index 1de5855bf614..000000000000 --- a/dev-python/google-api-python-client/google-api-python-client-2.8.0.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Google API Client for Python" -HOMEPAGE="https://github.com/googleapis/google-api-python-client" -SRC_URI="https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" - -RDEPEND=" - >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] - <dev-python/httplib2-1[${PYTHON_USEDEP}] - dev-python/google-api-core[${PYTHON_USEDEP}] - >=dev-python/google-auth-1.16.0[${PYTHON_USEDEP}] - >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] - >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] - <dev-python/uritemplate-4[${PYTHON_USEDEP}] - >=dev-python/six-1.13.0[${PYTHON_USEDEP}] - <dev-python/six-2[${PYTHON_USEDEP}] - " -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/oauth2client[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - )" - -distutils_enable_tests --install pytest - -src_prepare() { - find tests -name '*.py' -exec \ - sed -i -e 's:unittest2 as ::' {} + || die - distutils-r1_src_prepare -} - -python_test() { - local deselect=( - # require Internet access (and credentials) - tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive - tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object - ) - - distutils_install_for_testing - epytest ${deselect[@]/#/--deselect } -} diff --git a/dev-python/httpx/Manifest b/dev-python/httpx/Manifest index 0aa0aa899740..31ae52b9c22a 100644 --- a/dev-python/httpx/Manifest +++ b/dev-python/httpx/Manifest @@ -1,2 +1 @@ -DIST httpx-0.18.1.tar.gz 1663996 BLAKE2B dcbfcb4a452b47b643d5114a535005f7f92170392202dedc6c152546430231d20fd8b94b7ecc1d2abacbc9d76acb14cbfdc268109b171cc40812504e696dcaab SHA512 954b020d117dd1064262f3ac2d3137d01bba344b1a061e5713c3889283334d9ca92d9ed3d23f6ce79d684e31bae2d83fca6993178ef55e5a91353b812ad489e3 DIST httpx-0.18.2.tar.gz 1666756 BLAKE2B 3d1e25d503ae5306150c157bc83afdac9a475110d042e041b58de448a0dcfd75de3f4c15836b838dc799cd5f8b7e0d646e43bbe107ffad87d51ff016afe585cd SHA512 727974e5d5924fdd653987dd4f528d27bb2653085b01ef5efcdac39dc92ef2ed586f872c202349aa31105ad970cff914de4315c2d79338a6aa18bebb8126f392 diff --git a/dev-python/httpx/httpx-0.18.1.ebuild b/dev-python/httpx/httpx-0.18.1.ebuild deleted file mode 100644 index 6299717c2998..000000000000 --- a/dev-python/httpx/httpx-0.18.1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Fully-featured HTTP client which provides sync and async APIs" -HOMEPAGE="https://www.python-httpx.org/" -SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 sparc x86" - -RDEPEND=" - dev-python/certifi[${PYTHON_USEDEP}] - dev-python/sniffio[${PYTHON_USEDEP}] - =dev-python/httpcore-0.13*[${PYTHON_USEDEP}] - >=dev-python/rfc3986-1.3[${PYTHON_USEDEP}] - <dev-python/rfc3986-2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/brotlicffi[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/hyper-h2[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - dev-python/uvicorn[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # trio is not currently in the tree - sed -i '/^import trio/d' tests/concurrency.py || die - distutils-r1_python_prepare_all -} - -python_test() { - local deselect=( - # Internet - tests/client/test_proxies.py::test_async_proxy_close - tests/client/test_proxies.py::test_sync_proxy_close - ) - - epytest ${deselect[@]/#/--deselect } -} diff --git a/dev-python/httpx/httpx-0.18.2.ebuild b/dev-python/httpx/httpx-0.18.2.ebuild index 7883e0f99d5d..de2b1ad90024 100644 --- a/dev-python/httpx/httpx-0.18.2.ebuild +++ b/dev-python/httpx/httpx-0.18.2.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ~ppc64 sparc x86" +KEYWORDS="amd64 arm arm64 ppc ppc64 sparc x86" RDEPEND=" dev-python/certifi[${PYTHON_USEDEP}] diff --git a/dev-python/humanize/Manifest b/dev-python/humanize/Manifest index da21d1659948..1b3bd732f904 100644 --- a/dev-python/humanize/Manifest +++ b/dev-python/humanize/Manifest @@ -1,3 +1,2 @@ DIST humanize-3.10.0.tar.gz 65658 BLAKE2B c60aff8f5e2044c10e997f3546b30e8ac7c040ee57aea5342ccce7ea6341a8695c1b94bdc8cb2acc18c3f421667fd4090b7b110b47aa229cd10d5ac8b42d6dae SHA512 f31929ddc1055fb54294b67e25e3b41883ef4e8ff9b76082cdd4703d64a066d0a368d116a60e26465f07dd3a0df8c87bb459ff1b03153d8843d3eefb06ff6961 DIST humanize-3.11.0.tar.gz 67034 BLAKE2B 9e10582139578e8e041d1ce60c9c5d7e071c4c093a64cf620df6ff38f0567e8b2f3134f10722cb724d13343373db0fa2a1ae5bd68700ff85fb58ee318feb0fd0 SHA512 7aa3c513c6702de0e099865f787858de4c9c65cfe95af61fd0204ff6df64e7359474b4067b4672546936beae6c8c512dd9c75f555d7075c94819e81143c21ce9 -DIST humanize-3.9.0.tar.gz 64229 BLAKE2B 09aeec6a92c8e2e104032d4c61f054785ff58ce2dda68c4f3acffb17c7fa4e262b28a24b7c06d33671ea18d2eb05c9bcc0a82d5491e60afa161ebc0041945bf2 SHA512 75aa8f9f6b07d4b65e5589c3f337a92ee17769ab8da6608147b0f1ec3965b95788dd90cf0d0cae1b7c9be689b44910029ee72e2eba39a60c9926b67726c74353 diff --git a/dev-python/humanize/humanize-3.10.0.ebuild b/dev-python/humanize/humanize-3.10.0.ebuild index 02733a360bdd..86399c2098cd 100644 --- a/dev-python/humanize/humanize-3.10.0.ebuild +++ b/dev-python/humanize/humanize-3.10.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" BDEPEND=" dev-python/setuptools_scm[${PYTHON_USEDEP}] diff --git a/dev-python/humanize/humanize-3.9.0.ebuild b/dev-python/humanize/humanize-3.9.0.ebuild deleted file mode 100644 index be2659a53e07..000000000000 --- a/dev-python/humanize/humanize-3.9.0.ebuild +++ /dev/null @@ -1,24 +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 ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="Common humanization utilities" -HOMEPAGE="https://github.com/jmoiron/humanize/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" - -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( dev-python/freezegun[${PYTHON_USEDEP}] ) -" - -distutils_enable_tests --install pytest diff --git a/dev-python/importlib_metadata/Manifest b/dev-python/importlib_metadata/Manifest index d667193357e1..f7ea67efa8a5 100644 --- a/dev-python/importlib_metadata/Manifest +++ b/dev-python/importlib_metadata/Manifest @@ -1,4 +1,2 @@ -DIST importlib_metadata-4.5.0.tar.gz 39595 BLAKE2B 22ef03a47637f523b583cb8c442f7351e0b94633772978fea47dab9be583f35daa32691997b4110b832709658568b6eb79a006f109b969c6f25a638dcfcd4702 SHA512 62b9cefa502d751d36b5f43606ea86c46574fea159941b68319e5dd9aa53d6d990e630c36d72830c54eb2bba2f2be53201be2482974f833cc1da8869eb2a8dc2 DIST importlib_metadata-4.6.1.tar.gz 39801 BLAKE2B 89a792eee17f31a86c27820a0b3972cd8f6a06314763930ccdf0cfce31435f8074e6f8f27050d1618713ee6d517f0cd8dfba6a86b1e8917af2769ae22ac40cf5 SHA512 2a0bcef3d49de00a1013eac48f1ce020cb89ab895f5e4a1673b46a1ad8f84515148eff33608847331de8ee05d7e10040e128b2c887065d3ca16d0bd338c761c0 -DIST importlib_metadata-4.6.2.tar.gz 39837 BLAKE2B c41ad332e7d54a8483928347c95bbae020e8fb1833667cd1864ee372d815a2b2e310ade7ff4d6df41c0e0bb9203e4714b4139e87f26ce81bc2c7810580425552 SHA512 01e0398e02bd04293c4135dac8eae9412bed119773d830895d34383afb9a7f883291a6b9943d654cfba4abe9a56f3e0d3625f1e6e83fbf85d6ee6c6613b2bd9e DIST importlib_metadata-4.6.3.tar.gz 39852 BLAKE2B a6ab735a8471cddbdd1cefcbbabb29664a8dc96c4163a361422066081f00ffb627612a4b7522cd636de9cb030d0add61dcbb38d085dc759f810239017bb5f681 SHA512 b34b3384bfa1043a1b366505c43fb8a8f0a3a055637cd745009095026dc8a1424c1065fbff5a9170523a3b9b0a48951b615dc64b7bf096bbc2c40261fa200e60 diff --git a/dev-python/importlib_metadata/importlib_metadata-4.5.0.ebuild b/dev-python/importlib_metadata/importlib_metadata-4.5.0.ebuild deleted file mode 100644 index 228eb0f11ef1..000000000000 --- a/dev-python/importlib_metadata/importlib_metadata-4.5.0.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# NB: this package extends beyond built-in importlib stuff in py3.8+ -# new entry_point API not yet included in cpython release -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="Read metadata from Python packages" -HOMEPAGE="https://github.com/python/importlib_metadata" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - $(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' pypy3) - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pyfakefs[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/importlib_resources[${PYTHON_USEDEP}] - ' pypy3 python3_8) - ) -" - -distutils_enable_sphinx docs dev-python/jaraco-packaging dev-python/rst-linker -distutils_enable_tests unittest - -python_prepare_all() { - # Skip a test that requires pep517 which is not in the tree - sed -e 's:test_find_local:_&:' -i tests/test_integration.py || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/importlib_metadata/importlib_metadata-4.6.1.ebuild b/dev-python/importlib_metadata/importlib_metadata-4.6.1.ebuild index ff9c09d60191..459c3ae052fc 100644 --- a/dev-python/importlib_metadata/importlib_metadata-4.6.1.ebuild +++ b/dev-python/importlib_metadata/importlib_metadata-4.6.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" $(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' pypy3) diff --git a/dev-python/importlib_metadata/importlib_metadata-4.6.2.ebuild b/dev-python/importlib_metadata/importlib_metadata-4.6.2.ebuild deleted file mode 100644 index ff9c09d60191..000000000000 --- a/dev-python/importlib_metadata/importlib_metadata-4.6.2.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# NB: this package extends beyond built-in importlib stuff in py3.8+ -# new entry_point API not yet included in cpython release -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="Read metadata from Python packages" -HOMEPAGE="https://github.com/python/importlib_metadata" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -RDEPEND=" - $(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' pypy3) - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pyfakefs[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/importlib_resources[${PYTHON_USEDEP}] - ' pypy3 python3_8) - ) -" - -distutils_enable_sphinx docs dev-python/jaraco-packaging dev-python/rst-linker -distutils_enable_tests unittest - -python_prepare_all() { - # Skip a test that requires pep517 which is not in the tree - sed -e 's:test_find_local:_&:' -i tests/test_integration.py || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/libtmux/libtmux-0.10.1.ebuild b/dev-python/libtmux/libtmux-0.10.1.ebuild index 92fe26bfa275..83b70c8a29b7 100644 --- a/dev-python/libtmux/libtmux-0.10.1.ebuild +++ b/dev-python/libtmux/libtmux-0.10.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/tmux-python/${PN}/archive/v${PV}.tar.gz -> ${PN}-v${ LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" RDEPEND=">=app-misc/tmux-3.0a" BDEPEND=" diff --git a/dev-python/mechanize/files/mechanize-0.4.5-py310.patch b/dev-python/mechanize/files/mechanize-0.4.5-py310.patch new file mode 100644 index 000000000000..98656b65425f --- /dev/null +++ b/dev-python/mechanize/files/mechanize-0.4.5-py310.patch @@ -0,0 +1,28 @@ +diff --git a/mechanize/_clientcookie.py b/mechanize/_clientcookie.py +index ebd2773..6c89cbf 100644 +--- a/mechanize/_clientcookie.py ++++ b/mechanize/_clientcookie.py +@@ -188,13 +188,22 @@ class CookieJar(CJ): + raise IndexError() + + ++try: ++ from http.cookiejar import NETSCAPE_MAGIC_RGX, NETSCAPE_HEADER_TEXT ++except ImportError: # python < 3.10 ++ NETSCAPE_MAGIC_RGX = MCJ.magic_re ++ NETSCAPE_HEADER_TEXT = MCJ.header ++else: ++ MCJ.header = NETSCAPE_HEADER_TEXT # needed for tests ++ ++ + class MozillaCookieJar(MCJ): + + def _really_load(self, f, filename, ignore_discard, ignore_expires): + now = time.time() + + magic = f.readline() +- if not re.search(self.magic_re, magic): ++ if not re.search(NETSCAPE_MAGIC_RGX, magic): + f.close() + raise LoadError( + "%r does not look like a Netscape format cookies file" % diff --git a/dev-python/mechanize/mechanize-0.4.5-r1.ebuild b/dev-python/mechanize/mechanize-0.4.5-r1.ebuild new file mode 100644 index 000000000000..f81a53129c3c --- /dev/null +++ b/dev-python/mechanize/mechanize-0.4.5-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Stateful programmatic web browsing in Python" +HOMEPAGE="https://github.com/python-mechanize/mechanize" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="|| ( BSD ZPL )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=">=dev-python/html5lib-0.999999999[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + ${RDEPEND} + ) +" + +PATCHES=( + # https://github.com/python-mechanize/mechanize/commit/2a563ec4fbc394ec5976dda0f528db43d28a2706 + # https://github.com/python-mechanize/mechanize/commit/bc6a2ca7b17e11f2533ada67f0bf92124d4a3cac + "${FILESDIR}/${P}-py310.patch" +) + +python_test() { + "${EPYTHON}" run_tests.py || die +} diff --git a/dev-python/oslo-log/Manifest b/dev-python/oslo-log/Manifest index f81e6bae43f5..4bbf45e676c0 100644 --- a/dev-python/oslo-log/Manifest +++ b/dev-python/oslo-log/Manifest @@ -1,2 +1 @@ -DIST oslo.log-4.4.0.tar.gz 86108 BLAKE2B b710d110759612dc7c1516a0df7b0ffe5af1ee83f99ff776212e72a52a4249657b4857a8fa99aa06047093ac554b6374ba529bafee75d4589beb538baca5b190 SHA512 6501963e90d40d2e722f338ec7c78fa36f6b5b255d36fc5df7d6160d1f35397ff112b88053603f6b57d9d93539bdb665e3c1b6894f3898988fd8d06b5a356120 DIST oslo.log-4.6.0.tar.gz 92331 BLAKE2B 974f8fef0f132c5429b6512c39b770206947eae9e7a195d7a570b9da6b5bdca675440c800b6ec969ab950e375d4d4ae722d08cf662fe644949322ddc80df01df SHA512 991b661be12b2d16060b621e743fb65809f753b240d5039cd4d51f13a95d6852404156d46507fc611b612cb656d68960026c8735f4f91b32caf89e09499a3c7b diff --git a/dev-python/oslo-log/oslo-log-4.4.0-r1.ebuild b/dev-python/oslo-log/oslo-log-4.4.0-r1.ebuild deleted file mode 100644 index 839839e5d503..000000000000 --- a/dev-python/oslo-log/oslo-log-4.4.0-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="OpenStack logging config library, configuration for all openstack projects." -HOMEPAGE="https://pypi.org/project/oslo.log/ https://github.com/openstack/oslo.log" -SRC_URI="mirror://pypi/o/oslo.log/oslo.log-${PV}.tar.gz" -S="${WORKDIR}/oslo.log-${PV}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86" - -RDEPEND=">=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] - >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] - >=dev-python/oslo-context-2.20.0[${PYTHON_USEDEP}] - >=dev-python/oslo-i18n-3.20.0[${PYTHON_USEDEP}] - >=dev-python/oslo-utils-3.36.0[${PYTHON_USEDEP}] - >=dev-python/oslo-serialization-1.25.0[${PYTHON_USEDEP}] - >=dev-python/debtcollector-1.19.0[${PYTHON_USEDEP}] - >=dev-python/pyinotify-0.9.6[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}]" -BDEPEND=">=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] - test? ( - >=dev-python/testtools-2.3.0[${PYTHON_USEDEP}] - >=dev-python/oslotest-3.3.0[${PYTHON_USEDEP}] - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - )" - -distutils_enable_tests unittest - -python_test() { - eunittest -b -} diff --git a/dev-python/oslo-log/oslo-log-4.6.0.ebuild b/dev-python/oslo-log/oslo-log-4.6.0.ebuild index fc6ee7aac352..67916d6c1a17 100644 --- a/dev-python/oslo-log/oslo-log-4.6.0.ebuild +++ b/dev-python/oslo-log/oslo-log-4.6.0.ebuild @@ -13,7 +13,7 @@ S="${WORKDIR}/oslo.log-${PV}" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm arm64 x86" RDEPEND=">=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] diff --git a/dev-python/packaging/Manifest b/dev-python/packaging/Manifest index 04dcb3436b98..731bb0e9f3d6 100644 --- a/dev-python/packaging/Manifest +++ b/dev-python/packaging/Manifest @@ -1,2 +1 @@ -DIST packaging-20.9.gh.tar.gz 78041 BLAKE2B d87c66aa39cfb832a26a350981722ad40a9193b70ca447030405ee474586cc12e4ae5f4dc7fbc5da6944b717545f3d3f7caac376a3da1ab95aa26429723dc6f6 SHA512 fb71f1036cfaacbe94fdee663af31d6ad1960f73ecc95cba87b461c2d7d2ea90085853bb4682b146492d8c48f784b60ef082e3b1259269857166b143cd9a920b DIST packaging-21.0.gh.tar.gz 79977 BLAKE2B 4ddfa5069f463abeab09ed92650a174d58622927d24b22eed184506d36d9144520e90cd5ea6570e7c06af3c768eda608decc4befb402942e6d6cd1ba5cb10b42 SHA512 612744ad8d0b834709af5d4e2415679271e4cdc304a2e9297ec741e37e62241a041b678568130cd733828a1bf2e5885d62de706934f4018195566107989a6f6b diff --git a/dev-python/packaging/packaging-20.9.ebuild b/dev-python/packaging/packaging-20.9.ebuild deleted file mode 100644 index 50d82ca0058d..000000000000 --- a/dev-python/packaging/packaging-20.9.ebuild +++ /dev/null @@ -1,35 +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 - -DESCRIPTION="Core utilities for Python packages" -HOMEPAGE=" - https://github.com/pypa/packaging/ - https://pypi.org/project/packaging/" -SRC_URI=" - https://github.com/pypa/packaging/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" - -SLOT="0" -LICENSE="|| ( Apache-2.0 BSD-2 )" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -RDEPEND=" - >=dev-python/pyparsing-2.1.10[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -DEPEND=" - test? ( - dev-python/pretend[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - pytest --capture=no --strict -vv || die -} diff --git a/dev-python/packaging/packaging-21.0.ebuild b/dev-python/packaging/packaging-21.0.ebuild index 7133105024e3..d02015a9521a 100644 --- a/dev-python/packaging/packaging-21.0.ebuild +++ b/dev-python/packaging/packaging-21.0.ebuild @@ -15,7 +15,7 @@ SRC_URI=" SLOT="0" LICENSE="|| ( Apache-2.0 BSD-2 )" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND=" >=dev-python/pyparsing-2.1.10[${PYTHON_USEDEP}] diff --git a/dev-python/pillow/pillow-8.3.1.ebuild b/dev-python/pillow/pillow-8.3.1.ebuild index 1dcd96a792a4..de266210456a 100644 --- a/dev-python/pillow/pillow-8.3.1.ebuild +++ b/dev-python/pillow/pillow-8.3.1.ebuild @@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="HPND" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" IUSE="examples imagequant +jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib" REQUIRED_USE="test? ( jpeg jpeg2k tiff )" RESTRICT="!test? ( test )" diff --git a/dev-python/pyftpdlib/metadata.xml b/dev-python/pyftpdlib/metadata.xml index 3672f1de9358..49f4182ace91 100644 --- a/dev-python/pyftpdlib/metadata.xml +++ b/dev-python/pyftpdlib/metadata.xml @@ -10,4 +10,5 @@ <bugs-to>https://github.com/giampaolo/pyftpdlib/issues</bugs-to> </upstream> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild b/dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild index 31d9d2fc8d8f..e313c215f739 100644 --- a/dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild +++ b/dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild @@ -15,24 +15,24 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris" -IUSE="examples ssl test" -RESTRICT="!test? ( test )" +IUSE="examples ssl" RDEPEND=" ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) " BDEPEND=" test? ( - ${RDEPEND} dev-python/psutil[${PYTHON_USEDEP}] dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] ) " +distutils_enable_tests pytest distutils_enable_sphinx docs dev-python/sphinx_rtd_theme python_test() { + cd "${BUILD_DIR}"/lib || die + # These tests fail when passing additional options to pytest # so we need to run them separately and not pass any args to pytest pytest ${PN}/test/test_misc.py || die "Tests failed with ${EPYTHON}" @@ -40,16 +40,9 @@ python_test() { local skipped_tests=( # Those tests are run separately pyftpdlib/test/test_misc.py - # https://github.com/giampaolo/pyftpdlib/issues/470 - # https://bugs.gentoo.org/659108 - pyftpdlib/test/test_functional_ssl.py::TestTimeouts::test_idle_data_timeout2 - pyftpdlib/test/test_functional_ssl.py::TestTimeoutsTLSMixin::test_idle_data_timeout2 # https://github.com/giampaolo/pyftpdlib/issues/471 # https://bugs.gentoo.org/636410 pyftpdlib/test/test_functional.py::TestCallbacks::test_on_incomplete_file_received - # https://github.com/giampaolo/pyftpdlib/issues/466 - # https://bugs.gentoo.org/659786 - pyftpdlib/test/test_functional_ssl.py::TestFtpListingCmdsTLSMixin::test_nlst # https://github.com/giampaolo/pyftpdlib/issues/512 # https://bugs.gentoo.org/701146 pyftpdlib/test/test_functional_ssl.py::TestFtpStoreDataTLSMixin::test_rest_on_stor @@ -74,7 +67,10 @@ python_test() { pyftpdlib/test/test_functional_ssl.py::TestConfigurableOptionsTLSMixin::test_masquerade_address_map ) # Tests fail with TZ=GMT, see https://bugs.gentoo.org/666623 - TZ=UTC+1 epytest ${skipped_tests[@]/#/--deselect } + local -x TZ=UTC+1 + # Skips some shoddy tests plus increases timeouts + local -x TRAVIS=1 + epytest -p no:xvfb ${skipped_tests[@]/#/--deselect } } python_install_all() { diff --git a/dev-python/pygal/files/pygal-2.4.0-fix-py3.10.patch b/dev-python/pygal/files/pygal-2.4.0-fix-py3.10.patch new file mode 100644 index 000000000000..ded4ad2ef338 --- /dev/null +++ b/dev-python/pygal/files/pygal-2.4.0-fix-py3.10.patch @@ -0,0 +1,39 @@ +From 1525f5e7c18032b34b1be282341d60641161194d Mon Sep 17 00:00:00 2001 +From: Dooley_labs <elderlabs@users.noreply.github.com> +Date: Sat, 28 Dec 2019 02:29:38 -0500 +Subject: [PATCH] Python 3 compatibility patches + +--- + pygal/_compat.py | 5 ++++- + pygal/util.py | 2 +- + 2 files changed, 5 insertions(+), 2 deletions(-) + +diff --git a/pygal/_compat.py b/pygal/_compat.py +index 07ab8846..815585f1 100644 +--- a/pygal/_compat.py ++++ b/pygal/_compat.py +@@ -20,7 +20,10 @@ + from __future__ import division + + import sys +-from collections import Iterable ++try: ++ from collections.abc import Iterable ++except ImportError: ++ from collections import Iterable + from datetime import datetime, timedelta, tzinfo + + if sys.version_info[0] == 3: +diff --git a/pygal/util.py b/pygal/util.py +index 65236173..cca29dbf 100644 +--- a/pygal/util.py ++++ b/pygal/util.py +@@ -275,7 +275,7 @@ def minify_css(css): + # Inspired by slimmer by Peter Bengtsson + remove_next_comment = 1 + for css_comment in css_comments.findall(css): +- if css_comment[-3:] == '\*/': ++ if css_comment[-3:] == r'\*/': + remove_next_comment = 0 + continue + if remove_next_comment: diff --git a/dev-python/pygal/files/2.4.0-fix-tests.patch b/dev-python/pygal/files/pygal-2.4.0-fix-tests.patch index 6ae07df3427b..6ae07df3427b 100644 --- a/dev-python/pygal/files/2.4.0-fix-tests.patch +++ b/dev-python/pygal/files/pygal-2.4.0-fix-tests.patch diff --git a/dev-python/pygal/metadata.xml b/dev-python/pygal/metadata.xml index c6189e6cfcd1..a0c149525641 100644 --- a/dev-python/pygal/metadata.xml +++ b/dev-python/pygal/metadata.xml @@ -10,4 +10,5 @@ <bugs-to>https://github.com/Kozea/pygal/issues</bugs-to> </upstream> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pygal/pygal-2.4.0-r2.ebuild b/dev-python/pygal/pygal-2.4.0-r2.ebuild index 05edb6fd6cf1..8a11daa189cd 100644 --- a/dev-python/pygal/pygal-2.4.0-r2.ebuild +++ b/dev-python/pygal/pygal-2.4.0-r2.ebuild @@ -24,7 +24,10 @@ RDEPEND=" BDEPEND=" test? ( dev-python/pyquery[${PYTHON_USEDEP}] )" -PATCHES=( "${FILESDIR}/${PV}-fix-tests.patch" ) +PATCHES=( + "${FILESDIR}/${P}-fix-tests.patch" + "${FILESDIR}/${P}-fix-py3.10.patch" +) # CHANGELOG is a symlink to docs/changelog.rst DOCS=( docs/changelog.rst README.md ) diff --git a/dev-python/pyrsistent/pyrsistent-0.18.0.ebuild b/dev-python/pyrsistent/pyrsistent-0.18.0.ebuild index 33004de446b3..d8c553dd5f04 100644 --- a/dev-python/pyrsistent/pyrsistent-0.18.0.ebuild +++ b/dev-python/pyrsistent/pyrsistent-0.18.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" BDEPEND=" test? ( diff --git a/dev-python/pysmi/pysmi-0.3.4.ebuild b/dev-python/pysmi/pysmi-0.3.4.ebuild index a22c5e2ec553..7b05e440d443 100644 --- a/dev-python/pysmi/pysmi-0.3.4.ebuild +++ b/dev-python/pysmi/pysmi-0.3.4.ebuild @@ -18,3 +18,4 @@ RDEPEND="dev-python/ply[${PYTHON_USEDEP}]" BDEPEND="test? ( dev-python/pysnmp[${PYTHON_USEDEP}] )" distutils_enable_tests unittest +distutils_enable_sphinx docs/source diff --git a/dev-python/pysnmp/pysnmp-4.4.12-r1.ebuild b/dev-python/pysnmp/pysnmp-4.4.12-r1.ebuild index f56027b5a22b..e44d733e6922 100644 --- a/dev-python/pysnmp/pysnmp-4.4.12-r1.ebuild +++ b/dev-python/pysnmp/pysnmp-4.4.12-r1.ebuild @@ -4,7 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 +inherit distutils-r1 optfeature DESCRIPTION="Python SNMP library" HOMEPAGE="https://pypi.org/project/pysnmp/ https://github.com/etingof/pysnmp" @@ -38,8 +38,7 @@ python_install_all() { } pkg_postinst() { - elog "You may also be interested in the following packages: " - elog "dev-python/pysnmp-apps - example programs using pysnmp" - elog "dev-python/pysnmp-mibs - IETF and other mibs" - elog "dev-python/pysmi - to dump MIBs in python format" + optfeature "Example programs using pysnmp" dev-python/pysnmp-apps + optfeature "IETF and other mibs" dev-python/pysnmp-mibs + optfeature "Dump MIBs in python format" dev-python/pysmi } diff --git a/dev-python/pysnmp/pysnmp-999999.ebuild b/dev-python/pysnmp/pysnmp-999999.ebuild index 03428b937747..56c901a85c29 100644 --- a/dev-python/pysnmp/pysnmp-999999.ebuild +++ b/dev-python/pysnmp/pysnmp-999999.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 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 git-r3 +inherit distutils-r1 git-r3 optfeature DESCRIPTION="Python SNMP library" HOMEPAGE="https://pypi.org/project/pysnmp/ https://github.com/etingof/pysnmp" @@ -37,8 +37,7 @@ python_install_all() { } pkg_postinst() { - elog "You may also be interested in the following packages: " - elog "dev-python/pysnmp-apps - example programs using pysnmp" - elog "dev-python/pysnmp-mibs - IETF and other mibs" - elog "dev-python/pysmi - to dump MIBs in python format" + optfeature "Example programs using pysnmp" dev-python/pysnmp-apps + optfeature "IETF and other mibs" dev-python/pysnmp-mibs + optfeature "Dump MIBs in python format" dev-python/pysmi } diff --git a/dev-python/pysvn/pysvn-1.9.13.ebuild b/dev-python/pysvn/pysvn-1.9.13.ebuild index 707cd3c12c4c..dbcca9206fe4 100644 --- a/dev-python/pysvn/pysvn-1.9.13.ebuild +++ b/dev-python/pysvn/pysvn-1.9.13.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/project/pysvn/pysvn/V${PV}/${P}.tar.gz" LICENSE="Apache-1.1" SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" IUSE="doc examples" DEPEND=" diff --git a/dev-python/python-xlib/python-xlib-0.31.ebuild b/dev-python/python-xlib/python-xlib-0.31.ebuild index 1fa802f3b101..feaee764185d 100644 --- a/dev-python/python-xlib/python-xlib-0.31.ebuild +++ b/dev-python/python-xlib/python-xlib-0.31.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.bz2" LICENSE="LGPL-2+" SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ppc ~ppc64 x86" IUSE="doc" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" diff --git a/dev-python/python3-saml/Manifest b/dev-python/python3-saml/Manifest index 59e40f53dda3..616c9b883df2 100644 --- a/dev-python/python3-saml/Manifest +++ b/dev-python/python3-saml/Manifest @@ -1,3 +1 @@ -DIST python3-saml-1.10.0.tar.gz 503005 BLAKE2B 88be9b00082d00c86081432dd6789c0f040e8e210d3d1de218f8bf7a41cf32acce6aa90f92b6e083142a2a5c8f820eb9f8b6e880e742400b8bb83e7eb28db392 SHA512 82d15ef4315d25b38506177cbb4ef095a0546705035491847597b353486e119026c700f5d4d22764c93646f645e13d93d75bd3541c2c5b31343bcee35a42ead3 -DIST python3-saml-1.10.1.tar.gz 503178 BLAKE2B 6c87f26db03799ee92211baf1216751c293ae6182d8f8abb094fcc47c2c28ca7be933b64b0dc3cbd52ea55a0cd19c4fc96a71bb89839d41fdd3eb3daee21d293 SHA512 64bd3fc11749ef8340fa59788277e5213edec6d93f7924e412e517846623dce88b97c407ca7ae0d58172cc78a8b713c2916fe5c29df3419fa10f34b84bdb549c -DIST python3-saml-1.9.0.tar.gz 497106 BLAKE2B c3b282be835dcd0590125563ed0380bbb5d486aeffd60fa0d6a1e7d22b25ffaa03a1bea555520b1465b27b352df0936d21b919ce73a3671d63f07a52b3efdb37 SHA512 a5171258b917c02f10a0c420a19fe6829a034df1dfd87135351b9c187314dca2f973012f49056f391444aba76306adfd48cd77a859274d5cbd2a8c23a00af78d +DIST python3-saml-1.11.0.tar.gz 506373 BLAKE2B 909244e18b6ccb3cd0ed0059e387c14eb75a1a0fb709bdbc33f6dbcdda5b70359e6fedd77ab88e580aaf28503ca3f3fe49308f56338a1d8855149a7ba992034d SHA512 9e54eee28e2b6430d9f08342c312997b6a20f85e3f663573b93c4d8d65a6540c7d6f4e05d35314014b20ba080110a2a51718ac6754ef2b19bfe23d2d4381de24 diff --git a/dev-python/python3-saml/python3-saml-1.10.1.ebuild b/dev-python/python3-saml/python3-saml-1.10.1.ebuild deleted file mode 100644 index f1a10c7dfa20..000000000000 --- a/dev-python/python3-saml/python3-saml-1.10.1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 2020-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="OneLogin's SAML Python Toolkit" -HOMEPAGE="https://github.com/onelogin/python3-saml - https://pypi.org/project/python3-saml/" -SRC_URI="https://github.com/onelogin/python3-saml/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" - -RDEPEND=" - >=dev-python/isodate-0.5.0[${PYTHON_USEDEP}] - >=dev-python/lxml-3.3.5[${PYTHON_USEDEP}] - >=dev-python/python-xmlsec-1.0.5[${PYTHON_USEDEP}] - >=dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests setup.py - -src_prepare() { - # unpin deps - sed -i -e 's:==:>=:' setup.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/python3-saml/python3-saml-1.10.0.ebuild b/dev-python/python3-saml/python3-saml-1.11.0.ebuild index f1a10c7dfa20..3cc74ca31873 100644 --- a/dev-python/python3-saml/python3-saml-1.10.0.ebuild +++ b/dev-python/python3-saml/python3-saml-1.11.0.ebuild @@ -1,7 +1,7 @@ # Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) inherit distutils-r1 @@ -19,7 +19,6 @@ RDEPEND=" >=dev-python/isodate-0.5.0[${PYTHON_USEDEP}] >=dev-python/lxml-3.3.5[${PYTHON_USEDEP}] >=dev-python/python-xmlsec-1.0.5[${PYTHON_USEDEP}] - >=dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}] " BDEPEND=" test? ( diff --git a/dev-python/python3-saml/python3-saml-1.9.0.ebuild b/dev-python/python3-saml/python3-saml-1.9.0.ebuild deleted file mode 100644 index 1aede6169dbd..000000000000 --- a/dev-python/python3-saml/python3-saml-1.9.0.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="OneLogin's SAML Python Toolkit" -HOMEPAGE="https://github.com/onelogin/python3-saml - https://pypi.org/project/python3-saml/" -SRC_URI="https://github.com/onelogin/python3-saml/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -CDEPEND=" - dev-python/isodate[${PYTHON_USEDEP}] - dev-python/python-xmlsec[${PYTHON_USEDEP}] - dev-python/defusedxml[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - ) -" -RDEPEND="${CDEPEND}" - -distutils_enable_tests setup.py diff --git a/dev-python/pyusb/pyusb-1.2.1.ebuild b/dev-python/pyusb/pyusb-1.2.1.ebuild index 881ec9e6beae..07e84c76fe1c 100644 --- a/dev-python/pyusb/pyusb-1.2.1.ebuild +++ b/dev-python/pyusb/pyusb-1.2.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~riscv x86" ### This version is compatible with both 0.X and 1.X versions of libusb DEPEND="virtual/libusb:=" diff --git a/dev-python/regex/regex-2021.7.6.ebuild b/dev-python/regex/regex-2021.7.6.ebuild index adc8b42f3f8b..f19485214597 100644 --- a/dev-python/regex/regex-2021.7.6.ebuild +++ b/dev-python/regex/regex-2021.7.6.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="doc" PATCHES=( diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index 24ca5f107288..0ed0e45ae1c1 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -1,4 +1,2 @@ -DIST sentry-sdk-1.1.0.tar.gz 215946 BLAKE2B 486f32430a03d42c73814195ef16ec4efc71512faca197d8020fad7b3d1e7350ec619ef453075bc4fc4e0e454f3aa6eda41ec29b88af19d75b5f6a10273db325 SHA512 500d0d3add4bf8e74f2e34d6c00491f4bbd45a2226cc0ee93ca0f63f5ae5aea61be6730f845d50e10909c9ede6918ec6cfb90e5ebe80b753dd634ac9a9238061 DIST sentry-sdk-1.2.0.tar.gz 218371 BLAKE2B dcba23b246d4620f93b82a07a9fa9c73ae8b67d54e9a690fc53c1b08580433b2d37a50f29a47e01c7cdcc29eef45cc0b67e96f1e9b333496002ceea5ce7388a9 SHA512 86705fab17331bf5cbe4dbb25562d80b5b080d2bee0a9bb2c153bb379e63ada10465bd5fdfa24d71fc50cc1d80d5afd3e569a779f2a11bde671cc6782ddca347 -DIST sentry-sdk-1.3.0.tar.gz 219259 BLAKE2B d1da04dc80653f1f55e03e43f71e19b27588110e34dfd3c8b6968e8966e3ee6df1818bf7d0e23dab2534723b9ea93488933bd23ec763935c5683aa800b335152 SHA512 44e96654a3e4288e63e0fc780ccdf16e5a105ab51af32de146159b9affcc42fbc7004df6673e84369f802e8fdb4e060d1f756945afbe0465dca078d28ad242fb DIST sentry-sdk-1.3.1.tar.gz 219705 BLAKE2B 3fc8f81a5f762f400c70ae1c83ab46e97ec4641a61b86dc5b5a2cdbc22395b60fd53cef2d3d2dbfaaceb2d0bd32b842344fcaab898900b7dee2bd34ae3660f8b SHA512 60d819880b3d5316cad1ae4d236820f410c22c75c97d54d681f43ac6dfb503d3c5817314dd2db37107902b4e28d4f981ade200413388ecaf534135829723ef38 diff --git a/dev-python/sentry-sdk/sentry-sdk-1.1.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.1.0.ebuild deleted file mode 100644 index 3a71e562a1f2..000000000000 --- a/dev-python/sentry-sdk/sentry-sdk-1.1.0.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="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/sentry-sdk/sentry-sdk-1.2.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.2.0.ebuild index a6a1b6ada858..bed057f98c19 100644 --- a/dev-python/sentry-sdk/sentry-sdk-1.2.0.ebuild +++ b/dev-python/sentry-sdk/sentry-sdk-1.2.0.ebuild @@ -13,7 +13,7 @@ S="${WORKDIR}/sentry-python-${PV}" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~sparc x86" RDEPEND=" dev-python/urllib3[${PYTHON_USEDEP}] @@ -35,6 +35,7 @@ BDEPEND=" dev-python/pytest-forked[${PYTHON_USEDEP}] dev-python/pytest-localserver[${PYTHON_USEDEP}] dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zope-event[${PYTHON_USEDEP}] ) " diff --git a/dev-python/sentry-sdk/sentry-sdk-1.3.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.3.0.ebuild deleted file mode 100644 index a6a1b6ada858..000000000000 --- a/dev-python/sentry-sdk/sentry-sdk-1.3.0.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="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/httpx/test_httpx.py - tests/integrations/requests/test_requests.py - tests/integrations/stdlib/test_httplib.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 - # incompatible version? - tests/integrations/falcon/test_falcon.py - # 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/sentry-sdk/sentry-sdk-1.3.1.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.3.1.ebuild index a6a1b6ada858..37378f0e763e 100644 --- a/dev-python/sentry-sdk/sentry-sdk-1.3.1.ebuild +++ b/dev-python/sentry-sdk/sentry-sdk-1.3.1.ebuild @@ -35,6 +35,7 @@ BDEPEND=" dev-python/pytest-forked[${PYTHON_USEDEP}] dev-python/pytest-localserver[${PYTHON_USEDEP}] dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zope-event[${PYTHON_USEDEP}] ) " diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest index 54a25e6b1507..d54c265cd19c 100644 --- a/dev-python/setuptools/Manifest +++ b/dev-python/setuptools/Manifest @@ -1,4 +1,2 @@ DIST python-gentoo-patches-3.10.0rc1.tar.xz 8112 BLAKE2B d6f9b44c5a231f447ffe3533afbcaffe0f3b8bdd5a6690f1854bd7e1199d036d11a4cf4abfae345a88c42740ccbd4b72e53cbe28aea1a5db39dda1e5bfd47229 SHA512 bba7045f56369ca0354a539f8478a1afed77dc89a9faf548a0cf8959d644360b0afc4f84b95151ebfc2a6553078322c7445073f7a4104e9cd639ccc86ad0f792 -DIST setuptools-57.0.0.tar.gz 2144749 BLAKE2B e1fc99503ee5de425b70bf2733b1c489693e38cd256bf95cb321671bdaf87745eaaf40c43bcd03756a4cefa408dd1414f8c30af274963e3a0ae57f7b95d3f9c0 SHA512 5277d8630367d6b16a49e36ed84d8cc6abfaedf87dac3f795b204626a8f15ca9fd80d158a465d8bcabe9c074c76b87c3378d82a4ba5feee1ac6a5f2c91db061e -DIST setuptools-57.1.0.tar.gz 2144012 BLAKE2B 148eb7b5e432461f692faeb3fd4eaafb99bb9fcd2c430cbde40fb16b365ed011ce49966a8923337a860b63cdc6d8f3a26efdd138cf4c40c99e72f7d714fce57c SHA512 dfcf75584b3d7ae07e0f58ce8f596d7e9cbe3a0c178411053b066fb4362226bcf6467a79aed0853acd0b9f6a3371c47ddb07d77cbd780fe9782b8c19bce2e5fb DIST setuptools-57.4.0.tar.gz 2141309 BLAKE2B 89b386b6d5bbac61df400f60c91a0a9b9ee381aec7d2f65a856c317c7b0b5512c5e9aa8844c0e64f1840a8e954ae22ed542ad97a104d5416b1df2ac02351809b SHA512 7fcc297ea3e6310f2ec8ba5bf0d509e3f4acbce6bde7e5f0fe1b022c147cf88a047471bd4aa278724e86ebc6be800015fb935c7a31dbb6a0801a2d380ddd89f2 diff --git a/dev-python/setuptools/setuptools-57.0.0.ebuild b/dev-python/setuptools/setuptools-57.0.0.ebuild deleted file mode 100644 index 2d1983d0f1a2..000000000000 --- a/dev-python/setuptools/setuptools-57.0.0.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -# Set to 'manual' to avoid triggering install QA check -DISTUTILS_USE_SETUPTOOLS=manual -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 multiprocessing - -DESCRIPTION="Collection of extensions to Distutils" -HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" -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 )" - -BDEPEND=" - test? ( - $(python_gen_cond_dep ' - dev-python/jaraco-envs[${PYTHON_USEDEP}] - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-fixture-config[${PYTHON_USEDEP}] - dev-python/pytest-virtualenv[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/virtualenv-20[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - ' python3_{7..10} pypy3) - ) -" -PDEPEND=" - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}] - dev-python/setuptools_scm[${PYTHON_USEDEP}]" - -# Force in-source build because build system modifies sources. -DISTUTILS_IN_SOURCE_BUILD=1 - -DOCS=( {CHANGES,README}.rst ) - -python_test() { - # keep in sync with python_gen_cond_dep above! - has "${EPYTHON}" python3.{7..10} pypy3 || continue - - distutils_install_for_testing - local deselect=( - # network - 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]' - setuptools/tests/test_distutils_adoption.py - # TODO - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts - ) - [[ ${EPYTHON} == pypy3 ]] && deselect+=( - setuptools/tests/test_develop.py::TestDevelop::test_2to3_user_mode - ) - - # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg - # It tries to sandbox the test in a tempdir - HOME="${PWD}" epytest ${deselect[@]/#/--deselect } \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" \ - setuptools -} - -python_install() { - export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 - distutils-r1_python_install -} diff --git a/dev-python/setuptools/setuptools-57.1.0.ebuild b/dev-python/setuptools/setuptools-57.1.0.ebuild deleted file mode 100644 index 0b9e15bc77b5..000000000000 --- a/dev-python/setuptools/setuptools-57.1.0.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Set to 'manual' to avoid triggering install QA check -DISTUTILS_USE_SETUPTOOLS=manual -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 multiprocessing - -DESCRIPTION="Collection of extensions to Distutils" -HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" -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 )" - -BDEPEND=" - test? ( - $(python_gen_cond_dep ' - dev-python/jaraco-envs[${PYTHON_USEDEP}] - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-fixture-config[${PYTHON_USEDEP}] - dev-python/pytest-virtualenv[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/virtualenv-20[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - ' python3_{7..10} pypy3) - ) -" -PDEPEND=" - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}] - dev-python/setuptools_scm[${PYTHON_USEDEP}]" - -# Force in-source build because build system modifies sources. -DISTUTILS_IN_SOURCE_BUILD=1 - -DOCS=( {CHANGES,README}.rst ) - -python_test() { - # keep in sync with python_gen_cond_dep above! - has "${EPYTHON}" python3.{7..10} pypy3 || continue - - distutils_install_for_testing - local deselect=( - # network - 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]' - setuptools/tests/test_distutils_adoption.py - # TODO - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts - ) - [[ ${EPYTHON} == pypy3 ]] && deselect+=( - setuptools/tests/test_develop.py::TestDevelop::test_2to3_user_mode - ) - - # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg - # It tries to sandbox the test in a tempdir - HOME="${PWD}" epytest ${deselect[@]/#/--deselect } \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" \ - setuptools -} - -python_install() { - export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 - distutils-r1_python_install -} diff --git a/dev-python/setuptools/setuptools-57.4.0-r1.ebuild b/dev-python/setuptools/setuptools-57.4.0-r2.ebuild index 3f59f93cbbec..c0ce41f5b36e 100644 --- a/dev-python/setuptools/setuptools-57.4.0-r1.ebuild +++ b/dev-python/setuptools/setuptools-57.4.0-r2.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=8 +EAPI=7 # Set to 'manual' to avoid triggering install QA check DISTUTILS_USE_SETUPTOOLS=manual @@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/setuptools/setuptools-57.4.0.ebuild b/dev-python/setuptools/setuptools-57.4.0.ebuild deleted file mode 100644 index 0e76adf6f23e..000000000000 --- a/dev-python/setuptools/setuptools-57.4.0.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Set to 'manual' to avoid triggering install QA check -DISTUTILS_USE_SETUPTOOLS=manual -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 multiprocessing - -DESCRIPTION="Collection of extensions to Distutils" -HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" -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 )" - -BDEPEND=" - test? ( - $(python_gen_cond_dep ' - dev-python/jaraco-envs[${PYTHON_USEDEP}] - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-fixture-config[${PYTHON_USEDEP}] - dev-python/pytest-virtualenv[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/virtualenv-20[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - ' python3_{8..10} pypy3) - ) -" -PDEPEND=" - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}] - dev-python/setuptools_scm[${PYTHON_USEDEP}]" - -# Force in-source build because build system modifies sources. -DISTUTILS_IN_SOURCE_BUILD=1 - -DOCS=( {CHANGES,README}.rst ) - -python_test() { - # keep in sync with python_gen_cond_dep above! - has "${EPYTHON}" python3.{8..10} pypy3 || continue - - distutils_install_for_testing - local deselect=( - # network - 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]' - setuptools/tests/test_distutils_adoption.py - # TODO - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts - ) - [[ ${EPYTHON} == pypy3 ]] && deselect+=( - setuptools/tests/test_develop.py::TestDevelop::test_2to3_user_mode - ) - - # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg - # It tries to sandbox the test in a tempdir - HOME="${PWD}" epytest ${deselect[@]/#/--deselect } \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" \ - setuptools -} - -python_install() { - export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 - distutils-r1_python_install -} diff --git a/dev-python/tqdm/Manifest b/dev-python/tqdm/Manifest index f051406858c8..d70efdee269e 100644 --- a/dev-python/tqdm/Manifest +++ b/dev-python/tqdm/Manifest @@ -1,3 +1,2 @@ -DIST tqdm-4.61.1.tar.gz 169637 BLAKE2B 8b89f320e13119b24a9e121747bce0b5c6625c31feb8c427a97e71da52797d9de764ce5e5c41c07d5954a1e5e4e21913335a4691837bc243db473821b2dad1ac SHA512 6092a30389380a511abc8bee7e6144556d6dc1a993ba4a2685707afa2838a12f472aa216ac5e55d144da74f9be1d398d4c6f5352986a200557e4aba67831a505 DIST tqdm-4.61.2.tar.gz 169665 BLAKE2B f5dff67eb549cab0dd667815c25f6e885a2e0cefc2ad68e97fdc09599eb41b13589f7a88d5a445813973454a5e5f835b3139651ec2e09b717db0fd6dc705890e SHA512 bc33e8fe00244f90f61ab51d0c7c0b98d5580efebd9758284d9dbe2a699eabeb0d92871eedc2f95f377e29dd0f7ea4b5247b96cb4cc1687dcfea3a9ed1152ab7 DIST tqdm-4.62.0.tar.gz 169668 BLAKE2B 64a3df2f00a4fcba6bb67ae15e04f392a73b54cf7284f3c013ad31d00317e9d84ac2e1feed302137aeb7ea9e3c9d1d730623cbd96e8c76c46df6382435146efa SHA512 dd60d5522b68086410ec5f02574477dcc33a887ef509cc1d1735921dd906f951180d6115680517b3abbd2cf6c4ee1c60b9c950654ea9b7642d52d28052326088 diff --git a/dev-python/tqdm/files/tqdm-4.61.1-py310.patch b/dev-python/tqdm/files/tqdm-4.61.1-py310.patch deleted file mode 100644 index 10cb898d4809..000000000000 --- a/dev-python/tqdm/files/tqdm-4.61.1-py310.patch +++ /dev/null @@ -1,35 +0,0 @@ -From d2a6ec2ab84aec847b1598bb2a777103cea7fc9f Mon Sep 17 00:00:00 2001 -From: Casper da Costa-Luis <tqdm@cdcl.ml> -Date: Sat, 12 Jun 2021 17:39:37 +0100 -Subject: [PATCH] fix py3.10 `asyncio` tests - -- fixes #1176 ---- - tqdm/asyncio.py | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/tqdm/asyncio.py b/tqdm/asyncio.py -index 0d3ba747d..8f9b4ed6e 100644 ---- a/tqdm/asyncio.py -+++ b/tqdm/asyncio.py -@@ -8,6 +8,7 @@ - ... ... - """ - import asyncio -+from sys import version_info - - from .std import tqdm as std_tqdm - -@@ -60,7 +61,11 @@ def as_completed(cls, fs, *, loop=None, timeout=None, total=None, **tqdm_kwargs) - """ - if total is None: - total = len(fs) -- yield from cls(asyncio.as_completed(fs, loop=loop, timeout=timeout), -+ -+ kwargs = {} -+ if version_info[:2] < (3, 10): -+ kwargs['loop'] = loop -+ yield from cls(asyncio.as_completed(fs, timeout=timeout, **kwargs), - total=total, **tqdm_kwargs) - - @classmethod diff --git a/dev-python/tqdm/tqdm-4.61.1.ebuild b/dev-python/tqdm/tqdm-4.61.1.ebuild deleted file mode 100644 index 98c30ddda39b..000000000000 --- a/dev-python/tqdm/tqdm-4.61.1.ebuild +++ /dev/null @@ -1,55 +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 - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/tqdm/tqdm" -else - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86 ~x64-macos" -fi - -DESCRIPTION="Add a progress meter to your loops in a second" -HOMEPAGE="https://github.com/tqdm/tqdm" - -LICENSE="MIT" -SLOT="0" -IUSE="examples" - -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - dev-python/toml[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/${P}-py310.patch -) - -python_test() { - # Skip unpredictable performance tests - epytest --ignore 'tests/tests_perf.py' -} - -python_install() { - doman "${BUILD_DIR}"/lib/tqdm/tqdm.1 - rm "${BUILD_DIR}"/lib/tqdm/tqdm.1 || die - distutils-r1_python_install -} - -python_install_all() { - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - distutils-r1_python_install_all -} diff --git a/dev-python/tqdm/tqdm-4.61.2.ebuild b/dev-python/tqdm/tqdm-4.61.2.ebuild index fb5870f00137..3740e1709a2c 100644 --- a/dev-python/tqdm/tqdm-4.61.2.ebuild +++ b/dev-python/tqdm/tqdm-4.61.2.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/tqdm/tqdm" else SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~x64-macos" fi DESCRIPTION="Add a progress meter to your loops in a second" diff --git a/dev-python/weasyprint/Manifest b/dev-python/weasyprint/Manifest index e6ff078566cc..104a0e47050d 100644 --- a/dev-python/weasyprint/Manifest +++ b/dev-python/weasyprint/Manifest @@ -1,5 +1 @@ -DIST WeasyPrint-51.tar.gz 308411 BLAKE2B f88f9e1abc09986d51d92d8a153c71242cadc8ce6b8ac99a08d86746677d40a86affe3c56dd3e3e6a0eb2fc915f77036271f049f6ccc644d508be51d01d97b7c SHA512 631038bece7ac0c15c6a668a7d06137e4bccc049eb80484a153ca9c4a996256de8647428b21ed1d0c1607af3893c747a1956a3d3f012b30105ba4f8613a96fcd -DIST WeasyPrint-52.3.tar.gz 325076 BLAKE2B 2981a487938d4ceefe20da36262438a64c30beaff340be6bd48b0140f63ea3971ca80a36386dde2db270e1555b137a89480673c4fdc2fa49079efdf58e53029b SHA512 7db740dd8f7264f73efe6e2505c603cedb1f8e5c053447b03517bdb003b933e1ef58f15482d4ab316b04b6631f9102752670f8b56989983cab80f7bd110746c9 -DIST WeasyPrint-52.4.tar.gz 325062 BLAKE2B ead641007e84664dfc1a9b95a227d5c6539e19e629d95d68b663b46a873ffa83b203897dd4d03c5d72f00e2737268c64624b97a37840c86d4a555f5b1a20a7bb SHA512 0003f9b46452e60118e7f6944f0bf48b6f548814dae10f990bedb124d3c67d9c530c30ee142d416f448b3b479f54b4fcdf01e31747957438192c77031926cb8c -DIST WeasyPrint-52.5.tar.gz 325050 BLAKE2B 425a21acba183a3313069724972a7627aeaf326ce42e84789c02552f51a660be7b1d2855b76a3034ae09c316b6f0a13219464b88af8bb8f0ca59ab8ffd263223 SHA512 0ce86db000adef95fabfb335c069ad2a602ed98056219cedde905c550b04b10b0881d72fbdd38a48fae4e263825f5fbd8a70ce13932083afb8930eacc5817fb5 DIST weasyprint-53.0.tar.gz 386339 BLAKE2B 6d8e30a02d54061557e549a685944de7cbc61f4c1b46b23dbaef66e87232325f630fd5a34cf5c846599612914f9306b5235fad65a008e19a7c200af2f4c7d9da SHA512 de34ee5654ee90aec82b67c1bc7d9496fe3a4247b2a649ab110d1613c4780fd9ae611c9da177de07e5287749978af9a4a7d5c102d0940e5fd970e5aa8586c47e diff --git a/dev-python/weasyprint/metadata.xml b/dev-python/weasyprint/metadata.xml index bcb05272b9f9..76e49112d483 100644 --- a/dev-python/weasyprint/metadata.xml +++ b/dev-python/weasyprint/metadata.xml @@ -6,7 +6,7 @@ <name>Python</name> </maintainer> <upstream> - <remote-id type="pypi">WeasyPrint</remote-id> + <remote-id type="pypi">weasyprint</remote-id> </upstream> <origin>gentoo-staging</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/weasyprint/weasyprint-51.ebuild b/dev-python/weasyprint/weasyprint-51.ebuild deleted file mode 100644 index 6a281f4e1346..000000000000 --- a/dev-python/weasyprint/weasyprint-51.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Visual rendering engine for HTML and CSS that can export to PDF" -MY_PN="WeasyPrint" -MY_P="${MY_PN}-${PV}" -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" -HOMEPAGE="https://weasyprint.org https://github.com/Kozea/WeasyPrint" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="jpeg test tiff" -RESTRICT="!test? ( test )" - -# Note: specific subslot of pango since it inlines some of pango headers. -# >=dev-python/lxml-3.0[${PYTHON_USEDEP}] -RDEPEND=" - >=dev-python/cairocffi-0.9[${PYTHON_USEDEP}] - >=dev-python/cffi-0.6:=[${PYTHON_USEDEP}] - >=dev-python/cssselect2-0.1[${PYTHON_USEDEP}] - >=dev-python/html5lib-0.999999999[${PYTHON_USEDEP}] - >=dev-python/pyphen-0.9.1[${PYTHON_USEDEP}] - >=dev-python/tinycss2-1.0.0[${PYTHON_USEDEP}] - >=media-gfx/cairosvg-2.4.0[${PYTHON_USEDEP}] - >=x11-libs/cairo-1.15.4 - x11-libs/gdk-pixbuf[jpeg?,tiff?] - x11-libs/pango:0/0 -" - -DEPEND=" - test? ( - ${RDEPEND} - dev-python/pytest[${PYTHON_USEDEP}] - media-fonts/ahem - ) -" - -PATCHES=( "${FILESDIR}/${PN}-51-skip-useless-deps.patch" ) -# "${FILESDIR}/${PN}-43-skip-failing-test.patch" - -S="${WORKDIR}/${MY_P}" - -python_test() { - pytest -vv || die "testsuite failed under ${EPYTHON}" -} diff --git a/dev-python/weasyprint/weasyprint-52.3.ebuild b/dev-python/weasyprint/weasyprint-52.3.ebuild deleted file mode 100644 index 96a4cacebda9..000000000000 --- a/dev-python/weasyprint/weasyprint-52.3.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -MY_PN="WeasyPrint" -MY_P="${MY_PN}-${PV}" -DESCRIPTION="Visual rendering engine for HTML and CSS that can export to PDF" -HOMEPAGE="https://weasyprint.org https://github.com/Kozea/WeasyPrint" -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="jpeg tiff" - -# Note: specific subslot of pango since it inlines some of pango headers. -# >=dev-python/lxml-3.0[${PYTHON_USEDEP}] -RDEPEND=" - >=dev-python/cairocffi-0.9[${PYTHON_USEDEP}] - >=dev-python/cffi-0.6:=[${PYTHON_USEDEP}] - >=dev-python/cssselect2-0.1[${PYTHON_USEDEP}] - >=dev-python/html5lib-0.999999999[${PYTHON_USEDEP}] - >=dev-python/pyphen-0.9.1[${PYTHON_USEDEP}] - >=dev-python/tinycss2-1.0.0[${PYTHON_USEDEP}] - >=media-gfx/cairosvg-2.4.0[${PYTHON_USEDEP}] - >=x11-libs/cairo-1.15.4 - x11-libs/gdk-pixbuf[jpeg?,tiff?] - x11-libs/pango:0/0 -" - -BDEPEND=" - test? ( - media-fonts/ahem - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -e '/pytest-runner/d' \ - -e 's:--flake8 --isort::' \ - -i setup.cfg || die - distutils-r1_src_prepare -} diff --git a/dev-python/weasyprint/weasyprint-52.4.ebuild b/dev-python/weasyprint/weasyprint-52.4.ebuild deleted file mode 100644 index 96a4cacebda9..000000000000 --- a/dev-python/weasyprint/weasyprint-52.4.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -MY_PN="WeasyPrint" -MY_P="${MY_PN}-${PV}" -DESCRIPTION="Visual rendering engine for HTML and CSS that can export to PDF" -HOMEPAGE="https://weasyprint.org https://github.com/Kozea/WeasyPrint" -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="jpeg tiff" - -# Note: specific subslot of pango since it inlines some of pango headers. -# >=dev-python/lxml-3.0[${PYTHON_USEDEP}] -RDEPEND=" - >=dev-python/cairocffi-0.9[${PYTHON_USEDEP}] - >=dev-python/cffi-0.6:=[${PYTHON_USEDEP}] - >=dev-python/cssselect2-0.1[${PYTHON_USEDEP}] - >=dev-python/html5lib-0.999999999[${PYTHON_USEDEP}] - >=dev-python/pyphen-0.9.1[${PYTHON_USEDEP}] - >=dev-python/tinycss2-1.0.0[${PYTHON_USEDEP}] - >=media-gfx/cairosvg-2.4.0[${PYTHON_USEDEP}] - >=x11-libs/cairo-1.15.4 - x11-libs/gdk-pixbuf[jpeg?,tiff?] - x11-libs/pango:0/0 -" - -BDEPEND=" - test? ( - media-fonts/ahem - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -e '/pytest-runner/d' \ - -e 's:--flake8 --isort::' \ - -i setup.cfg || die - distutils-r1_src_prepare -} diff --git a/dev-python/weasyprint/weasyprint-52.5.ebuild b/dev-python/weasyprint/weasyprint-52.5.ebuild deleted file mode 100644 index 96a4cacebda9..000000000000 --- a/dev-python/weasyprint/weasyprint-52.5.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -MY_PN="WeasyPrint" -MY_P="${MY_PN}-${PV}" -DESCRIPTION="Visual rendering engine for HTML and CSS that can export to PDF" -HOMEPAGE="https://weasyprint.org https://github.com/Kozea/WeasyPrint" -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="jpeg tiff" - -# Note: specific subslot of pango since it inlines some of pango headers. -# >=dev-python/lxml-3.0[${PYTHON_USEDEP}] -RDEPEND=" - >=dev-python/cairocffi-0.9[${PYTHON_USEDEP}] - >=dev-python/cffi-0.6:=[${PYTHON_USEDEP}] - >=dev-python/cssselect2-0.1[${PYTHON_USEDEP}] - >=dev-python/html5lib-0.999999999[${PYTHON_USEDEP}] - >=dev-python/pyphen-0.9.1[${PYTHON_USEDEP}] - >=dev-python/tinycss2-1.0.0[${PYTHON_USEDEP}] - >=media-gfx/cairosvg-2.4.0[${PYTHON_USEDEP}] - >=x11-libs/cairo-1.15.4 - x11-libs/gdk-pixbuf[jpeg?,tiff?] - x11-libs/pango:0/0 -" - -BDEPEND=" - test? ( - media-fonts/ahem - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -e '/pytest-runner/d' \ - -e 's:--flake8 --isort::' \ - -i setup.cfg || die - distutils-r1_src_prepare -} diff --git a/dev-python/weasyprint/weasyprint-53.0.ebuild b/dev-python/weasyprint/weasyprint-53.0.ebuild index 9de3bd49bcbc..abdc28ba79f6 100644 --- a/dev-python/weasyprint/weasyprint-53.0.ebuild +++ b/dev-python/weasyprint/weasyprint-53.0.ebuild @@ -15,16 +15,13 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="jpeg tiff" -# Note: specific subslot of pango since it inlines some of pango headers. -# >=dev-python/lxml-3.0[${PYTHON_USEDEP}] RDEPEND=" >=dev-python/cffi-0.6:=[${PYTHON_USEDEP}] >=dev-python/cssselect2-0.1[${PYTHON_USEDEP}] >=dev-python/fonttools-4.0.0[${PYTHON_USEDEP}] >=dev-python/html5lib-1.0.1[${PYTHON_USEDEP}] - >=dev-python/pillow-4.0.0[${PYTHON_USEDEP}] + >=dev-python/pillow-4.0.0[jpeg,jpeg2k,${PYTHON_USEDEP}] >=dev-python/pydyf-0.0.3[${PYTHON_USEDEP}] >=dev-python/pyphen-0.9.1[${PYTHON_USEDEP}] >=dev-python/tinycss2-1.0.0[${PYTHON_USEDEP}] @@ -33,7 +30,9 @@ RDEPEND=" BDEPEND=" test? ( + app-text/ghostscript-gpl media-fonts/ahem + media-fonts/dejavu ) " diff --git a/dev-python/xlsxwriter/Manifest b/dev-python/xlsxwriter/Manifest index 4d7323d3fe16..21777f8970f2 100644 --- a/dev-python/xlsxwriter/Manifest +++ b/dev-python/xlsxwriter/Manifest @@ -1,3 +1,2 @@ -DIST XlsxWriter-RELEASE_1.4.3.tar.gz 34122578 BLAKE2B 7f9a9f2f9c7eb6f425192e30961d455dc348b51cec72ce4602b975c41cdfcbfc4e8d49efe62877d8f96dc6ce02320f64fa2ff55586a17d29cf2a950c9eaa9593 SHA512 38b12e3c6bd14122ea9bf652ef33078cf4aedc2be7ce8c3151960331827642713d25f3f9bff9ad7d375d251086e1cc58b09e4d77141dd2973c21a1d24c0b0dd0 DIST XlsxWriter-RELEASE_1.4.4.tar.gz 34138048 BLAKE2B 159c305171eba27c66d3d9b9b1fd0e664f4acc572079c4daa6ac50c72e1e1e6016a93815b7de27af10b6e6653b02efb0291073284dabf9a6f15495c1f61ef059 SHA512 2a459e7eb924ef7475b7fed8f5689d4c2b2669a65d5f3e251a51c5e55cc8c4a545eb1d83534168b19c802740366fe2c4ef14c6c5850213fd690f01e42bbe4ca3 DIST XlsxWriter-RELEASE_1.4.5.tar.gz 34383001 BLAKE2B 9a00ef80aec818e3b1c80000bdf0fe9dbb5b99ac04a5508ca23c6d76c56e31c94db0b5a38ef6d8345c6a5dc83175e4c79381877415f982fc7ec66d42efe8c80e SHA512 e3b969ef27ef24ce371c0a789a8cac6da4e8245ec349ca23ba9e04d5c2adf0a141f51596bd15117fc400efb9354a6730c4668f51218f0a08b312d25519a492e8 diff --git a/dev-python/xlsxwriter/xlsxwriter-1.4.3.ebuild b/dev-python/xlsxwriter/xlsxwriter-1.4.3.ebuild deleted file mode 100644 index 52c40871d51d..000000000000 --- a/dev-python/xlsxwriter/xlsxwriter-1.4.3.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.4.4.ebuild b/dev-python/xlsxwriter/xlsxwriter-1.4.4.ebuild index d03b6fc58078..5e7cf4ec9040 100644 --- a/dev-python/xlsxwriter/xlsxwriter-1.4.4.ebuild +++ b/dev-python/xlsxwriter/xlsxwriter-1.4.4.ebuild @@ -17,6 +17,6 @@ S=${WORKDIR}/${MY_P} SLOT="0" LICENSE="BSD" -KEYWORDS="~amd64 ~arm ~arm64 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~sparc x86 ~amd64-linux ~x86-linux" distutils_enable_tests pytest diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest index 823621fdc50e..1d0a4877f374 100644 --- a/dev-python/zipp/Manifest +++ b/dev-python/zipp/Manifest @@ -1,2 +1 @@ -DIST zipp-3.4.1.tar.gz 16545 BLAKE2B 5ebdc4d1e932d72502866701db8b0f352aca3194890d9ed340722bb2a65c4e3be0f6bb54f49567e4fd46faaec3379d0c1d668e1a55f63bea6c57e4ef0c2f9e01 SHA512 2ba50109efd0ceea9eb1d57e2d839f522b5a78a8dae344d6da54b79305dd46bff23f1116f562127290152c0b100369439c17fe9dc3fb14d0b42beaa48348ebe6 DIST zipp-3.5.0.tar.gz 13270 BLAKE2B ba3b6f82ed0f1a902050ee8a89b6876a839d180dc048dd19cd31ddbaf89ec0494b9444f2ac082ed347e3183ccaf2e8342748737c2a29e1a2bbc492a0bc34767c SHA512 676d7e9a7fde386b57a213975121aba015461453f0809a97d39d030b06918a4c54ba1cad21877ddf007560941ae285883098d81d5e6f17eb4636379345b4513d diff --git a/dev-python/zipp/zipp-3.4.1.ebuild b/dev-python/zipp/zipp-3.4.1.ebuild deleted file mode 100644 index 0dca4c0cfec9..000000000000 --- a/dev-python/zipp/zipp-3.4.1.ebuild +++ /dev/null @@ -1,40 +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 - -DESCRIPTION="Backport of pathlib-compatible object wrapper for zip files" -HOMEPAGE="https://github.com/jaraco/zipp" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -BDEPEND=" - dev-python/toml[${PYTHON_USEDEP}] - >=dev-python/setuptools_scm-3.4.2[${PYTHON_USEDEP}] - test? ( dev-python/jaraco-itertools[${PYTHON_USEDEP}] ) -" - -distutils_enable_sphinx docs \ - ">=dev-python/jaraco-packaging-3.2" \ - ">=dev-python/rst-linker-1.9" -distutils_enable_tests pytest - -python_prepare_all() { - # Skip a potentially flaky performance test - sed -i -e '/^import func_timeout\|^ *@func_timeout\.func_set_timeout/d' \ - -e 's/test_implied_dirs_performance/_&/' test_zipp.py || die - distutils-r1_python_prepare_all -} - -python_test() { - # Ignoring zipp.py from ${S} avoids ImportPathMismatchError with Python < 3.8 - # by ensuring only zipp from ${BUILD_DIR} is loaded - epytest --ignore zipp.py -} diff --git a/dev-python/zipp/zipp-3.5.0.ebuild b/dev-python/zipp/zipp-3.5.0.ebuild index 48563106bc30..a0be0d6ef198 100644 --- a/dev-python/zipp/zipp-3.5.0.ebuild +++ b/dev-python/zipp/zipp-3.5.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" BDEPEND=" dev-python/toml[${PYTHON_USEDEP}] |
