diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-01-18 13:39:42 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-01-18 13:39:42 +0000 |
| commit | ce1ae4eb083d83387e13192d654ccb7bf40f3c7e (patch) | |
| tree | da81acc8a5b14056176a64e9ab269507f94151dc /dev-python | |
| parent | c908acc6b866a054a65bafd37aee7d1c3476057d (diff) | |
| download | baldeagleos-repo-ce1ae4eb083d83387e13192d654ccb7bf40f3c7e.tar.gz baldeagleos-repo-ce1ae4eb083d83387e13192d654ccb7bf40f3c7e.tar.xz baldeagleos-repo-ce1ae4eb083d83387e13192d654ccb7bf40f3c7e.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
28 files changed, 485 insertions, 51 deletions
diff --git a/dev-python/cachelib/Manifest b/dev-python/cachelib/Manifest index 77695239c4d0..d7349da3ce58 100644 --- a/dev-python/cachelib/Manifest +++ b/dev-python/cachelib/Manifest @@ -1,2 +1,3 @@ DIST cachelib-0.4.1.tar.gz 19762 BLAKE2B baadfe920fda339cd8f3241664ae91b2767423ed09bdb6204573b2679e37c2dd3157f3b4d0f16841b1ab859f7c777986c0c251bcbe4bdf1ade69c442ff8ec756 SHA512 051e6f31b6ee58836a1512de4c7eedc718c081389df92605ad065f4bc5e4c861971507af636686d8abf00273a379ff31730bf040a7633a143dc1492263e3a543 DIST cachelib-0.5.0.tar.gz 21173 BLAKE2B cbd6bb5e0be27dd284893ebd3e469821806c5d3634195b6cacc4ba247da9f8f3d33d0ad3043e80409f836907c24c1a8226dd0333a51488b86a7cd0244d66fe2b SHA512 1b942e654cf334755fe130a913504d6b46dbb1e6aef3df33cb295ded7e47b1ed461b68653d8bc8ffe85cff6fc82a382df82b97302ff191e184e953d837a02cdd +DIST cachelib-0.6.0.tar.gz 21842 BLAKE2B a886e0d6558dd7b3e5cb70124ac48b1fd55de13bc15998da32111300505501252f96c419c2bf82f6101c51e70d2d98f5a49362554891513ea3d1c8522d17ab4c SHA512 a828b6a9e425efcfbae46c148f1f56fd6f4df2ce37ed72b90fc4c3ea9edec1273aa2f2e1f9ad59fad30d1b8e37d6794176b85a7b5afb2b65264bd992dfc5c4f6 diff --git a/dev-python/cachelib/cachelib-0.6.0.ebuild b/dev-python/cachelib/cachelib-0.6.0.ebuild new file mode 100644 index 000000000000..5ceef0a2744b --- /dev/null +++ b/dev-python/cachelib/cachelib-0.6.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Collection of cache libraries in the same API interface. Extracted from werkzeug" +HOMEPAGE="https://pypi.org/project/cachelib/ https://github.com/pallets/cachelib" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +BDEPEND=" + test? ( + dev-python/pylibmc[${PYTHON_USEDEP}] + dev-python/pytest-xprocess[${PYTHON_USEDEP}] + dev-python/redis-py[${PYTHON_USEDEP}] + net-misc/memcached + www-servers/uwsgi[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # bug #818523 + tests/test_redis_cache.py +) diff --git a/dev-python/cli_helpers/Manifest b/dev-python/cli_helpers/Manifest index 2b454a836f67..8b79b216861d 100644 --- a/dev-python/cli_helpers/Manifest +++ b/dev-python/cli_helpers/Manifest @@ -1 +1,2 @@ DIST cli_helpers-2.2.0.tar.gz 34018 BLAKE2B c7dfe8b87db6312557b4ac87aa4eda77b94f12789fcd4a9e686cada47bd41601f5c357a77de4a1c6d550b2ea110b682da0a04edb312d26ecf281e6d323369462 SHA512 26d78227999e8bb37f58529ce29bbed1bc8d51c80f81127552fb1d1f880c476abdd43ca628c591ba50c0316b35d1df0541906bf902a7549f459da0e1200c8479 +DIST cli_helpers-2.2.1.tar.gz 34199 BLAKE2B 5fb5217321d92cd6c774337bdf444ad2a6120accfe32da08642a880a60f1bdb4c71f12657bd17c30f7b3f212216fad027ac9c786367563e01d58c54c15bf67b5 SHA512 4b4a8c3ab61ceeaa1986e5d9943b10351ff1b3339294a78ed740bff3bd555cace723e637d6627e26b832370583989aa2b0782f57949af2c1d504f93caceda2d8 diff --git a/dev-python/cli_helpers/cli_helpers-2.2.1.ebuild b/dev-python/cli_helpers/cli_helpers-2.2.1.ebuild new file mode 100644 index 000000000000..278b825054b3 --- /dev/null +++ b/dev-python/cli_helpers/cli_helpers-2.2.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Python helpers for common CLI tasks" +HOMEPAGE="https://cli-helpers.rtfd.io/" +SRC_URI="https://github.com/dbcli/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/configobj-5.0.5[${PYTHON_USEDEP}] + >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}] + >=dev-python/tabulate-0.8.0[${PYTHON_USEDEP}] + dev-python/wcwidth[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/debtcollector/Manifest b/dev-python/debtcollector/Manifest index 89eb4b3c3cfd..889e03b196c5 100644 --- a/dev-python/debtcollector/Manifest +++ b/dev-python/debtcollector/Manifest @@ -1 +1,2 @@ DIST debtcollector-2.3.0.tar.gz 31537 BLAKE2B 6c4993edf08dd72e8378bd82e4578a491f0540d35165e3c67e918ef5a659de06e4fd83d2737458cddd27ef08dfd01a38679b940e80a4b460e145ab20789940e5 SHA512 d8a9a65ec33bf6bc777d6766842cd6351c265752f552bda3bfd1db86a08c8c89c3f871c6eff15648a8c1a79d7820368711256d404934fd826ee6cb0c7c53f77a +DIST debtcollector-2.4.0.tar.gz 31376 BLAKE2B ccd34005133a888b164538c01ed482da26e91e2dd5d9f11bb0efacc0941c9eb1c0357ce8d0c237734ad450226512263ba8aa52f3b8e712a33a40fac384db2791 SHA512 31287e223524d5997e9dc776766c5ab2ec77c771fca6e9b27e058fdd94a20b67a73147c538f9a7a3155c4ce6eb85a20e8276bedd1a53a81bebcb5daaceb1b463 diff --git a/dev-python/debtcollector/debtcollector-2.4.0.ebuild b/dev-python/debtcollector/debtcollector-2.4.0.ebuild new file mode 100644 index 000000000000..bc32e53f27a0 --- /dev/null +++ b/dev-python/debtcollector/debtcollector-2.4.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Python deprecation patterns and strategies that collect technical debt" +HOMEPAGE="https://www.openstack.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/wrapt-1.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + dev-python/subunit[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + dev-python/fixtures[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/dns-lexicon/Manifest b/dev-python/dns-lexicon/Manifest index 59d2eee5bb47..fb22138c9790 100644 --- a/dev-python/dns-lexicon/Manifest +++ b/dev-python/dns-lexicon/Manifest @@ -2,3 +2,4 @@ DIST dns-lexicon-3.8.3.tar.gz 7834913 BLAKE2B a72b356d10d0af8367ce9d51d2c4d4a3a1 DIST dns-lexicon-3.8.4.tar.gz 7850337 BLAKE2B f72a338c00346091df2cf53fa01cbc34e81b235cb5100b4993ccf46f738e2588b08b7a57316c07c7eff1c039437e49371193c9952b6fd870f30a2c6b538d3e1e SHA512 7a598b38a847e384fda243b76af523701d80d84a2338ef5745ca9f82284675ace5f84bf93cccfeda101584194c15fdbd0d4d8f69fdd0db60ec42d4c063a7916c DIST dns-lexicon-3.8.5.tar.gz 7850115 BLAKE2B 27dfb837385e370142d82bc682627fa96efc8a4868f9a5532ace608e2739afbecee82dcb531e9a4e0cdf9b2c68e639ae5c7ad1f4774e80f989c13eaa86c93d7a SHA512 e50fdb5c0b0d250babaff0a2d485f9112732a9e975cb853329dbcec33fe592e80a28c469b17cc0a5544909285805c1c20578b5e5f4b22ff6259b624be8c6acde DIST dns-lexicon-3.9.0.tar.gz 7843652 BLAKE2B de6339c8f739d00aefca831adfccaed3914c0d9103e7dd5a175215761a27e29eca3c2e26c08239df2e6a34afbe7228013cab7123572c6481ed4e31fa2a20236d SHA512 4bc26018e0702345e86fa352eddff89358b34e878864e6273e89798cce81c4ef9e4ff06a1298481c8496237bb26d8d7c3286c82aac99117a49faa64ea329c307 +DIST dns-lexicon-3.9.2.tar.gz 7833249 BLAKE2B 48ea6da7f47f6de72bf1d11c1226e2e31001ffe08f45ed3b1b0ca42ea134076c0fe4025fa38c4eca9255ef7f4f005555b2dbfa0116680c4d112c2bc37e603090 SHA512 f4052e2837ee43ce8aaadc9e5adbb522f2a9035a5d1813b35c3bd84fb651e10a42594529328d12153d086f2b8d84bb35eb4af2425010df4e8784f4972de00027 diff --git a/dev-python/dns-lexicon/dns-lexicon-3.9.2.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.9.2.ebuild new file mode 100644 index 000000000000..4a198b23b16b --- /dev/null +++ b/dev-python/dns-lexicon/dns-lexicon-3.9.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 optfeature + +DESCRIPTION="Manipulate DNS records on various DNS providers in a standardized/agnostic way" +HOMEPAGE="https://pypi.org/project/dns-lexicon/" +SRC_URI="https://github.com/AnalogJ/lexicon/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/lexicon-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tldextract[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/boto3[${PYTHON_USEDEP}] + dev-python/zeep[${PYTHON_USEDEP}] + dev-python/vcrpy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # Requires the "localzone" module + lexicon/tests/providers/test_localzone.py + # Requires the "softlayer" module + lexicon/tests/providers/test_softlayer.py + # Requires the "transip" module + lexicon/tests/providers/test_transip.py + # Requires the "oci" module + lexicon/tests/providers/test_oci.py + # Uses tldextract which needs Internet access to download its database + lexicon/tests/providers/test_auto.py +) + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + optfeature_header \ + "Install the following packages to enable support for additional DNS providers:" + optfeature Gransy dev-python/zeep + optfeature Route53 dev-python/boto3 + optfeature DDNS dev-python/dnspython + fi +} diff --git a/dev-python/fasteners/Manifest b/dev-python/fasteners/Manifest index d18a034b2239..56dbb25984a6 100644 --- a/dev-python/fasteners/Manifest +++ b/dev-python/fasteners/Manifest @@ -1,2 +1,3 @@ DIST fasteners-0.16.3.gh.tar.gz 29727 BLAKE2B 67b4bc260858abe7ee330c2c5a625ecfead11ed486f4f3c2a070eaa77addad300ee8398d6fe6d5ee0e517a25617dccd49500bd9e0abc3f9bad8216026c114686 SHA512 72b4ead49bb0c4f0e0c4ff47cab12f645af456e9100f270b72582b68239dd2536b1b641b38693f4f3635fc977e4ffa059c249e097e8842a1325333c4a6e864f9 DIST fasteners-0.17.1.gh.tar.gz 29104 BLAKE2B 223d7a0813febc18abb8aa629ad001afaf745b3283e89fe01f5dbfac7b3e1855b0da256c62a702f59558aa9f80a26a3ff3cad20ee3fd0569b2ecfba561b2f9cc SHA512 491a968e81ae67f4e166dfb643012e261591780c2851012c62f74dc249a100196c8410eb2b35f1b15212f02c417e3135e46b5e32626dc7d3d5197953dd47d840 +DIST fasteners-0.17.2.gh.tar.gz 29097 BLAKE2B a7482beeea2d57494c07d1995a06f79a9047f44783d04a3c66b66f0a51cb90363805122c5cf3bda7a02e7f308527a43af18b204c8595bdd4412c6154aac33cb5 SHA512 98caa82fc2fa004f799db07b18ea17ddd757c25c2906bb373a2d9ce7ebfb5e684c5a2d49cc72b57b1d8a837c7cc0402e8a2b09ad5c439e8e079d193a4afdacce diff --git a/dev-python/fasteners/fasteners-0.17.2.ebuild b/dev-python/fasteners/fasteners-0.17.2.ebuild new file mode 100644 index 000000000000..51eefc785d09 --- /dev/null +++ b/dev-python/fasteners/fasteners-0.17.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Python package that provides useful locks" +HOMEPAGE="https://github.com/harlowja/fasteners/" +SRC_URI=" + https://github.com/harlowja/fasteners/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +BDEPEND=" + test? ( + dev-python/diskcache[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/hypothesis/hypothesis-6.35.1.ebuild b/dev-python/hypothesis/hypothesis-6.35.1.ebuild index 8a018618f0cf..0703823a0cb6 100644 --- a/dev-python/hypothesis/hypothesis-6.35.1.ebuild +++ b/dev-python/hypothesis/hypothesis-6.35.1.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" IUSE="cli" RDEPEND=" diff --git a/dev-python/installer/Manifest b/dev-python/installer/Manifest index c8357cc23f43..def27fbb1e8f 100644 --- a/dev-python/installer/Manifest +++ b/dev-python/installer/Manifest @@ -1,4 +1,3 @@ DIST installer-0.4.0-py2.py3-none-any.whl.zip 451433 BLAKE2B 933b7e63b3d0306213789d493d4df112df26b432d63ecd1f8f21449520c34bd2ad542aac25069043fbb535c44f988dca927625eafd0a5a20489fc3ce2bcf84a2 SHA512 cf303bb422e329a36007b361034144a232ba021d4013bb8678dc7c326544e74ec9a3b3fe8b9d3696433dbbe90d2ce4a0ae8967fb054bd5ed49321d470be729a8 -DIST installer-0.4.0.gh.tar.gz 466643 BLAKE2B 635854b3461995cda3b7afa507ca3fe35cae8210e79de0bbd46938c8f103d7840ceca8bb388c2c9533efc78150691f980c478485ee33bafe0bae6c08a6aef8c4 SHA512 13537c479bc8ead8f8b45c8e5c5182e8b1b32c2889df8015be7f517f390a9efbea6fa167e0886dfade6621a8a2d822bfd662ee0238d3d86689619ca4d5483b26 DIST installer-0.4.0_p20220115-cli.patch 14552 BLAKE2B 6632c1472ae0a578f6c7ed0acf1bb0d89ece924626b68c0daa28d9a7d93826837adaf6b0d40f048c4f5c2986b4328ca565340137e7b7fa7f407f62ebddc70275 SHA512 f8c6369955e0bde2bff0b935c39748d02659bc6ca0341af405e2c1026cf145479ba0b908bd769cdc05f3cc920f881b894b6a5eb7ace643951e05250ec0486b80 DIST installer-0.4.0_p20220115.gh.tar.gz 466532 BLAKE2B 6dea3f4bacb52c4983e111d420495ee157076342a823b7062c6e5b3e4d3b70e6b2e9cb024d0c7baba6f88ed70f4303ab071d1882bc9d8dd0726f82a3e406056f SHA512 fbb0d4c8642fa2cbe2fd3be2eef7044a0353f04c67ecce20aafed33a0d7877ff55872ca5ad51390ae7e02cdb7af5dbd57b662085b60d425be95da6643b061eaa diff --git a/dev-python/installer/installer-0.4.0.ebuild b/dev-python/installer/installer-0.4.0.ebuild deleted file mode 100644 index 7f0a75e2355c..000000000000 --- a/dev-python/installer/installer-0.4.0.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_SETUPTOOLS=manual -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="A library for installing Python wheels" -HOMEPAGE=" - https://pypi.org/project/installer/ - https://github.com/pradyunsg/installer/ - https://installer.readthedocs.io/en/latest/ -" -SRC_URI=" - https://github.com/pradyunsg/installer/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - https://files.pythonhosted.org/packages/py2.py3/${PN::1}/${PN}/${P}-py2.py3-none-any.whl - -> ${P}-py2.py3-none-any.whl.zip -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -# NB: newer git doesn't use mock anymore -BDEPEND=" - app-arch/unzip - test? ( - dev-python/mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -# do not use any build system to avoid circular deps -python_compile() { :; } - -python_test() { - local -x PYTHONPATH=src - epytest -} - -python_install() { - python_domodule src/installer "${WORKDIR}"/*.dist-info -} diff --git a/dev-python/installer/installer-0.4.0_p20220115.ebuild b/dev-python/installer/installer-0.4.0_p20220115.ebuild index e16ccccb129e..20c25f8e7661 100644 --- a/dev-python/installer/installer-0.4.0_p20220115.ebuild +++ b/dev-python/installer/installer-0.4.0_p20220115.ebuild @@ -26,7 +26,7 @@ S=${WORKDIR}/${PN}-${EGIT_COMMIT} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" # NB: newer git doesn't use mock anymore BDEPEND=" diff --git a/dev-python/pillow/pillow-9.0.0-r1.ebuild b/dev-python/pillow/pillow-9.0.0-r1.ebuild new file mode 100644 index 000000000000..03ad86112e40 --- /dev/null +++ b/dev-python/pillow/pillow-9.0.0-r1.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +PYTHON_REQ_USE='tk?,threads(+)' + +inherit distutils-r1 toolchain-funcs virtualx + +MY_PN=Pillow +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python Imaging Library (fork)" +HOMEPAGE="https://python-pillow.org/" +SRC_URI="https://github.com/python-pillow/Pillow/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="HPND" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~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 truetype )" +RESTRICT="!test? ( test )" + +DEPEND=" + imagequant? ( media-gfx/libimagequant:0 ) + jpeg? ( virtual/jpeg:0 ) + jpeg2k? ( media-libs/openjpeg:2= ) + lcms? ( media-libs/lcms:2= ) + tiff? ( media-libs/tiff:0=[jpeg,zlib] ) + truetype? ( media-libs/freetype:2= ) + webp? ( media-libs/libwebp:0= ) + xcb? ( x11-libs/libxcb ) + zlib? ( sys-libs/zlib:0= )" +RDEPEND="${DEPEND} + dev-python/olefile[${PYTHON_USEDEP}]" +BDEPEND=" + virtual/pkgconfig + test? ( + ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] + || ( + media-gfx/imagemagick[png] + media-gfx/graphicsmagick[png] + ) + ) +" + +usepil() { + usex "${1}" enable disable +} + +python_configure_all() { + # It's important that these flags are also passed during the install phase + # as well. Make sure of that if you change the lines below. See bug 661308. + cat >> setup.cfg <<-EOF || die + [build_ext] + disable_platform_guessing = True + $(usepil truetype)_freetype = True + $(usepil jpeg)_jpeg = True + $(usepil jpeg2k)_jpeg2000 = True + $(usepil lcms)_lcms = True + $(usepil tiff)_tiff = True + $(usepil imagequant)_imagequant = True + $(usepil webp)_webp = True + $(usepil webp)_webpmux = True + $(usepil xcb)_xcb = True + $(usepil zlib)_zlib = True + EOF + + # setup.py sucks at adding the right toolchain paths but it does + # accept additional ones from INCLUDE and LIB so set these. You + # wouldn't normally need these at all as the toolchain should look + # here anyway but this setup.py does stupid things. + export \ + INCLUDE="${ESYSROOT}"/usr/include \ + LIB="${ESYSROOT}"/usr/$(get_libdir) + + # We have patched in this env var. + tc-export PKG_CONFIG +} + +python_test() { + "${EPYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}" + # no:relaxed: pytest-relaxed plugin make our tests fail. deactivate if installed + virtx epytest -p no:relaxed +} + +python_install() { + python_doheader src/libImaging/*.h + distutils-r1_python_install +} + +python_install_all() { + if use examples ; then + docinto example + dodoc docs/example/* + docompress -x /usr/share/doc/${PF}/example + fi + distutils-r1_python_install_all +} diff --git a/dev-python/precis-i18n/Manifest b/dev-python/precis-i18n/Manifest index f2c38c87ea2b..0d6fa4c67345 100644 --- a/dev-python/precis-i18n/Manifest +++ b/dev-python/precis-i18n/Manifest @@ -1 +1,2 @@ DIST precis_i18n-1.0.3.tar.gz 64037 BLAKE2B 99486f8791785ecad7f3a246a0a13f26ec52aa91bc40ac904e92409f2cdbb28a5458c153da593ca8dd626462f0216e8c72447fdc81f8133ed61240717d08cbf7 SHA512 afb987fe4d0fb2732c62585e70361ad5ffc14d1eb9b8e767fe314fa9a3dee8dcd14f2531f5638d3a72fa7ac4fbeed94ed8907976816570257b405468cdb6702a +DIST precis_i18n-1.0.4.tar.gz 67599 BLAKE2B db1f614b46015741b9f511b9a5df12e44b960ffb247357bf8d2e9f3a1deea9d417eed937e6c9e6a34d19a22c3e6d87bf8f2314767cd02b15cba068759588896f SHA512 f57840cffe1224d282e707f6a36ebd53b539f9acee58de7053f28ceed5356bd35627d7c205cc91dc81983925cca55138715051c0ca535ca1dcc9d26aad9a9353 diff --git a/dev-python/precis-i18n/precis-i18n-1.0.4.ebuild b/dev-python/precis-i18n/precis-i18n-1.0.4.ebuild new file mode 100644 index 000000000000..07de271c1b9e --- /dev/null +++ b/dev-python/precis-i18n/precis-i18n-1.0.4.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +MY_PN="${PN/-/_}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Internationalized Usernames and Passwords" +HOMEPAGE="https://pypi.org/project/precis-i18n/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN/-/_}/${P/-/_}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +distutils_enable_tests unittest + +python_test() { + eunittest -s test +} diff --git a/dev-python/pulsectl/Manifest b/dev-python/pulsectl/Manifest index cad678a393c6..01ed53e73ece 100644 --- a/dev-python/pulsectl/Manifest +++ b/dev-python/pulsectl/Manifest @@ -1 +1,2 @@ DIST pulsectl-21.10.5.tar.gz 40769 BLAKE2B 8346717714b4e9fd017ca917388d2ddff9c7b5a5a74a33e03e3fd5fc02048ba3d1873fb1bd10a12410dc44d88c253a4afc71f1f2542e70f36f4985659fcd9fb5 SHA512 353af9d33bb6e9f070e46a934f0933935631ca5d254430ece8b9aa9a25dd31607a45718a45c71f35f2e3801c78d7eea18c5e34f69e5a983cfc0115a8fcd05334 +DIST pulsectl-22.1.0.tar.gz 40796 BLAKE2B a401500f3927fcc86db7132a9e76b31a8dd2144fb1cf6d62be30c6dc4648298f4ed378061b48dc4c64adb3a24d25810613024d6f652aa72b696f9b05605613a8 SHA512 b55ad512c9b7b11aa848465fe8cd556c76b5e10ebc7862aefc6b459cd4526ca1a0e284e81560b5e86d22acfa8409d09683043ca789c4f59f512a77cf2273cc7e diff --git a/dev-python/pulsectl/pulsectl-22.1.0.ebuild b/dev-python/pulsectl/pulsectl-22.1.0.ebuild new file mode 100644 index 000000000000..834d40c39f8f --- /dev/null +++ b/dev-python/pulsectl/pulsectl-22.1.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Python high-level interface and ctypes-based bindings for PulseAudio (libpulse)" +HOMEPAGE="https://github.com/mk-fg/python-pulse-control" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="media-sound/pulseaudio" + +distutils_enable_tests unittest diff --git a/dev-python/pytest-asyncio/Manifest b/dev-python/pytest-asyncio/Manifest index 7f85589cae1d..dbbd02a470db 100644 --- a/dev-python/pytest-asyncio/Manifest +++ b/dev-python/pytest-asyncio/Manifest @@ -1,3 +1,4 @@ DIST pytest-asyncio-0.16.0.tar.gz 15819 BLAKE2B c999b8680a45704bcb6f4690a910aa3d2edd9965e53cf4eb59dc8119696add4553d6b3e1b010c3cac52c8fd8563be8c86afe0616132a274e73df673630b032a7 SHA512 f0059a6d05bf0c4e208f0058e30d5baf8284e630b8b91fa217f52eec18abe6b057dabfdadce2c5282e02bd4ea4cdb27f9ef62c4c308375cce1795d75a036db22 DIST pytest-asyncio-0.17.0.tar.gz 22275 BLAKE2B 0151b7e264b2c2435735bdc184020b6997d20b0ed82224b0b528ec366ab7554a0282619c5268d92f2544d700bed2dbaf85adaaf1752e333c417cc044bffb6aac SHA512 cfff79cf0632153819c511d3751777858e87081b074bfb49f3fe49417d1be647b4d07a4b64149acec36b4e6b1872ac03f1055703c70cccce18648482c9b727db DIST pytest-asyncio-0.17.1.tar.gz 23694 BLAKE2B 30856f9635db84fade650c1ecebe9c713d8cd801acd646e3dffb97996c591e4a11378faba8abe30002a1fa0f6dc62aae53029f059504478d4527e88c404929c2 SHA512 691bedb0d84e05179815d9a5c11108568dc59fc8fe6e8549e54e14b83e5e6bcad37d512980ea27f87f927f623c0496bbddf0aff1f44fc78f9bea1d9106b0800c +DIST pytest-asyncio-0.17.2.tar.gz 23805 BLAKE2B 0501a193518cefb0596b1595a58e8f18915b61ba2b502726b457e78c10b5849e5fc1980192d4b5aceb7499af15556c185efc42b76153e2b8f72ab4e36249ad23 SHA512 f1f6a586a7a3a1672ed76e8758a76e8bd427b0da055461597ab3b6296e3ae50002a9a259aba57f0b6191d606db6fa61377dbf03099d3437272a4a1f4144aa58e diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.17.2.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.17.2.ebuild new file mode 100644 index 000000000000..eec50a8ed078 --- /dev/null +++ b/dev-python/pytest-asyncio/pytest-asyncio-0.17.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Library for testing asyncio code with pytest" +HOMEPAGE="https://github.com/pytest-dev/pytest-asyncio + https://pypi.org/project/pytest-asyncio/" +SRC_URI="https://github.com/pytest-dev/pytest-asyncio/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/pytest-5.4.0[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + >=dev-python/hypothesis-3.64[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +EPYTEST_DESELECT=( + # rely on precise warning counts + tests/modes/test_legacy_mode.py +) diff --git a/dev-python/pytest-codeblocks/Manifest b/dev-python/pytest-codeblocks/Manifest index 34134e2f6b5c..f04daed0cced 100644 --- a/dev-python/pytest-codeblocks/Manifest +++ b/dev-python/pytest-codeblocks/Manifest @@ -1,2 +1,3 @@ DIST pytest-codeblocks-0.12.2.tar.gz 8547 BLAKE2B d5bfea250aa2fc955eab5b8e96bb942c119b44367fa2f9e8cab8350409a7dbf697c16e3193ad18e629d7f4ccbb2ddc1f4fbce4cead96167cf16d1b6a922fdd91 SHA512 d69819106b389ce3cd2d04a1385e49f2bdf4eb70ea334175e6ba5e2921d77266ac2e69b22ce5a42880846555dd271e5b7dc25bda838b9238ad5d14add9389681 +DIST pytest-codeblocks-0.13.0.tar.gz 8407 BLAKE2B 5ba3c41f7b4af908172799036331c6605fcd7d9c0fb0bdfc5cf3697e97181ec099b580a30d9dcd83ed568a5ee8fe736843d26b7d39163581adeb5d75a9a321f6 SHA512 092035e5cf3d1d35fedbc6f867ff77a40751df5b4a3b922d5f960fdaa5d1ca9e599c7b813ae60a4da3cd43e3e7884f38260f77bc466e234422480b5edebee24a DIST pytest-codeblocks-0.9.0.tar.gz 6590 BLAKE2B 34d1c72a891d2f2f1d98c4238322d888a48b286d628e3738043d16a59a75b3bd15b29e31c554a83508d9af31caf1b526e3c535a243bcf77c8d77f9bf5be69f5b SHA512 834002c4e9c8ad36baa9a4ed494fe28cf09460e0ee5a0a3d8d111cb0bd8ca4ed3c784a047901bc67984e7892f931b5644c1ea68112e4d9dda514a20e048b3d11 diff --git a/dev-python/pytest-codeblocks/pytest-codeblocks-0.13.0.ebuild b/dev-python/pytest-codeblocks/pytest-codeblocks-0.13.0.ebuild new file mode 100644 index 000000000000..1f6d2d753927 --- /dev/null +++ b/dev-python/pytest-codeblocks/pytest-codeblocks-0.13.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Extract code blocks from markdown" +HOMEPAGE="https://github.com/nschloe/pytest-codeblocks/" +SRC_URI=" + https://github.com/nschloe/pytest-codeblocks/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +distutils_enable_tests pytest + +python_test() { + epytest -p pytester +} diff --git a/dev-python/python-mpd/Manifest b/dev-python/python-mpd/Manifest index 8156c83d7dc4..b84379843fc8 100644 --- a/dev-python/python-mpd/Manifest +++ b/dev-python/python-mpd/Manifest @@ -1 +1,2 @@ DIST python-mpd2-3.0.4.tar.gz 66173 BLAKE2B f92a97512f19ac5f71846d3997240e5a37a4fd9bc353e131c582547ddc6e9520d2d09a02b4de62168707ba4a2cbfc28a019cba7e0a113242ecc38ecdc86c19a9 SHA512 7adf0daf64c6132dcd4d347f0772e9cbef903f9f5fba5315b745708dd2179090f53c5303b7ce905c685076861d21f7a14951e598c88eb65be423dea627dbb26a +DIST python-mpd2-3.0.5.tar.gz 67224 BLAKE2B a0c78e3a2624247a7ed4228725dcc09457804636b01b09006bcd61800deefac8887fc9f76b9d7bb21c973e2dd9558e934f3864b2f8f5c041a94633a29f9a781e SHA512 521345b905113eaa56e6ec983e4d968d77dca30f839ab52a00e146f311269828ed383bce460ba1daf61b7f98c63ae3b7a3cbcb55cf917b1c5a5a11cf62b6a7d5 diff --git a/dev-python/python-mpd/python-mpd-3.0.5.ebuild b/dev-python/python-mpd/python-mpd-3.0.5.ebuild new file mode 100644 index 000000000000..7eac2bed66f6 --- /dev/null +++ b/dev-python/python-mpd/python-mpd-3.0.5.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +MY_P=python-mpd2-${PV} +DESCRIPTION="Python MPD client library" +HOMEPAGE=" + https://github.com/Mic92/python-mpd2/ + https://pypi.org/project/python-mpd2/" +SRC_URI=" + https://github.com/Mic92/python-mpd2/archive/v${PV}.tar.gz + -> ${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="LGPL-3+" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +SLOT="0" +IUSE="examples +twisted" + +RDEPEND="twisted? ( dev-python/twisted[${PYTHON_USEDEP}] )" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/twisted[${PYTHON_USEDEP}] + ) +" + +DOCS=( README.rst doc/{changes.rst,commands_header.txt} doc/topics/. ) + +distutils_enable_sphinx doc --no-autodoc +distutils_enable_tests pytest + +python_test() { + epytest mpd/tests.py +} + +python_install_all() { + distutils-r1_python_install_all + + use examples && dodoc -r examples/. +} diff --git a/dev-python/setuptools_scm/Manifest b/dev-python/setuptools_scm/Manifest index 648021aa201f..a4b0015176ff 100644 --- a/dev-python/setuptools_scm/Manifest +++ b/dev-python/setuptools_scm/Manifest @@ -1,2 +1,3 @@ DIST setuptools_scm-6.0.1.tar.gz 51433 BLAKE2B 7045eec0c1a43d6c93c94e0b2799f0d000cda509fa0df9ee9a638b95383f07fe430b07c3bf72fdc4809563ac289521976956f728a4b2984921fa31532bb7ed8b SHA512 db27653c57f674ec62689247680adace3779216249f1b09a35e8a0233a1ec1acb9ae89b52acd439f7062da2ba1a45b8c0d6d81333ddda0764447c30698ddb314 DIST setuptools_scm-6.3.2.tar.gz 57207 BLAKE2B 4291f3810dc5ea111a6bad1bf37c8704a7eb6cdd112ea476d629d6175c43cc7d8f78d450181c0e588a5f3fc0fc092fedb41fcb6e198a42f730f9fc6b8d96e343 SHA512 9a16552803ef92367ad71007cf322737b5baa58b924083f04c860875bf6cb2e2bb4f43a7f89778b040c2eb55c5d32de479a918056519339820c6d0f1a6a386f0 +DIST setuptools_scm-6.4.0.tar.gz 61142 BLAKE2B 752f6c541b05e5d63c66c20a3458e615fc774a4781f92a02aae37a64d971af536586cec3fabac8d5efebe3cf95c18c3e323ad650b4bd8c96a2b4a7808987bd7e SHA512 1e11de29f73c48b93fe5c81b7d8ed5c75c0647dad39de53f2fdf334e6c731a8baa7744ea3c797d2aa95c4d456fff2c9a937cccf9eaa1af8a4c47e1f136328b54 diff --git a/dev-python/setuptools_scm/setuptools_scm-6.4.0.ebuild b/dev-python/setuptools_scm/setuptools_scm-6.4.0.ebuild new file mode 100644 index 000000000000..2ba6d69ceb19 --- /dev/null +++ b/dev-python/setuptools_scm/setuptools_scm-6.4.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep +EAPI=7 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Manage versions by scm tags via setuptools" +HOMEPAGE=" + https://github.com/pypa/setuptools_scm/ + https://pypi.org/project/setuptools-scm/" +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 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] +" +BDEPEND=" + !!<dev-python/setuptools_scm-2 + test? ( + >dev-python/virtualenv-20[${PYTHON_USEDEP}] + dev-vcs/git + !sparc? ( dev-vcs/mercurial ) + )" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # fetching from the Internet + testing/test_regressions.py::test_pip_download + testing/test_setuptools_support.py + # known broken; https://github.com/pypa/setuptools_scm/issues/668 + testing/test_integration.py::test_provides_toml_exta +) diff --git a/dev-python/sphinx/sphinx-4.4.0.ebuild b/dev-python/sphinx/sphinx-4.4.0.ebuild index 5b224c5984f7..0b0007a97477 100644 --- a/dev-python/sphinx/sphinx-4.4.0.ebuild +++ b/dev-python/sphinx/sphinx-4.4.0.ebuild @@ -17,7 +17,7 @@ S=${WORKDIR}/${P^} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="doc latex" RDEPEND=" |
