diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-12-24 18:26:03 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-12-24 18:26:03 +0000 |
| commit | 113e14f1bca364b30c02c3e0ae704032902e07a6 (patch) | |
| tree | 6d35a7f0bafd843bc5d80bc99b6546e8dafd9428 /dev-python | |
| parent | d9ae2e3198feb4f562207091867e990873acb378 (diff) | |
| download | baldeagleos-repo-113e14f1bca364b30c02c3e0ae704032902e07a6.tar.gz baldeagleos-repo-113e14f1bca364b30c02c3e0ae704032902e07a6.tar.xz baldeagleos-repo-113e14f1bca364b30c02c3e0ae704032902e07a6.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
71 files changed, 420 insertions, 2067 deletions
diff --git a/dev-python/a2wsgi/Manifest b/dev-python/a2wsgi/Manifest index 170cbf3bb2c9..82767d37fdb6 100644 --- a/dev-python/a2wsgi/Manifest +++ b/dev-python/a2wsgi/Manifest @@ -1,2 +1 @@ -DIST a2wsgi-1.8.0.tar.gz 13775 BLAKE2B 793ccab96e66e92ee0f662f4633deaa84075d258261b4d12099e5aaa5c1d28fd23bafb7312a0599dfb434d1e5e086e3fc98dfaa7978f449115537c7c17414da2 SHA512 c0aa649fbae0a201431990c975921249fc2d8439a8552d7ebf5d48e1fd35695175d9388e17d10009deb11842ebe806e71dd59ccf9bc16b656d68bc9e6491a352 DIST a2wsgi-1.9.0.tar.gz 14435 BLAKE2B d0847d0bd1d7c8c834c243afcac2ddb342eb9a29469eb258dfed751e6629c98d0a81b5c84b7af6583b303a5a3b407d8bfb6a04a63e0c3606f0d564c55780f5d2 SHA512 e940e75c666635d842aad651d99335f5cafe8b4c236c9a47882ce5cf859cf5cfb6aa736028246139d8e06ac2b9ab53d0fd4e94ac2dbc2aa55a0103633edb0423 diff --git a/dev-python/a2wsgi/a2wsgi-1.8.0.ebuild b/dev-python/a2wsgi/a2wsgi-1.8.0.ebuild deleted file mode 100644 index 68a8facd021f..000000000000 --- a/dev-python/a2wsgi/a2wsgi-1.8.0.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Convert WSGI app to ASGI app or ASGI app to WSGI app" -HOMEPAGE=" - https://github.com/abersheeran/a2wsgi/ - https://pypi.org/project/a2wsgi/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -BDEPEND=" - test? ( - <dev-python/asgiref-4[${PYTHON_USEDEP}] - >=dev-python/asgiref-3.2.7[${PYTHON_USEDEP}] - <dev-python/httpx-1[${PYTHON_USEDEP}] - >=dev-python/httpx-0.22.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/bandit/Manifest b/dev-python/bandit/Manifest index 361db296dbb1..684db449dde1 100644 --- a/dev-python/bandit/Manifest +++ b/dev-python/bandit/Manifest @@ -1,2 +1 @@ -DIST bandit-1.7.5.tar.gz 1970878 BLAKE2B 45787b6d1ebebb5ce25fa67173095a0e97b6f95992d828530cfade8c7f50d0c7b945884539695426f93cf3ed6a42178e18501768aa32c3b0c7019eb20aa3bc95 SHA512 81b93654ba62e6d22e8c2d534b9f575979bad4f66acd90c221d214316cd1863e7c7e179b8e2a2a8fa80034db71ebda8636adb25b36e1827194bb4639e67ada09 DIST bandit-1.7.6.tar.gz 1977532 BLAKE2B 2580641ee0e19364d36988ff3757a55bd7ff8c0a3e47d564873940b5f9c1b8335a2eb724c9394ff76e341a766054bec27ef296a9502fec60d96a5eb65a015f4b SHA512 6635704e2e60e23f5d21de345152e13ef1bde5efb92ccc0e6dde46e8405c1e5dd9530830af4d2a3c5d6e0bb0eb106ccce4cde3a7be678cce499486e752a26428 diff --git a/dev-python/bandit/bandit-1.7.5-r1.ebuild b/dev-python/bandit/bandit-1.7.5-r1.ebuild deleted file mode 100644 index 5d97a89fcd08..000000000000 --- a/dev-python/bandit/bandit-1.7.5-r1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A security linter from OpenStack Security" -HOMEPAGE=" - https://github.com/PyCQA/bandit/ - https://pypi.org/project/bandit/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -RDEPEND=" - >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] - >=dev-python/GitPython-1.0.1[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] - dev-python/rich[${PYTHON_USEDEP}] - >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] - test? ( - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.5.0[${PYTHON_USEDEP}] - >=dev-python/testtools-2.3.0[${PYTHON_USEDEP}] - >=dev-python/beautifulsoup4-4.8.0[${PYTHON_USEDEP}] - >=dev-python/pylint-1.9.4[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] - ' 3.{8..10}) - ) -" - -distutils_enable_tests unittest diff --git a/dev-python/bitarray/Manifest b/dev-python/bitarray/Manifest index bda59f3c84df..2de846b5e03f 100644 --- a/dev-python/bitarray/Manifest +++ b/dev-python/bitarray/Manifest @@ -1,2 +1,3 @@ DIST bitarray-2.8.5.tar.gz 129895 BLAKE2B a0dc14c488c2c818ca1bbd60abc51fe800b7c4f8a015f373baf90894ea42fe1c70c4d13d235bcbac55fcccb70e2b1245e2b39a0f485e4ce62c44472d3f3f2c9b SHA512 fcae4223608cf308bd1ce07749de2a0c3f00c5d0ff471b25da8c0cc5c289b3776aea0ff24fc7be6b8b89fb86ce268a1989488559b0ed9b08a347d3bb476daaa6 DIST bitarray-2.9.0.tar.gz 132895 BLAKE2B c10687a90267b91f9fbe4f9b3ca90ec4d6bcf079a43f02b697650efcb319c3b0abbf305bac3507d18f784a3e6b202bab25b7781ce2386f3ccd328ec115e93bd3 SHA512 c436e4e580a8050ce9befe1290b44b61094b550dda12fed1734d927eb3744eefb5312c3903865897b8dccf1b0e02b1053686eaf0e6a0317b93745e9fcf2fb0a9 +DIST bitarray-2.9.1.tar.gz 133001 BLAKE2B ca060e331fe6ec9645b238b12babaa504da96c8bf1237621deec59e798e07a643b8d767bf3ecc3ad6a768d9777e779a84427f56073d401f3c0bb367558ef8458 SHA512 241d160175095586c6b49c3f0bbaef801d33b7774129e807163c0652ae6af99457bf51cabb9b7af8bb94adb548a7ab1373665da0a0791432f565bef63a50761d diff --git a/dev-python/bitarray/bitarray-2.9.1.ebuild b/dev-python/bitarray/bitarray-2.9.1.ebuild new file mode 100644 index 000000000000..838465af319e --- /dev/null +++ b/dev-python/bitarray/bitarray-2.9.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Efficient arrays of booleans -- C extension" +HOMEPAGE=" + https://github.com/ilanschnell/bitarray/ + https://pypi.org/project/bitarray/ +" + +SLOT="0" +LICENSE="PSF-2" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +python_test() { + "${EPYTHON}" bitarray/test_bitarray.py -v || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 9c8e7b3c55c5..7910c4dc180f 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,9 +1,3 @@ DIST boto3-1.33.11.gh.tar.gz 754430 BLAKE2B f206c6eeb9859af85f09bb48298b941fc0c969446766638c612fa1e88e19b8f9a99ec2ecbb8565a40432cc7a7f5362459af7488a172f4bca3179385d82742feb SHA512 03f37d99b70d857d2d72e81e02fe3afb64d3139adde80db0bf3a2f78ce8fa33c5cc6965a8dbfd267b263711c73c355d69d7e629eb7f28e6bdccf5480ca9c9810 -DIST boto3-1.33.6.gh.tar.gz 752467 BLAKE2B f0f344a9e93ff3ad1dd03b44784a41637d05961855e2cd0700dbb840f98940f387cf81d1eb36cc63579be810f5a7d52c49cdb3831e930f89b1b2026af1e4b357 SHA512 1d3d2dd734621cf94e88015273f6fd4d68ec956145eb2b91fe34920f9abe7786a64e2e7f4057db30e71574e392fff9190944c3d9e6143fd43c5e48f04e9eb2ae -DIST boto3-1.34.1.gh.tar.gz 755547 BLAKE2B ef830690a85802c8f540b23a5cf618b8a1c831ad94f8d5e759239201dc2bc3580b64d92c4cc6688c46e9b737e3dd9a67e5315d13a59fa79f63fb33c542273805 SHA512 bee4d7dcec1ee9c8b8cc121f5e8090c3da5c5a11c554a1fe8f32f38c7f4417e950cc920fbd64d45e81fadb6f58cb63cbf64667c34f3f12e60500f59b1428e78c DIST boto3-1.34.2.gh.tar.gz 756227 BLAKE2B 7253c533bac45b3848ab573d4781cf68b6bea8d504f851b58366dd3e6ac05b35fb2a85cb7aaff0e426a6bd2f9fe2933dd240e4d0283e4491e095fa93b4061971 SHA512 06eaf9b6725d312d91a4a8ba3ab85dde5f579e6d2fa42211189a6f30584b7d2a5c0cca46264bda52a076c8bd1acac9ec0476eb5d986a8e29972f69b7007de3c2 -DIST boto3-1.34.3.gh.tar.gz 756507 BLAKE2B 030c01e76b2d52bd2b0f95eb5065cc28410f76082b8ae1a0f9441eb6885fc07e45a31164d8bc4b130bc93fc91fe0fdc6d27f520d2c1596aa3504d0cefa8ed05f SHA512 e6332e418a7dfac9ebceb3e97b0afc02b29dc909fd7efb4d7f504dc5b205df30999854fbadfed94f3b1a7afaad613036a9c7f91b119d3d5f2d69959829526064 -DIST boto3-1.34.4.gh.tar.gz 757310 BLAKE2B 987970d34b895d8e9430219ac52de1a9e3f8100abd816a3c69d906a94b550cb027419fee1b23ab9e92c2ddb48432d596f397ecb48656f4879744417b221b21d0 SHA512 57c12bb2c8158ab2af3d54b008c962e2e4e5f696da7c9c93447fae898007a5341c5f717204c03202e81fe1f72fa5650ce645189f2ae92f7e69fb405248d12aaa -DIST boto3-1.34.5.gh.tar.gz 758144 BLAKE2B 6d73d92658d4a43cf8f243da148cc6da36e0915fd23dacaf8a780e9ed2d5ad15987bb67e25bab4337ef0800c7e1ba61be9e05f1e309c78741fa6a471179af731 SHA512 dc4c543b40ebb82947adb40eee0d8e6d0378dcb0f0723fbaac3ca5222fd2cd971509af51258b5f02b70519c28ac39d7ba8211d2c3edc3ad838d1d3cf71cb56fa -DIST boto3-1.34.6.gh.tar.gz 759362 BLAKE2B 1f1b26e1ddd31be44311a9fa348765f03e6303b9556620e9437e0f10ae3c5bb6dcf09940e30823d716cd95e917c90583d7736776237726f5582eba342b4f8d4e SHA512 2f5834701fa94da9e3da97834b5c07555dbcbc2d7f1999f68301174fd1c173cdce5a6cf16ace7ed0c9b53900ac248f7d22962350294976e61d44d7f9c6164f63 DIST boto3-1.34.7.gh.tar.gz 759909 BLAKE2B 059228d7bd57ac34274437f77b3510dff6dca7d1293ffd6f7672b0fcc0acefffeeda2c5c2b4e19ef49bbffd4746dc226edfba52d57f5f8629516c9e830dbdd90 SHA512 43395937977ad3c860ede35d2adbb9575312ddab4972b8d258e41a7d6e86f3e6a74037dadb0f0e0f4f3d5ed715a66390041ac9c980bc8a3cfb727a44e252113e diff --git a/dev-python/boto3/boto3-1.33.6.ebuild b/dev-python/boto3/boto3-1.33.6.ebuild deleted file mode 100644 index cf3b8cc43be4..000000000000 --- a/dev-python/boto3/boto3-1.33.6.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/boto3" - inherit git-r3 - BOTOCORE_PV=${PV} -else - SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.8.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - # don't lock versions to narrow ranges - sed -e '/botocore/ d' \ - -e '/jmespath/ d' \ - -e '/s3transfer/ d' \ - -i setup.py || die - - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/boto3/boto3-1.34.1.ebuild b/dev-python/boto3/boto3-1.34.1.ebuild deleted file mode 100644 index ce6135267cf7..000000000000 --- a/dev-python/boto3/boto3-1.34.1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/boto3" - inherit git-r3 - BOTOCORE_PV=${PV} -else - SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.9.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - # don't lock versions to narrow ranges - sed -e '/botocore/ d' \ - -e '/jmespath/ d' \ - -e '/s3transfer/ d' \ - -i setup.py || die - - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/boto3/boto3-1.34.3.ebuild b/dev-python/boto3/boto3-1.34.3.ebuild deleted file mode 100644 index ce6135267cf7..000000000000 --- a/dev-python/boto3/boto3-1.34.3.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/boto3" - inherit git-r3 - BOTOCORE_PV=${PV} -else - SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.9.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - # don't lock versions to narrow ranges - sed -e '/botocore/ d' \ - -e '/jmespath/ d' \ - -e '/s3transfer/ d' \ - -i setup.py || die - - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/boto3/boto3-1.34.4.ebuild b/dev-python/boto3/boto3-1.34.4.ebuild deleted file mode 100644 index ce6135267cf7..000000000000 --- a/dev-python/boto3/boto3-1.34.4.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/boto3" - inherit git-r3 - BOTOCORE_PV=${PV} -else - SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.9.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - # don't lock versions to narrow ranges - sed -e '/botocore/ d' \ - -e '/jmespath/ d' \ - -e '/s3transfer/ d' \ - -i setup.py || die - - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/boto3/boto3-1.34.5.ebuild b/dev-python/boto3/boto3-1.34.5.ebuild deleted file mode 100644 index ce6135267cf7..000000000000 --- a/dev-python/boto3/boto3-1.34.5.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/boto3" - inherit git-r3 - BOTOCORE_PV=${PV} -else - SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.9.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - # don't lock versions to narrow ranges - sed -e '/botocore/ d' \ - -e '/jmespath/ d' \ - -e '/s3transfer/ d' \ - -i setup.py || die - - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/boto3/boto3-1.34.6.ebuild b/dev-python/boto3/boto3-1.34.6.ebuild deleted file mode 100644 index 63900e77cd21..000000000000 --- a/dev-python/boto3/boto3-1.34.6.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/boto3" - inherit git-r3 - BOTOCORE_PV=${PV} -else - SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - # don't lock versions to narrow ranges - sed -e '/botocore/ d' \ - -e '/jmespath/ d' \ - -e '/s3transfer/ d' \ - -i setup.py || die - - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index add3ce718004..0fb8c044540f 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,9 +1,3 @@ DIST botocore-1.33.11.gh.tar.gz 12536159 BLAKE2B bce09ad1b93210667e3c1058ab3b4350b752e330c78c29af87c53b3f3f738dd7622b1b670a4fdbfa2dfdeaf763f9885b3f82ad0eb4f44c7e7585ae5b8eaa6b5d SHA512 5d790bbb909230861cf2eb38908f5876ab9bd7e5dd1f718987797af0b263c7ea2c42d69aa1d55b66d1b954204caa04c50cd050385607637192e9ad6b33f65b7d -DIST botocore-1.33.6.gh.tar.gz 12516087 BLAKE2B da3ca22acb5b6ee27eb3c0f7dab4ad43597ab985aa7512f4f4a51c2ca3db80a049e13faaf986dd4a02125f92c088129506651125a826184656250665dc7b7128 SHA512 cae5019d85c9b3afcfd93fe58d0e51c5a6e0769d58b2a8b1285a34ce66be8db34e9c5dc4dc74ff72e0992cdd142d101e3663fa1d68a2779fa9c09de37d2f2001 -DIST botocore-1.34.1.gh.tar.gz 12561522 BLAKE2B 67b42866c4a00ea960b8d942110acdf9fd642e9164c987e12f9e12ceee37b1c4d9be59a3185006c19b52c31b957442fe4fa9de9d4d1d697854c0c1c7b9eb23cc SHA512 04cba828baf7bb14f2cb2a3eedca6332842ca1d0c8d1e5ad837607ea6c5fe1564a222c516835d7f67e2fea85490032ef04d61d631c0cff6849ee7cdca5eeabf4 DIST botocore-1.34.2.gh.tar.gz 12564834 BLAKE2B b22a3d3bd35b769a28ccb1a5116428e1904d0c9fc3452829237704dbec37a31a539f044a728b0785d09406d299d522dd601da39801249747d54e6741b46cafe2 SHA512 a3f3718bf584a871abbb3edc803de9d5329da257c050d56bdbf8a6a6c4067477812582fbd8d1d789ce18ea1f416d0ddb2be9cc3c45172292d061a94a12f3977b -DIST botocore-1.34.3.gh.tar.gz 12574694 BLAKE2B f171337299c886d0b9c78e50ea57b0e2c1cf3cf261bbaca5e69bd374898ced32cf085d43d7a5f935d16573411e88f432f8417f047391f0a8de914886f14fe7ea SHA512 7e74536e6a69d25aff66763e7c817d5a3b54cb9c528a20be758c490621f33c945cb63313391bb25e402aab32a5b3fbb19215118c02559b64983c21db8ca79bc2 -DIST botocore-1.34.4.gh.tar.gz 12582501 BLAKE2B fa7578a30cf8e6c72ef83756923c77f4c8d89c6ce0902614f6661d6174b3d1fc176866087dea80b61c8328137796f41a1e295fc04de7fee34267b521cc3d9201 SHA512 07e60e42bfd2be4de0b2cf824978acd87eadeba77e8e191fb4e29001e9868494fe9e4676b38f6769557b0119139cb9f432d426cba34307504e8a218ccec66c0f -DIST botocore-1.34.5.gh.tar.gz 12587260 BLAKE2B 08ffafc5b6678cb48f7ca59413c787fcb15924076927113634e4db674d6cac52a1cae72f559abf614be622137e28b0862b140bd2e5c92231aa659d15d655fad9 SHA512 c99a9c4d1cc86bf6aab3c8672f2dc95f69577fdbfb5cc4723bc6be41df9a34aa07eae29ab00ec84b55e50694b1288ad8a5b5673f4d6839c13608f28f0c9420b0 -DIST botocore-1.34.6.gh.tar.gz 12597372 BLAKE2B 34aaf3e27478440a4f8fac28adb0f6bd9e63851435fd1bd51699a8b0c2a384d8aace86c4629404cb30602606a5497d5b30628e7a2174095914ab34879c1c13de SHA512 c90de3f2c18610ee5d5e649d368eebdbdb97ec737637b06ef8d5951502f2b5655a72b4859025cb007213b665c075078cc604bd7ac95af4ccf8073800bf346d34 DIST botocore-1.34.7.gh.tar.gz 12606475 BLAKE2B 387ee7dfab43c44c39c7b0566b6ddcb2b666024b5b7bee2c996194988781c169e1e9462b36d09861d1c3ca899d263392f3d79129e7a2f2fc4bbfed402f5c7dd6 SHA512 3f162d4d028dd81da552e0117671971aa891bf8fab513730f40083660fa83c1f82bf1b52875cf9f7f11089ecdd79f084f3c8e76227aa826c1aac7e5735032450 diff --git a/dev-python/botocore/botocore-1.33.6.ebuild b/dev-python/botocore/botocore-1.33.6.ebuild deleted file mode 100644 index 0f7a9150ba7a..000000000000 --- a/dev-python/botocore/botocore-1.33.6.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/botocore" - inherit git-r3 -else - SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin deps - sed -i -e "s:>=.*':':" setup.py || die - - # unbundle deps - rm -r botocore/vendored || die - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # rely on bundled six - tests/functional/test_six_imports.py::test_no_bare_six_imports - tests/functional/test_six_threading.py::test_six_thread_safety - ) - - local -x EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.34.1.ebuild b/dev-python/botocore/botocore-1.34.1.ebuild deleted file mode 100644 index 9a0240c45f2a..000000000000 --- a/dev-python/botocore/botocore-1.34.1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/botocore" - inherit git-r3 -else - SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin deps - sed -i -e "s:>=.*':':" setup.py || die - - # unbundle deps - rm -r botocore/vendored || die - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # rely on bundled six - tests/functional/test_six_imports.py::test_no_bare_six_imports - tests/functional/test_six_threading.py::test_six_thread_safety - ) - - local -x EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.34.3.ebuild b/dev-python/botocore/botocore-1.34.3.ebuild deleted file mode 100644 index 9a0240c45f2a..000000000000 --- a/dev-python/botocore/botocore-1.34.3.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/botocore" - inherit git-r3 -else - SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin deps - sed -i -e "s:>=.*':':" setup.py || die - - # unbundle deps - rm -r botocore/vendored || die - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # rely on bundled six - tests/functional/test_six_imports.py::test_no_bare_six_imports - tests/functional/test_six_threading.py::test_six_thread_safety - ) - - local -x EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.34.4.ebuild b/dev-python/botocore/botocore-1.34.4.ebuild deleted file mode 100644 index 9a0240c45f2a..000000000000 --- a/dev-python/botocore/botocore-1.34.4.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/botocore" - inherit git-r3 -else - SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin deps - sed -i -e "s:>=.*':':" setup.py || die - - # unbundle deps - rm -r botocore/vendored || die - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # rely on bundled six - tests/functional/test_six_imports.py::test_no_bare_six_imports - tests/functional/test_six_threading.py::test_six_thread_safety - ) - - local -x EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.34.5.ebuild b/dev-python/botocore/botocore-1.34.5.ebuild deleted file mode 100644 index 9a0240c45f2a..000000000000 --- a/dev-python/botocore/botocore-1.34.5.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/botocore" - inherit git-r3 -else - SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin deps - sed -i -e "s:>=.*':':" setup.py || die - - # unbundle deps - rm -r botocore/vendored || die - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # rely on bundled six - tests/functional/test_six_imports.py::test_no_bare_six_imports - tests/functional/test_six_threading.py::test_six_thread_safety - ) - - local -x EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.34.6.ebuild b/dev-python/botocore/botocore-1.34.6.ebuild deleted file mode 100644 index 9a0240c45f2a..000000000000 --- a/dev-python/botocore/botocore-1.34.6.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/botocore" - inherit git-r3 -else - SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin deps - sed -i -e "s:>=.*':':" setup.py || die - - # unbundle deps - rm -r botocore/vendored || die - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # rely on bundled six - tests/functional/test_six_imports.py::test_no_bare_six_imports - tests/functional/test_six_threading.py::test_six_thread_safety - ) - - local -x EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/distro/Manifest b/dev-python/distro/Manifest index 1099d615e926..f87fd5b65e9b 100644 --- a/dev-python/distro/Manifest +++ b/dev-python/distro/Manifest @@ -1 +1,2 @@ DIST distro-1.8.0.tar.gz 59428 BLAKE2B d1b47dd801c4414a6bb21c544c62c306a1cf49b43f70974f7a0b4bcba64620047c7d06b6507ba262eba44d2f192f654646bb69241ed5bf6b761dc9d42e049e18 SHA512 027fe8bc50e263dc49451932774f32cea7900820b6e30cc80afcdc84374777ba733137fdd8d27fec76f66ce9c579bc172721e7ae0f43e72dffbc092126b26af2 +DIST distro-1.9.0.tar.gz 60722 BLAKE2B 1713bbc10b74122e47e9d491a7559a871c81941f35fde74714872723d3fa3435fb15bb29197eb6b6f09e5192fb7e3162e63d5b628ab813befeca3872c49dc53d SHA512 dc66cb7e968e7a651c7a84681e2a0539d196073f71cf0ae1e49c5a6cd6deec345523259a8810ffdc7b6e9763a536eb388a2886ba2bbd1cb62165b57fbefb82ae diff --git a/dev-python/distro/distro-1.9.0.ebuild b/dev-python/distro/distro-1.9.0.ebuild new file mode 100644 index 000000000000..53ed1c1bb5d4 --- /dev/null +++ b/dev-python/distro/distro-1.9.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Reliable machine-readable Linux distribution information for Python" +HOMEPAGE=" + https://distro.readthedocs.io/en/latest/ + https://github.com/python-distro/distro/ + https://pypi.org/project/distro/ +" + +SLOT="0" +LICENSE="Apache-2.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +distutils_enable_tests pytest diff --git a/dev-python/elasticsearch/Manifest b/dev-python/elasticsearch/Manifest index 337a6652e4c6..8413751a3008 100644 --- a/dev-python/elasticsearch/Manifest +++ b/dev-python/elasticsearch/Manifest @@ -1,2 +1 @@ -DIST elasticsearch-py-8.11.0.gh.tar.gz 897889 BLAKE2B de1821f17c16198c8b85b863e06468715fb080b4e9354499bd4fc5c485dc81bb3747ee73bd5e26edcab71922d67699cbaba79b35a900b80020532bac805e5727 SHA512 914e909f5f2d6ee980d3cff981d1d605d9380211014381e9e998af46d52e0fc0568524c7c9e8d8fed710b855acdb15b1eeb0bcdb59607b67f2f8f99546a1bda8 DIST elasticsearch-py-8.11.1.gh.tar.gz 902628 BLAKE2B 7a1d780ff9f326567b4023f4a87b2a3be430428c00c528d255502d36623b7d1d6e0811f50a03471254eb79fb1e4146ad24402f202c862cafb44ec16fbcdb454f SHA512 e2efbd3e0658180768a35b601e7bef2748390ce12419f82cdfb1656968666fcc6ae71411d4e88eb155b315d8d8197f65c3e25e6f1e18f04e6459662cf80ab12a diff --git a/dev-python/elasticsearch/elasticsearch-8.11.0.ebuild b/dev-python/elasticsearch/elasticsearch-8.11.0.ebuild deleted file mode 100644 index 2b90c07d8c6f..000000000000 --- a/dev-python/elasticsearch/elasticsearch-8.11.0.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -MY_P="elasticsearch-py-${PV}" -DESCRIPTION="Official Elasticsearch client library for Python" -HOMEPAGE=" - https://ela.st/es-python - https://github.com/elastic/elasticsearch-py/ - https://pypi.org/project/elasticsearch/ -" -SRC_URI=" - https://github.com/elastic/elasticsearch-py/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0/$(ver_cut 1)" -KEYWORDS="amd64 arm64 ~x86" - -RDEPEND=" - <dev-python/aiohttp-4[${PYTHON_USEDEP}] - >=dev-python/aiohttp-3[${PYTHON_USEDEP}] - <dev-python/elastic-transport-9[${PYTHON_USEDEP}] - >=dev-python/elastic-transport-8[${PYTHON_USEDEP}] - <dev-python/requests-3[${PYTHON_USEDEP}] - >=dev-python/requests-2.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/mapbox-vector-tile[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.4[${PYTHON_USEDEP}] - dev-python/unasync[${PYTHON_USEDEP}] - ) -" - -EPYTEST_IGNORE=( - # REST api tests are a black hole for effort. It downloads the tests - # so its an ever moving target. It also requires effort to blacklist - # tests for apis which are license restricted. - "test_elasticsearch/test_server/test_rest_api_spec.py" - # Counting deprecation warnings from python is bound to fail even - # if all are fixed in this package. Not worth it. - "test_elasticsearch/test_client/test_deprecated_options.py" - # Running daemon for tests is finicky and upstream CI fails at it - # as well. - "test_elasticsearch/test_server/" - "test_elasticsearch/test_async/test_server/" -) - -distutils_enable_sphinx docs/sphinx \ - dev-python/sphinx-autodoc-typehints \ - dev-python/sphinx-rtd-theme -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -o addopts= -p asyncio -} diff --git a/dev-python/ensurepip-setuptools/Manifest b/dev-python/ensurepip-setuptools/Manifest index 45828940e5fe..15bc7702217c 100644 --- a/dev-python/ensurepip-setuptools/Manifest +++ b/dev-python/ensurepip-setuptools/Manifest @@ -1 +1,2 @@ DIST setuptools-69.0.2-py3-none-any.whl 819519 BLAKE2B 0145a60d8b2e2a2733a8c9281caf633241cadd6a84a1974cfbab4938ec310b3e2c7bbe0bf252a4dafee9b354c3b1822573b8abc6841df237ac54131a10e19571 SHA512 9c602118b656590dd02684f07ed4951198fa1929df5e3da3dd9624c83bcde481e2b01141963909b2c18c8a54c7e468050de0245adfe1a6f5bca6afc0c06513f5 +DIST setuptools-69.0.3-py3-none-any.whl 819530 BLAKE2B 6ecef64755181255d935e234f77db3a4a9ce6426621d5d95196f55820a6bd62ff6bd3efcbf2e66221501b0c7c5296a35f80d275c59a8075392a0e802ee6713f1 SHA512 20c68e4f279a133f33ac85885b2c7e05b68c8c2faf15c9bb251229a6668c5c6b54c4065c54a0b711dae36d7fd161d3dc34218c579e739a2b2c573b85ccc79820 diff --git a/dev-python/ensurepip-setuptools/ensurepip-setuptools-69.0.3.ebuild b/dev-python/ensurepip-setuptools/ensurepip-setuptools-69.0.3.ebuild new file mode 100644 index 000000000000..8346a1bd0f6d --- /dev/null +++ b/dev-python/ensurepip-setuptools/ensurepip-setuptools-69.0.3.ebuild @@ -0,0 +1,24 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pypi + +DESCRIPTION="Shared setuptools wheel for ensurepip Python module" +HOMEPAGE="https://pypi.org/project/setuptools/" +SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")" +S=${DISTDIR} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + !<dev-python/ensurepip-wheels-100 +" + +src_install() { + insinto /usr/lib/python/ensurepip + doins "${A}" +} diff --git a/dev-python/google-api-core/Manifest b/dev-python/google-api-core/Manifest index 9e9e2262fcd3..6d9ae7f14d26 100644 --- a/dev-python/google-api-core/Manifest +++ b/dev-python/google-api-core/Manifest @@ -1,2 +1 @@ -DIST python-api-core-2.14.0.gh.tar.gz 192103 BLAKE2B f1b05d3218392125600d113f35a726ada2f3247fca2fdce05f3a6419fe60bf59df8a3724fdd62d9047e55ecb39071527265fe86ba181f09e1bb5940b4b7dd4ba SHA512 a7641595f25d163b44906139df80e3581d52fb1078b70ec9b9a55583e148d82b51cfe3f710d04b776c7b038ef8c57b9b1119284711100e9681ee6f81b0ac6b58 DIST python-api-core-2.15.0.gh.tar.gz 193916 BLAKE2B 708bee6e62b4049d88bc88dfc03add6496ee1861954485e145ab01707284216aef224bd8646a3336417d8b114a8c196ce44e8da63e53c3dff3d616ff9bef25ad SHA512 1abbeb266e4bcb9cf8a2dc6ba795a5667b5e9a870fe8609335e929ac17410822e4324d88c7692f8c60534e9ee4b0933af0277cc44ccb2d805bcbaf8db1288bba diff --git a/dev-python/google-api-core/google-api-core-2.14.0.ebuild b/dev-python/google-api-core/google-api-core-2.14.0.ebuild deleted file mode 100644 index 191af279776c..000000000000 --- a/dev-python/google-api-core/google-api-core-2.14.0.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -MY_P=python-api-core-${PV} -DESCRIPTION="Core Library for Google Client Libraries" -HOMEPAGE=" - https://github.com/googleapis/python-api-core/ - https://pypi.org/project/google-api-core/ - https://googleapis.dev/python/google-api-core/latest/index.html -" -SRC_URI=" - https://github.com/googleapis/python-api-core/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86" - -RDEPEND=" - >=dev-python/googleapis-common-protos-1.56.2[${PYTHON_USEDEP}] - >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}] - >=dev-python/protobuf-python-3.19.5[${PYTHON_USEDEP}] - >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] - <dev-python/requests-3[${PYTHON_USEDEP}] - !dev-python/namespace-google -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/proto-plus[${PYTHON_USEDEP}] - dev-python/rsa[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # failing due to missing grpcio-status - tests/asyncio/test_grpc_helpers_async.py::test_wrap_unary_errors - tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_raised - tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_read - tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_aiter - tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_write - tests/unit/test_grpc_helpers.py::test_wrap_unary_errors - tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_invocation - tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_iterator_initialization - tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_during_iteration -) - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} - -src_test() { - rm -r google || die - distutils-r1_src_test -} - -python_test() { - distutils_write_namespace google - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio tests -} diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 1576ccb64ede..368d87bb01fb 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,3 +1,2 @@ -DIST google-api-python-client-2.109.0.tar.gz 12264648 BLAKE2B b0ff31b5e770f38ac44569a3480a9d0a28988441a907c823be7603fd3a48a5d407aeafdc6de5e8cadf32693f3363f0231f82e692fdeabe1ceb42eaeb5c99595b SHA512 1e5cd06a49548536b53411aa247f9118e808b97dd4b110f614347329f148ba9bc89514e5c205c7e7a90f52c53ab944a3a16afa833dc4a458d9ab53dc093bad63 DIST google-api-python-client-2.110.0.tar.gz 12416779 BLAKE2B 4b8bf928262db5d66d3201aaa2541cfd2ea9c5276528a8cee285eaafbb6947419d40c7335c3b131b9208e4a5c9c1e3c5df695bdd66a0a8b5736ea79d24ae1547 SHA512 a100b2a33c2944b8c5044c40cfdee4911e44fc1b366d4fd66cd99fd35c47058113f89c952b24d47b4ac3db573be30af1351d9b4e0d10b69e1ef5c5e5499f891b DIST google-api-python-client-2.111.0.tar.gz 12461105 BLAKE2B 3aa1de35867fbf2287fc4f0aadf4dc77aeb62bc0d894bcaf546ca00e062de289c83a732298ad6b09927d60bb1e3ea47e0a20fb108e23cb7af222e67a6e45d464 SHA512 3eb9a4580c6b59dbd7dff1f0ca9f309e92d7f75ce6d3085833d96c72751212a47073ef2b322ad85bc2795e82c85b9b80593f18a7335cc7438b0acaa94cbf04f5 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.109.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.109.0.ebuild deleted file mode 100644 index ba87a0fcf77d..000000000000 --- a/dev-python/google-api-python-client/google-api-python-client-2.109.0.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Google API Client for Python" -HOMEPAGE=" - https://github.com/googleapis/google-api-python-client/ - https://pypi.org/project/google-api-python-client/ -" - -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-2.3.1[${PYTHON_USEDEP}] - >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] - >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] - >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] - <dev-python/uritemplate-5[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_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 - ) - - epytest tests -} diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest index 56f816f8c941..ed407c6e40bc 100644 --- a/dev-python/google-auth/Manifest +++ b/dev-python/google-auth/Manifest @@ -1,2 +1 @@ -DIST google-auth-2.24.0.tar.gz 234771 BLAKE2B 05111637ae26529b9345ef1f3ce8334bbcfc782e93d560749205a18e50075593573130e6ba3d33e79cd0190305ae382d44aac071c12ab67df7a8064a041220f2 SHA512 e4987b8e52be45e2fd2906525e1a4645f73b2322a6d7055f9b9c00555f4ffe05b7cda6e21cbf9f491e1e0f2b43772050017b7473b24a92cf5ca6ae6e589a15e0 DIST google-auth-2.25.2.tar.gz 235648 BLAKE2B 527dada4cff9139ef2b90874aafe085e7b92f4edecfa3dfb6cf26a40e8470f68451fdc88bf5a9ce92144b7448ee4a32a011069b62d6ee02d0885db1ceb319f22 SHA512 2f03dbe6664cfd7086da82154a8fbea6cb97f3f05992faa0fc11399248d645eafa0b63e4f45e248ff73de693c15050f3dfa7060b0f46c8b22919619d5ebb82e2 diff --git a/dev-python/google-auth/google-auth-2.24.0.ebuild b/dev-python/google-auth/google-auth-2.24.0.ebuild deleted file mode 100644 index b2f3ac724623..000000000000 --- a/dev-python/google-auth/google-auth-2.24.0.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Google Authentication Library" -HOMEPAGE=" - https://github.com/googleapis/google-auth-library-python/ - https://pypi.org/project/google-auth/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86" - -RDEPEND=" - <dev-python/cachetools-6.0.0[${PYTHON_USEDEP}] - >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] - >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] - >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/grpcio[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/moto[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/pyu2f[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_IGNORE=( - # these are compatibility tests with oauth2client - # disable them to unblock removal of that package - tests/test__oauth2client.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} diff --git a/dev-python/googleapis-common-protos/Manifest b/dev-python/googleapis-common-protos/Manifest index 39900c74ecb7..ee17e2ada7b2 100644 --- a/dev-python/googleapis-common-protos/Manifest +++ b/dev-python/googleapis-common-protos/Manifest @@ -1,2 +1 @@ -DIST googleapis-common-protos-1.61.0.tar.gz 121129 BLAKE2B f7fa2bc1061bd7cba5db4327925ac221fff859a1077b177dd9606cb1d85ef42796a3c2fd6b9834d195a1d3d0638f07a735f64a9e4abd4b95b602f8f53a36d77d SHA512 2aac51d0ea414532f1b5991ad8d484a48d44682e1354deec4d1bb5a96d401a9f9983e613beea91d49c058d95a2d289be932229765c66c1fee18df5d8e9e873f2 DIST googleapis-common-protos-1.62.0.tar.gz 121172 BLAKE2B 33034cca9a195c90191d1f9ff68933714bab9d977fb720f94f2384554ed7ff73d9c01bfd386589e0c3cbed150e3b4d153feaf9ade7dbc1181e99c96bc7aa5b36 SHA512 13612ed20fdb0f7f1310a8c727d5b833286237f9470fd5b183a0a92463b043a7aa14b4e06188d8bd3e1aa9f1d6e468e96b06a448a8a76f85de3aea7d9bc734f0 diff --git a/dev-python/googleapis-common-protos/googleapis-common-protos-1.61.0.ebuild b/dev-python/googleapis-common-protos/googleapis-common-protos-1.61.0.ebuild deleted file mode 100644 index 18bbdfbe7283..000000000000 --- a/dev-python/googleapis-common-protos/googleapis-common-protos-1.61.0.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python classes generated from the common protos in the googleapis repository" -HOMEPAGE=" - https://github.com/googleapis/python-api-common-protos/ - https://pypi.org/project/googleapis-common-protos/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86" - -RDEPEND=" - <dev-python/protobuf-python-5[${PYTHON_USEDEP}] - >=dev-python/protobuf-python-3.15.0[${PYTHON_USEDEP}] - !dev-python/namespace-google -" - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} - -# no tests as this is all generated code diff --git a/dev-python/license-expression/Manifest b/dev-python/license-expression/Manifest index 998b3d8320c9..858fd5f7fbd5 100644 --- a/dev-python/license-expression/Manifest +++ b/dev-python/license-expression/Manifest @@ -1,2 +1 @@ -DIST license-expression-30.1.1.gh.tar.gz 165700 BLAKE2B b79dcb1966658ceb78fcc8a335c90d08c1aaf1933251a14cfa3caf97bbacea9090103727811b654c7c013b24f97ca0529c1589cef5ea096079c33df761ad2ebd SHA512 83a683b7479088f5f4b0d4c4854d17150dd07b60231ebcea5a299e0a3109a833477f86b3dbb2f7d7da932f610fc0489fd019b823ad6e0554f7cc372dfcabdbc1 DIST license-expression-30.2.0.gh.tar.gz 170391 BLAKE2B 38e934fa4c442b797be34b4431955bba5eae589247288f827753fdd167177839faac057448422fe1176127b0c96734c19c185c11814dc7d7765538b3d4184bd1 SHA512 13a9dea381088d95421aca8d096c54e9537bd0671000a21067257d01ced28a5c778bf8adff3d6e83ed89559ed62a0d08ccf98c88c0974c913b199f68d0a4336c diff --git a/dev-python/license-expression/license-expression-30.1.1.ebuild b/dev-python/license-expression/license-expression-30.1.1.ebuild deleted file mode 100644 index 3b8394616319..000000000000 --- a/dev-python/license-expression/license-expression-30.1.1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Parse, compare, simplify and normalize license expressions" -HOMEPAGE=" - https://pypi.org/project/license-expression/ - https://github.com/nexB/license-expression/ -" -SRC_URI=" - https://github.com/nexB/license-expression/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - >=dev-python/boolean-py-4.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-scm-4[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/minify-html/Manifest b/dev-python/minify-html/Manifest index 08ba725a6c64..de4937928626 100644 --- a/dev-python/minify-html/Manifest +++ b/dev-python/minify-html/Manifest @@ -15,6 +15,8 @@ DIST memchr-2.5.0.crate 65812 BLAKE2B 57966413a1f933dcb2d2d4ccb29c247070f65a8329 DIST memoffset-0.6.5.crate 7686 BLAKE2B 9a797388702389076c426052c3d54dc62802d5db8bc5c9c83990429f2ffaec4fab4c7dd3f09cd0704d1ea555e87976563bb43408ba54b5e66ce7e406d4604009 SHA512 11bdd9185b99dfee8e659e051b09ee301c7142a372a8117864745a5085c015436d2efbb1478192886f09cbc562529e209d2e3325d94938a64bc75b1d91d2bf3f DIST minify-js-0.4.3.crate 18268 BLAKE2B a64c99431850ec60fce05d78d191a4824441586f4a884251e3fb9e5fcc91d497fd40a2ce954e246fb513081736a284a4f28c3e2309516fd230f82c49d72e460e SHA512 e53af3733a2828ca049a51f2088dcf5a3c151210e06f54d1ded9799cb292a142fc87f4f071b870fa8e326dbf58bcf07bc1604ca53296a2192aa4ae3bc16cc1e9 DIST minify_html-0.11.1.tar.gz 136368 BLAKE2B c28f860868f6456dd67bc64960270bf94af58b3cc72c131ba03c3ca999747f0d35a1fcf1db6859bab962f80157decc8a9d7bd693fbb3477f7e59a9d8f0fec36b SHA512 36c494c57eab502b17752359197d9062c4f928031dbd9c642b09fc8d26ff9f93c7031e845d6b3a2a82f4200e95bc7446b239cb9683b104d86062c2d28e41e33a +DIST minify_html-0.15.0-crates.tar.xz 22011872 BLAKE2B e23d0b978708995f75aa2ca0a4bdf9bcd5a967a310d7a709941ba83a54487018071a9ab4794232f9963807308e3d63afa7e219b112ea73dfe29ff828d66b84b2 SHA512 7f15918faaa634d1ac9ddff071f410594eb4a1a432b74eb999dc037d5734b0c17c9e831440b50797f025a010d51e7b84cd9f2cf6e645b726a796612d6b4ea710 +DIST minify_html-0.15.0.tar.gz 96948 BLAKE2B 24fe7b747d389a2876210b2774cfad8a623a5549c86fdcb9304d6521a7ef1ab85c770fbfe03a5d6812c7a1d282f409e93132db83b64ea16d4b3fe88c762ea71f SHA512 89b4e40a3572958b6d79985537f9fe9aa917ff94afc72b44f74202298128af71fb0618c1ca50af445da678806b44959d390113d404ae8ad0b75660564095159f DIST minimal-lexical-0.2.1.crate 94841 BLAKE2B e6b8919b80d938d0b98d60d4f5f29ce43d77ebfcf8b18bde08909141915c6ef4f0d07a543538d4f3ba8527a9f55926d4a8e83473248469d087e80b274d701d61 SHA512 385fab51884bdcc7b0f2728a219ab164d0dc8efe42160b918f2c09f79ecf853fb12bda006d11e649f097bae1499dcd41ddf2a8784ee7d178cf2c28059e46078c DIST nom-7.1.3.crate 117570 BLAKE2B 5643b67990b7305e101b16b8cd27c447e162a7adc6d0dfac00920b0cb50fea98c9d4edca63c34f6845cba05f8d0acb407cf3045cf64a4cb28e53c8b6bc9090cf SHA512 1ffce08dde299bc0e0367ad59c7b6a83e23decfa11115ee076ab91ec53cdd9ef37e4c2103c96eff23a7b6b8b5c3f67c83ce1917928c7d4c6462083bdfa0c9cad DIST once_cell-1.17.1.crate 32856 BLAKE2B 8bde2aaaf9ef45d1f6b8458686179f1fe9295ee8faea269e9b49779583ce26ab9dafe988c3584e841a9e5d05e28430ca967ef3b25e755f48f0120d9c99cdb7bc SHA512 1302d51801e38bfee23e74c0046f1ecb1d3c27309b5fe11c2b6c99553b357db502ce1718695602f9d8b10429e8ff03f91c016d5d604957083728293824c05904 diff --git a/dev-python/minify-html/minify-html-0.15.0.ebuild b/dev-python/minify-html/minify-html-0.15.0.ebuild new file mode 100644 index 000000000000..ea3ba47d2029 --- /dev/null +++ b/dev-python/minify-html/minify-html-0.15.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +CRATES=" +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Extremely fast and smart HTML + JS + CSS minifier" +HOMEPAGE=" + https://github.com/wilsonzlin/minify-html/ + https://pypi.org/project/minify-html/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://dev.gentoo.org/~mgorny/dist/${P/-/_}-crates.tar.xz + " +fi + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT MPL-2.0 + Unicode-DFS-2016 +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/minify_html/minify_html.*.so" diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index 5441a4f6d1b1..8d7f110e9f0a 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -1,4 +1,2 @@ -DIST mkdocs-material-9.4.14.gh.tar.gz 14563700 BLAKE2B 313698c16f79cc11fc9aa2905313871605f683fad32073e956402728e0b51cbd2788947c11711eb1fc9a0addb8cdc1d7382703cc5a6684a72541f40a1afb699f SHA512 1102c1003562af2fc7126d85d8e5b0556cd240d6c56273f811947bbfc650fd7554b8b979ab9e14a43ed3dc44688c7ce277e28fdd4cbb6787b83b9f76d80a3bbf -DIST mkdocs-material-9.5.0.gh.tar.gz 14621790 BLAKE2B 3c9f7b7cc656cd25953d021b2914884f2ede145b8c4cece0ec55013ee955a25d8ad4021de0abf3fd340b0bbc996ca42fe1391752febe7dad464da232c7d1892b SHA512 5c9b695877d14ce53fa66c1f4b4416e1d79ee227817b1a113406f83f37fd8d1fc122f5554c2159e24967864dd258329cfa564944f1ffbff863650a6ccad5af90 -DIST mkdocs-material-9.5.1.gh.tar.gz 14622279 BLAKE2B 81df1c8f0d50ae32d7efdbaeda3b4825edd167d4290ba4b199dac3c04965e361707def8bee17bada2cd6ec86c28e36c2a16dfcd748b592fef10d0392e224a864 SHA512 b97948f54f37d0f365f515976857cad5717058f258f505f18f7000f02cc9a20a084832fe62e8f1f3fd51f360769535962116b7a221e5f054fa05ddfc8821db58 DIST mkdocs-material-9.5.2.gh.tar.gz 14646245 BLAKE2B d6884fc3604b794296c2074a026c522df44fb3500a9109c61dcbdf7bd48133ababedfeacfa2f91c832c16480d767bd36afdd1bc4cf09b2d9ab43a4b95c79a5aa SHA512 26657000cab282babe136a6b85caff57cd979c1d2c83e6378f82a76fb3a5e4d57e0d120d641f7cb2e697b58a323e11ea17f346f0ed7958f10752cbb0c8918bd1 +DIST mkdocs-material-9.5.3.gh.tar.gz 14676809 BLAKE2B 340e1a1e8527797e9256f034d39c0fedb97e4ff667f608fc6d7d2d94a9d24f35afc9d7372002623fba3f6da171fc5062d5ad7d3a843bfcafa4a2d423d41845c4 SHA512 5e5745193e661eab7016346cee619ad9b9d848cf49956aa9f9a3c3bb647525a0fa39c63afc6569c8973e566f6061e368d4512149f8634a463af98602c52d2163 diff --git a/dev-python/mkdocs-material/mkdocs-material-9.4.14.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.4.14.ebuild deleted file mode 100644 index 7ca30d40335b..000000000000 --- a/dev-python/mkdocs-material/mkdocs-material-9.4.14.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -DOCS_BUILDER="mkdocs" -DOCS_DEPEND=" - dev-python/mkdocs-material-extensions - dev-python/mkdocs-minify-plugin - dev-python/mkdocs-redirects -" - -inherit distutils-r1 docs - -DESCRIPTION="A Material Design theme for MkDocs" -HOMEPAGE=" - https://github.com/squidfunk/mkdocs-material/ - https://pypi.org/project/mkdocs-material/ -" -SRC_URI=" - https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" -IUSE="social" - -RDEPEND=" - >=dev-python/Babel-2.10.3[${PYTHON_USEDEP}] - >=dev-python/colorama-0.4[${PYTHON_USEDEP}] - >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}] - >=dev-python/lxml-4.6[${PYTHON_USEDEP}] - >=dev-python/markdown-3.2[${PYTHON_USEDEP}] - >=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}] - >=dev-python/paginate-0.5.6[${PYTHON_USEDEP}] - >=dev-python/pygments-2.16[${PYTHON_USEDEP}] - >=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}] - >=dev-python/readtime-2.0[${PYTHON_USEDEP}] - >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] - >=dev-python/requests-2.26[${PYTHON_USEDEP}] - social? ( - >=dev-python/pillow-9.0[${PYTHON_USEDEP}] - >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}] - ) -" -BDEPEND=" - >=dev-python/trove-classifiers-2023.10.18[${PYTHON_USEDEP}] -" -# mkdocs-material-extensions depends on mkdocs-material creating a circular dep -PDEPEND=" - >=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}] -" - -PATCHES=( - # simplify pyproject to remove extra deps for metadata - "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" -) - -src_prepare() { - echo "__version__ = '${PV}'" > gentoo_version.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/mkdocs-material/mkdocs-material-9.5.1.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.5.1.ebuild deleted file mode 100644 index 31c55fa06872..000000000000 --- a/dev-python/mkdocs-material/mkdocs-material-9.5.1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -DOCS_BUILDER="mkdocs" -DOCS_DEPEND=" - dev-python/mkdocs-material-extensions - dev-python/mkdocs-minify-plugin - dev-python/mkdocs-redirects -" - -inherit distutils-r1 docs - -DESCRIPTION="A Material Design theme for MkDocs" -HOMEPAGE=" - https://github.com/squidfunk/mkdocs-material/ - https://pypi.org/project/mkdocs-material/ -" -SRC_URI=" - https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="social" - -RDEPEND=" - >=dev-python/Babel-2.10.3[${PYTHON_USEDEP}] - >=dev-python/colorama-0.4[${PYTHON_USEDEP}] - >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}] - >=dev-python/lxml-4.6[${PYTHON_USEDEP}] - >=dev-python/markdown-3.2[${PYTHON_USEDEP}] - >=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}] - >=dev-python/paginate-0.5.6[${PYTHON_USEDEP}] - >=dev-python/pygments-2.16[${PYTHON_USEDEP}] - >=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}] - >=dev-python/readtime-2.0[${PYTHON_USEDEP}] - >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] - >=dev-python/requests-2.26[${PYTHON_USEDEP}] - social? ( - >=dev-python/pillow-9.0[${PYTHON_USEDEP}] - >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}] - ) -" -BDEPEND=" - >=dev-python/trove-classifiers-2023.10.18[${PYTHON_USEDEP}] -" -# mkdocs-material-extensions depends on mkdocs-material creating a circular dep -PDEPEND=" - >=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}] -" - -PATCHES=( - # simplify pyproject to remove extra deps for metadata - "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" -) - -src_prepare() { - echo "__version__ = '${PV}'" > gentoo_version.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/mkdocs-material/mkdocs-material-9.5.0.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.5.3.ebuild index 31c55fa06872..31c55fa06872 100644 --- a/dev-python/mkdocs-material/mkdocs-material-9.5.0.ebuild +++ b/dev-python/mkdocs-material/mkdocs-material-9.5.3.ebuild diff --git a/dev-python/nh3/nh3-0.2.15.ebuild b/dev-python/nh3/nh3-0.2.15.ebuild index 8b5700019ac2..49e5593b7c04 100644 --- a/dev-python/nh3/nh3-0.2.15.ebuild +++ b/dev-python/nh3/nh3-0.2.15.ebuild @@ -93,7 +93,7 @@ LICENSE="MIT" # Dependent crate licenses LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc ~x86" distutils_enable_tests pytest diff --git a/dev-python/pebble/Manifest b/dev-python/pebble/Manifest index f2b566eb59b8..30ba38def838 100644 --- a/dev-python/pebble/Manifest +++ b/dev-python/pebble/Manifest @@ -1,2 +1 @@ -DIST Pebble-5.0.4.tar.gz 28976 BLAKE2B 4a07fae1b186f658aad565d97837c204ce4c19f2478f179d9967f4770666eb243c26de54345332331ad85a4c34c842307be219b543c7f99e9f04ce5185841a32 SHA512 fec2aa4fad28dddc5987d010d341dd747d1056a9e75b3a81f5c6d1f40d07d139357472f0649d9b15f1fe22c5e018f533d616227faac10c1e06469af988cf2c8c DIST Pebble-5.0.5.tar.gz 30634 BLAKE2B 2ce70da8d2a5a8ed5368e54e63631167c09bf0f408d5e86c618fbe2237a01f0fed9e673c14fe7f8a63fb416d72bfad58c7eedd5292daf7753d067a7a219a3c22 SHA512 8d524e57e32f28fb4c59f09a7d1733d997298f526d6ba08477b060dd78c585b4f9da76b525a4052eefd1576dba464218d4b15ffe15f9e2cb1921423df3a33e1c diff --git a/dev-python/pebble/pebble-5.0.4.ebuild b/dev-python/pebble/pebble-5.0.4.ebuild deleted file mode 100644 index 55d37954c681..000000000000 --- a/dev-python/pebble/pebble-5.0.4.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN^} -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Threading and multiprocessing eye-candy" -HOMEPAGE=" - https://pebble.readthedocs.io/ - https://github.com/noxdafox/pebble/ - https://pypi.org/project/Pebble/ -" - -LICENSE="LGPL-3+" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -distutils_enable_tests pytest diff --git a/dev-python/pycountry/Manifest b/dev-python/pycountry/Manifest index aca8f272ae5b..0582d91d2b28 100644 --- a/dev-python/pycountry/Manifest +++ b/dev-python/pycountry/Manifest @@ -1,3 +1,2 @@ DIST pycountry-22.3.5.tar.gz 10141551 BLAKE2B d645eade8ce9be3b99f4f2b189cc50c3395ecb3899ab9fa668066993abbfa576191cfcc05b7bb2764d088a86df492770bcc0a8834f04e6fde58a01defe8a1b14 SHA512 07dc507ee94f1880727761df197f81704386d9246163c9a5872f47083d37c7d1205dfbd28c6663ef0731a0b05277ade03a1a1929ab84087e0e85c05028c68b89 DIST pycountry-23.12.11.tar.gz 5927399 BLAKE2B a8d32593d80a881abd03b482a99afc22996a730d911577f91eb8035336f07a25a8cd74cd19f9396675acacbab953098bf831119f8b9f7c72fc6c2807713fe6c9 SHA512 25b5a74c0dd8115473571976a64b6fed7010f62c1b3b4c1888b9e13a7cf4f533173f51d4652d55c426adee4e0ff119bb6e3132d04dce150b9d1ca4b11366c579 -DIST pycountry-23.12.7.tar.gz 5916789 BLAKE2B c2ef041f170069fd242f2e92b925f6c2ee5cfde65fd7c89e24fafbea599a84b3d18af1470a06ef94e2974fa2320e5510cec7120948b7b5c463cc362f1567d6d6 SHA512 3e8ce14b4b6ea13f2747ec1b6a5db852e50b58ff9ff3bf2429fd2561411593f8d2fbc48208c861b1988fe0981dbb28649e29d62fd91f5a98e0aba1e27d24c97f diff --git a/dev-python/pycountry/pycountry-23.12.7.ebuild b/dev-python/pycountry/pycountry-23.12.7.ebuild deleted file mode 100644 index 5f49e445b1b7..000000000000 --- a/dev-python/pycountry/pycountry-23.12.7.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Database of countries, subdivisions, languages, currencies and script" -HOMEPAGE=" - https://github.com/pycountry/pycountry/ - https://pypi.org/project/pycountry/ -" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -distutils_enable_tests pytest diff --git a/dev-python/pygobject/Manifest b/dev-python/pygobject/Manifest index 8ce81ab9f53f..0e95ec4547cf 100644 --- a/dev-python/pygobject/Manifest +++ b/dev-python/pygobject/Manifest @@ -1,2 +1,3 @@ DIST pygobject-3.44.1.tar.xz 559432 BLAKE2B 7edfe91ac1b7301befaf8ef17078b517666467f446bfbe25850336cd365d314153d444d29ecf028ce44a12cef1c94f139d110ac6784c8a2c6077730d4836f6cc SHA512 5f2ff4a068e7e24dcc32f8c43ba58660c85a0fabdd9ff0bac4ddf1ca82bd0fc962ce5cb3ab25b991c212d45e5e89dac67c3259c5423a7d7fd70b2ac1f56e5327 +DIST pygobject-3.44.2.tar.xz 560188 BLAKE2B 6c1cec327aea3ca17a0d60c0b732178c79574073106ad069a76b2bac4aa911d6208b25f23b4508fbaf88b36211cf10bd0d4cfe242c2dae0c5e9363e7d90051e4 SHA512 e0d481285d190f2c9606a61d6104efaffc110aeb57cff6cd08bae72a0528cc970fc1c422fd949c557e3cfc5d6f2e96389824c6fd9888cdfd3ca1ebdc4a05e753 DIST pygobject-3.46.0.tar.xz 561552 BLAKE2B 6b8c9b4bf6df819c09b7bd2ea6dcb0e7c24ed7f171487b774469bd2c4694df9d4473dbde05273afc7a370f2b1f352d60347aa221bdd674a4aa8a54123d5e54cd SHA512 48293c193ba5aece38d99f45d325d0329ac33e88442bf00848fe818a7c838977b8d2cf50a404c30e8852ccc0b4a44dfda07751d51acc21f740aa2ab6aa3ce661 diff --git a/dev-python/pygobject/pygobject-3.44.2.ebuild b/dev-python/pygobject/pygobject-3.44.2.ebuild new file mode 100644 index 000000000000..a570a1894b04 --- /dev/null +++ b/dev-python/pygobject/pygobject-3.44.2.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=no +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit gnome.org meson virtualx xdg distutils-r1 + +DESCRIPTION="Python bindings for GObject Introspection" +HOMEPAGE=" + https://pygobject.readthedocs.io/ + https://gitlab.gnome.org/GNOME/pygobject/ +" + +LICENSE="LGPL-2.1+" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="+cairo examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.56:2 + >=dev-libs/gobject-introspection-1.56:= + dev-libs/libffi:= + cairo? ( + >=dev-python/pycairo-1.16.0[${PYTHON_USEDEP}] + x11-libs/cairo[glib] + ) +" +DEPEND=" + ${RDEPEND} + test? ( + >=app-accessibility/at-spi2-core-2.46.0[introspection] + dev-python/pytest[${PYTHON_USEDEP}] + x11-libs/gdk-pixbuf:2[introspection,jpeg] + x11-libs/gtk+:3[introspection] + x11-libs/pango[introspection] + ) +" +BDEPEND=" + virtual/pkgconfig +" + +python_configure() { + local emesonargs=( + $(meson_feature cairo pycairo) + $(meson_use test tests) + -Dpython="${EPYTHON}" + ) + meson_src_configure +} + +python_compile() { + meson_src_compile +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local -x GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs + local -x GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x XDG_CACHE_HOME="${T}/${EPYTHON}" + meson_src_test --timeout-multiplier 3 || die "test failed for ${EPYTHON}" +} + +python_install() { + meson_src_install + python_optimize +} + +python_install_all() { + distutils-r1_python_install_all + use examples && dodoc -r examples +} diff --git a/dev-python/python-openstackclient/Manifest b/dev-python/python-openstackclient/Manifest index 5317afc018f2..ce773357a545 100644 --- a/dev-python/python-openstackclient/Manifest +++ b/dev-python/python-openstackclient/Manifest @@ -1,2 +1 @@ -DIST python-openstackclient-6.3.0.tar.gz 899811 BLAKE2B 9dd1b174d23f4bfe0f4e54e1e72fc92f28989b7007981132ab3d60050e1c7c19be820388c9453e004f0847ad67c1bf6eadfccd26fd391e5c1b6c62185e2132c9 SHA512 da03e92208ec82920bb3fae3be0c3ecb834f3046cf709cff626a2336ca875976bcc72a41593bfee28b988ab5e89e49dbfc466362ab6200f90c91f949ce1feb06 DIST python-openstackclient-6.4.0.tar.gz 915402 BLAKE2B 22f033623e1a8a0830032f82fc98a87fe7154098d6a2fc5f45b6843b1df2396f54f2c298b787f252254871e3025fa74d573791b94cd3cccee7528a580353803e SHA512 497792309a07ee64a966542b3b1a92ea452ed5615410f71475509df00f2810c7367bfca905d2f6e68b638f9df2ad8cc6f95ab84da2e9625bd779e3651e3300ba diff --git a/dev-python/python-openstackclient/files/python-openstackclient-6.3.0-test.patch b/dev-python/python-openstackclient/files/python-openstackclient-6.3.0-test.patch deleted file mode 100644 index b82097f36ae7..000000000000 --- a/dev-python/python-openstackclient/files/python-openstackclient-6.3.0-test.patch +++ /dev/null @@ -1,254 +0,0 @@ -From fb2e0ced6e2413f5641e65bdc44ff1350a172a24 Mon Sep 17 00:00:00 2001 -From: Stephen Finucane <stephenfin@redhat.com> -Date: Mon, 11 Sep 2023 10:46:23 +0100 -Subject: [PATCH] tests: Explicitly specify port fields for output - -Rather than excluding the few fields we don't want, explicitly indicate -the ones we do want. We were already in-effect doing this in our tests, -so this is simply moving the definition from tests to the main code. - -Note that this is a problem in the tests for virtually all commands -that will be seen as the SDK continues to evolve and new fields are -added to existing resources. This is a problem that be solved over -time though, rather than in a big bang commit. - -Change-Id: Iaa64e97450f5c73cab2e2c3b0c741aec1495b4f1 -Signed-off-by: Stephen Finucane <stephenfin@redhat.com> ---- - openstackclient/network/v2/port.py | 52 +++++++++++++++---- - .../tests/unit/network/v2/test_port.py | 36 ++++++------- - 2 files changed, 59 insertions(+), 29 deletions(-) - -diff --git a/openstackclient/network/v2/port.py b/openstackclient/network/v2/port.py -index 6ca069bb..710e8fe3 100644 ---- a/openstackclient/network/v2/port.py -+++ b/openstackclient/network/v2/port.py -@@ -55,18 +55,48 @@ _formatters = { - - - def _get_columns(item): -- column_map = { -- 'binding:host_id': 'binding_host_id', -- 'binding:profile': 'binding_profile', -- 'binding:vif_details': 'binding_vif_details', -- 'binding:vif_type': 'binding_vif_type', -- 'binding:vnic_type': 'binding_vnic_type', -- 'is_admin_state_up': 'admin_state_up', -- 'is_port_security_enabled': 'port_security_enabled', -+ column_data_mapping = { -+ 'admin_state_up': 'is_admin_state_up', -+ 'allowed_address_pairs': 'allowed_address_pairs', -+ 'binding_host_id': 'binding_host_id', -+ 'binding_profile': 'binding_profile', -+ 'binding_vif_details': 'binding_vif_details', -+ 'binding_vif_type': 'binding_vif_type', -+ 'binding_vnic_type': 'binding_vnic_type', -+ 'created_at': 'created_at', -+ 'data_plane_status': 'data_plane_status', -+ 'description': 'description', -+ 'device_id': 'device_id', -+ 'device_owner': 'device_owner', -+ 'device_profile': 'device_profile', -+ 'dns_assignment': 'dns_assignment', -+ 'dns_domain': 'dns_domain', -+ 'dns_name': 'dns_name', -+ 'extra_dhcp_opts': 'extra_dhcp_opts', -+ 'fixed_ips': 'fixed_ips', -+ 'hints': 'hints', -+ 'id': 'id', -+ 'ip_allocation': 'ip_allocation', -+ 'mac_address': 'mac_address', -+ 'name': 'name', -+ 'network_id': 'network_id', -+ 'numa_affinity_policy': 'numa_affinity_policy', -+ 'port_security_enabled': 'is_port_security_enabled', -+ 'project_id': 'project_id', -+ 'propagate_uplink_status': 'propagate_uplink_status', -+ 'resource_request': 'resource_request', -+ 'revision_number': 'revision_number', -+ 'qos_network_policy_id': 'qos_network_policy_id', -+ 'qos_policy_id': 'qos_policy_id', -+ 'security_group_ids': 'security_group_ids', -+ 'status': 'status', -+ 'tags': 'tags', -+ 'trunk_details': 'trunk_details', -+ 'updated_at': 'updated_at', - } -- hidden_columns = ['location', 'tenant_id'] -- return utils.get_osc_show_columns_for_sdk_resource( -- item, column_map, hidden_columns -+ return ( -+ tuple(column_data_mapping.keys()), -+ tuple(column_data_mapping.values()), - ) - - -diff --git a/openstackclient/tests/unit/network/v2/test_port.py b/openstackclient/tests/unit/network/v2/test_port.py -index 59755bb9..c897a1af 100644 ---- a/openstackclient/tests/unit/network/v2/test_port.py -+++ b/openstackclient/tests/unit/network/v2/test_port.py -@@ -172,7 +172,7 @@ class TestCreatePort(TestPort): - ) - self.assertFalse(self.network_client.set_tags.called) - -- self.assertEqual(set(self.columns), set(columns)) -+ self.assertCountEqual(self.columns, columns) - self.assertCountEqual(self.data, data) - - def test_create_full_options(self): -@@ -245,7 +245,7 @@ class TestCreatePort(TestPort): - } - ) - -- self.assertEqual(set(self.columns), set(columns)) -+ self.assertCountEqual(self.columns, columns) - self.assertCountEqual(self.data, data) - - def test_create_invalid_json_binding_profile(self): -@@ -309,7 +309,7 @@ class TestCreatePort(TestPort): - } - ) - -- self.assertEqual(set(self.columns), set(columns)) -+ self.assertCountEqual(self.columns, columns) - self.assertCountEqual(self.data, data) - - def test_create_with_security_group(self): -@@ -347,7 +347,7 @@ class TestCreatePort(TestPort): - } - ) - -- self.assertEqual(set(self.columns), set(columns)) -+ self.assertCountEqual(self.columns, columns) - self.assertCountEqual(self.data, data) - - def test_create_port_with_dns_name(self): -@@ -380,7 +380,7 @@ class TestCreatePort(TestPort): - } - ) - -- self.assertEqual(set(self.columns), set(columns)) -+ self.assertCountEqual(self.columns, columns) - self.assertCountEqual(self.data, data) - - def test_create_with_security_groups(self): -@@ -420,7 +420,7 @@ class TestCreatePort(TestPort): - } - ) - -- self.assertEqual(set(self.columns), set(columns)) -+ self.assertCountEqual(self.columns, columns) - self.assertCountEqual(self.data, data) - - def test_create_with_no_security_groups(self): -@@ -449,7 +449,7 @@ class TestCreatePort(TestPort): - } - ) - -- self.assertEqual(set(self.columns), set(columns)) -+ self.assertCountEqual(self.columns, columns) - self.assertCountEqual(self.data, data) - - def test_create_with_no_fixed_ips(self): -@@ -478,7 +478,7 @@ class TestCreatePort(TestPort): - } - ) - -- self.assertEqual(set(self.columns), set(columns)) -+ self.assertCountEqual(self.columns, columns) - self.assertCountEqual(self.data, data) - - def test_create_port_with_allowed_address_pair_ipaddr(self): -@@ -520,7 +520,7 @@ class TestCreatePort(TestPort): - } - ) - -- self.assertEqual(set(self.columns), set(columns)) -+ self.assertCountEqual(self.columns, columns) - self.assertCountEqual(self.data, data) - - def test_create_port_with_allowed_address_pair(self): -@@ -571,7 +571,7 @@ class TestCreatePort(TestPort): - } - ) - -- self.assertEqual(set(self.columns), set(columns)) -+ self.assertCountEqual(self.columns, columns) - self.assertCountEqual(self.data, data) - - def test_create_port_with_qos(self): -@@ -608,7 +608,7 @@ class TestCreatePort(TestPort): - } - ) - -- self.assertEqual(set(self.columns), set(columns)) -+ self.assertCountEqual(self.columns, columns) - self.assertCountEqual(self.data, data) - - def test_create_port_security_enabled(self): -@@ -738,7 +738,7 @@ class TestCreatePort(TestPort): - else: - self.assertFalse(self.network_client.set_tags.called) - -- self.assertEqual(set(self.columns), set(columns)) -+ self.assertCountEqual(self.columns, columns) - self.assertCountEqual(self.data, data) - - def test_create_with_tags(self): -@@ -787,7 +787,7 @@ class TestCreatePort(TestPort): - } - ) - -- self.assertEqual(set(self.columns), set(columns)) -+ self.assertCountEqual(self.columns, columns) - self.assertCountEqual(self.data, data) - - def test_create_with_uplink_status_propagation_enabled(self): -@@ -893,7 +893,7 @@ class TestCreatePort(TestPort): - create_args['numa_affinity_policy'] = numa_affinity_policy - self.network_client.create_port.assert_called_once_with(**create_args) - -- self.assertEqual(set(self.columns), set(columns)) -+ self.assertCountEqual(self.columns, columns) - self.assertCountEqual(self.data, data) - - def test_create_with_numa_affinity_policy_required(self): -@@ -940,7 +940,7 @@ class TestCreatePort(TestPort): - 'device_profile': 'cyborg_device_profile_1', - } - self.network_client.create_port.assert_called_once_with(**create_args) -- self.assertEqual(set(self.columns), set(columns)) -+ self.assertCountEqual(self.columns, columns) - self.assertCountEqual(self.data, data) - - def test_create_hints_invalid_json(self): -@@ -1032,7 +1032,7 @@ class TestCreatePort(TestPort): - } - ) - -- self.assertEqual(set(self.columns), set(columns)) -+ self.assertCountEqual(self.columns, columns) - self.assertCountEqual(self.data, data) - - def test_create_hints_valid_json(self): -@@ -1067,7 +1067,7 @@ class TestCreatePort(TestPort): - } - ) - -- self.assertEqual(set(self.columns), set(columns)) -+ self.assertCountEqual(self.columns, columns) - self.assertCountEqual(self.data, data) - - -@@ -2496,7 +2496,7 @@ class TestShowPort(TestPort): - self._port.name, ignore_missing=False - ) - -- self.assertEqual(set(self.columns), set(columns)) -+ self.assertCountEqual(self.columns, columns) - self.assertCountEqual(self.data, data) - - --- -2.43.0 - diff --git a/dev-python/python-openstackclient/python-openstackclient-6.3.0.ebuild b/dev-python/python-openstackclient/python-openstackclient-6.3.0.ebuild deleted file mode 100644 index 43812b33853d..000000000000 --- a/dev-python/python-openstackclient/python-openstackclient-6.3.0.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A client for the OpenStack APIs" -HOMEPAGE=" - https://opendev.org/openstack/python-openstackclient/ - https://github.com/openstack/python-openstackclient/ - https://pypi.org/project/python-openstackclient/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -RDEPEND=" - >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] - >=dev-python/cliff-3.5.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-2.7[${PYTHON_USEDEP}] - >=dev-python/openstacksdk-1.4.0[${PYTHON_USEDEP}] - >=dev-python/osc-lib-2.3.0[${PYTHON_USEDEP}] - >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] - >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] - >=dev-python/python-keystoneclient-3.22.0[${PYTHON_USEDEP}] - >=dev-python/python-novaclient-18.1.0[${PYTHON_USEDEP}] - >=dev-python/python-cinderclient-3.3.0[${PYTHON_USEDEP}] - >=dev-python/stevedore-2.0.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] - test? ( - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] - >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] - >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] - >=dev-python/tempest-17.1.0[${PYTHON_USEDEP}] - >=dev-python/wrapt-1.7.0[${PYTHON_USEDEP}] - >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -src_prepare() { - local PATCHES=( - # backport from master - "${FILESDIR}/${P}-test.patch" - ) - - # Depends on specific runner - sed -e 's/test_command_has_logger/_&/' -i openstackclient/tests/unit/common/test_command.py || die - - distutils-r1_src_prepare -} - -python_test() { - # functional tests require cloud instance access - eunittest -b openstackclient/tests/unit -} diff --git a/dev-python/python-socks/Manifest b/dev-python/python-socks/Manifest index c25ba3ae9dea..786c6eabf23a 100644 --- a/dev-python/python-socks/Manifest +++ b/dev-python/python-socks/Manifest @@ -1,2 +1 @@ -DIST python-socks-2.4.3.gh.tar.gz 32006 BLAKE2B 571c04e5b12ddff3e6d813b547b43899883ef132ad0e55c2fce33ae9e4cd63ca588fb700aba7e2ea5c021f55c7aeae0f8213d2aa8fca3d7bff502b7bd00ca854 SHA512 5ef55367b1fae2249690df0eb8ea55284f02287115b14e8b7ebeeed9ae3e8ed431e17247f369323651daa1177ac8c6dd207d5dd188134e04eff178dc240b9b8b DIST python-socks-2.4.4.gh.tar.gz 31998 BLAKE2B c3aa137ff679790420ded9644987eed23695c82a5621c420350ad52ca8121215326575f4c389912fb646151fc84187bfab38674ff6dc2a2f3587c4662f51c0f6 SHA512 a357fbd16cf653555bb624103732041efa80b1ae21a6347fdcb609de3cc58227ac053d21b62124fd77b21a16b19a2786bc1a8c33cc3b50dcffb3023bd6704f57 diff --git a/dev-python/python-socks/python-socks-2.4.3.ebuild b/dev-python/python-socks/python-socks-2.4.3.ebuild deleted file mode 100644 index b2fb73b2660b..000000000000 --- a/dev-python/python-socks/python-socks-2.4.3.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="SOCKS4, SOCKS5, HTTP tunneling functionality for Python" -HOMEPAGE=" - https://github.com/romis2012/python-socks/ - https://pypi.org/project/python-socks/ -" -SRC_URI=" - https://github.com/romis2012/python-socks/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -# curio is not packaged -# asyncio is the only backend we have, so dep on its deps unconditionally -# TODO: revisit -RDEPEND=" - dev-python/async-timeout[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/anyio-3.4.0[${PYTHON_USEDEP}] - >=dev-python/async-timeout-3.0.1[${PYTHON_USEDEP}] - >=dev-python/flask-1.1.2[${PYTHON_USEDEP}] - >=dev-python/pytest-asyncio-0.18.3[${PYTHON_USEDEP}] - >=dev-python/pytest-trio-0.7.0[${PYTHON_USEDEP}] - >=dev-python/tiny-proxy-0.1.1[${PYTHON_USEDEP}] - >=dev-python/trio-0.16.0[${PYTHON_USEDEP}] - >=dev-python/trustme-0.9.0[${PYTHON_USEDEP}] - >=dev-python/yarl-1.4.2[${PYTHON_USEDEP}] - ) -" - -# Test markers exist to exclude trio etc if needed -distutils_enable_tests pytest diff --git a/dev-python/queuelib/queuelib-1.6.2.ebuild b/dev-python/queuelib/queuelib-1.6.1-r1.ebuild index a60beff2595f..2fd9a2f7a9e9 100644 --- a/dev-python/queuelib/queuelib-1.6.2.ebuild +++ b/dev-python/queuelib/queuelib-1.6.1-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 2020-2021 Liguros Authors +# Copyright 2020-2023 Liguros Authors # Distributed under the terms of the GNU General Public License v3.0 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{8,9,10,11,12} ) @@ -8,7 +8,7 @@ inherit distutils-r1 DESCRIPTION="Collection of persistent (disk-based) queues" HOMEPAGE="https://github.com/scrapy/queuelib" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" +SRC_URI="https://files.pythonhosted.org/packages/28/c3/c4371429aac06c9d6e1eae84a711b0ba61219b2ca7722db075c8abe9e088/queuelib-1.6.1.tar.gz" LICENSE="BSD" SLOT="0" diff --git a/dev-python/queuelib/queuelib-1.6.1.ebuild b/dev-python/queuelib/queuelib-1.6.2-r1.ebuild index a60beff2595f..b2f8f8dc18d8 100644 --- a/dev-python/queuelib/queuelib-1.6.1.ebuild +++ b/dev-python/queuelib/queuelib-1.6.2-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 2020-2021 Liguros Authors +# Copyright 2020-2023 Liguros Authors # Distributed under the terms of the GNU General Public License v3.0 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{8,9,10,11,12} ) @@ -8,7 +8,7 @@ inherit distutils-r1 DESCRIPTION="Collection of persistent (disk-based) queues" HOMEPAGE="https://github.com/scrapy/queuelib" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" +SRC_URI="https://files.pythonhosted.org/packages/4d/11/94d3a5c1a03fa984b3f793ceecfac4b685ca9fc7a3af03f806dbb973555b/queuelib-1.6.2.tar.gz" LICENSE="BSD" SLOT="0" diff --git a/dev-python/referencing/Manifest b/dev-python/referencing/Manifest index 7be5fc7dbc00..f8fc0e2b6ed9 100644 --- a/dev-python/referencing/Manifest +++ b/dev-python/referencing/Manifest @@ -1,2 +1 @@ -DIST referencing-0.31.1.tar.gz 54177 BLAKE2B d6973740dda23da9730f279176dc729327ac4c16d8420852ff7d6298c48ea6428281acf5de44557e7522d399f0ced2cb83730b07c166476eab633517add36974 SHA512 3522461dc9ba4fee0e8dceaf753094bb1a204fb5b08534a80147c567e5b8cc70c0d27d4ae0cb420725d2e2ad8e6565bd1891201cbdd9db91c9a6816cdad857f9 DIST referencing-0.32.0.tar.gz 54826 BLAKE2B ff098c83b5fa7e3bf58a5ed4e4a89983bb59b241bc2bf6dc4d7e303e570ea035e59caefa9fcca2d255764148a95511e2f9fb953beb3d2f1939bfb5d20becd2a3 SHA512 5df7693e6f0f4c9b572a0bb8d78938fb831396d0b25a59fc61d196bd92d61346c6e443babbf986470c95d7663d8f7678a5a92850a29f750769e5afb412d9fa54 diff --git a/dev-python/referencing/referencing-0.31.1.ebuild b/dev-python/referencing/referencing-0.31.1.ebuild deleted file mode 100644 index b56133565897..000000000000 --- a/dev-python/referencing/referencing-0.31.1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Cross-specification JSON referencing (JSON Schema, OpenAPI...)" -HOMEPAGE=" - https://github.com/python-jsonschema/referencing/ - https://pypi.org/project/referencing/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/rpds-py-0.7.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pytest-subtests[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/regex/Manifest b/dev-python/regex/Manifest index 2cedfe2afee5..8ad6e7db3f08 100644 --- a/dev-python/regex/Manifest +++ b/dev-python/regex/Manifest @@ -1 +1,2 @@ DIST regex-2023.10.3.tar.gz 394659 BLAKE2B 2a842b307efb32c87087991312d09a03f0772729ba290222c9917073a6335c7d6cc76bc0d193352d9904ce655868d3415f75b93861de612fceeb8507080da1fb SHA512 c300f5c8218697362a15ec9bcbef60e510743ab098d8f2fcf1c8e9e39c19f848c60ae85def93780a1696a7ed864a69e704e045e995cd5bafb26bfec117a16609 +DIST regex-2023.12.25.tar.gz 394706 BLAKE2B 742abe3a3515b527465d81df8fd9404aaa6aa1545e3e6a8c4a87d72d41138caf7f63bceae8bf06b3576656a6b5577bfec51629a60fe837ad2f3a4cd60a08ac06 SHA512 ecc5916633e2acb8d8a0c5ccfdc1c612f673546c42271d5627aa92a163fa6c8fd5a30ed734a02c23fa64807aaf2f883fa51175b7f482888631f699e77d1c0e15 diff --git a/dev-python/regex/regex-2023.12.25.ebuild b/dev-python/regex/regex-2023.12.25.ebuild new file mode 100644 index 000000000000..d96c14209e77 --- /dev/null +++ b/dev-python/regex/regex-2023.12.25.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Alternative regular expression module to replace re" +HOMEPAGE=" + https://github.com/mrabarnett/mrab-regex/ + https://pypi.org/project/regex/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +IUSE="doc" + +PATCHES=( + "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_empty_array.patch" + "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_issue_18468.patch" +) + +distutils_enable_tests unittest + +python_install_all() { + use doc && local HTML_DOCS=( docs/Features.html ) + local DOCS=( README.rst docs/*.rst ) + + distutils-r1_python_install_all +} diff --git a/dev-python/selenium/selenium-4.16.0.ebuild b/dev-python/selenium/selenium-4.16.0.ebuild index 404f6e772d01..312abfe82077 100644 --- a/dev-python/selenium/selenium-4.16.0.ebuild +++ b/dev-python/selenium/selenium-4.16.0.ebuild @@ -25,7 +25,7 @@ SRC_URI+=" ) " -KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc ~x86" LICENSE="Apache-2.0" SLOT="0" diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest index 99fb197ad61d..387161d16a80 100644 --- a/dev-python/setuptools/Manifest +++ b/dev-python/setuptools/Manifest @@ -1 +1,2 @@ DIST setuptools-69.0.2.tar.gz 2219248 BLAKE2B 8873ce1eb0a04a8f561eaa9ea8332eb37ca8646e9ed2bb2f4723df0351b01d60ab94172ea34963b0084839b713b9a47e09ee00f82ec46297c7646565e4189ee4 SHA512 1a2955c8ff5955cb028f60ca538472c3a24dbda27984ef51ab59f6969e100b183456af82bc978a02f771b952908985eb85312065849f1afc64530d6461c7c6f6 +DIST setuptools-69.0.3.tar.gz 2219609 BLAKE2B 1a5e7896c7ea82d51b0aa4794435b9899cef871f6ae43d22ae5e08c57d87b70641f3f2abfcc29956a3de515f90b112fd61d3daf793474b4cf33f8567e3a38f4a SHA512 11df934931f4b73f7e07ea5713479593c6baa134d423556b2ae7aff0f1e5bdbdee1f5b516131adb169c838231ceb0293441fbf275ef7030dabecf74122565b6d diff --git a/dev-python/setuptools/setuptools-69.0.3.ebuild b/dev-python/setuptools/setuptools-69.0.3.ebuild new file mode 100644 index 000000000000..f79cebd832dd --- /dev/null +++ b/dev-python/setuptools/setuptools-69.0.3.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +# please bump dev-python/ensurepip-setuptools along with this package! + +DISTUTILS_USE_PEP517=standalone +PYTHON_TESTED=( python3_{8,9,10,11,12} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Collection of extensions to Distutils" +HOMEPAGE=" + https://github.com/pypa/setuptools/ + https://pypi.org/project/setuptools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] + >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] + >=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}] + >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.6.2-r1[${PYTHON_USEDEP}] + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + dev-python/build[${PYTHON_USEDEP}] + >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}] + >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] + >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] + >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pip-run[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-fixture-config[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-virtualenv[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" +# setuptools-scm is here because installing plugins apparently breaks stuff at +# runtime, so let's pull it early. See bug #663324. +PDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +src_prepare() { + local PATCHES=( + # TODO: remove this when we're 100% PEP517 mode + "${FILESDIR}"/setuptools-62.4.0-py-compile.patch + ) + + distutils-r1_src_prepare + + # remove bundled dependencies + rm -r */_vendor || die + + # remove the ugly */extern hack that breaks on unvendored deps + rm -r */extern || die + find -name '*.py' -exec sed \ + -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \ + -i {} + || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + return + fi + + local EPYTEST_DESELECT=( + # network + # TODO: see if PRE_BUILT_SETUPTOOLS_* helps + setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg + setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist + setuptools/tests/test_build_meta.py::test_legacy_editable_install + setuptools/tests/test_distutils_adoption.py + setuptools/tests/test_editable_install.py + setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests + setuptools/tests/test_virtualenv.py::test_clean_env_install + setuptools/tests/test_virtualenv.py::test_no_missing_dependencies + setuptools/tests/test_virtualenv.py::test_test_command_install_requirements + # TODO + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors + setuptools/tests/test_extern.py::test_distribution_picklable + # expects bundled deps in virtualenv + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel + # fails if python-xlib is installed + setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts + # TODO, probably some random package + setuptools/tests/config/test_setupcfg.py::TestOptions::test_cmdclass + ) + + local EPYTEST_XDIST=1 + epytest setuptools +} diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index ea8a69b49fa1..71084b030cd8 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,5 +1,3 @@ DIST stripe-7.10.0.tar.gz 783205 BLAKE2B ab06c4f81bd3f2492a1e5982995f5205f345f395b8cc7e470a22af62d57421789208c76097a08019550a61ab65b41ea24305bd303a9e3d6e3cb791fe552bcbc7 SHA512 dbdfd2ca11f592caa31fb53b0204e64292d4471d5d3e607447bbcfabe24db684331d77f0ff12da77ec5c4ad20709328a7366eb55b9c3d804ca39442971cefcde -DIST stripe-7.7.0.tar.gz 747906 BLAKE2B 40d6f4cdbefef54df8aa84529c879f9cfe3b36fafb35cdc12e98513ae63e3fc41a38174def79adf2e891445502771437489f73010b206a005a02883ef51400fd SHA512 988bf67fce52c5b48e8a7d0d6dac408fd5bc1bd3cbd0d80b06ab5b7b8c44a5daa231c6f3f5e563cea2a717cbec56ae4a83eac9526a463074ff3d1d2cb68a6b92 -DIST stripe-7.8.1.tar.gz 768885 BLAKE2B 4e38fec0751fe7314e42303230d602b5f16daa40d833c749c29fa68cdd954cb604a2a0bcc7527253852499920ab5981629ca325d739fc56330bac4ab31b2bbd4 SHA512 cbee9cc0133fa18efa6582da032685fa44cd0446a2d032015410ca60a68ae5ce4a6dc5f82cedb24b1acc09a3c638e0f59f85e72798ee55603039b6fad27fe98e DIST stripe-7.8.2.tar.gz 769204 BLAKE2B 44a6d49ab79c0ea7854000502b55445d3ec691152a4bd4a9615095d8605df35ff4f3e3de1a69c2e45c8c4dc773ee626aab61680cafb92cf9a6b34f2f9f5523ef SHA512 7fddb1d668d921bf557a788427c7d7ecf7d47fba06a40185cc31c64ebfac858728654e1c4fbeff4bd76687a693951eec6791d833bc285aba23f352ec04260071 DIST stripe-7.9.0.tar.gz 772219 BLAKE2B d119308b12589c4de1f54705f80ae627bd7ca26b565f42bfb4569db42183f20c29086933becdaee65177f01fbcf0481a4b9ec0119ef984b471d083600d75b362 SHA512 6d73ef7e2a366634dd5736733d9b798e9df103a9d25a361f649c5d97924fc7d65efd80f2d471b47dfccbc8080a87a18a96c3f40258ca0a9aef7d1b21f7919bb5 diff --git a/dev-python/stripe/stripe-7.7.0.ebuild b/dev-python/stripe/stripe-7.7.0.ebuild deleted file mode 100644 index a279ebb000c7..000000000000 --- a/dev-python/stripe/stripe-7.7.0.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Stripe python bindings" -HOMEPAGE=" - https://github.com/stripe/stripe-python/ - https://pypi.org/project/stripe/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 x86" - -RDEPEND=" - >=dev-python/requests-2.20[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] -" -# please bump dev-util/stripe-mock dep to the latest version on every bump -BDEPEND=" - test? ( - >=dev-util/stripe-mock-0.178.0 - dev-python/pytest-mock[${PYTHON_USEDEP}] - net-misc/curl - ) -" - -distutils_enable_tests pytest - -DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests -p pytest_mock -} - -src_test() { - local stripe_mock_port=12111 - local stripe_mock_max_port=12121 - local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" - # Try to start stripe-mock until we find a free port - while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do - ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" - stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & - local stripe_mock_pid=${!} - sleep 2 - # Did stripe-mock start? - curl --fail -u "sk_test_123:" \ - "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null - eend ${?} "Port ${stripe_mock_port} unavailable" - if [[ ${?} -eq 0 ]]; then - einfo "stripe-mock running on port ${stripe_mock_port}" - break - fi - (( stripe_mock_port++ )) - done - if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then - eerror "Unable to start stripe-mock for tests" - die "Please see the logfile located at: ${stripe_mock_logfile}" - fi - - local -x STRIPE_MOCK_PORT=${stripe_mock_port} - distutils-r1_src_test - - # Tear down stripe-mock - kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" -} diff --git a/dev-python/stripe/stripe-7.8.1.ebuild b/dev-python/stripe/stripe-7.8.1.ebuild deleted file mode 100644 index cd9f43a78c7c..000000000000 --- a/dev-python/stripe/stripe-7.8.1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Stripe python bindings" -HOMEPAGE=" - https://github.com/stripe/stripe-python/ - https://pypi.org/project/stripe/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - >=dev-python/requests-2.20[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] -" -# please bump dev-util/stripe-mock dep to the latest version on every bump -BDEPEND=" - test? ( - >=dev-util/stripe-mock-0.178.0 - dev-python/pytest-mock[${PYTHON_USEDEP}] - net-misc/curl - ) -" - -distutils_enable_tests pytest - -DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests -p pytest_mock -} - -src_test() { - local stripe_mock_port=12111 - local stripe_mock_max_port=12121 - local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" - # Try to start stripe-mock until we find a free port - while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do - ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" - stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & - local stripe_mock_pid=${!} - sleep 2 - # Did stripe-mock start? - curl --fail -u "sk_test_123:" \ - "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null - eend ${?} "Port ${stripe_mock_port} unavailable" - if [[ ${?} -eq 0 ]]; then - einfo "stripe-mock running on port ${stripe_mock_port}" - break - fi - (( stripe_mock_port++ )) - done - if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then - eerror "Unable to start stripe-mock for tests" - die "Please see the logfile located at: ${stripe_mock_logfile}" - fi - - local -x STRIPE_MOCK_PORT=${stripe_mock_port} - distutils-r1_src_test - - # Tear down stripe-mock - kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" -} diff --git a/dev-python/sympy/sympy-1.12.ebuild b/dev-python/sympy/sympy-1.12.ebuild deleted file mode 100644 index df0de9d051e4..000000000000 --- a/dev-python/sympy/sympy-1.12.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 virtualx - -DESCRIPTION="Computer Algebra System in pure Python" -HOMEPAGE=" - https://www.sympy.org/ - https://github.com/sympy/sympy/ - https://pypi.org/project/sympy/ -" -SRC_URI=" - https://github.com/sympy/sympy/archive/${P}.tar.gz -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${PN}-${P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet symengine texmacs" - -RDEPEND=" - dev-python/mpmath[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - aesara? ( - $(python_gen_cond_dep ' - dev-python/aesara[${PYTHON_USEDEP}] - ' python3_{10..11}) - ) - imaging? ( dev-python/pillow[${PYTHON_USEDEP}] ) - ipython? ( dev-python/ipython[${PYTHON_USEDEP}] ) - latex? ( - virtual/latex-base - dev-texlive/texlive-fontsextra - png? ( app-text/dvipng ) - pdf? ( app-text/ghostscript-gpl ) - ) - mathml? ( dev-python/lxml[${PYTHON_USEDEP}] ) - opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) - pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] ) - symengine? ( dev-python/symengine[${PYTHON_USEDEP}] ) - texmacs? ( app-office/texmacs ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}/${P}-py312.patch" -) - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # require old version of antlr4 - sympy/parsing/tests/test_autolev.py - sympy/parsing/tests/test_latex.py - # crash due to assertions in sys-devel/llvm[debug] - sympy/parsing/tests/test_c_parser.py - - # TODO: pytest? - sympy/solvers/ode/tests/test_systems.py::test_linear_3eq_order1_type4_long_check - sympy/solvers/ode/tests/test_systems.py::test_linear_3eq_order1_type4_long_dsolve_dotprodsimp - - # either very slow or hanging - sympy/solvers/ode/tests/test_systems.py::test_linear_new_order1_type2_de_lorentz_slow_check - sympy/integrals/tests/test_failing_integrals.py::test_issue_15227 - sympy/matrices/tests/test_matrices.py::test_pinv_rank_deficient_when_diagonalization_fails - sympy/solvers/ode/tests/test_systems.py::test_nonlinear_3eq_order1_type1 - sympy/solvers/ode/tests/test_systems.py::test_nonlinear_3eq_order1_type3 - ) - - case ${EPYTHON} in - pypy3) - if has_version "<dev-python/pypy3_10-exe-7.3.13_p2" || - has_version "<dev-python/pypy3_10-exe-bin-7.3.13_p2" - then - EPYTEST_DESELECT+=( - # https://foss.heptapod.net/pypy/pypy/-/issues/4032 - sympy/tensor/array/tests/test_array_comprehension.py::test_arraycomprehensionmap - ) - fi - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - nonfatal epytest --veryquickcheck || - die -n "Tests failed with ${EPYTHON}" -} - -python_install_all() { - local DOCS=( AUTHORS README.md ) - - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all - - if use texmacs; then - exeinto /usr/libexec/TeXmacs/bin/ - doexe data/TeXmacs/bin/tm_sympy - insinto /usr/share/TeXmacs/plugins/sympy/ - doins -r data/TeXmacs/progs - fi -} diff --git a/dev-python/tekore/Manifest b/dev-python/tekore/Manifest index c23cd281b3d9..d4afb1be2146 100644 --- a/dev-python/tekore/Manifest +++ b/dev-python/tekore/Manifest @@ -1 +1,2 @@ DIST tekore-5.2.1.gh.tar.gz 262294 BLAKE2B 9572f4e45d4e90421b49697e816e4c83220af55360276f77ad86fd4469afdb214ec5dceab6e65170e9050d0e728f0f4998c99c30e6379c25c405f922b61ad853 SHA512 f91d9b166acf2a9906dff4aec00328221f4d54e6f833b982cc782168552284c29ddd03f8da052ccabd93dc2e7bbe72c95019599d6b57fcccd1561f36d7136e63 +DIST tekore-5.3.0.gh.tar.gz 262670 BLAKE2B 7d97a94ddb516e4c1fdfd391377d08b5df444fd4e753be6d7f8a41cd21ed118e27ee29a8364e69e564d94f31916f10511c1472aad2586c4ba016aa97ae8248f5 SHA512 5ff2520af36236a61be4681ebe5df011a67f0db9c2b88e58958368435f8c3a4c183f94657f9a84c16156cff54b856a8f93867ce2d475075ccffaf2230428c219 diff --git a/dev-python/tekore/tekore-5.3.0.ebuild b/dev-python/tekore/tekore-5.3.0.ebuild new file mode 100644 index 000000000000..8727a16c9c29 --- /dev/null +++ b/dev-python/tekore/tekore-5.3.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Spotify Web API client" +HOMEPAGE=" + https://tekore.readthedocs.io/ + https://github.com/felix-hilden/tekore/ + https://pypi.org/project/tekore/ +" +SRC_URI=" + https://github.com/felix-hilden/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +KEYWORDS="~amd64 ~arm64" +SLOT="0" + +RDEPEND=" + dev-python/httpx[${PYTHON_USEDEP}] + >=dev-python/pydantic-1.8[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + >=dev-python/pydantic-2[${PYTHON_USEDEP}] + >=dev-python/pytest-asyncio-0.17[${PYTHON_USEDEP}] + dev-python/pytest-httpx[${PYTHON_USEDEP}] + ) +" + +DOCS=( readme.rst ) + +distutils_enable_tests pytest +# TODO: package sphinx_codeautolink +# distutils_enable_sphinx docs/src \ +# dev-python/sphinx-rtd-theme \ +# dev-python/sphinx-tabs \ +# dev-python/sphinx-autodoc-typehints + +EPYTEST_DESELECT=( + # Internet + tests/auth/expiring.py::TestCredentialsOnline::test_bad_arguments_raises_error +) + +src_prepare() { + # unpin dependencies + sed -i -e 's:,<[0-9.]*::' pyproject.toml || die + + distutils-r1_src_prepare +} diff --git a/dev-python/xstatic-termjs/Manifest b/dev-python/xstatic-termjs/Manifest index 99666a53dcac..7643c5067855 100644 --- a/dev-python/xstatic-termjs/Manifest +++ b/dev-python/xstatic-termjs/Manifest @@ -1 +1 @@ -DIST xstatic-termjs-0.0.7.0.tar.gz 38301 BLAKE2B 29b1832e013e32e32c07a32a12fadd242406d1f404a89602f6b48f82b44232cfa7a07e5749e0a506c17efdf6f6b6c4f7f5ef8a98b9a194f24ecf0620cc449b90 SHA512 bde2504b743be3cee191dc9ae42321e432a71ded850bb5b4f585e29a7bba5b3d9c7c4ceb464548b90df7c67e470f6cd6f0587bb0c65635046b58d17818151b95 +DIST XStatic-term.js-0.0.7.0.tar.gz 38301 BLAKE2B 29b1832e013e32e32c07a32a12fadd242406d1f404a89602f6b48f82b44232cfa7a07e5749e0a506c17efdf6f6b6c4f7f5ef8a98b9a194f24ecf0620cc449b90 SHA512 bde2504b743be3cee191dc9ae42321e432a71ded850bb5b4f585e29a7bba5b3d9c7c4ceb464548b90df7c67e470f6cd6f0587bb0c65635046b58d17818151b95 diff --git a/dev-python/xstatic-termjs/xstatic-termjs-0.0.7.0.ebuild b/dev-python/xstatic-termjs/xstatic-termjs-0.0.7.0-r1.ebuild index 0baeb00bdd6c..4ae5cc3d323a 100644 --- a/dev-python/xstatic-termjs/xstatic-termjs-0.0.7.0.ebuild +++ b/dev-python/xstatic-termjs/xstatic-termjs-0.0.7.0-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 2020-2021 Liguros Authors +# Copyright 2020-2023 Liguros Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{8,9,10,11,12} ) @@ -11,7 +11,7 @@ MY_P="${MY_PN}-${PV}" DESCRIPTION="term.js javascript library packaged for setuptools (easy_install)/pip" HOMEPAGE="https://pypi.org/project/XStatic-term.js" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://files.pythonhosted.org/packages/63/7a/7bfec29f5f28fdda7170ebbbb2204aeb1d33d6050f3476a807590de06434/XStatic-term.js-0.0.7.0.tar.gz" LICENSE="MIT" SLOT="0" |
