diff options
Diffstat (limited to 'dev-python')
130 files changed, 817 insertions, 2186 deletions
diff --git a/dev-python/PyQt-builder/PyQt-builder-1.15.4.ebuild b/dev-python/PyQt-builder/PyQt-builder-1.15.4.ebuild index 41e9a60f6445..3bfb738d79ac 100644 --- a/dev-python/PyQt-builder/PyQt-builder-1.15.4.ebuild +++ b/dev-python/PyQt-builder/PyQt-builder-1.15.4.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt-builder/" LICENSE="|| ( GPL-2 GPL-3 SIP )" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~x86" RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] diff --git a/dev-python/aiomysql/aiomysql-0.1.1.ebuild b/dev-python/aiomysql/aiomysql-0.1.1.ebuild index 2f63ac0b6885..b062a7b2ead1 100644 --- a/dev-python/aiomysql/aiomysql-0.1.1.ebuild +++ b/dev-python/aiomysql/aiomysql-0.1.1.ebuild @@ -22,7 +22,6 @@ KEYWORDS="~amd64 ~x86" RDEPEND="dev-python/pymysql[${PYTHON_USEDEP}]" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] - dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}] test? ( $(python_gen_impl_dep "ssl") dev-python/sqlalchemy[${PYTHON_USEDEP}] @@ -31,6 +30,7 @@ BDEPEND=" " DOCS=( CHANGES.txt {CONTRIBUTING,README}.rst ) +PATCHES=( "${FILESDIR}/${P}-git_archive.patch" ) EPYTEST_IGNORE=( # No Table.count() method in recent PyMySQL diff --git a/dev-python/aiomysql/files/aiomysql-0.1.1-git_archive.patch b/dev-python/aiomysql/files/aiomysql-0.1.1-git_archive.patch new file mode 100644 index 000000000000..6663bb74aed3 --- /dev/null +++ b/dev-python/aiomysql/files/aiomysql-0.1.1-git_archive.patch @@ -0,0 +1,12 @@ +diff --git a/pyproject.toml b/pyproject.toml +index 4e903b7..ad127f2 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -5,7 +5,6 @@ requires = [ + + # Plugins + "setuptools_scm[toml] >= 6.4", +- "setuptools_scm_git_archive >= 1.1", + ] + build-backend = "setuptools.build_meta" + diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest index c106247e9568..64e242aa53d0 100644 --- a/dev-python/alembic/Manifest +++ b/dev-python/alembic/Manifest @@ -1,2 +1 @@ -DIST alembic-1.12.1.tar.gz 1200204 BLAKE2B 640435e09ee7d33c7fa375b6fa784e2ef4097b50074753341717bc21fa8bd838ca00ced6c5cc9e3d82eca494270ffe84bc4b74dc96ed01cb9aded77f21e33520 SHA512 c76bae8f22dcbb4b2d235a17059a756c33bf40d4ea62b937373a29dab7c4f6e36eef0030a721222663c191eba565530299d28726f06e0c40d74daec1d3e03b33 DIST alembic-1.13.0.tar.gz 1208438 BLAKE2B e5e3040eecd74e6095062dac51138f91b79197af6410a451f7a7ac699f8d31d12ab4e381f8b1e9ce04fd8c897339d5074493e4ef95f294276ea5d67403504229 SHA512 c9a014fc30000a09fa69e7a56cb591000443317d0cc3576fd6bd70cab7cec29906fa48d57e40dcf12d7dd93762de0d6f395fb37c9d5c1780664555757f387262 diff --git a/dev-python/alembic/alembic-1.12.1.ebuild b/dev-python/alembic/alembic-1.12.1.ebuild deleted file mode 100644 index f6d4d77a1032..000000000000 --- a/dev-python/alembic/alembic-1.12.1.ebuild +++ /dev/null @@ -1,41 +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="Database migrations tool, written by the author of SQLAlchemy" -HOMEPAGE=" - https://github.com/sqlalchemy/alembic/ - https://pypi.org/project/alembic/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 ~riscv x86" -IUSE="doc" - -RDEPEND=" - >=dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] - dev-python/mako[${PYTHON_USEDEP}] - >=dev-python/python-editor-0.3[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - # setup.cfg contains -p no:warnings in addopts which triggers - # datetime.utcfromtimestamp() deprecation warning as an error in py3.12 - epytest -o addopts= -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/alembic/alembic-1.13.0.ebuild b/dev-python/alembic/alembic-1.13.0.ebuild index 0abae3f8fed2..7578c1a01d36 100644 --- a/dev-python/alembic/alembic-1.13.0.ebuild +++ b/dev-python/alembic/alembic-1.13.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="amd64 arm64 ~riscv x86" IUSE="doc" RDEPEND=" diff --git a/dev-python/aws-sam-translator/Manifest b/dev-python/aws-sam-translator/Manifest index 89c3d338201b..92091a9e1502 100644 --- a/dev-python/aws-sam-translator/Manifest +++ b/dev-python/aws-sam-translator/Manifest @@ -1,2 +1 @@ -DIST serverless-application-model-1.81.0.gh.tar.gz 5135291 BLAKE2B a55cf5600184e49f3168f4fef201167b91469c9968cff6350c0138fb013c23140b94144564d0ca764d91dc7e683e8f8e2e15ed57277b6e6f71cdef419f93b822 SHA512 939d882c4c64396855f0ff6ae168554dd25dc73fe77e0c34c195be408850b8b9109b9e5b7dc7375a1fa9f53462c573a12683e36fd1d3cf0e9014b754a014f1b9 DIST serverless-application-model-1.82.0.gh.tar.gz 5135310 BLAKE2B f49bdbbc009f5d41d03c0a1b82ca5a6b1ed03e14989c364eb0047cc7e90ba948a52f41237b06a35d3a48bcf2f4eac0570903e6a3a95801ffad8b9756a1f62f0e SHA512 cd757b1b99a515bed5f1cb521a23e70bc7b2e05c5566eb86198fcc77e6dfbbf74237ed7ef05e20f1a9021d57b097bf21bed1219f54a0696f6a081bc5c2321826 diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.81.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.81.0.ebuild deleted file mode 100644 index 00d6fe2fd41b..000000000000 --- a/dev-python/aws-sam-translator/aws-sam-translator-1.81.0.ebuild +++ /dev/null @@ -1,62 +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 multiprocessing - -MY_P=serverless-application-model-${PV} -DESCRIPTION="A library that transform SAM templates into AWS CloudFormation templates" -HOMEPAGE=" - https://github.com/aws/serverless-application-model/ - https://pypi.org/project/aws-sam-translator/ -" -SRC_URI=" - https://github.com/aws/serverless-application-model/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - <dev-python/boto3-2[${PYTHON_USEDEP}] - >=dev-python/boto3-1.19.5[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.2[${PYTHON_USEDEP}] - <dev-python/pydantic-3[${PYTHON_USEDEP}] - >=dev-python/pydantic-1.8[${PYTHON_USEDEP}] - <dev-python/typing-extensions-5[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.4[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # so much noise... - sed -i -e '/log_cli/d' pytest.ini || die - - # deps are installed by ebuild, don't try to reinstall them via pip - truncate --size=0 requirements/*.txt || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x AWS_DEFAULT_REGION=us-east-1 - epytest -o addopts= -o filterwarnings= \ - -p xdist -n "$(makeopts_jobs)" --dist=worksteal -} diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.82.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.82.0.ebuild index ec337b277ed2..00d6fe2fd41b 100644 --- a/dev-python/aws-sam-translator/aws-sam-translator-1.82.0.ebuild +++ b/dev-python/aws-sam-translator/aws-sam-translator-1.82.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" RDEPEND=" <dev-python/boto3-2[${PYTHON_USEDEP}] diff --git a/dev-python/bitarray/Manifest b/dev-python/bitarray/Manifest index 631d3a14ee5a..bda59f3c84df 100644 --- a/dev-python/bitarray/Manifest +++ b/dev-python/bitarray/Manifest @@ -1,4 +1,2 @@ -DIST bitarray-2.8.3.tar.gz 128790 BLAKE2B 198723c7e26ad1638f541ae5269a9294e4588d8ece76121c4e2758f79dd704217fb0a83da3b5798f95f93006a18c4a6704aeb0efc7d55a42cc277789c6581154 SHA512 60c551ec98746495c3ae73fc40b660bcadc27dcbb42f022524daf33830494f5d168b9577bb5270de42f59da43a52548cfdb262c3386fafe6c1dd1d18592a7a7e -DIST bitarray-2.8.4.tar.gz 129128 BLAKE2B d41ab6d83825c479b4b70aa52d5e314c68223ce46b32a8e5ff3abfd7afd7bb4bb03ffb478d8c58979204109582d725dfdca5070058d0d5dc76fd529cdc347392 SHA512 42533daa7cd98d94f103a873be72244a0a0973dadcbb35441d5efd8134e57b4cd7f77ed734870b58a931f465f26dac1bf81008febac8439b2fa427063ad4947e DIST bitarray-2.8.5.tar.gz 129895 BLAKE2B a0dc14c488c2c818ca1bbd60abc51fe800b7c4f8a015f373baf90894ea42fe1c70c4d13d235bcbac55fcccb70e2b1245e2b39a0f485e4ce62c44472d3f3f2c9b SHA512 fcae4223608cf308bd1ce07749de2a0c3f00c5d0ff471b25da8c0cc5c289b3776aea0ff24fc7be6b8b89fb86ce268a1989488559b0ed9b08a347d3bb476daaa6 DIST bitarray-2.9.0.tar.gz 132895 BLAKE2B c10687a90267b91f9fbe4f9b3ca90ec4d6bcf079a43f02b697650efcb319c3b0abbf305bac3507d18f784a3e6b202bab25b7781ce2386f3ccd328ec115e93bd3 SHA512 c436e4e580a8050ce9befe1290b44b61094b550dda12fed1734d927eb3744eefb5312c3903865897b8dccf1b0e02b1053686eaf0e6a0317b93745e9fcf2fb0a9 diff --git a/dev-python/bitarray/bitarray-2.8.3.ebuild b/dev-python/bitarray/bitarray-2.8.3.ebuild deleted file mode 100644 index 3a0a4207ff8d..000000000000 --- a/dev-python/bitarray/bitarray-2.8.3.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# 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/bitarray/bitarray-2.8.4.ebuild b/dev-python/bitarray/bitarray-2.8.4.ebuild deleted file mode 100644 index 838465af319e..000000000000 --- a/dev-python/bitarray/bitarray-2.8.4.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# 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/bitarray/bitarray-2.8.5.ebuild b/dev-python/bitarray/bitarray-2.8.5.ebuild index 838465af319e..3a0a4207ff8d 100644 --- a/dev-python/bitarray/bitarray-2.8.5.ebuild +++ b/dev-python/bitarray/bitarray-2.8.5.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" SLOT="0" LICENSE="PSF-2" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +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 9fc4e88bdccb..81462f9cb0f1 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -3,3 +3,4 @@ DIST boto3-1.33.6.gh.tar.gz 752467 BLAKE2B f0f344a9e93ff3ad1dd03b44784a41637d059 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 diff --git a/dev-python/boto3/boto3-1.34.4.ebuild b/dev-python/boto3/boto3-1.34.4.ebuild new file mode 100644 index 000000000000..ce6135267cf7 --- /dev/null +++ b/dev-python/boto3/boto3-1.34.4.ebuild @@ -0,0 +1,64 @@ +# 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/botocore/Manifest b/dev-python/botocore/Manifest index ac6a6223439f..b0db4902752a 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -3,3 +3,4 @@ DIST botocore-1.33.6.gh.tar.gz 12516087 BLAKE2B da3ca22acb5b6ee27eb3c0f7dab4ad43 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 diff --git a/dev-python/botocore/botocore-1.34.4.ebuild b/dev-python/botocore/botocore-1.34.4.ebuild new file mode 100644 index 000000000000..9a0240c45f2a --- /dev/null +++ b/dev-python/botocore/botocore-1.34.4.ebuild @@ -0,0 +1,68 @@ +# 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/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 38b85652cae6..9fe3f2b6d297 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,4 +1,3 @@ -DIST cfn-lint-0.83.3.tar.gz 3683221 BLAKE2B 57e3d093eaabb4907cacd9908cadc1268600423e481316dab17da52f50472634e2114ab4069a9f68db440be1a76c4c96db9c53dd6991524bf2cd3699f8e5299b SHA512 6c47fcab3b077ea7ffc7f7fab695f69d2e4a00eb85c2db7889235b0b41b462a92293e538640df190871148ab6f779570385787bed161db0f65efa289b4b4803c DIST cfn-lint-0.83.4.tar.gz 3715966 BLAKE2B 5e30c43ae9fec958ef048eeafacb9d05a00732bd79446ef652f9b3d41f9bdd262b35b028c6a20a5f93ec46cc8da0e8adfad5d87129a5d591812a89c4ced0e619 SHA512 d3dc80ec99959c4112a7bd87bcab9f261542f25c4529df9a8e5745901e1dc4a8ca94bdec829f8042a7f94eba6021fe08975e06d4596993a7a319ac861897e2cc DIST cfn-lint-0.83.5.tar.gz 3779609 BLAKE2B 7ef8032e53a430fbcd7407b9573956ddd09af02475c0ffc730c6e26cef6eef97ee770b974b5e109ab1759e33b1ec9bd8b17c94a218e0c041bb2b0c53cdd3df32 SHA512 bb27abff9161116fc485301397321922e56a8c0f8382d0d28b82671d754907d0bd80c1c90d03b98b745d90807c8c3f4ebffbb8a78f219b86a489094c2184f17e DIST cfn-lint-0.83.6.tar.gz 3851281 BLAKE2B 13a8e84430e89a492b5aba8194f3f8f8b441ed86e25feea9173ffcbee9875eb8dc2ec5e7c8140a77ef2c2cbc2fd074da9e7e39f0cab3f78b9c0bb5fd7d24724f SHA512 42bd700657d7762df06e4f67b73427fa584e6c53779db900f4ce9fe604eb77e49c87d2ebe4daf0b21e0438d4d51d55a2b3e0b23cd435320ac082dd8926a363cd diff --git a/dev-python/cfn-lint/cfn-lint-0.83.3.ebuild b/dev-python/cfn-lint/cfn-lint-0.83.3.ebuild deleted file mode 100644 index fe8547b8c84c..000000000000 --- a/dev-python/cfn-lint/cfn-lint-0.83.3.ebuild +++ /dev/null @@ -1,65 +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="CloudFormation Linter" -HOMEPAGE=" - https://github.com/aws-cloudformation/cfn-lint/ - https://pypi.org/project/cfn-lint/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -RDEPEND=" - >=dev-python/aws-sam-translator-1.79.0[${PYTHON_USEDEP}] - dev-python/jsonpatch[${PYTHON_USEDEP}] - >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] - <dev-python/jsonschema-5[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] - dev-python/junit-xml[${PYTHON_USEDEP}] - <dev-python/networkx-4[${PYTHON_USEDEP}] - >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] - >=dev-python/requests-2.15.0[${PYTHON_USEDEP}] - >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}] - >=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}] - >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_prepare() { - # unpin the deps - sed -e 's:~=[0-9.]*::' -i setup.py || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO - test/unit/module/test_template.py::TestTemplate::test_build_graph - # requires git repo - test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs - # Internet - test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter - test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 - # TODO: it looks as if AWS_DEFAULT_REGION didn't work - test/unit/module/core/test_run_cli.py::TestCli::test_bad_config - test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters - test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters - test/unit/module/core/test_run_cli.py::TestCli::test_template_config - ) - - # from tox.ini - local -x AWS_DEFAULT_REGION=us-east-1 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/cfn-lint/cfn-lint-0.83.4.ebuild b/dev-python/cfn-lint/cfn-lint-0.83.4.ebuild index 4820ca013419..289ce403e9a2 100644 --- a/dev-python/cfn-lint/cfn-lint-0.83.4.ebuild +++ b/dev-python/cfn-lint/cfn-lint-0.83.4.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" RDEPEND=" >=dev-python/aws-sam-translator-1.80.0[${PYTHON_USEDEP}] diff --git a/dev-python/chameleon/Manifest b/dev-python/chameleon/Manifest index b5d92eda34d2..d18fd85ea154 100644 --- a/dev-python/chameleon/Manifest +++ b/dev-python/chameleon/Manifest @@ -1,4 +1,2 @@ -DIST Chameleon-4.2.0.tar.gz 176515 BLAKE2B 6be07b88e962ca155d390e9f4d5070ca4116993568840c50fd94b0569721983084065bdc2dbebf4d573ff511f41456fc54d40442a505ea891be6eee947b9b690 SHA512 bedbf6bad35370ccb449151098d04e6f8fee917128bcd18a6694ae7df57c15e005c34696c50da43ede2b42d593a2772c55691978982d8a2d83380df29ff7406b DIST Chameleon-4.3.0.tar.gz 178781 BLAKE2B 8dfad0c915291a5afb87d10b17ccca00ee26468bb2ddab2bccb36a67451d52727daecb3207923785820702173bd553fa5e8e2af09c89e51cac830917dc77ce66 SHA512 4fc63b7cff2cd41030d8efe32aa723e9245a6c9197faa9be3862c433ce668998ee39adf3b4b59d3b4968341f3af4326fbb61f9c93ee3399d195c1e521525fc52 -DIST Chameleon-4.4.0.tar.gz 179583 BLAKE2B 1290670875011033843be55378ba317097275580a7b1975efe6d3010eadf8501f918c5ba1b70aec6e56bf29b9da8d6c291855e0469de6953a02d451c41d5d099 SHA512 dd9e03037c5bff034d49abe60445d70660b1c3a34af2930b6d655f951d9224e62722b2de82b1b03d587c3a4f96394952b8419d34fff11b3ff2d4733039d02170 DIST Chameleon-4.4.2.tar.gz 179991 BLAKE2B 240737d20653c5787261fd12aa5e8cc6c6fb8b97498eb5716385bd5960540ff75ea4e109463f12dce060819499d355820830360f397815205f1737b03ce40286 SHA512 5cf5a86981711b2e694f5c47017e39628e8160aaa4020288b3ea87b4212e7fa0694dccae9255f6a2d314fa1e7d2e8fa1994f5587d9c07ced07abcff0361c9f01 diff --git a/dev-python/chameleon/chameleon-4.2.0.ebuild b/dev-python/chameleon/chameleon-4.2.0.ebuild deleted file mode 100644 index 147447a88e7f..000000000000 --- a/dev-python/chameleon/chameleon-4.2.0.ebuild +++ /dev/null @@ -1,28 +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 -PYPI_PN=${PN^} -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Fast HTML/XML template compiler for Python" -HOMEPAGE=" - https://github.com/malthe/chameleon/ - https://pypi.org/project/Chameleon/ -" - -LICENSE="repoze" -SLOT="0" -KEYWORDS="amd64 arm64 x86" - -distutils_enable_tests unittest - -src_test() { - cd src || die - distutils-r1_src_test -} diff --git a/dev-python/chameleon/chameleon-4.3.0.ebuild b/dev-python/chameleon/chameleon-4.3.0.ebuild index 2a50115029bb..147447a88e7f 100644 --- a/dev-python/chameleon/chameleon-4.3.0.ebuild +++ b/dev-python/chameleon/chameleon-4.3.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="repoze" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" distutils_enable_tests unittest diff --git a/dev-python/chameleon/chameleon-4.4.0.ebuild b/dev-python/chameleon/chameleon-4.4.0.ebuild deleted file mode 100644 index 2a50115029bb..000000000000 --- a/dev-python/chameleon/chameleon-4.4.0.ebuild +++ /dev/null @@ -1,28 +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 -PYPI_PN=${PN^} -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Fast HTML/XML template compiler for Python" -HOMEPAGE=" - https://github.com/malthe/chameleon/ - https://pypi.org/project/Chameleon/ -" - -LICENSE="repoze" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -distutils_enable_tests unittest - -src_test() { - cd src || die - distutils-r1_src_test -} diff --git a/dev-python/colorlog/Manifest b/dev-python/colorlog/Manifest index acff1ab09cbb..134a7e97a81f 100644 --- a/dev-python/colorlog/Manifest +++ b/dev-python/colorlog/Manifest @@ -1,2 +1 @@ -DIST colorlog-6.7.0.tar.gz 29920 BLAKE2B b4240f3fd17b17ead968293e54d5f4e589515d333a6cdf157a6d913c7457deff67d320ee87270ce05b853616134901c8ac47c4a542ef74158e1174d92de00b3c SHA512 19b3c04beb8ac26d3db69f78bc1e7db40288c95ba7edc7c1d2495d592262dea9a1bf91e42dce0e575341eb2a572f0050866970f23d3be8c5adae518c4115787d DIST colorlog-6.8.0.tar.gz 29939 BLAKE2B fd260f0c4149283a008d0902962848c579500f24937c2ae7a0ef75f6f10552f9739c5c1dce9553e264617f6662a9d3c8c31943d6690a4769abfa550dc4862f76 SHA512 a16752be362ed1ed5104e54d872d847873b9bc9138d59a8e525e32b386c8824c7a21689c354517392de6f16035601ce0f30daebc32d08b911c18ca4004292e02 diff --git a/dev-python/colorlog/colorlog-6.7.0.ebuild b/dev-python/colorlog/colorlog-6.7.0.ebuild deleted file mode 100644 index 4ceb5a392b14..000000000000 --- a/dev-python/colorlog/colorlog-6.7.0.ebuild +++ /dev/null @@ -1,25 +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="Log formatting with colors" -HOMEPAGE=" - https://pypi.org/project/colorlog/ - https://github.com/borntyping/python-colorlog/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 ~riscv x86" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}/${P}-nocolor.patch" -) diff --git a/dev-python/colorlog/colorlog-6.8.0.ebuild b/dev-python/colorlog/colorlog-6.8.0.ebuild index 7ed39d7eaadc..0a7afc91590a 100644 --- a/dev-python/colorlog/colorlog-6.8.0.ebuild +++ b/dev-python/colorlog/colorlog-6.8.0.ebuild @@ -16,6 +16,6 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="amd64 arm64 ~riscv x86" distutils_enable_tests pytest diff --git a/dev-python/colorlog/files/colorlog-6.7.0-nocolor.patch b/dev-python/colorlog/files/colorlog-6.7.0-nocolor.patch deleted file mode 100644 index cbd799a2f0d7..000000000000 --- a/dev-python/colorlog/files/colorlog-6.7.0-nocolor.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 4babdb5f18bd4799c25d61f0f7937b5e164770cc Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Fri, 24 Nov 2023 16:45:42 +0100 -Subject: [PATCH] Fix running tests in environment with NO_COLOR=1 - -Fix running the test suite when pytest is run with NO_COLOR=1 set -in the environment. An fixture is autoused to ensure that the variables -are removed for the scope of the test, while they are respected -e.g. by pytest itself. ---- - colorlog/tests/conftest.py | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/colorlog/tests/conftest.py b/colorlog/tests/conftest.py -index 65fd6d4..33e23e6 100644 ---- a/colorlog/tests/conftest.py -+++ b/colorlog/tests/conftest.py -@@ -28,6 +28,13 @@ def assert_log_message(capsys, log_function, message, *args): - return err - - -+@pytest.fixture(autouse=True) -+def clean_env(monkeypatch): -+ monkeypatch.delenv("FORCE_COLOR", raising=False) -+ monkeypatch.delenv("NO_COLOR", raising=False) -+ yield -+ -+ - @pytest.fixture() - def reset_loggers(): - logging.root.handlers = list() diff --git a/dev-python/dask/Manifest b/dev-python/dask/Manifest index 9af228d29e7a..80e70fc3b9a3 100644 --- a/dev-python/dask/Manifest +++ b/dev-python/dask/Manifest @@ -1,3 +1,2 @@ -DIST dask-2023.11.0.gh.tar.gz 8559592 BLAKE2B 3d9e2d049c4ef3a880caef56298dfe76033a79d60424554f9122e68354bd2be2c6c0aae3b833c84d5704c45167b050c65227a0b799a5131600a1417a09bd4d1f SHA512 1ebac9c9fb158682dc5063710fd11ccbe0f584cea26afad4b3fe01001f3f7d6888ddbb7653cfdaf2da4ca7acb2b88bc7b1d8b4055790e7036b419ae995346e8f DIST dask-2023.12.0.gh.tar.gz 8576162 BLAKE2B 2e7764a0f2181daf96b175f5d4ad473f126df88614f00d434f74a9f291c6f654ba4a0961ae95737164b5cfda88755fe5734bdaed4821a4d88df4780544bad14f SHA512 879d8a83f5659387bdfd425a68128b72745e693e9904164cfa2ff249682539d9051f5c19bcdf230cf3415b0f2253683dd6b286083be05124b2b5a900c9307104 DIST dask-2023.12.1.gh.tar.gz 8967874 BLAKE2B f397512fb50a53719fff8e234db0e366b17c9abaca4b98c0b1d4a98287dec7f869612e688cfa2e717fc35c4ed1f7a8d8fe74c7dec939e8f669e6790490005370 SHA512 4a90239e83e7cbd4797ee91dc9609d7322a7003b976ed3309de95b47d20e2e9f449cea803618539c5f80ec552dd2ac71e55c87c024beeabf74062beeb3260292 diff --git a/dev-python/dask/dask-2023.11.0.ebuild b/dev-python/dask/dask-2023.11.0.ebuild deleted file mode 100644 index f75a96d8b5f3..000000000000 --- a/dev-python/dask/dask-2023.11.0.ebuild +++ /dev/null @@ -1,89 +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 multiprocessing - -DESCRIPTION="Task scheduling and blocked algorithms for parallel processing" -HOMEPAGE=" - https://www.dask.org/ - https://github.com/dask/dask/ - https://pypi.org/project/dask/ -" -SRC_URI=" - https://github.com/dask/dask/archive/${PV}.tar.gz -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/click-8.1[${PYTHON_USEDEP}] - >=dev-python/cloudpickle-1.5.0[${PYTHON_USEDEP}] - >=dev-python/fsspec-2021.9.0[${PYTHON_USEDEP}] - >=dev-python/importlib-metadata-4.13.0[${PYTHON_USEDEP}] - >=dev-python/numpy-1.21[${PYTHON_USEDEP}] - >=dev-python/pandas-1.3[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - >=dev-python/partd-1.2.0[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] - >=dev-python/toolz-0.10.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/toolz[${PYTHON_USEDEP}] - >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] - test? ( - dev-python/moto[${PYTHON_USEDEP}] - dev-python/numexpr[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # fails with sqlalchemy-2.0, even though we don't use it x_x - sed -i -e '/RemovedIn20Warning/d' pyproject.toml || die - sed -i -e 's:--cov-config=pyproject.toml::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # more tests relying on -Werror - "dask/array/tests/test_overlap.py::test_map_overlap_no_depth[None]" - dask/array/tests/test_random.py::test_RandomState_only_funcs - # TODO - dask/array/tests/test_reductions.py::test_mean_func_does_not_warn - dask/tests/test_config.py::test__get_paths - dask/array/tests/test_linalg.py::test_solve_assume_a - "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>0-float-5-1-True]" - "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>1-float-5-1-True]" - dask/array/tests/test_image.py::test_preprocess - dask/tests/test_system.py::test_cpu_count_cgroups_v2 - # require sqlalchemy<2.0 - dask/dataframe/io/tests/test_sql.py - # crashes - dask/tests/test_base.py::test_tokenize_object_with_recursion_error - ) - - if ! has_version -b "dev-python/pyarrow[parquet,${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - # fails if pyarrow is installed without USE=parquet - # (optional dep, skipped if it's not installed at all) - dask/dataframe/io/tests/test_parquet.py::test_pyarrow_filter_divisions - ) - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p pytest_rerunfailures -m "not network" \ - -p xdist -n "$(makeopts_jobs)" -} diff --git a/dev-python/dask/dask-2023.12.0.ebuild b/dev-python/dask/dask-2023.12.0.ebuild index d92e43f08c41..f75a96d8b5f3 100644 --- a/dev-python/dask/dask-2023.12.0.ebuild +++ b/dev-python/dask/dask-2023.12.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/click-8.1[${PYTHON_USEDEP}] diff --git a/dev-python/django-cache-url/Manifest b/dev-python/django-cache-url/Manifest index b4e65f381b99..60a36d077406 100644 --- a/dev-python/django-cache-url/Manifest +++ b/dev-python/django-cache-url/Manifest @@ -1,2 +1 @@ -DIST django-cache-url-3.4.4.gh.tar.gz 8671 BLAKE2B 5245e87b786470e45ca1e30a39337904577889b15d644fbef94f55e861de7d2bb8b6725b6e62c58424511fb3f81093a6d3107cc1a8f8dc575e5463d6ab2e6c13 SHA512 745fddec8546c4ad4b70d7a039e0954f1c99cb91766a10185b29804cd69560a3dd64f90a85bb1a9ae029d34038944b288b4c497ad15492791121ea9c61fd6ae5 DIST django-cache-url-3.4.5.gh.tar.gz 8761 BLAKE2B 44cfa956f33848dd7947a97b390ba792d44eb1fd42b4c33ae57e3575405c40d93be4716c9b990e20a482b4398ed69ff838993e30ae0bdecb5a33c3fd7685a6e6 SHA512 532f47f6c8d8150d3ec484e533b165430ee6fd9854ed1b0404b68f8acaf388bfa2fb9beba8349d56e1e9d00dd65065425fdbeeed5eb698d9a745f8293f8d93ee diff --git a/dev-python/django-cache-url/django-cache-url-3.4.4.ebuild b/dev-python/django-cache-url/django-cache-url-3.4.4.ebuild deleted file mode 100644 index aef4677df3be..000000000000 --- a/dev-python/django-cache-url/django-cache-url-3.4.4.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 2021-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="Use Cache URLs in your Django application" -HOMEPAGE=" - https://github.com/epicserve/django-cache-url/ - https://pypi.org/project/django-cache-url/ -" -SRC_URI=" - https://github.com/epicserve/django-cache-url/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" - -RDEPEND=" - dev-python/django[${PYTHON_USEDEP}] -" - -DOCS=( AUTHORS.rst CHANGELOG.rst README.rst ) - -distutils_enable_tests pytest - -python_prepare_all() { - sed -e '/--cov/d' -i setup.cfg || die - distutils-r1_python_prepare_all -} diff --git a/dev-python/django-cache-url/django-cache-url-3.4.5.ebuild b/dev-python/django-cache-url/django-cache-url-3.4.5.ebuild index 533bb96f3925..aef4677df3be 100644 --- a/dev-python/django-cache-url/django-cache-url-3.4.5.ebuild +++ b/dev-python/django-cache-url/django-cache-url-3.4.5.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" RDEPEND=" dev-python/django[${PYTHON_USEDEP}] diff --git a/dev-python/dogpile-cache/Manifest b/dev-python/dogpile-cache/Manifest index 8581689ab24a..0c3fd2fe84f0 100644 --- a/dev-python/dogpile-cache/Manifest +++ b/dev-python/dogpile-cache/Manifest @@ -1 +1,2 @@ DIST dogpile.cache-1.2.2.tar.gz 263102 BLAKE2B ccd64492e154f30b27a9b031086acd89002c9cae402105720022370688c6343c6c7a023fc643390764a40dfa9dde083e5adaf644aa79939c0bf6573c4c518366 SHA512 23b078b79e4b1f87c8d397d35b772f0b5fee66a0e452de06e7644ecb1ef577ae1629307a0e32fa62f49d536f95fb62fe70ededeb43647fa0c2e0baf896261931 +DIST dogpile.cache-1.3.0.tar.gz 265984 BLAKE2B 80aba607dad31b1ddb4e8b706f40c2ed47c7c2a4f074b7d115737ed934ed2b97c900e8ff5f01fa52c3177ebd364d4bac585cca4dd1d6aa5830cf42cdade52070 SHA512 fb00e114b2107d4ee27d699c62581554758f9ff2121ccade8f5c5aee5240adc0c6a1ae734f5d64b06f25493bfe19c40cffe1393d361be484433baaec74791b5a diff --git a/dev-python/dogpile-cache/dogpile-cache-1.3.0.ebuild b/dev-python/dogpile-cache/dogpile-cache-1.3.0.ebuild new file mode 100644 index 000000000000..d60bdae9ae31 --- /dev/null +++ b/dev-python/dogpile-cache/dogpile-cache-1.3.0.ebuild @@ -0,0 +1,36 @@ +# 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 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A locking API for expiring values while a single thread generates a new value" +HOMEPAGE=" + https://github.com/sqlalchemy/dogpile.cache/ + https://pypi.org/project/dogpile.cache/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/decorator-4.0.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-3.0.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.0.1[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/mako[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/dulwich/Manifest b/dev-python/dulwich/Manifest index fb0fb636d6e6..2a5990124616 100644 --- a/dev-python/dulwich/Manifest +++ b/dev-python/dulwich/Manifest @@ -1,2 +1 @@ -DIST dulwich-0.21.6.tar.gz 445545 BLAKE2B a3189b4777e295bf26345172fa1c4f6ca4c45e807a9197cd2bc8c0255a9ebb7fa752bc98369ffe780671dc9610fefb1fc4bd9b6b75d90b7322d048197da0aeaa SHA512 24f1d82be08b6ee78e41cd86ec2323a51dd6bff3714b1eae1f8484eda316c9d1c8089ded853511d587898ba789d36ee014c8f3b7c718bf7168519725f4d9dc2c DIST dulwich-0.21.7.tar.gz 448028 BLAKE2B 8ceace901ce4b444d6f40f7071b7a95a04d27a63b9076fd82c97b7fb551dd769c38940d0ec42ebfd6592154df912139f0ca58801ba2fa0ef412d6a749253500a SHA512 56ddf8db21088b264623c568f28caa80d8687d26e5127093daaa4d556b0f49218ac51491a47ced00e9af073bd7ca05b2eb8b29d64aae8b93dd4bd47ca67ee443 diff --git a/dev-python/dulwich/dulwich-0.21.6-r1.ebuild b/dev-python/dulwich/dulwich-0.21.6-r1.ebuild deleted file mode 100644 index e99f655e0031..000000000000 --- a/dev-python/dulwich/dulwich-0.21.6-r1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# 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="Pure-Python implementation of the Git file formats and protocols" -HOMEPAGE=" - https://github.com/jelmer/dulwich/ - https://pypi.org/project/dulwich/ -" - -LICENSE="GPL-2+ Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ~ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/urllib3-1.25[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - ${RDEPEND} - app-crypt/gpgme[python,${PYTHON_USEDEP}] - dev-python/fastimport[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs - -python_test() { - # remove interference from the tests that do stuff like user.name - unset GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_AUTHOR_DATE - unset GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_COMMITTER_DATE - unset EMAIL - # Do not use make check which rebuilds the extension and uses -Werror, - # causing unexpected failures. - "${EPYTHON}" -m unittest -v dulwich.tests.test_suite || - die "tests failed with ${EPYTHON}" -} - -python_install_all() { - if use examples; then - docompress -x "/usr/share/doc/${PF}/examples" - dodoc -r examples - fi - distutils-r1_python_install_all -} diff --git a/dev-python/dulwich/dulwich-0.21.7.ebuild b/dev-python/dulwich/dulwich-0.21.7.ebuild index 3aac1d99b4b3..e99f655e0031 100644 --- a/dev-python/dulwich/dulwich-0.21.7.ebuild +++ b/dev-python/dulwich/dulwich-0.21.7.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="GPL-2+ Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ~ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="doc examples test" RESTRICT="!test? ( test )" diff --git a/dev-python/freezegun/Manifest b/dev-python/freezegun/Manifest index f211d528d444..930bbf4a0088 100644 --- a/dev-python/freezegun/Manifest +++ b/dev-python/freezegun/Manifest @@ -1,4 +1,2 @@ -DIST freezegun-1.2.2.tar.gz 30670 BLAKE2B 88941ccd9694c842e4999da47e1a8fbe9b82c1fa512467de174715e627c213167cf3c7f943b35d039ff118bae9d1bca4b64ceaa5683db818727cd9ad2533a827 SHA512 c6dc3da66a2d3063f819a104b6bc98eb3d4b772b8edb06bde130a6e355d96e1861e650c44eb691be892223150a652a528fda4237bd77b1bdcee1fcfad74f307c -DIST freezegun-1.3.0.tar.gz 31165 BLAKE2B 69341b4b7fe52e0aa2ad7c70e6a1b9e4bcb5cdac88ac48e85a968b2159260a9aee4196fc9622a153d1d5ebfee3b081f568b01a5cd59ff388e7bf5a6900bb45f6 SHA512 a0de4f2827696ea0bc1e5ff89aae9dfc36e013e03212bc7d8c3a93addb55e408fe03744fb0638d5ca0758322e2f3e0acb503fbdecfa14dd128d0399c9a60edf1 DIST freezegun-1.3.1.tar.gz 31535 BLAKE2B 5601f7359668dac186b8d76d203b7b5844af3f3171133fe25eba3182793dd68eeb14a1485d42ab50da316bf710e42d9fb4b6ebfc7afe9f86e6f4e5f3354997e8 SHA512 7524c85ad4d49fdf86d132085845ec9c67d06600cfa25e0d650cc0a565d1830f9f83315930fd6516ae924c2395721473a04c1ecfeb1735ee31e894370267ef95 DIST freezegun-1.4.0.tar.gz 31748 BLAKE2B a7ea433ea8e5f0137fc5d88a5375e3fc0e2f307a04684ab5b844168ed214fd9dd1d1ed2a0e0c91ed20ee1fc32c8e3e75fb9dc73de64723efe881e843a38269a1 SHA512 bbdad19b7fc2da9a2851d6b4c14427ccda1f2e06617993cf7173ded65cced9b98d36e1da05a2718b70653a69986cd81d84317003271eda2075177ccf63495b7a diff --git a/dev-python/freezegun/files/freezegun-1.1.0-py310.patch b/dev-python/freezegun/files/freezegun-1.1.0-py310.patch deleted file mode 100644 index 41bd7bc2712b..000000000000 --- a/dev-python/freezegun/files/freezegun-1.1.0-py310.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 57d024e4ce2516c55c715448296b9099db68343c Mon Sep 17 00:00:00 2001 -From: Karthikeyan Singaravelan <tir.karthi@gmail.com> -Date: Fri, 7 May 2021 15:51:33 +0000 -Subject: [PATCH] Fix decorate_class for Python 3.10 where staticmethod is - callable. - -(edited by mgorny for more readable indent) ---- - freezegun/api.py | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/freezegun/api.py b/freezegun/api.py -index cab9ebe..eb3a931 100644 ---- a/freezegun/api.py -+++ b/freezegun/api.py -@@ -598,7 +598,10 @@ class _freeze_time(object): - continue - seen.add(attr) - -- if not callable(attr_value) or inspect.isclass(attr_value): -+ # staticmethods are callable from Python 3.10 . Hence skip them from decoration -+ if (not callable(attr_value) -+ or inspect.isclass(attr_value) -+ or isinstance(attr_value, staticmethod)): - continue - - try: --- -2.31.1 - diff --git a/dev-python/freezegun/freezegun-1.2.2.ebuild b/dev-python/freezegun/freezegun-1.2.2.ebuild deleted file mode 100644 index e57b70c7842f..000000000000 --- a/dev-python/freezegun/freezegun-1.2.2.ebuild +++ /dev/null @@ -1,36 +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="Let your Python tests travel through time" -HOMEPAGE=" - https://github.com/spulec/freezegun/ - https://pypi.org/project/freezegun/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" - -RDEPEND=" - >dev-python/python-dateutil-2.7[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - $(python_gen_impl_dep sqlite) - ) -" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/spulec/freezegun/issues/396 - # https://github.com/spulec/freezegun/pull/397 - "${FILESDIR}"/${PN}-1.1.0-py310.patch -) diff --git a/dev-python/freezegun/freezegun-1.3.0.ebuild b/dev-python/freezegun/freezegun-1.3.0.ebuild deleted file mode 100644 index 9c953d9c06c9..000000000000 --- a/dev-python/freezegun/freezegun-1.3.0.ebuild +++ /dev/null @@ -1,35 +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="Let your Python tests travel through time" -HOMEPAGE=" - https://github.com/spulec/freezegun/ - https://pypi.org/project/freezegun/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" - -RDEPEND=" - >dev-python/python-dateutil-2.7[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - $(python_gen_impl_dep sqlite) - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/freezegun/freezegun-1.3.1.ebuild b/dev-python/freezegun/freezegun-1.3.1.ebuild index 9c953d9c06c9..9989249a5a28 100644 --- a/dev-python/freezegun/freezegun-1.3.1.ebuild +++ b/dev-python/freezegun/freezegun-1.3.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" RDEPEND=" >dev-python/python-dateutil-2.7[${PYTHON_USEDEP}] diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest index a543c38e2f2b..bdd4784859d8 100644 --- a/dev-python/fsspec/Manifest +++ b/dev-python/fsspec/Manifest @@ -1,4 +1,2 @@ -DIST filesystem_spec-2023.10.0.gh.tar.gz 404845 BLAKE2B 6c8cf801664c9fc848cb55660db1725c90facf534d58e49f604b2051d1b6a78d13d8f083282071beb7ab3dcb8d75f6d52fe24ce744c5cf1808b4ae3cb673998d SHA512 cb449052208516930c73dbe1de7c495d252677a3d3d85267836224d79c1b8cf9449ebdba8287f6f6206d5a8e631a99cd81c2fb62b82288a626a202876a45139c -DIST filesystem_spec-2023.12.0.gh.tar.gz 408457 BLAKE2B d46383ff22124b714b58264e203a12fad13ee17fb8124d949c107546cceaf2713d52e1e33e0a9d63017695681ab9e8dfb86f85da809675fba7b1838f3a12a486 SHA512 87bdd147cfddaf971af6c0c34dafb47b6d1782c7a0eb2ec7fbcbf01f6d01b59ecea98b9bf75461827e9e1070f78346b53e753673838e1db505d33f9fa8d59349 DIST filesystem_spec-2023.12.1.gh.tar.gz 408506 BLAKE2B 8f07efccd294049e27b44154c5f4680db968c9ba7c3a36bdb4aa6d140bc615061c10c53d2109f90e0b6af3338cb9284acdfed867fc57172a4bee07fcc95d450e SHA512 aeaa3f8ba512ca99488fe43b1c63a04d8b2d1b70a537142f3fa4437f608a702a26c25eb60788eb69cc310123801beb510cc485eca0754e39f0e5daa76f059a24 DIST filesystem_spec-2023.12.2.gh.tar.gz 409321 BLAKE2B f074d8d3277a954bebc29bca663d142763a6b9f13edb43286b1f59aff125c9eec0ae18cfa44b99a35daca7a9bf89a627c9abe57cbebe713ac494ca98f61899eb SHA512 654ff72b9c5ca648d4a4b469b4f3706b3200f023e26b657e3200dee301469da6f67c93fcfaa82edae7c7b074fe77715d0093269a38ee68416cf8491203bde5cb diff --git a/dev-python/fsspec/fsspec-2023.10.0.ebuild b/dev-python/fsspec/fsspec-2023.10.0.ebuild deleted file mode 100644 index 7a5ba44a530c..000000000000 --- a/dev-python/fsspec/fsspec-2023.10.0.ebuild +++ /dev/null @@ -1,65 +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=filesystem_spec-${PV} -DESCRIPTION="A specification that python filesystems should adhere to" -HOMEPAGE=" - https://github.com/fsspec/filesystem_spec/ - https://pypi.org/project/fsspec/ -" -SRC_URI=" - https://github.com/fsspec/filesystem_spec/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" - -BDEPEND=" - test? ( - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/tqdm[${PYTHON_USEDEP}] - dev-vcs/git - ) -" - -# Note: this package is not xdist-friendly -distutils_enable_tests pytest - -src_test() { - git config --global user.email "you@example.com" || die - git config --global user.name "Your Name" || die - distutils-r1_src_test -} - -EPYTEST_DESELECT=( - fsspec/tests/test_spec.py::test_find - # requires s3fs - fsspec/implementations/tests/test_local.py::test_urlpath_inference_errors - fsspec/tests/test_core.py::test_mismatch - # requires pyarrow, fastparquet - fsspec/implementations/tests/test_reference.py::test_df_single - fsspec/implementations/tests/test_reference.py::test_df_multi -) - -EPYTEST_IGNORE=( - # sftp and smb require server started via docker - fsspec/implementations/tests/test_dbfs.py - fsspec/implementations/tests/test_sftp.py - fsspec/implementations/tests/test_smb.py - # unhappy about dev-python/fuse-python (?) - fsspec/tests/test_fuse.py -) diff --git a/dev-python/fsspec/fsspec-2023.12.0.ebuild b/dev-python/fsspec/fsspec-2023.12.0.ebuild deleted file mode 100644 index bf6ca7425f2c..000000000000 --- a/dev-python/fsspec/fsspec-2023.12.0.ebuild +++ /dev/null @@ -1,65 +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=filesystem_spec-${PV} -DESCRIPTION="A specification that python filesystems should adhere to" -HOMEPAGE=" - https://github.com/fsspec/filesystem_spec/ - https://pypi.org/project/fsspec/ -" -SRC_URI=" - https://github.com/fsspec/filesystem_spec/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" - -BDEPEND=" - test? ( - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/tqdm[${PYTHON_USEDEP}] - dev-vcs/git - ) -" - -# Note: this package is not xdist-friendly -distutils_enable_tests pytest - -src_test() { - git config --global user.email "you@example.com" || die - git config --global user.name "Your Name" || die - distutils-r1_src_test -} - -EPYTEST_DESELECT=( - fsspec/tests/test_spec.py::test_find - # requires s3fs - fsspec/implementations/tests/test_local.py::test_urlpath_inference_errors - fsspec/tests/test_core.py::test_mismatch - # requires pyarrow, fastparquet - fsspec/implementations/tests/test_reference.py::test_df_single - fsspec/implementations/tests/test_reference.py::test_df_multi -) - -EPYTEST_IGNORE=( - # sftp and smb require server started via docker - fsspec/implementations/tests/test_dbfs.py - fsspec/implementations/tests/test_sftp.py - fsspec/implementations/tests/test_smb.py - # unhappy about dev-python/fuse-python (?) - fsspec/tests/test_fuse.py -) diff --git a/dev-python/fsspec/fsspec-2023.12.1.ebuild b/dev-python/fsspec/fsspec-2023.12.1.ebuild index bf6ca7425f2c..7a5ba44a530c 100644 --- a/dev-python/fsspec/fsspec-2023.12.1.ebuild +++ b/dev-python/fsspec/fsspec-2023.12.1.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" BDEPEND=" test? ( diff --git a/dev-python/hcloud/Manifest b/dev-python/hcloud/Manifest index 900357ff51db..08f6e2103a02 100644 --- a/dev-python/hcloud/Manifest +++ b/dev-python/hcloud/Manifest @@ -1 +1,2 @@ DIST hcloud-python-1.32.0.gh.tar.gz 109858 BLAKE2B 7e242a92c81278facd7f9d2042d2d36787153215a72e97da7616f7d6b6ca6c06fadfd6b33bdab3699a8d8ac6ec1d7327b78a224a3f674a13a7d06791e91d4658 SHA512 013cd3a7e54b12348e4ec87e489b461c41822a85cd9fafc4421a8bb404ecf1fa079d99217db5f770e893ab9bb7223b588e4429968b8339b4d23654610dfa80c3 +DIST hcloud-python-1.33.0.gh.tar.gz 112726 BLAKE2B 9596564f80a27b5674d0dd8043c940aa927e44324ccac496d83aa665934729f949a96aba5b298540e7a1d083ce5739273cb28a3c37553f4609852c7a052c5363 SHA512 77a5799de30fc227be117e1dfaec3835ac5dbe00f47ee9b1a42b5164affc745d3317d612f8bfb58631fe757c59c4352cb96cfef38f94679af6f3fed03c117109 diff --git a/dev-python/hcloud/hcloud-1.33.0.ebuild b/dev-python/hcloud/hcloud-1.33.0.ebuild new file mode 100644 index 000000000000..d1cbad81b34f --- /dev/null +++ b/dev-python/hcloud/hcloud-1.33.0.ebuild @@ -0,0 +1,49 @@ +# 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=hcloud-python-${PV} +DESCRIPTION="Official Hetzner Cloud python library" +HOMEPAGE=" + https://github.com/hetznercloud/hcloud-python/ + https://pypi.org/project/hcloud/ +" +# sdist is missing doc assets as of 1.19.0 +# https://github.com/hetznercloud/hcloud-python/pull/183 +SRC_URI=" + https://github.com/hetznercloud/hcloud-python/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="examples" + +RDEPEND=" + >=dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}] + >=dev-python/requests-2.20[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs \ + dev-python/myst-parser \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # Integration tests need docker: + # https://github.com/hetznercloud/hcloud-python/blob/master/.travis.yml#L16 + tests/integration +) + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} diff --git a/dev-python/httpx/Manifest b/dev-python/httpx/Manifest index 9b9521261fc8..44594bd67da0 100644 --- a/dev-python/httpx/Manifest +++ b/dev-python/httpx/Manifest @@ -1 +1,2 @@ DIST httpx-0.25.2.gh.tar.gz 2162693 BLAKE2B 8ae9fd692341ae3224c73c1f6837489819df1a00e13702a7af72143bf291cfcae23807fd51a6e1092672d0b5595f9557084151f3d07fbdd4e7fce8f5860a879f SHA512 7e62fcea55b7d0710f6d50581c8dd1ff5ae594a673a9b1cea5c03487eb3402ca96d44c311a9bcef14f20a7faa03462a3fab07edfe1ce2b11ecd66e4f7e1a06d5 +DIST httpx-0.26.0.gh.tar.gz 2164373 BLAKE2B 1de507dd1a0a4f5c87187645f7928f37f29e9a6cdcaacfbefe0e324cda5ad7f86a29efe99b496629a2e2f14851b8a6312d8be4595cfc61a97ce302b284dd1939 SHA512 76838d5c191700f5fd4c6afcc9d129f3809811f6ce40d45edf89518457a9497cdd94c11a68a9c42494780c579eaa43760a8bd85313d7864a8f5ae1c1b9912d61 diff --git a/dev-python/httpx/httpx-0.26.0.ebuild b/dev-python/httpx/httpx-0.26.0.ebuild new file mode 100644 index 000000000000..2adaccf53e72 --- /dev/null +++ b/dev-python/httpx/httpx-0.26.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 2022-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 optfeature + +DESCRIPTION="Fully-featured HTTP client which provides sync and async APIs" +HOMEPAGE=" + https://www.python-httpx.org/ + https://github.com/encode/httpx/ + https://pypi.org/project/httpx/ +" +SRC_URI=" + https://github.com/encode/httpx/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + dev-python/anyio[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] + =dev-python/httpcore-1*[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/sniffio[${PYTHON_USEDEP}] + cli? ( + =dev-python/click-8*[${PYTHON_USEDEP}] + =dev-python/pygments-2*[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + test? ( + dev-python/brotlicffi[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/h2[${PYTHON_USEDEP}] + dev-python/socksio[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + dev-python/uvicorn[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + if ! use cli; then + sed -i -e '/^httpx =/d' pyproject.toml || die + fi + sed -i -e '/rich/s:,<14::' pyproject.toml || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/client/test_proxies.py::test_async_proxy_close + tests/client/test_proxies.py::test_sync_proxy_close + ) + + use cli || EPYTEST_IGNORE+=( + tests/test_main.py + ) + + epytest +} + +pkg_postinst() { + optfeature "HTTP/2 support" dev-python/h2 + optfeature "SOCKS proxy support" dev-python/socksio + optfeature "Decoding for brotli compressed responses" dev-python/brotlicffi +} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index d8614b4bab7f..a3b7ceb9f7df 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,5 +1,3 @@ -DIST hypothesis-6.90.0.gh.tar.gz 9395761 BLAKE2B fb910f8f885355d6045f1f218dedf35e6713fbed8d9d247310ec7a8b7aa4549b30715a50ebb0daa5e48f863b6c582a8cbc8910f26ab0da0476bc423f942534fc SHA512 02ca4f5b4c0c6cc2b949d46ac221a3c06a9d05fb89fc17c1a8e42813172b914822ba484970a20d1be1900e5396bf020ba1e274344aa8bf16253f18a6f11c6ac1 -DIST hypothesis-6.91.0.gh.tar.gz 9396774 BLAKE2B c2db54aa0cb95725c2ef38854ee04d756551746ea2b9eb5b79728dec274ffed08b9e8357616ce7057f4e988d3194017ea35849bfb88a35ce8d9574dd6710c582 SHA512 e6280e14e600305a0d9007c086fb55a2c5f441e40274d920d627d7cf12f07b0fe65d1e64c42ad712d662cf0f5aa41bfbb00b6ae3a716e88dacb7c72c3067601c DIST hypothesis-6.91.1.gh.tar.gz 9398188 BLAKE2B 3a068ec668f84cf84ebd274505938d861ef7b6f50a9bb33403c26c53b783ee6fe6afba214ca5d9c31e933909dd657d367c09dd74dac257348316e308ed761ccb SHA512 4004fe0dcef1dc679ee512f901f1115426fdbd8d0f2b1fc539c331157d1840bb16c415c7bcf0cbfae3e1dcf6f9741eb8e2ec725810f5d65e20e75f0ea07369b8 DIST hypothesis-6.92.0.gh.tar.gz 9407699 BLAKE2B 7943aa958e135a954d4534b8992557a4ffd51941529cad6a8bb10b4ccd2e5c136159deaf11f822d96ecf60df536cff8b92756d902cd93de26df74ae10f73e14f SHA512 1fad215bd7ab69896d300ed39fd99a8a7145e6e21799429627b0d587939bfbe01d02fb7e1154a8b31f0b164ba9323b55b6ea36a268be20f1ef282d6b6f0d457a DIST hypothesis-6.92.1.gh.tar.gz 9408706 BLAKE2B b41bba23e5aa8715ff095edddcae02430db99b3294c85cd74c3f553a203bf3f484f4820494519f7100a261bc646abf6bc1d8a45dafb97d4bf709115f480f2b91 SHA512 fd5e52a258ba46682ae198457d857cfc82230be6faaefa2160a764e56ac1d8abb32dc0eaed3606877ca7fd7d184232c5e218d8f2eab54e5b9db0fd6ad30c8930 diff --git a/dev-python/hypothesis/hypothesis-6.90.0.ebuild b/dev-python/hypothesis/hypothesis-6.90.0.ebuild deleted file mode 100644 index 35a0459824a1..000000000000 --- a/dev-python/hypothesis/hypothesis-6.90.0.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..12} ) -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] - ' 3.9 3.10) - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.1 - ) -" - -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # failing due to warnings from numpy/cython - hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture - ) - ;; - esac - - epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ - tests/cover tests/pytest tests/quality -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.91.0.ebuild b/dev-python/hypothesis/hypothesis-6.91.0.ebuild deleted file mode 100644 index 1c6f44255a39..000000000000 --- a/dev-python/hypothesis/hypothesis-6.91.0.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..12} ) -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] - ' 3.9 3.10) - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.1 - ) -" - -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # failing due to warnings from numpy/cython - hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture - ) - ;; - esac - - epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ - tests/cover tests/pytest tests/quality -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.91.1.ebuild b/dev-python/hypothesis/hypothesis-6.91.1.ebuild index a8a6a71f13d8..de3fa3e2b8fe 100644 --- a/dev-python/hypothesis/hypothesis-6.91.1.ebuild +++ b/dev-python/hypothesis/hypothesis-6.91.1.ebuild @@ -25,7 +25,7 @@ S="${WORKDIR}/${MY_P}/hypothesis-python" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="cli" RDEPEND=" diff --git a/dev-python/importlib-metadata/Manifest b/dev-python/importlib-metadata/Manifest index ba8fdc178bd4..47e6218fe1c1 100644 --- a/dev-python/importlib-metadata/Manifest +++ b/dev-python/importlib-metadata/Manifest @@ -1,4 +1 @@ -DIST importlib_metadata-6.11.0.tar.gz 54593 BLAKE2B 4fff1999d2b431338d8826c98ef9bc3d92017b52eb60f34ab43482ae15fd09e76fab750531ba0694f13127de31e6a28f30975751a981e3440fcb346a37f83a20 SHA512 f8473c049e01f9e346e379f0cf5b97a64420e002bc8885263f9fd8cc759d05624d7951e372dba2b1a71dd3ce42588c04fd261f21706afbef24e395741994bb6a -DIST importlib_metadata-6.8.0.tar.gz 53494 BLAKE2B b4bb1b423cb470f5aa26d763e459f40a49b3163fc74d2d0e1883e1308c775393ebcbd369bbc4233398e38190ba683ffd7e14c0b355a289daa81eaeddbb7d1414 SHA512 04746aac8278f2fb0064df36a558890a0c9de7c8e61c31d7548ff8ad27091e3dcbda79903eb01053f7ad85b91274d92ded40b730c095ad56672427ab17e3f921 -DIST importlib_metadata-6.9.0.tar.gz 53933 BLAKE2B 741f42f675d13ed619f3e0fff22186f6946d380898cb899a065238c3c9be45c7b790fcddf086400468766346e6b3769e268f8905d02a3d55c9a6534e53415515 SHA512 e3ed9a9a7c7b4170ca5ef25e4dcd12d7a7c6f7eea88682a9ce19632362849ddb46cc76b3431a6df3ea7a24da2e1530ead02b0404ec163137498afaaa86b58a19 DIST importlib_metadata-7.0.0.tar.gz 54280 BLAKE2B 56da8260ad1eb785577bbb0db1695652eb4d09d2fb48c8770e8fba22be92c2f9a4f89727ada53a1bf83f17128078bffe424636dc4ed805288bef1b74e162729b SHA512 2b71f9f14cb2bed74184fea23f1111588753c6054c308cd33fc79d0ea297219025bbea2af996535f69b63832c546145cabaeb18850bfe843251788f3f74418d6 diff --git a/dev-python/importlib-metadata/importlib-metadata-6.11.0.ebuild b/dev-python/importlib-metadata/importlib-metadata-6.11.0.ebuild deleted file mode 100644 index 279c468d6e07..000000000000 --- a/dev-python/importlib-metadata/importlib-metadata-6.11.0.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# 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 - -DISTUTILS_USE_PEP517=flit -# NB: this package extends beyond built-in importlib stuff in py3.8+ -# new entry_point API not yet included in cpython release -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Read metadata from Python packages" -HOMEPAGE=" - https://github.com/python/importlib_metadata/ - https://pypi.org/project/importlib-metadata/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -RDEPEND=" - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pyfakefs[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -src_configure() { - grep -q 'build-backend = "setuptools' pyproject.toml || - die "Upstream changed build-backend, recheck" - # write a custom pyproject.toml to ease setuptools bootstrap - cat > pyproject.toml <<-EOF || die - [build-system] - requires = ["flit_core >=3.2,<4"] - build-backend = "flit_core.buildapi" - - [project] - name = "importlib_metadata" - version = "${PV}" - description = "Read metadata from Python packages" - EOF -} diff --git a/dev-python/importlib-metadata/importlib-metadata-6.8.0.ebuild b/dev-python/importlib-metadata/importlib-metadata-6.8.0.ebuild deleted file mode 100644 index 06f178f6f883..000000000000 --- a/dev-python/importlib-metadata/importlib-metadata-6.8.0.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# 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 - -DISTUTILS_USE_PEP517=flit -# NB: this package extends beyond built-in importlib stuff in py3.8+ -# new entry_point API not yet included in cpython release -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Read metadata from Python packages" -HOMEPAGE=" - https://github.com/python/importlib_metadata/ - https://pypi.org/project/importlib-metadata/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -RDEPEND=" - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pyfakefs[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -src_configure() { - grep -q 'build-backend = "setuptools' pyproject.toml || - die "Upstream changed build-backend, recheck" - # write a custom pyproject.toml to ease setuptools bootstrap - cat > pyproject.toml <<-EOF || die - [build-system] - requires = ["flit_core >=3.2,<4"] - build-backend = "flit_core.buildapi" - - [project] - name = "importlib_metadata" - version = "${PV}" - description = "Read metadata from Python packages" - EOF -} diff --git a/dev-python/importlib-metadata/importlib-metadata-6.9.0.ebuild b/dev-python/importlib-metadata/importlib-metadata-6.9.0.ebuild deleted file mode 100644 index 279c468d6e07..000000000000 --- a/dev-python/importlib-metadata/importlib-metadata-6.9.0.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# 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 - -DISTUTILS_USE_PEP517=flit -# NB: this package extends beyond built-in importlib stuff in py3.8+ -# new entry_point API not yet included in cpython release -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Read metadata from Python packages" -HOMEPAGE=" - https://github.com/python/importlib_metadata/ - https://pypi.org/project/importlib-metadata/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -RDEPEND=" - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pyfakefs[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -src_configure() { - grep -q 'build-backend = "setuptools' pyproject.toml || - die "Upstream changed build-backend, recheck" - # write a custom pyproject.toml to ease setuptools bootstrap - cat > pyproject.toml <<-EOF || die - [build-system] - requires = ["flit_core >=3.2,<4"] - build-backend = "flit_core.buildapi" - - [project] - name = "importlib_metadata" - version = "${PV}" - description = "Read metadata from Python packages" - EOF -} diff --git a/dev-python/importlib-metadata/importlib-metadata-7.0.0.ebuild b/dev-python/importlib-metadata/importlib-metadata-7.0.0.ebuild index 279c468d6e07..06f178f6f883 100644 --- a/dev-python/importlib-metadata/importlib-metadata-7.0.0.ebuild +++ b/dev-python/importlib-metadata/importlib-metadata-7.0.0.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" RDEPEND=" dev-python/zipp[${PYTHON_USEDEP}] diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index e9da2ac43cac..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..736a1167c898 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -1,12 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> - </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/lxml/Manifest b/dev-python/lxml/Manifest index a697a511ea4f..b4b0fb7d9d74 100644 --- a/dev-python/lxml/Manifest +++ b/dev-python/lxml/Manifest @@ -1,2 +1,3 @@ DIST lxml-4.9.3-patches-2.tar.xz 24288 BLAKE2B 47b7c486a1c1616c875111bd53b14d4211a1eee3f412985f4022e71b85b087abd71d36919fb025257f17de404329284898ddc639f85e8b15ade21778fa218d98 SHA512 713172b4c907db6479a0a803a842824825b212a9b645c1ca356f793658bd6c63113ea248278e7c46b512e22e3130696e9fc5127fea82a67372d920733fc160b0 DIST lxml-4.9.3.gh.tar.gz 958628 BLAKE2B ffdf3fe781a03815f7c026229d313721c93375ebafad9b4a20c5d8a380a631401e546d8701a94d8c49615fb6a71e84940d8ca0299b47a37c1c9596db36659113 SHA512 903bd4935c7708b459aee9befcf3f6e3e3aaa9adc122591ea923b6e3d8fd288f07cab3f5f0edb08e3bf9db80414324f0a1a8e5a5089f9cda82f6c50f5df59423 +DIST lxml-4.9.4.gh.tar.gz 960009 BLAKE2B 7d31095dcf1f73c1026e7378e6adb19a053edc116b119ae415c3324134d3700822bf4611dc3cbf7c216d396e1404b143c8ebfdfb7e5a71b9ef6ec187898cc699 SHA512 528ef4ae057a7ee54d3193a042a6db500ada883d1d506829b6824d91ec979feb69ec79239420112eae0e08a437b2e5da8efc35feb5d04d119bfae2679e918d29 diff --git a/dev-python/lxml/lxml-4.9.4.ebuild b/dev-python/lxml/lxml-4.9.4.ebuild new file mode 100644 index 000000000000..c3de764786aa --- /dev/null +++ b/dev-python/lxml/lxml-4.9.4.ebuild @@ -0,0 +1,118 @@ +# 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 optfeature toolchain-funcs + +DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries" +HOMEPAGE=" + https://lxml.de/ + https://pypi.org/project/lxml/ + https://github.com/lxml/lxml/ +" +SRC_URI=" + https://github.com/lxml/lxml/archive/${P}.tar.gz + -> ${P}.gh.tar.gz + https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-4.9.3-patches-2.tar.xz +" +S=${WORKDIR}/lxml-${P} + +LICENSE="BSD ElementTree GPL-2 PSF-2" +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" +IUSE="doc examples +threads test" +RESTRICT="!test? ( test )" + +# Note: lib{xml2,xslt} are used as C libraries, not Python modules. +DEPEND=" + >=dev-libs/libxml2-2.10.3 + >=dev-libs/libxslt-1.1.38 +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + virtual/pkgconfig + >=dev-python/cython-0.29.35[${PYTHON_USEDEP}] + doc? ( + $(python_gen_any_dep ' + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + ') + ) + test? ( + dev-python/cssselect[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${WORKDIR}"/${PN}-4.9.3-patches-2 +) + +python_check_deps() { + use doc || return 0 + python_has_version -b "dev-python/docutils[${PYTHON_USEDEP}]" && + python_has_version -b "dev-python/pygments[${PYTHON_USEDEP}]" && + python_has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" && + python_has_version -b "dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]" +} + +python_prepare_all() { + # avoid replacing PYTHONPATH in tests. + sed -i -e '/sys\.path/d' test.py || die + + # don't use some random SDK on Darwin + sed -i -e '/_ldflags =/s/=.*isysroot.*darwin.*None/= None/' \ + setupinfo.py || die + + distutils-r1_python_prepare_all +} + +python_compile() { + local DISTUTILS_ARGS=( + # by default it adds -w to CFLAGS + --warnings + ) + tc-export PKG_CONFIG + distutils-r1_python_compile +} + +python_compile_all() { + use doc && emake html +} + +python_test() { + local dir=${BUILD_DIR}/test$(python_get_sitedir)/lxml + local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH} + + cp -al "${BUILD_DIR}"/{install,test} || die + cp -al src/lxml/tests "${dir}/" || die + cp -al src/lxml/html/tests "${dir}/html/" || die + ln -rs "${S}"/doc "${dir}"/../../ || die + + "${EPYTHON}" test.py -vv --all-levels -p || die "Test ${test} fails with ${EPYTHON}" +} + +python_install_all() { + if use doc; then + local DOCS=( README.rst *.txt doc/*.txt ) + local HTML_DOCS=( doc/html/. ) + fi + if use examples; then + dodoc -r samples + fi + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "Support for BeautifulSoup as a parser backend" dev-python/beautifulsoup4 + optfeature "Translates CSS selectors to XPath 1.0 expressions" dev-python/cssselect +} diff --git a/dev-python/markdown2/Manifest b/dev-python/markdown2/Manifest index 14a3aa5f9589..b7e71e05b87a 100644 --- a/dev-python/markdown2/Manifest +++ b/dev-python/markdown2/Manifest @@ -1,3 +1,2 @@ -DIST markdown2-2.4.10.tar.gz 123813 BLAKE2B 4aee5ece385a6987fc9d8fccbd3141f42f6469328d0c6ddd7bfeb4bcbffb2cdf2a6375bd9fab8dbc79b099894303e94f15df334b244d877970cc5e52d2f0bf5f SHA512 1053d5e13dfe83158c7e1b87a68f12a2d5bdeddf1cae359c2992028687d18e69d71c1347ac04cbfcbcb4a6c629eeb1f465537e2e4b47c0594f0c5d175b9ce04f DIST markdown2-2.4.11.tar.gz 128610 BLAKE2B 0418b97589be177bd3ac76d426e653f2ec48b1e12ab54d7a3e1d1e69a0f926e59fb0287f02ba9e72047ac62c0a1bc404711ad7e0e10a4aec32606d2231d32c71 SHA512 dbb7130eaf0924741694e905fc6ca8c2f0c46059c5aec144c3170b6793f2c50d2b0be90bd76f775a79e83101c3b0a549056c5e8f0ea0fed911c22ae1844b0c31 DIST markdown2-2.4.12.tar.gz 129973 BLAKE2B a4e693a63cbb30a4c5351e3dd5974fa9750ff22ef956a5e09b53056081d2a95072b5c591f3f084913247691ffdef8c96a20bdd56b916a77a0319c663de2fada8 SHA512 db5f75b03e2056b43c4c3fde0e7b0e3d3b584d9ce2d4a71dbaf53d733c33ac20bf497bd3eb64ff3c8b4947969cf581bb50496ba189a39b8edcc9130cacb0874a diff --git a/dev-python/markdown2/markdown2-2.4.10.ebuild b/dev-python/markdown2/markdown2-2.4.10.ebuild deleted file mode 100644 index 238422b25c31..000000000000 --- a/dev-python/markdown2/markdown2-2.4.10.ebuild +++ /dev/null @@ -1,31 +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="Python Markdown language reimplementation" -HOMEPAGE=" - https://github.com/trentm/python-markdown2/ - https://pypi.org/project/markdown2/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc ~ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/pygments-2.7.3[${PYTHON_USEDEP}] -" - -distutils_enable_tests unittest - -python_test() { - cd test || die - "${EPYTHON}" -m unittest test_markdown2.py -v || - die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/markdown2/markdown2-2.4.11.ebuild b/dev-python/markdown2/markdown2-2.4.11.ebuild index b41e93cd9447..238422b25c31 100644 --- a/dev-python/markdown2/markdown2-2.4.11.ebuild +++ b/dev-python/markdown2/markdown2-2.4.11.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ppc ~ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/pygments-2.7.3[${PYTHON_USEDEP}] diff --git a/dev-python/nbconvert/Manifest b/dev-python/nbconvert/Manifest index 9765d0dd6e13..c073225dd457 100644 --- a/dev-python/nbconvert/Manifest +++ b/dev-python/nbconvert/Manifest @@ -1,3 +1,2 @@ -DIST nbconvert-7.11.0.tar.gz 851158 BLAKE2B 0506acda6a645ffba6771f600c63f0c37705481021b716a2b5ec61b49f2b9da490beac7a1fec67718d091d7bfcf82d7f07b68e207573ca5c08271fc502214eb1 SHA512 097e740413520b943afea11e2b797fbb163e1c34b79932597ec1c5a2c64bbb9342e4b3e1f0ab7e4d6dbdaa736d747650d8e0e50da0e4db5398151da8c3b57c59 DIST nbconvert-7.12.0.tar.gz 851572 BLAKE2B e6f91a29790fc24901bfb527fc4335000af11354090c969d393eb1c95ad9f36c1e65e941a061b20ed884fd4e70316c6cdf1eb7ca115147ecb8a4726f62a98b83 SHA512 ba450938e7a907a6b5679e619b79ea6555f81b6f4ca387c3fab94377ce060d5b99424804052855451ec3f6f8a160355d58c6b875bdd3951a16c5dacae19a2c24 DIST nbconvert-7.13.0.tar.gz 851504 BLAKE2B 72e745f58f624c4bf8dc05e366e924f734590cb7deaf27ea14229d6cdcca6b057fd1fb47a35bae511c7abb72cf7836203401613cb37ca2541f543b98422204ee SHA512 8d008ccb5e281cd7fd25c384ca1ecf4f3ddd314c07ec1eae079ad2075ca3ed8d92b4d9849fc29a444f8784727cd92335e02154340980c1631d5fc0d6bad956f9 diff --git a/dev-python/nbconvert/nbconvert-7.11.0.ebuild b/dev-python/nbconvert/nbconvert-7.11.0.ebuild deleted file mode 100644 index 467d60b7bf53..000000000000 --- a/dev-python/nbconvert/nbconvert-7.11.0.ebuild +++ /dev/null @@ -1,82 +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} pypy3 ) - -inherit distutils-r1 pypi virtualx - -DESCRIPTION="Converting Jupyter Notebooks" -HOMEPAGE=" - https://nbconvert.readthedocs.io/ - https://github.com/jupyter/nbconvert/ - https://pypi.org/project/nbconvert/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - dev-python/bleach[${PYTHON_USEDEP}] - dev-python/defusedxml[${PYTHON_USEDEP}] - >=dev-python/jinja-3.0[${PYTHON_USEDEP}] - >=dev-python/jupyter-core-4.7[${PYTHON_USEDEP}] - dev-python/jupyterlab-pygments[${PYTHON_USEDEP}] - >=dev-python/markupsafe-2.0[${PYTHON_USEDEP}] - <dev-python/mistune-4[${PYTHON_USEDEP}] - >=dev-python/nbclient-0.5.0[${PYTHON_USEDEP}] - >=dev-python/nbformat-5.7[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}] - >=dev-python/pygments-2.4.1[${PYTHON_USEDEP}] - dev-python/tinycss2[${PYTHON_USEDEP}] - >=dev-python/traitlets-5.1.1[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/ipykernel[${PYTHON_USEDEP}] - >=dev-python/ipywidgets-7[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - mkdir -p share/templates/classic/static || die - # tries to refetch stuff even if it's already present - sed -e 's:css = .*:raise PermissionError("You shall not fetch!"):' \ - -i hatch_build.py || die - distutils-r1_src_prepare -} - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_nbconvertapp.py::TestNbConvertApp::test_convert_full_qualified_name - tests/test_nbconvertapp.py::TestNbConvertApp::test_post_processor - # crazy qtweb* stuff, perhaps permissions - tests/exporters/test_qtpdf.py::TestQtPDFExporter::test_export - tests/exporters/test_qtpng.py::TestQtPNGExporter::test_export - ) - - # virtx implies nonfatal, make it explicit to avoid confusion - nonfatal epytest || die -} - -pkg_postinst() { - if ! has_version virtual/pandoc; then - einfo "Pandoc is required for converting to formats other than Python," - einfo "HTML, and Markdown. If you need this functionality, install" - einfo "app-text/pandoc or app-text/pandoc-bin." - fi -} diff --git a/dev-python/nbconvert/nbconvert-7.12.0.ebuild b/dev-python/nbconvert/nbconvert-7.12.0.ebuild index 9f46a712cd87..467d60b7bf53 100644 --- a/dev-python/nbconvert/nbconvert-7.12.0.ebuild +++ b/dev-python/nbconvert/nbconvert-7.12.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/beautifulsoup4[${PYTHON_USEDEP}] diff --git a/dev-python/olefile/Manifest b/dev-python/olefile/Manifest index 88190c8cddc8..5bec7dfa4780 100644 --- a/dev-python/olefile/Manifest +++ b/dev-python/olefile/Manifest @@ -1,2 +1 @@ -DIST olefile-0.46.gh.tar.gz 97587 BLAKE2B e6dbadda6f18ec287f5b1b59ab4b92ceee25b4ca47499ed31a03992ae4e3a7269ba0c641f631c4beafdfe43eccab4881d06f7ba372ec47b376b5eb3ed788f45d SHA512 e70975cdda11004ab331908085e0cbd9cf3e44f49fa1453a7af5373bfed0a98729bb7600fee7a1042be6c40c58649f3650972d9e4520bbab218cf715f6264f98 DIST olefile-0.47.gh.tar.gz 102116 BLAKE2B d3b3e8349901b7bf4a4facd0a784e9fa01f3acc50412f3952e85d59e6816321cd41d65cca83731cf280a6a83c3a4bf4e9ae9ee84662f0883e138dc2ceb22798d SHA512 efd73092f4fb428a91066c11fd319a60fa43e46f7abc4e7ba38627f11e19a6fbba227d1307ee308d1297e97b3fff30e6e497c50d7f708204e20122ea01dddfd8 diff --git a/dev-python/olefile/olefile-0.46-r2.ebuild b/dev-python/olefile/olefile-0.46-r2.ebuild deleted file mode 100644 index 03957c296601..000000000000 --- a/dev-python/olefile/olefile-0.46-r2.ebuild +++ /dev/null @@ -1,28 +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 - -DESCRIPTION="Python package to parse, read and write Microsoft OLE2 files" -HOMEPAGE=" - https://www.decalage.info/olefile/ - https://github.com/decalage2/olefile/ - https://pypi.org/project/olefile/ -" -SRC_URI=" - https://github.com/decalage2/olefile/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" - -distutils_enable_sphinx doc \ - dev-python/sphinx-rtd-theme -distutils_enable_tests unittest diff --git a/dev-python/olefile/olefile-0.47.ebuild b/dev-python/olefile/olefile-0.47.ebuild index e5dc27b0905a..03957c296601 100644 --- a/dev-python/olefile/olefile-0.47.ebuild +++ b/dev-python/olefile/olefile-0.47.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" distutils_enable_sphinx doc \ dev-python/sphinx-rtd-theme diff --git a/dev-python/path/Manifest b/dev-python/path/Manifest index 29d6641f2944..0737215de8da 100644 --- a/dev-python/path/Manifest +++ b/dev-python/path/Manifest @@ -1,2 +1 @@ -DIST path-16.7.1.tar.gz 48974 BLAKE2B a03eebbb391cf17033adce4d6b258217546e3b7494200a8ea97f756512177f1c7d7ea8155420e167cefe79b566a4240eec98d17b160478f9cb06d3fd839c28f2 SHA512 7d660373046845a5882a316051c350558527d6d8a5cd11735d38214f986c8e096f72b45f87cfec41bf6171e7845287a42e6e45535f87a01b46670eccd4013dbf DIST path-16.9.0.tar.gz 48850 BLAKE2B 0c5edc6538cb22543dd810a535840a235b66c51415284f00338bd1e84e63847d09235e55dd3d40a71f3b02f54d18cbbf4fa1e5a0356798cee3383666a26a441c SHA512 2d4c8e3923bc712c7901328a0406ce05c6c157664dfacb5a563a1b214ce561215398b31494865c99a77ed09c3ef63bb04a36d57a60e7c0e3dea05b1dacfdecf7 diff --git a/dev-python/path/path-16.7.1.ebuild b/dev-python/path/path-16.7.1.ebuild deleted file mode 100644 index dced996e381f..000000000000 --- a/dev-python/path/path-16.7.1.ebuild +++ /dev/null @@ -1,36 +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="A module wrapper for os.path" -HOMEPAGE=" - https://github.com/jaraco/path/ - https://pypi.org/project/path/ -" - -SLOT="0" -LICENSE="MIT" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" - -RDEPEND=" - dev-python/appdirs[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/packaging[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # unreliable, not really meaningful for end users - test_path.py::TestPerformance -) diff --git a/dev-python/path/path-16.9.0.ebuild b/dev-python/path/path-16.9.0.ebuild index e1d5f11ed517..ef9a8f09fe84 100644 --- a/dev-python/path/path-16.9.0.ebuild +++ b/dev-python/path/path-16.9.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" SLOT="0" LICENSE="MIT" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" RDEPEND=" dev-python/appdirs[${PYTHON_USEDEP}] diff --git a/dev-python/pem/Manifest b/dev-python/pem/Manifest index cc23603a1a79..c60227d7b60a 100644 --- a/dev-python/pem/Manifest +++ b/dev-python/pem/Manifest @@ -1,2 +1,2 @@ -DIST pem-21.2.0.tar.gz 35899 BLAKE2B b24affc1228d61b61660615c252fbac36abc3e42d9b54a026fd63c68b3ba470c3208ce12d2d8b188bb4e951f2ad55cd4cf441ffdbc49b681e9f0616ed5290123 SHA512 7e6f6d46bd1c8ab5c84b0edee182fbec7ae3c37e2005854ff1bc6f43cb47490a1f3bb0ac97cbc9e8c0ff830d4f22fcddd52f68206452a16ba862354a75491b18 +DIST pem-21.2.0.gh.tar.gz 35899 BLAKE2B b24affc1228d61b61660615c252fbac36abc3e42d9b54a026fd63c68b3ba470c3208ce12d2d8b188bb4e951f2ad55cd4cf441ffdbc49b681e9f0616ed5290123 SHA512 7e6f6d46bd1c8ab5c84b0edee182fbec7ae3c37e2005854ff1bc6f43cb47490a1f3bb0ac97cbc9e8c0ff830d4f22fcddd52f68206452a16ba862354a75491b18 DIST pem-23.1.0.tar.gz 43796 BLAKE2B 903b6bbad0a73266467d876eba2a6a32993fd57f75630149bb00c8eac9f51a0fa7b1edcff9c09d48167f971c1da51f688ae0bda9494c3d3e3acf11262983858d SHA512 e742dba55df69736ed5896370da980b25961682a9fd38b6940490cb82332813fc1d7a931fe651716fa31caf6080e6fb047d0ef62d3e61d7e3e1288a00b70051e diff --git a/dev-python/pem/pem-21.2.0.ebuild b/dev-python/pem/pem-21.2.0.ebuild index 96ff3287252d..b6984f0aef8e 100644 --- a/dev-python/pem/pem-21.2.0.ebuild +++ b/dev-python/pem/pem-21.2.0.ebuild @@ -9,7 +9,7 @@ inherit distutils-r1 DESCRIPTION="Easy PEM file parsing in Python" HOMEPAGE="https://pem.readthedocs.io/" -SRC_URI="https://github.com/hynek/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/hynek/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="MIT" SLOT="0" diff --git a/dev-python/pem/pem-23.1.0.ebuild b/dev-python/pem/pem-23.1.0.ebuild index f76c1f50b210..668fb83726f1 100644 --- a/dev-python/pem/pem-23.1.0.ebuild +++ b/dev-python/pem/pem-23.1.0.ebuild @@ -16,6 +16,7 @@ KEYWORDS="~amd64" RDEPEND="" BDEPEND=" + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] test? ( >=dev-python/coverage-5.0.2[${PYTHON_USEDEP}] dev-python/certifi[${PYTHON_USEDEP}] diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index 86632f9c22c5..0c9f772ac562 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -1 +1,2 @@ DIST python-phonenumbers-8.13.26.gh.tar.gz 4916065 BLAKE2B 383c4be5593abaa332dc75e8db348f085e7a695af2bc89185faf176fcd77148060889d92244097cc8cafa8e08fe52e6e62be32a31721576c330531c8277d7af3 SHA512 37daea2458b95536c25f4026c1aea79d2ab34c73c957178edcdb63cac96d1d84b4ce92b4e239354090321c4980bb26170862602423d3db3edc3c68c9f659582e +DIST python-phonenumbers-8.13.27.gh.tar.gz 4915760 BLAKE2B 1a46d8b878ca9529bece2bf1144baf7800f2d52a2b613d27d2d6dd3f16a94fb6655fc892b9e305f4926674e20a3221e891a10b683ec009dd3b57a6e31da38136 SHA512 a057a7925611a25f1d100e2d32b16b76fb14880e91bc166a78ece18c0af2089f8dd0dbed66751f454040072b516c795dc60f42659353b4cab4c6c39fc599352d diff --git a/dev-python/phonenumbers/phonenumbers-8.13.27.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.27.ebuild new file mode 100644 index 000000000000..9f064d9f47b1 --- /dev/null +++ b/dev-python/phonenumbers/phonenumbers-8.13.27.ebuild @@ -0,0 +1,39 @@ +# 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=python-${P} +DESCRIPTION="Python port of Google's libphonenumber" +HOMEPAGE=" + https://github.com/daviddrysdale/python-phonenumbers/ + https://pypi.org/project/phonenumbers/ +" +SRC_URI=" + https://github.com/daviddrysdale/python-phonenumbers/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P}/python + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/protobuf-python[${PYTHON_USEDEP}] + ) +" + +DOCS=( ../README.md ) + +python_test() { + "${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest index b8677ff42ec6..1df500dc440b 100644 --- a/dev-python/platformdirs/Manifest +++ b/dev-python/platformdirs/Manifest @@ -1,2 +1 @@ -DIST platformdirs-4.0.0.tar.gz 19914 BLAKE2B 0ae3f7491f3f1d38561c89312c988b4145c9afb60e3d866cd05bef7e02c6df95d56cb230995de2893c0afd32bd63eb08448e67d5cdd0bdf6f3556ea1a23e2b49 SHA512 28eeb18ab5a52bf60d85ab76c986300d0f69c3bcff9ec18b961b70f97bce4e0d1bd3315b8d97f6b6a41de000b734979c08754780d282695525348342ab9c9931 DIST platformdirs-4.1.0.tar.gz 19760 BLAKE2B d2deeb3d8300a92af0c0d69bcee2c02210d0cd32925ba7fdbd992723e13deba2a432bc7cb5eaf83ca9f576888d54d237b17028b25554bd65f044e61c0a353384 SHA512 f9cc171e7861cd9018be179963fc5d0316dc39a953b67dccf946937077704eb80955cca0d51c0edd8b4f931f705f719767f2b888be4276278891a099b5928fa2 diff --git a/dev-python/platformdirs/platformdirs-4.0.0.ebuild b/dev-python/platformdirs/platformdirs-4.0.0.ebuild deleted file mode 100644 index 764ad8a9d959..000000000000 --- a/dev-python/platformdirs/platformdirs-4.0.0.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="A small Python module for determining appropriate platform-specific dirs" -HOMEPAGE=" - https://pypi.org/project/platformdirs/ - https://github.com/platformdirs/platformdirs/ -" - -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" - -BDEPEND=" - test? ( - dev-python/appdirs[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_configure() { - grep -q 'build-backend = "hatchling' pyproject.toml || - die "Upstream changed build-backend, recheck" - # write a custom pyproject.toml to ease setuptools bootstrap - cat > pyproject.toml <<-EOF || die - [build-system] - requires = ["flit_core >=3.2,<4"] - build-backend = "flit_core.buildapi" - - [project] - name = "${PN}" - version = "${PV}" - description = 'A small Python package for determining appropriate platform-specific dirs, e.g. a "user data dir".' - EOF - # sigh - cat > src/platformdirs/version.py <<-EOF || die - __version__ = version = '${PV}' - __version_tuple__ = version_tuple = (${PV//./, }) - EOF -} diff --git a/dev-python/platformdirs/platformdirs-4.1.0.ebuild b/dev-python/platformdirs/platformdirs-4.1.0.ebuild index 0947849db721..764ad8a9d959 100644 --- a/dev-python/platformdirs/platformdirs-4.1.0.ebuild +++ b/dev-python/platformdirs/platformdirs-4.1.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" 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" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" BDEPEND=" test? ( diff --git a/dev-python/pynvim/Manifest b/dev-python/pynvim/Manifest index f4a48fe2a56b..8faa34947388 100644 --- a/dev-python/pynvim/Manifest +++ b/dev-python/pynvim/Manifest @@ -1,2 +1 @@ -DIST pynvim-0.4.3.tar.gz 52807 BLAKE2B 2ac8894af71a28f8008dca1f9e34a0cda6a68aa108ddfe122e4e9cac4c7669262483729aafb238d0e8eb0022ddea9bb222ec7b718e9a9c59fbb349821b6b8dbe SHA512 5d8fc7623a5bc2e069991b901dbd4dcc6005ddab31e2f0a70ee50c2d6febf3b5c29a61fc4dce454aa494779d7a869a1e92a2a97cb66212ed858c3d3fd77c0f55 DIST pynvim-0.5.0.gh.tar.gz 59043 BLAKE2B 4c9ce46e90dbb6cf278b48a904bef6dbd821d696c578a29d84af5ee64b223c602727dd09bdecbc90f7b6a634cbcd11b615d7ae48782e5cf71ae59faf8f8b1ff2 SHA512 91ffe3f42cc23ba372223b8c9f6930b0cff9d30b6764052a77a5c34e39a3312a1834b9a753152e96d04d5b4b61ce647bd7470095fac3122ae6b1346dcdf07f2f diff --git a/dev-python/pynvim/pynvim-0.4.3-r2.ebuild b/dev-python/pynvim/pynvim-0.4.3-r2.ebuild deleted file mode 100644 index d9962f950561..000000000000 --- a/dev-python/pynvim/pynvim-0.4.3-r2.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="Python client for Neovim" -HOMEPAGE="https://github.com/neovim/pynvim" -SRC_URI="https://github.com/neovim/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~x86" - -RDEPEND=" - dev-python/msgpack[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/greenlet[${PYTHON_USEDEP}] - ' 'python*') -" -DEPEND="${RDEPEND} - test? ( app-editors/neovim )" - -distutils_enable_tests pytest - -python_prepare_all() { - sed -r -i "s:[\"']pytest-runner[\"'](,|)::" setup.py || die - distutils-r1_python_prepare_all -} diff --git a/dev-python/pynvim/pynvim-0.5.0.ebuild b/dev-python/pynvim/pynvim-0.5.0.ebuild index 6615db10da0f..1155ae11b550 100644 --- a/dev-python/pynvim/pynvim-0.5.0.ebuild +++ b/dev-python/pynvim/pynvim-0.5.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm arm64 ~x86" RDEPEND=" dev-python/msgpack[${PYTHON_USEDEP}] diff --git a/dev-python/pyopengl/Manifest b/dev-python/pyopengl/Manifest index e31f19e52701..819e62cac925 100644 --- a/dev-python/pyopengl/Manifest +++ b/dev-python/pyopengl/Manifest @@ -1,3 +1 @@ -DIST PyOpenGL-3.1.6.tar.gz 1903892 BLAKE2B 7d1109a09703a7113aa9cc02994662df77bea1da63e81a8adbdc812514b71e04bfa51dad9e48c0e0b98327e4f7deda7a8590c340a38127d38e91659f38739220 SHA512 b6f2f083df0fd7cf8f8a1077f42fa388bce94c0edde00ed6492104af8306c9925b74649cd2c222be4205b0892e7975de2f7591d0f0bcd9540eb53c0de95fec00 DIST PyOpenGL-3.1.7.tar.gz 1896446 BLAKE2B 3fd4c84bb59157b4a6ee09c2a5ecd0e4f548bf03a84d735acfd92453eafb92102677a2b9c98831a92be33e873630c815dee453745d630a4d6b044771a13c945c SHA512 add1b4d02e7297f00f82a9c9249d6665029073fe620a1650491af9102a76a16e9320b5f227275b0c273ff5a616c284fd9f25f0f425848676c37cab9f3c22ae2e -DIST pyopengl-3.1.6-glut-font-egl.patch 1430 BLAKE2B 4b8962045b1efce2b4ec8ca759689d880e8df074e98c8c680172fd01d6cfbae33148cef41c46c7d1231674836d0009626ccedd873fcfe35f644fe9a2aaab2d5e SHA512 a0c491bca31cff312a2f431f89109cbf3aff276aee375325cacc5c6ebe37ad2119072ad7658e11b56efd62b18b8ed2642de999c79b0c999414e44c2b1ec7225b diff --git a/dev-python/pyopengl/pyopengl-3.1.6-r2.ebuild b/dev-python/pyopengl/pyopengl-3.1.6-r2.ebuild deleted file mode 100644 index b54e831f0da4..000000000000 --- a/dev-python/pyopengl/pyopengl-3.1.6-r2.ebuild +++ /dev/null @@ -1,62 +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_REQ_USE="tk?" -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi virtualx - -DESCRIPTION="Python OpenGL bindings" -HOMEPAGE=" - https://pyopengl.sourceforge.net/ - https://github.com/mcfletch/pyopengl/ - https://pypi.org/project/PyOpenGL/ -" -SRC_URI=" - $(pypi_sdist_url --no-normalize PyOpenGL) - https://github.com/mcfletch/pyopengl/commit/2d2457b4d565bce1c58b76b427e1f9027e8b4bcc.patch - -> ${P}-glut-font-egl.patch -" -S="${WORKDIR}/PyOpenGL-${PV}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" -IUSE="tk" - -RDEPEND=" - media-libs/freeglut - virtual/opengl - x11-libs/libXi - x11-libs/libXmu - tk? ( dev-tcltk/togl ) -" -DEPEND=" - ${RDEPEND} -" - -# The tests need an X server with the GLX extension. Software rendering -# under Xvfb works but only with llvmpipe, not softpipe or swr. -BDEPEND=" - test? ( - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pygame[${PYTHON_USEDEP},opengl,X] - !prefix? ( - media-libs/mesa[llvm] - x11-base/xorg-server[-minimal,xorg] - ) - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${DISTDIR}/${P}-glut-font-egl.patch" -) - -src_test() { - virtx distutils-r1_src_test -} diff --git a/dev-python/pypy3_10/Manifest b/dev-python/pypy3_10/Manifest index 01c015a35cda..aa0d06633988 100644 --- a/dev-python/pypy3_10/Manifest +++ b/dev-python/pypy3_10/Manifest @@ -1,3 +1,2 @@ -DIST pypy3.10-gentoo-patches-7.3.13_p1.tar.xz 5068 BLAKE2B 2dd739a0ec9fc358a1fa1c278d06ed30f63f01565a593abc8b6f6bc14a5210ae3b6d541558b61ec97aad4f520e362310b825409ac46698846e66adbabcc805e7 SHA512 4ba5b2aa173b70ace6ee01ba4b870ab7baceea0b2fc6b0592787f80493c3f76ed0c662e0c86e9043c1bff981aec0268c7122d5a59d592bdb99cd8224953c8b2f DIST pypy3.10-gentoo-patches-7.3.13_p3.tar.xz 9780 BLAKE2B a72cfc6723ad914f012309eac7606a37f2e6dd2c5f83c049c0d68466dae45a366536f2065c1ccdc9516339cb8949b146e410ab04b1cbbff3b9d62620a039040d SHA512 c1beb5c661dd0c0d94bebb23b82972ac9442caf777c377923c31b3f82b007396d0c3ef9874fc01cf765986cc7c6a941628f7e377a732a0706e99e3acb6fc5db6 DIST pypy3.10-v7.3.13-src.tar.bz2 23067819 BLAKE2B 6e2bfd83bcf16feef006dad39ab6d8f452418ee6bc4043edaa590db702f39275e775004bdba762736a901da94cb5274cd34f2811461048d46ac0f4af04158702 SHA512 16fbc76558152b3eadca999d56197a6bf906cbb7bb75035ccd3501372af0f0c22533d22ba231a40b7c02afa11f0d692a6ae85ba6d5e1607b737b8c68209b7c43 diff --git a/dev-python/pypy3_10/pypy3_10-7.3.13_p1.ebuild b/dev-python/pypy3_10/pypy3_10-7.3.13_p1.ebuild deleted file mode 100644 index a12e9f0f8bdc..000000000000 --- a/dev-python/pypy3_10/pypy3_10-7.3.13_p1.ebuild +++ /dev/null @@ -1,211 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit pax-utils python-utils-r1 toolchain-funcs - -PYPY_PV=${PV%_p*} -PYVER=3.10 -MY_P="pypy${PYVER}-v${PYPY_PV/_}" -PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_rc/rc}" - -DESCRIPTION="A fast, compliant alternative implementation of the Python (${PYVER}) language" -HOMEPAGE=" - https://www.pypy.org/ - https://foss.heptapod.net/pypy/pypy/ -" -SRC_URI=" - https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2 - https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz -" -S="${WORKDIR}/${MY_P}-src" - -LICENSE="MIT" -# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))' -# also check pypy/interpreter/pycode.py -> pypy_incremental_magic -SLOT="0/pypy310-pp73-384" -KEYWORDS="amd64 ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="+ensurepip gdbm +jit ncurses sqlite tk" -# many tests are failing upstream -# see https://buildbot.pypy.org/summary?branch=py${PYVER} -RESTRICT="test" - -RDEPEND=" - || ( - >=dev-python/${PN}-exe-${PYPY_PV}:${PYPY_PV}[bzip2(+),ncurses?] - >=dev-python/${PN}-exe-bin-${PYPY_PV}:${PYPY_PV} - ) - dev-lang/python-exec[python_targets_pypy3(-)] - dev-libs/openssl:0= - dev-python/gentoo-common - ensurepip? ( dev-python/ensurepip-wheels ) - gdbm? ( sys-libs/gdbm:0= ) - sqlite? ( dev-db/sqlite:3= ) - tk? ( - dev-lang/tk:0= - dev-tcltk/tix:0= - ) - !~dev-python/pypy3-7.3.12_rc1 -" -DEPEND=" - ${RDEPEND} -" - -src_prepare() { - local PATCHES=( - "${WORKDIR}/${PATCHSET}" - ) - default - - eapply_user -} - -src_configure() { - tc-export CC -} - -src_compile() { - mkdir bin || die - # switch to the layout expected for cffi module builds - mkdir include/pypy${PYVER} || die - # copy over to make sys.prefix happy - cp -p "${BROOT}"/usr/bin/pypy${PYVER}-c-${PYPY_PV} pypy${PYVER}-c || die - cp -p "${BROOT}"/usr/include/pypy${PYVER}/${PYPY_PV}/* include/pypy${PYVER}/ || die - # (not installed by pypy-exe) - rm pypy/module/cpyext/include/_numpypy/numpy/README || die - mv pypy/module/cpyext/include/* include/pypy${PYVER}/ || die - mv pypy/module/cpyext/parse/*.h include/pypy${PYVER}/ || die - pax-mark m pypy${PYVER}-c - - # verify the subslot - local soabi=$( - ./pypy${PYVER}-c - <<-EOF - import importlib.util - import sysconfig - soabi = sysconfig.get_config_var("SOABI") - magic = importlib.util._RAW_MAGIC_NUMBER & 0xffff - print(f"{soabi}-{magic}") - EOF - ) - [[ ${soabi} == ${SLOT#*/} ]] || die "update subslot to ${soabi}" - - # Add epython.py to the distribution - echo 'EPYTHON="pypy3"' > lib-python/3/epython.py || die - - einfo "Generating caches and CFFI modules ..." - - # Generate sysconfig data - local host_gnu_type=$(sh pypy/tool/release/config.guess) - local overrides=( - HOST_GNU_TYPE "${host_gnu_type:-unknown}" - INCLUDEPY "${EPREFIX}/usr/include/pypy${PYVER}" - LIBDIR "${EPREFIX}/usr/$(get_libdir)" - TZPATH "${EPREFIX}/usr/share/zoneinfo" - WHEEL_PKG_DIR "${EPREFIX}/usr/lib/python/ensurepip" - ) - ./pypy${PYVER}-c -m sysconfig --generate-posix-vars "${overrides[@]}" || die - local outdir - outdir=$(<pybuilddir.txt) || die - cp "${outdir}"/_sysconfigdata__*.py lib-python/3/ || die - - # Generate Grammar and PatternGrammar pickles. - ./pypy${PYVER}-c - <<-EOF || die "Generation of Grammar and PatternGrammar pickles failed" - import lib2to3.pygram - import lib2to3.patcomp - lib2to3.patcomp.PatternCompiler() - EOF - - # Generate cffi modules - # Please keep in sync with lib_pypy/pypy_tools/build_cffi_imports.py! - # (NB: we build CFFI modules first to avoid error log when importing - # build_cffi_imports). - cffi_targets=( - pypy_util blake2/_blake2 sha3/_sha3 ssl - audioop syslog pwdgrp resource lzma posixshmem - ctypes_test testmultiphase - ) - use gdbm && cffi_targets+=( gdbm ) - use ncurses && cffi_targets+=( curses ) - use sqlite && cffi_targets+=( sqlite3 ) - use tk && cffi_targets+=( tkinter/tklib ) - - local t - # all modules except tkinter output to . - # tkinter outputs to the correct dir ... - cd lib_pypy || die - for t in "${cffi_targets[@]}"; do - # tkinter doesn't work via -m - ../pypy${PYVER}-c "_${t}_build.py" || die "Failed to build CFFI bindings for ${t}" - done - # testcapi does not have a "build" script - ../pypy${PYVER}-c -c "import _testcapi" || die - - # Verify that CFFI module list is up-to-date - local expected_cksum=63d4659f - local local_cksum=$( - ../pypy${PYVER}-c - <<-EOF - import binascii - import json - from pypy_tools.build_cffi_imports import cffi_build_scripts as x - print("%08x" % (binascii.crc32(json.dumps(x).encode()),)) - EOF - ) - if [[ ${local_cksum} != ${expected_cksum} ]]; then - die "Please verify cffi_targets and update checksum to ${local_cksum}" - fi - - # Cleanup temporary objects - find \( -name "*_cffi.c" -o -name '*.o' \) -delete || die - find -type d -empty -delete || die -} - -src_install() { - einfo "Installing PyPy ..." - dodir /usr/bin - dosym pypy${PYVER}-c-${PYPY_PV} /usr/bin/pypy${PYVER} - insinto /usr/lib/pypy${PYVER} - # preserve mtimes to avoid obsoleting caches - insopts -p - doins -r lib-python/3/. lib_pypy/. - insinto /usr/include - doins -r include/pypy${PYVER} - - # replace copied headers with symlinks - for x in "${BROOT}"/usr/include/pypy${PYVER}/${PYPY_PV}/*; do - dosym "${PYPY_PV}/${x##*/}" "/usr/include/pypy${PYVER}/${x##*/}" - done - - dodoc README.rst - - local dest=/usr/lib/pypy${PYVER} - rm -r "${ED}${dest}"/ensurepip/_bundled || die - if ! use ensurepip; then - rm -r "${ED}${dest}"/ensurepip || die - fi - if ! use gdbm; then - rm -r "${ED}${dest}"/_gdbm* || die - fi - if ! use sqlite; then - rm -r "${ED}${dest}"/sqlite3 \ - "${ED}${dest}"/_sqlite3* \ - "${ED}${dest}"/test/test_sqlite.py || die - fi - if ! use tk; then - rm -r "${ED}${dest}"/{idlelib,tkinter} \ - "${ED}${dest}"/_tkinter \ - "${ED}${dest}"/test/test_{tcl,tk,ttk*}.py || die - fi - dosym ../python/EXTERNALLY-MANAGED "${dest}/EXTERNALLY-MANAGED" - - local -x EPYTHON=pypy3 - local -x PYTHON=${ED}/usr/bin/pypy${PYVER}-c-${PYPY_PV} - # temporarily copy to build tree to facilitate module builds - cp -p "${BROOT}/usr/bin/pypy${PYVER}-c-${PYPY_PV}" "${PYTHON}" || die - - einfo "Byte-compiling Python standard library..." - python_optimize "${ED}${dest}" - - # remove to avoid collisions - rm "${PYTHON}" || die -} diff --git a/dev-python/pypy3_10/pypy3_10-7.3.13_p3.ebuild b/dev-python/pypy3_10/pypy3_10-7.3.13_p3.ebuild index c463e1f54501..602fae3f411e 100644 --- a/dev-python/pypy3_10/pypy3_10-7.3.13_p3.ebuild +++ b/dev-python/pypy3_10/pypy3_10-7.3.13_p3.ebuild @@ -57,8 +57,6 @@ src_prepare() { "${WORKDIR}/${PATCHSET}" ) default - - eapply_user } src_configure() { diff --git a/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild b/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild index 661ab0988ec8..4cf1093bca1d 100644 --- a/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild +++ b/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild @@ -57,8 +57,6 @@ src_prepare() { "${WORKDIR}/${PATCHSET}" ) default - - eapply_user } src_configure() { diff --git a/dev-python/pytest-asyncio/Manifest b/dev-python/pytest-asyncio/Manifest index 8c5eb401b190..b77c29cf60d7 100644 --- a/dev-python/pytest-asyncio/Manifest +++ b/dev-python/pytest-asyncio/Manifest @@ -1,3 +1 @@ -DIST pytest-asyncio-0.21.1.tar.gz 30492 BLAKE2B 6a17f9ba89b8181b5fb734af6d0c0904a828156e63df910b4fe4adb9b93e240266063dcca8d97c8f9d784c6d5111796949fe32bb2832921919e41398ccffc155 SHA512 3aef14bade1dddab4320450d60c6909a76c7cf334d8225ad155b474b042d1c692edc5b567fb86ecf6b3453746105c3cecce86d2c6ff5cf6652d5147a8532cfd0 -DIST pytest-asyncio-0.22.0.tar.gz 37081 BLAKE2B 62941bdf10ee8a5195e900e71c7eba1810edd9721457656fc0b62dca3264f4ce0cba9221f80fd8a5249ee30e662cf068fcc8e491ba6b297e0370fcb04b7fe068 SHA512 7880b03c44997b0cb05b1c9633bf3e94e7eefc0396dc88512baf0e8f700508fa76eb9cbf2ce6d837be9ae0f1efb75343cdc32c7b2983e294ffa30e94893a3a2c DIST pytest-asyncio-0.23.2.tar.gz 44174 BLAKE2B 36dbd0022416eef05c781b9f74fd143bb52fe0583461ca7e52fd4981d552bbefdddd8e3a3399bc229a8ae68b150e199237ae0ce3a375075ab8f7f507bfa59316 SHA512 aa5b5fe8b633b187303dd2958d2ea01561604044507da107e46115d9bf4c1ac3c78826b4b6a6cbf474a6ee4ce0cd1bede87a2c8fe0d35397ddf6a4069437dd84 diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.21.1.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.21.1.ebuild deleted file mode 100644 index dbac30cf2c9b..000000000000 --- a/dev-python/pytest-asyncio/pytest-asyncio-0.21.1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 2019-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} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Library for testing asyncio code with pytest" -HOMEPAGE=" - https://github.com/pytest-dev/pytest-asyncio/ - https://pypi.org/project/pytest-asyncio/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - >=dev-python/pytest-5.4.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/flaky[${PYTHON_USEDEP}] - >=dev-python/hypothesis-3.64[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # rely on precise warning counts - tests/test_pytest_min_version_warning.py - tests/modes/test_legacy_mode.py - tests/trio/test_fixtures.py::test_strict_mode_ignores_trio_fixtures - tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_fixture_leaves_loop_unclosed - tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_test_leaves_loop_unclosed - # incorrect use of hypothesis, test removed in git - # https://bugs.gentoo.org/916339 - tests/hypothesis/test_inherited_test.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_asyncio.plugin,_hypothesis_pytestplugin,flaky.flaky_pytest_plugin - epytest -} diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.22.0.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.22.0.ebuild deleted file mode 100644 index 0b68fe4a3579..000000000000 --- a/dev-python/pytest-asyncio/pytest-asyncio-0.22.0.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2019-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} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Library for testing asyncio code with pytest" -HOMEPAGE=" - https://github.com/pytest-dev/pytest-asyncio/ - https://pypi.org/project/pytest-asyncio/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -RDEPEND=" - >=dev-python/pytest-5.4.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/flaky[${PYTHON_USEDEP}] - >=dev-python/hypothesis-3.64[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # rely on precise warning counts - tests/test_pytest_min_version_warning.py - tests/modes/test_legacy_mode.py - tests/trio/test_fixtures.py::test_strict_mode_ignores_trio_fixtures - tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_fixture_leaves_loop_unclosed - tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_test_leaves_loop_unclosed - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_asyncio.plugin,_hypothesis_pytestplugin,flaky.flaky_pytest_plugin - epytest -} diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.23.2.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.23.2.ebuild index ab691caa27b1..28b9a59a4532 100644 --- a/dev-python/pytest-asyncio/pytest-asyncio-0.23.2.ebuild +++ b/dev-python/pytest-asyncio/pytest-asyncio-0.23.2.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" >=dev-python/pytest-5.4.0[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-jupyter/Manifest b/dev-python/pytest-jupyter/Manifest index 4005ef3e22df..1d696d8c8ceb 100644 --- a/dev-python/pytest-jupyter/Manifest +++ b/dev-python/pytest-jupyter/Manifest @@ -1,2 +1 @@ -DIST pytest_jupyter-0.7.0.tar.gz 15507 BLAKE2B b4b580668083e46830d06908f484f221e511a9dc5b32285de25e8e83268a1cb4a110ab5bc92c4652033bd658332c6aef8560313e041d39ceeec6d7339c67b24d SHA512 5bd44d1cc927281823ab92f5e1dbb4fa66e917fb9ba098c63001bb9edf60d4eb7842d4178c1dce1772e156d871def2319d511187185fbfd81ee9128c7c23ea2a DIST pytest_jupyter-0.8.0.tar.gz 15716 BLAKE2B 9000be141466553346737596e80c5208aa9c1bdd9a72c8b1ae9fa1b8d994dc33f6e237a2eb16e60fa9c1a9040e6711ac45b0420aa865b6c27c48455cc1a11c34 SHA512 7789d4e92a1da254c8ef161a58b63fc494e4b59ce7721d5c501fdce0975452ed53700292e1554c247f5fa58cbe1f87489403f0f5ae97c5260cc3d7c9fc1c3418 diff --git a/dev-python/pytest-jupyter/pytest-jupyter-0.7.0.ebuild b/dev-python/pytest-jupyter/pytest-jupyter-0.7.0.ebuild deleted file mode 100644 index e4c9dc550efb..000000000000 --- a/dev-python/pytest-jupyter/pytest-jupyter-0.7.0.ebuild +++ /dev/null @@ -1,34 +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} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Pytest plugin for testing Jupyter libraries and extensions" -HOMEPAGE=" - https://jupyter.org/ - https://github.com/jupyter-server/pytest-jupyter/ - https://pypi.org/project/pytest-jupyter/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - >=dev-python/jupyter-client-7.4.0[${PYTHON_USEDEP}] - >=dev-python/ipykernel-6.14[${PYTHON_USEDEP}] - >=dev-python/jupyter-server-1.21[${PYTHON_USEDEP}] - >=dev-python/nbformat-5.3[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-timeout[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/pytest-jupyter/pytest-jupyter-0.8.0.ebuild b/dev-python/pytest-jupyter/pytest-jupyter-0.8.0.ebuild index 4833565f0a07..e4c9dc550efb 100644 --- a/dev-python/pytest-jupyter/pytest-jupyter-0.8.0.ebuild +++ b/dev-python/pytest-jupyter/pytest-jupyter-0.8.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/jupyter-client-7.4.0[${PYTHON_USEDEP}] diff --git a/dev-python/pyzmq/Manifest b/dev-python/pyzmq/Manifest index 3a31b5895105..1e66651c578f 100644 --- a/dev-python/pyzmq/Manifest +++ b/dev-python/pyzmq/Manifest @@ -1,2 +1 @@ -DIST pyzmq-25.1.1.gh.tar.gz 389825 BLAKE2B d8e231a0eeaa6a7ad372da912cb42e96e4d862e163859b97d1c369a7940e019c074fc717685f53da06de69cfee79430e343fcd1987d768f3cc99ec75cad0955b SHA512 4aa0d5d5c1036e6ac35898c48d9612f677ee6e9345fafd02091ba81a5081f1ac8bf552eb5c03636ad643cc87e17f037013ec981d9b852c0252d30de8ce046d5a DIST pyzmq-25.1.2.gh.tar.gz 391272 BLAKE2B 80814704e7ea08d407859c1d71338f6ea283efcd1f3994155334aa5b60c4b6cd89167de8c78d19f8efdbeb5f4071f7b5954ea911eb6e7fbb48a0087b86579cab SHA512 b146a6dbce7cbbe2eb1da7ebd64e463067354f1566cdb4ff634b59bbb6d65e16263b6acb2d101a4ea53f870be5c753c9a12f9cc37bc5a81236681ea4fda6c56b diff --git a/dev-python/pyzmq/pyzmq-25.1.1.ebuild b/dev-python/pyzmq/pyzmq-25.1.1.ebuild deleted file mode 100644 index 9a9fed626124..000000000000 --- a/dev-python/pyzmq/pyzmq-25.1.1.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# 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 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Lightweight and super-fast messaging library built on top of the ZeroMQ library" -HOMEPAGE=" - https://zeromq.org/languages/python/ - https://pypi.org/project/pyzmq/ - https://github.com/zeromq/pyzmq/ -" -SRC_URI=" - https://github.com/zeromq/pyzmq/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" -IUSE="drafts" - -# There are additional test failures if zeromq has the draft api enabled, but pyzmq has it disabled. -DEPEND=" - >=net-libs/zeromq-4.2.2-r2:=[drafts=] -" -# It uses cffi backend for pypy, cython backend for cpython -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - $(python_gen_cond_dep ' - dev-python/cython[${PYTHON_USEDEP}] - ' 'python*') - test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - >=dev-python/tornado-5.0.2[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-23.2.0-libdir.patch -) - -distutils_enable_tests pytest -# TODO: Package enum_tools -# distutils_enable_sphinx docs/source \ -# dev-python/numpydoc \ -# dev-python/sphinx-rtd-theme \ -# dev-python/myst-parser - -python_prepare_all() { - export ZMQ_DRAFT_API=$(usex drafts '1' '0') - export ZMQ_PREFIX="${EPREFIX}/usr" - distutils-r1_python_prepare_all -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO - zmq/tests/test_auth.py - zmq/tests/test_cython.py - zmq/tests/test_zmqstream.py - - # swap thrashing on low-mem hosts, per Debian: - # https://salsa.debian.org/python-team/packages/pyzmq/-/blob/master/debian/patches/skip_large_send - zmq/tests/test_socket.py::TestSocket::test_large_send - ) - local EPYTEST_IGNORE=( - # Avoid dependency on mypy - zmq/tests/test_mypy.py - ) - - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # not implemented in cffi variant? - zmq/tests/test_draft.py::TestDraftSockets - ) - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - epytest -p asyncio -p rerunfailures -} diff --git a/dev-python/pyzmq/pyzmq-25.1.2.ebuild b/dev-python/pyzmq/pyzmq-25.1.2.ebuild index 3a1352e9059b..9a9fed626124 100644 --- a/dev-python/pyzmq/pyzmq-25.1.2.ebuild +++ b/dev-python/pyzmq/pyzmq-25.1.2.ebuild @@ -23,7 +23,7 @@ SRC_URI=" LICENSE="LGPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" IUSE="drafts" # There are additional test failures if zeromq has the draft api enabled, but pyzmq has it disabled. diff --git a/dev-python/rpmautospec-core/Manifest b/dev-python/rpmautospec-core/Manifest new file mode 100644 index 000000000000..59d8ede7dc61 --- /dev/null +++ b/dev-python/rpmautospec-core/Manifest @@ -0,0 +1 @@ +DIST rpmautospec_core-0.1.2.tar.gz 6605 BLAKE2B eabe5ab6115234692fc5c628de22bf060ea1704f7866249a2a5ccdc868a39abb3cbddfac74df966971b2168dd808c161b6438d2cb1067c4e92377b0f8a8bac52 SHA512 adbc1c9b7749a6a3ae9fa615416c1083ef7c298fc3396c54231d170f7d113aacc3c1fb6cf3e4cb52ce42f2384cb4d95294bdff318facc9d9c62886a88fecb007 diff --git a/dev-python/rpmautospec-core/metadata.xml b/dev-python/rpmautospec-core/metadata.xml new file mode 100644 index 000000000000..c0f74ac187e2 --- /dev/null +++ b/dev-python/rpmautospec-core/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>pastalian46@gmail.com</email> + <name>Takuya Wakazono</name> + </maintainer> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/rpmautospec-core/rpmautospec-core-0.1.2.ebuild b/dev-python/rpmautospec-core/rpmautospec-core-0.1.2.ebuild new file mode 100644 index 000000000000..dd3aa1668271 --- /dev/null +++ b/dev-python/rpmautospec-core/rpmautospec-core-0.1.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 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} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Core functionality used by rpmautospec" +HOMEPAGE=" + https://github.com/fedora-infra/rpmautospec-core/ + https://pypi.org/project/rpmautospec-core/ +" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64" + +distutils_enable_tests pytest + +python_test() { + # Disable pytest-cov + epytest -o addopts= +} diff --git a/dev-python/sabctools/Manifest b/dev-python/sabctools/Manifest index 9ed9a645a6d3..7ab05cce86ec 100644 --- a/dev-python/sabctools/Manifest +++ b/dev-python/sabctools/Manifest @@ -3,3 +3,4 @@ DIST sabctools-7.1.1.gh.tar.gz 8963314 BLAKE2B 583ac11ba8f4ef9d0f9d04a1697bb7e09 DIST sabctools-7.1.2.gh.tar.gz 8963375 BLAKE2B a404780c40cd98a605af58a79c9ecf7c5e479460db925c34486bc36621e749dcad363225e7a73e0222cc30b7bba8747d5d21ed4ac240c5df75485a2bd620e962 SHA512 7887ff3f6b46bd538540b591ab7b47a7b3efa277b45d69ed7329252b1f7326adfa6b286cc207a4262002a802c6acff03c0df4792e099da3dd8be1c3dd68a1ae0 DIST sabctools-8.0.0.gh.tar.gz 8963761 BLAKE2B d6977c399801653bcc04136c614257a8dba952129ff87a06064518796bb4de1bf340b3f5ba1e841d05c33be804232cedc38da46991b69451661a89fcb2e2ede9 SHA512 0a1e17bbb316271fa620b037cd71a88b7a424206471766f8b77c81db7d7f2828fb58518916e51d4a3aa29f0615c31fd1da615f1b67838a31ee985c13b3045257 DIST sabctools-8.0.1.gh.tar.gz 8963513 BLAKE2B 40fbd230c40b72f1a74e255f0b715f476c52b8d75c04bac9e5131065e1cb431581debc5bec9fac5060f172ed7ccd1ae282e6ed3fe93d2c24abef064fa9918b84 SHA512 170ccfec6807165954322a58910c1aaf368acc600b4cca10abd69e1b1859ff0d52058a846a0a0e3ebbdde93d6a7079efa418dd2453e73496f043c26532b64af2 +DIST sabctools-8.1.0.gh.tar.gz 8963885 BLAKE2B 36d6bbc34f636ac4e892f941eb6e583166ee1f5f740440b3f07faacddf7715d8b4c642a4e6252ece1bdef69017be3d04ce5d6c8e36479bb176e4cd0635f1567d SHA512 862c39f2e386622b528f120a431f214e1e2e92b7c5a751e47d0768f40ce06ad2736d867f7ac2e1810d676e980312bbfedd29951cbadeddefe75246cdcf53fcc6 diff --git a/dev-python/sabctools/sabctools-8.1.0.ebuild b/dev-python/sabctools/sabctools-8.1.0.ebuild new file mode 100644 index 000000000000..3ec4b5a72bdd --- /dev/null +++ b/dev-python/sabctools/sabctools-8.1.0.ebuild @@ -0,0 +1,39 @@ +# 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 + +MY_PN="sabctools" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Module providing raw yEnc encoding/decoding for SABnzbd" +HOMEPAGE=" + https://github.com/sabnzbd/sabctools/ + https://pypi.org/project/sabctools/ +" +SRC_URI=" + https://github.com/sabnzbd/${MY_PN}/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + test? ( + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/portend[${PYTHON_USEDEP}] + ) +" + +DOCS=( README.md doc/yenc-draft.1.3.txt ) + +distutils_enable_tests pytest diff --git a/dev-python/shapely/shapely-2.0.2-r1.ebuild b/dev-python/shapely/shapely-2.0.2-r1.ebuild index 6a731c4d9299..f4314ff86344 100644 --- a/dev-python/shapely/shapely-2.0.2-r1.ebuild +++ b/dev-python/shapely/shapely-2.0.2-r1.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 ~x86" DEPEND=" >=sci-libs/geos-3.9 diff --git a/dev-python/shapely/shapely-2.0.2.ebuild b/dev-python/shapely/shapely-2.0.2.ebuild deleted file mode 100644 index 22a7802e00e0..000000000000 --- a/dev-python/shapely/shapely-2.0.2.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# 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 - -MY_P=${P/_p/.post} -DESCRIPTION="Geometric objects, predicates, and operations" -HOMEPAGE=" - https://pypi.org/project/shapely/ - https://github.com/shapely/shapely/ -" -SRC_URI=" - https://github.com/shapely/shapely/archive/${PV/_p/.post}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm64 ~x86" - -DEPEND=" - >=sci-libs/geos-3.9 -" -RDEPEND=" - ${DEPEND} - dev-python/numpy[${PYTHON_USEDEP}] -" -BDEPEND=" - ${DEPEND} - >=dev-python/cython-0.29.32[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - rm -rf shapely || die - epytest --pyargs shapely -} diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index fc098a6676c4..86d7453bd024 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -3,6 +3,7 @@ DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616de DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff DIST heck-0.4.1.crate 11567 BLAKE2B 520aeea740cfa30b0cca12f73594ffa655f32959673b1c9caaca1ea0162e455546ae3033881394c0ba0516bcd5c9a997da02162e1585522d665813b9096eabd9 SHA512 8c80e959d2f10a2893f9a71994720f90747742bb5b61fc0a539eed3ea5679b140c48fd7f7690d7122cd6af5f7f20a19d412e3569fe741c6d31f6b2ce1e0b80e8 DIST indoc-1.0.9.crate 13475 BLAKE2B a9696788574e56dd125c3371169fd59d6947d188f76e2669b21c0304692efd6709cd048920f7822e92c6a5620fb178e0e85c7776118cef8ccee0f58398e14abf SHA512 db8aef4a7bb606452dc8ed45aa29a255c7a135357a0bd586fb4429c5f56a1aa2ca9400d6fac39956aeb486a15d25cf5d1b9524967867f2c651d9d563e3e85be8 +DIST indoc-2.0.4.crate 14311 BLAKE2B 8d604e20825ae64530014081c627abe4ecec6447e1e214408743aca79ed217531baad4bd7021137ae6628555d769a248f06acc556cc3254d2626074aab110a44 SHA512 ef1b8d19d89d848c1133f2865247e0ce23cbe5552454805910ed0478ac4acb11b11629aa4a5ce8756d0ed5cbc0644abedeac0246f433166c68f47cf58cf4487a DIST libc-0.2.150.crate 719359 BLAKE2B d08e17fb29992c76337bb5862cbc1cdaf7b9d7749cd65021f145fcf49fa7954d6251c8c2f3c9a796b46283c3bc014bccfd259ea52824459841911ad847fd7f5a SHA512 7ae8fe6a1db38ac6d951c0b4880d25a02f064f5e61d6057c20f7208dec8395d58efd085e41857bcf5f4da2b014d2952dc4ddaf18ac4acd3a23675bb659e70385 DIST lock_api-0.4.11.crate 27487 BLAKE2B 87116cf908f7f1f9c300cedded989df305f855883e3df5a482de2c76814c48739582d3079d76a2bdd14a6999204b7fd31dcd8fd06d1dc7f9418f0e2f70a1450e SHA512 9946adf313a5c67a0dd87a1b679b7d9d16a86149fb95974d3f28aa57a9a1a3932e4a5ee1d332097559329c5e3b2295be2e4b655b115d9f75269f33a758b17fb3 DIST memoffset-0.9.0.crate 9033 BLAKE2B 19090c1af8b8cf54a2cf7593748aff4d3dc685ec7080aa476139c1721ef71555495e1bc513b1efaddc7e7702f83e0e1c2a8f71ff40009d266539484c9297e0ed SHA512 2f04f9b6fed31e94388c18162ad275897a835df7b9ac827f4df0f4b0ecf71064ef247f7ad11dbc27d7a6d448984a0f29d1c000e3c8d5fa6e121fa9571770ec55 @@ -11,10 +12,15 @@ DIST parking_lot-0.12.1.crate 40967 BLAKE2B 940a112a066e3cbd15e2f6df89bfff37e4ec DIST parking_lot_core-0.9.9.crate 32445 BLAKE2B 811d8de671bf6e0911cf0df7dcaee4fb03a3b223173a3bb8cee65a28724eeb7bac87f62aa7b1df5ea3fc93af3cee3ef30b83d06c6773d6b856a7e6fa5fa197ea SHA512 7f0df70f9f1ca8d3da0b9dcc96e49daf05d95c3a995289266b5333f68818d686d32b0c733dfe3a0f62da78fa45caa843a963923b2d0c80899c33413dc749c032 DIST proc-macro2-1.0.70.crate 44343 BLAKE2B fff0dec06b21e391783cc136790238acb783780eaedcf14875a350e7ceb46fdc100c8b9e3f09fb7f4c2196c25d4c6b61e574c0dad762d94533b628faab68cf5c SHA512 ae9366856853f7d96caf7a7581843d36bfc7843f8683897b19ffc666c03b0b1eff502ddb18ca4c1c1a239a368f03f6cc258b0e2795f64b61c6a31404462eec5f DIST pyo3-0.19.2.crate 418228 BLAKE2B ee018b33383fada78cd22643aea9231a8c8a2f19d1eb297f40eec9206c5220f322fff4c926d939a93a24ac6d231a207ebb25afcc0709191151c7ed9af7465efa SHA512 58698183e0f2f0507f8f765bf3e90185c933e78d62f0a9be65c4b1ce8eea19a98fe0341abe7c58cafdacb63a012ec417876dccb7be6facc1360fcb22796fcaf9 +DIST pyo3-0.20.0.crate 431766 BLAKE2B 104bc21ce2c6931753ca0c7b2d91693f454c964260ca3c4628a899fc8e7edbe4238db913ed7356f3beff154d88a60a17c0e252b655768e75483e1d9d9b86f40b SHA512 85d9533c75f905752c62f6a4898582ae48daf085e287b44949c47260301205a5f00477927877ce46300d2801d22fbc04a958c058a37eb28374c834fff27feca1 DIST pyo3-build-config-0.19.2.crate 29206 BLAKE2B 5b1cd80d643e448cf8f1d28a514333526061c178121b9a0dcb5bff6082f402ecfd166536d94d42065f6dc1f108a73f12bbb78eedf9ea053a6aa2e9c80ac00ddf SHA512 ccc73061ec1989258921c5b5800689170635fa5503d74a4ac458baef903dd31efa41995d238783f1e099ece1f66d0a0e95c4fcb4b772b9f653dbb20e838b4e28 +DIST pyo3-build-config-0.20.0.crate 29534 BLAKE2B eb1d5f75276533483c52c6fcae49b294d6d8edf504859dae18811c1ef695dc6d0a055f2a34bea305975e4c1492c312433d2dcb7753484f793376c62cd59c8e40 SHA512 a01d06ebeb4b9cfe6ff6731046101e9437498453ca5aa68ec53df3bfb2f34665a489f8072636c2da16c1e867f536032fd293f05a43561117fd131bde5fe5aac7 DIST pyo3-ffi-0.19.2.crate 66500 BLAKE2B b4139fba31ef17017b6b60784e41ccda34931a072c2638af1eed8d02d7af701c46fe38b12772d2301cff41d10a433ff0f00a69d79d40233eadafe82abe585f8d SHA512 789191bca537998dd23d72dce4f185b84bbe700f4171c47de35b9bbca15a180ad214392b4f465cc1ecb0be955ebec1cf5a3c497815073be18035bd8bf8c51a32 +DIST pyo3-ffi-0.20.0.crate 64220 BLAKE2B dfe75b9459b4a564d1dd9f907166b76d00c5b50ba027db65d11540a7b993f3ef4e19e574135b538635ebb9c9eba66115c09198c7b6071b0b82fd94faccb1bb63 SHA512 a68f0b1380f2ac3d3034ac8b3788cd6573850137c6678694cbcc3e814b619510b9b21b11704c2e702d4eb7433d8b1d3a6dac663501b6db5197a409407802b714 DIST pyo3-macros-0.19.2.crate 7173 BLAKE2B 8862f42a30929579b0b0bc2ba7f0b416518724480e197fa13288e49324e851f964183e1529b7f31bf5d4fe0ae194a412723b6b401100e66fba98bbcd9c283866 SHA512 852cc2792aa3d30d9ab8802a451be5617cae6536adced1bf0dde71704a3c7c1bfe862fba751b6d045249819a8ba5d87dfc50914d142a0b662f046498c06f8c2e +DIST pyo3-macros-0.20.0.crate 7678 BLAKE2B 03fdc0cc9c735086ca2d27e0bcd197e69538c3640ba7f87bc3d65907db374ac7283f61bdb67a1d45b66ce972072ddcb3b1daed4aeb9a66100d11bba6515cdc86 SHA512 79b61f55010dad60dda2c5061c9736bef3f6805f28db230726937340a5c40a3fcfb727a0db7779c3eb094ebd45492f7af4f40a3fcaef42f160989a8ef6174e7e DIST pyo3-macros-backend-0.19.2.crate 49962 BLAKE2B 9d8a032c2205f55d2431b6bbc40df153339e08479df3a8a65506ade7d1f3d17cfaf664cbd09eaec9acff3f5a248598e37427d0c5a531eaf527137803adf49834 SHA512 fd708e6fdbd54ef7c676bedc62070175bac6b8f7ae11231578196dbf552b163a8a2499a1266f786bb6bfb85517fe83610902137d59a5c42efcb1a27c4235a07e +DIST pyo3-macros-backend-0.20.0.crate 49383 BLAKE2B a239042abdfcf5ad38505b57bc6b858ba346bf8681e24acf2e433f53e4a40bf0b28928b434b96f596d12acbb602b14b7e1bbf4be1e5789e6d9c754368db00a1e SHA512 c823caba48b4a30aaf84c23f80934f0172f2c76a41b538b69ebc25afcb61611b54b8fbb4ab6cac1c7a78b4e6f9f909f22748a2cd279b508d3897b74b17021d56 DIST quote-1.0.33.crate 28090 BLAKE2B 77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d72851d73768d491c56c6779a0882a304c1f30c88732a6168351f0f786b10516ae537cff993892a749175848 SHA512 c1e76c3c017e8554eebe309f8167fd56fce931981c06798aa85a0cc6d64a9cba6ab103f5a1324e69c6f9ca5dc47a8e31ff2e847850542748697afcd265b5939c DIST redox_syscall-0.4.1.crate 24858 BLAKE2B c3301137a0b84e03b09d28dfa377ab3bea74d574a08cee21d35713b278d8b5b30ca2a1d73a0981baeb4644cbb88c86c8eb15ab3bb2692e38b93e6b35fab4e0da SHA512 073ed9d96090cf46eab9877742277a013c62d8da86d9caf2310b4fa868af306511936553579e01309f27067d344226cc8dc5e3aef01d9b900da2febd33848f8d DIST rustversion-1.0.14.crate 17261 BLAKE2B db30d01914059a893bdb4c448ed0bf04852085c2d948bfbed8819a1d2317c34133cf609abdd806ad628b86974a9c1ab9d09f79743cb8e13257ef32cd444f49c6 SHA512 466d753c28c4899ab3da3e9f3366f7ecc435d484f51e0c07acfa5f3367af0de27ea3bc75efda22159b4990c976b1466a27e7c31c834c72a87d8234318357454b @@ -25,6 +31,7 @@ DIST sqlglot-19.9.0.tar.gz 9096488 BLAKE2B c595fb7e1462bd87c94a7deadac10aeb2c2ff DIST sqlglot-20.0.0.tar.gz 9100950 BLAKE2B e18085ae7b807290433dcdb92dd8d399b2f8821aa8085dfabdb534b542e3631968ada066df6614c41c1d7208812068bd89bc2d9b7788d67ea5830f055e72fba0 SHA512 b821864819b7d5c954586a16d5ccd7b255e761aaeb0cb46e20eaee3d615d1a7224954e50de44905e1f57d5a0f8457b611561fd948af1325e3423d47bcadf1333 DIST sqlglot-20.1.0.tar.gz 9014694 BLAKE2B 195034a059a42f6173de23ab75c2f6a4016d02ad03a5b5244d9ac6f1b40802476f708aeb5c5ebeee68ba310e8434db1b3b9912bc0898a36b84da8980912b946c SHA512 646bcc41e2a03fe8c78d7b2aba9d6f1633f694376b09a9e3c9e9fac8c01775cab6cd98f32bf2e473ba2b92bebcbad32ef44689070b20dca607e354175272cc6d DIST sqlglot-20.2.0.tar.gz 9030799 BLAKE2B e55055959231c86a7b931584794b613ceec4cb6a9093a255dce28d553d4ca9dcc98b2177a01724abf63557191656b060d8949d610dbc4a050a9144cf3c9dbbbf SHA512 88d5afb8fd0ea581aa258345873a53e5a506db417df7d3cb864d0a09261dc074d85dd5891c290f926870534b048a2128ba00441ac7ef9729d69e49183bca0c3f +DIST sqlglot-20.3.0.tar.gz 9062151 BLAKE2B dd54255e4ad80d48a9ef3b5c2178cb305eabed13d246292bcdce8354ee06b9b39164ece00861936f65fc3dca2342ca77d108e21c4292ede1e3ae0186ce82c1eb SHA512 5f5774bd0ab373898624da97bf5d3cbc1657b2cd615e103b88cb278f7046532fe8345c3fbc8bbdad9c1665a84f656f6c4e9a0b73830b555050cbaf05a7d2b315 DIST strum-0.25.0.crate 5539 BLAKE2B 9c031e5ce19e2ecaa63e63118197c740ae9295b8881f6280ad92847b99fca6fb08b0d395ab1b2a66e25c8374cd18866d8436540538e3c0f1f047fd2235971b40 SHA512 a3522df79547e94518f25a0e29248f67f1d7e2586a7a424d7d996cb6bfe5d98fcc4fc44da7ddcd4e35a1127b2816bee55107f30cb2a559f5b9bbb1346139544a DIST strum_macros-0.25.3.crate 22570 BLAKE2B 511af0d1f0f76df7ad1528c79987b6e09390bfb33e1c34078fb5450171aca7f169afb83fa2f2338a861ded6842c8535ea6e4cdb0d31f341edab0a06d7eeac16c SHA512 e6ebc00943d9f88104815a5bd6a302a391a06fb0ed5ff836e01d341150628684e00e5e2e5b3f6466ece92d376985246f818243a0d1d775cfa55d1c50c0ec0c62 DIST syn-1.0.109.crate 237611 BLAKE2B e827445d00c79a8eeb91eacde472f1987addd6ce9e1df95d7abf6446a77ff4173a8006845f3ae71c1da47193cfb72e0ead9a6d6bad2573be12c17e90735d9ad9 SHA512 12816b9e8cf984024b2fbce9f0ae14cf94d4d2c06f08cc54fb793ce78770bb4cc1288eb7df0ba5e8e937756e1e8e295c53fe07a0c5dde1ea8ddba03b6203b37d @@ -32,6 +39,7 @@ DIST syn-2.0.41.crate 246016 BLAKE2B 9d389f2e2a0acb4c84c309456e8ffcc88c5d4d54153 DIST target-lexicon-0.12.12.crate 25156 BLAKE2B f3803596c75f6c89438592a1176c3748fc2c0524d7d50a20056de1cd26d40c572b05bafcdf6dd702752864bea37c8b4f28f96dadc12a5b3bb1d279b25e489f85 SHA512 6147295c43ba1b7b087a3c5ab51534b2985e4e77e5e15687978cfb9d07e21c4fd9bc7191576d6cabd268d08a44dc733c4a957e59dba8b948c2055d8bb433aeca DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 DIST unindent-0.1.11.crate 7700 BLAKE2B d4d1dde410c4194acb51f74f374cf11fa872e49fad8f5f24b596d72476403e5e312fedf7b0bcb1027384d53c8de565368d63c30eaf70a6e6cd958b82e5288ca3 SHA512 f800d6c37fe72477908c91457a738a73d2b8085bb5ae303d6d954405d6ccd98833b5da16a12c3ad1ab75d32a68dedc706dfaacc0fcbb95571dd829cdc03a356a +DIST unindent-0.2.3.crate 7306 BLAKE2B a57407b117e99c230750c7d4a2a0899586c8271e4ba88ecb409c976905c014f42885372c234a75fbfbedf71dbed779f95f735975d150adacdcb61152a49db4c2 SHA512 2f1eb420ea3653b00d3e5fa0c2c105da8fd8a37cb3e699373c168604b799fccd5f0faf0cddce4212d119c2afb0c86b41efc3a50752b83ff7beda2bd84d360505 DIST windows-targets-0.48.5.crate 6904 BLAKE2B 7396bb210f37bd51da86f39fca3425c8f6610721d5c4e94f9fafa0a8a8046303b3fcc6979146bcfaa32f4406d242a0455f6cbb220f84c6ff84650e755acf5223 SHA512 e079eeef255a046be7f8e6a31c14f7b230254ebcf05eed2944827bb3d2a0dc30940d87593cf544d5e7ef35f6312b99430efcfb01421d91b02bb9c4bef7d98709 DIST windows_aarch64_gnullvm-0.48.5.crate 418492 BLAKE2B 5c6f7d73ad05740f0bac304ed1ef9b2ea63b0d6ca8f875552ae299a0b73b1557e8fe996f1c2b69be9f2df350c9288690f49ee62239a2896991364331d6c55462 SHA512 20158d31454488f6053d3ad7b97d7fc6eae6cf37e4ba0e50c28bd29b368505eed64199ae31104d5f97b66846be54e5ed25c0ad31ea850819205c573a31ac0996 DIST windows_aarch64_msvc-0.48.5.crate 798483 BLAKE2B 60c466d6536426425a34b5ca20da97c8127ebeb4fb9b1363911165bada484f8913fcd50e90410b5661e0c27dbfe8f4eeaa62fb17d1f3566bfc82b6255e11619b SHA512 223f016c6f1a44dbc5c8a8428b39438f75380ea06951b7c26ed0877b19d79410c6fde5e4c7f2c839b6e76159131f39a1230e0e3a208dfc425ba9117e3665c4ff diff --git a/dev-python/sqlglot/sqlglot-20.3.0.ebuild b/dev-python/sqlglot/sqlglot-20.3.0.ebuild new file mode 100644 index 000000000000..039c16f06702 --- /dev/null +++ b/dev-python/sqlglot/sqlglot-20.3.0.ebuild @@ -0,0 +1,120 @@ +# Copyright 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} ) + +CARGO_OPTIONAL=1 +CRATES=" + autocfg@1.1.0 + bitflags@1.3.2 + cfg-if@1.0.0 + heck@0.4.1 + indoc@2.0.4 + libc@0.2.150 + lock_api@0.4.11 + memoffset@0.9.0 + once_cell@1.19.0 + parking_lot@0.12.1 + parking_lot_core@0.9.9 + proc-macro2@1.0.70 + pyo3-build-config@0.20.0 + pyo3-ffi@0.20.0 + pyo3-macros-backend@0.20.0 + pyo3-macros@0.20.0 + pyo3@0.20.0 + quote@1.0.33 + redox_syscall@0.4.1 + scopeguard@1.2.0 + smallvec@1.11.2 + syn@2.0.41 + target-lexicon@0.12.12 + unicode-ident@1.0.12 + unindent@0.2.3 + windows-targets@0.48.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.5 +" + +inherit cargo distutils-r1 pypi optfeature + +DESCRIPTION="An easily customizable SQL parser and transpiler" +HOMEPAGE=" + https://sqlglot.com/ + https://github.com/tobymao/sqlglot/ + https://pypi.org/project/sqlglot/ +" +SRC_URI+=" + native-extensions? ( + ${CARGO_CRATE_URIS} + ) +" + +LICENSE="MIT" +LICENSE+=" native-extensions? (" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" +LICENSE+=" )" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+native-extensions" + +BDEPEND=" + native-extensions? ( + ${RUST_DEPEND} + dev-util/maturin[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" + +src_unpack() { + cargo_src_unpack +} + +src_prepare() { + # remove fragile timing check + sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + + if use native-extensions; then + local DISTUTILS_USE_PEP517=maturin + cd sqlglotrs || die + distutils-r1_python_compile + cd - >/dev/null || die + fi +} + +python_test() { + local EPYTEST_IGNORE=( + # Tests require pyspark or duckdb which aren't in the tree. + # Pandas would be a requirement normally, but it gets ignored by proxy. + "tests/dataframe/integration/test_dataframe.py" + "tests/dataframe/integration/test_grouped_data.py" + "tests/dataframe/integration/test_session.py" + "tests/test_executor.py" + "tests/test_optimizer.py" + ) + + # make sure not to use an earlier installed version + local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) + rm -rf sqlglotrs || die + epytest +} + +pkg_postinst() { + optfeature "simplifying timedelta expressions" dev-python/python-dateutil +} diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest index 95957e68ecc7..8a500d0ab1a1 100644 --- a/dev-python/starlette/Manifest +++ b/dev-python/starlette/Manifest @@ -1,3 +1,2 @@ -DIST starlette-0.32.0.gh.tar.gz 2839571 BLAKE2B adf6b382b267f77309cea1914e980df3ec6e1a05c2ed535c9a26518581349523f9ef5b07c3b97af9123950a52b4ea43acd257527e00a83423b992ce93956b86e SHA512 4b655af29e0a2e031db4155e8697d23abee1e100735904a47b0989faf56a9a05c007a672e6576748849347aaab931c8c1ea89a09d77b04ac8b55a78284ab551a DIST starlette-0.33.0.gh.tar.gz 2840495 BLAKE2B 64bf929409be913bd193d0a929c7ab158383ea69a31a98833f425d68f308a1459998af89b631c6db34a32ef599e10fa0dd11c07c7d74e90de2ff10d2a7378a46 SHA512 4ebf75b76656a23599e45b839451af13261ac893efd4dcb3fb1a23de79e9779e8a1e007e3f8d755228f8348aa3e7d821e885774a8fd04a1efac45776cf00790f DIST starlette-0.34.0.gh.tar.gz 2841390 BLAKE2B c7eb980fe0a1a6fff0e2bb0c2bb0af4a409933a51de28d2641698f39f8280e7e1d767927f6f919cbb6e5817d34f81b48835c3ad8600c05c6194f70e4f0475d39 SHA512 bf8ce6b665f91e0410dca7b4f427f07cf977f5e9dd6614cf7c06ef2521e359410cdfc2008d7324a500c68bb8b1ecfd9b3a165c7dfc62a84c01762910debb981e diff --git a/dev-python/starlette/starlette-0.32.0.ebuild b/dev-python/starlette/starlette-0.32.0.ebuild deleted file mode 100644 index 5752d82c1015..000000000000 --- a/dev-python/starlette/starlette-0.32.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=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 - -MY_P=${P/_p/.post} -DESCRIPTION="The little ASGI framework that shines" -HOMEPAGE=" - https://www.starlette.io/ - https://github.com/encode/starlette/ - https://pypi.org/project/starlette/ -" -# no docs or tests in sdist, as of 0.27.0 -SRC_URI=" - https://github.com/encode/starlette/archive/${PV/_p/.post}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - <dev-python/anyio-5[${PYTHON_USEDEP}] - >=dev-python/anyio-3.4.0[${PYTHON_USEDEP}] - >=dev-python/httpx-0.22.0[${PYTHON_USEDEP}] - dev-python/itsdangerous[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/python-multipart[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/trio[${PYTHON_USEDEP}] - ) -" - -EPYTEST_IGNORE=( - # Unpackaged 'databases' dependency - tests/test_database.py -) - -distutils_enable_tests pytest diff --git a/dev-python/starlette/starlette-0.33.0.ebuild b/dev-python/starlette/starlette-0.33.0.ebuild index 521c3a7aebb1..5752d82c1015 100644 --- a/dev-python/starlette/starlette-0.33.0.ebuild +++ b/dev-python/starlette/starlette-0.33.0.ebuild @@ -24,7 +24,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" <dev-python/anyio-5[${PYTHON_USEDEP}] diff --git a/dev-python/templated-dictionary/Manifest b/dev-python/templated-dictionary/Manifest new file mode 100644 index 000000000000..91930005f293 --- /dev/null +++ b/dev-python/templated-dictionary/Manifest @@ -0,0 +1 @@ +DIST templated-dictionary-1.2.tar.gz 11036 BLAKE2B 4126de9e846246e818f9ff57ed20a9d077570290dce9ecc96e33354d3149bf77a48da52e409ad9a9dd408a553e1992372235e5e74d52a39f79782e1408695fce SHA512 65d32a12fd38dd372b41d8650031d3ce948578e0bf9852d53b89c479d48628b12197e0049c3d523dabe49b52056ceac56d396412f715c845a6d510b8b8b16f60 diff --git a/dev-python/templated-dictionary/metadata.xml b/dev-python/templated-dictionary/metadata.xml new file mode 100644 index 000000000000..c0f74ac187e2 --- /dev/null +++ b/dev-python/templated-dictionary/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>pastalian46@gmail.com</email> + <name>Takuya Wakazono</name> + </maintainer> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/templated-dictionary/templated-dictionary-1.2.ebuild b/dev-python/templated-dictionary/templated-dictionary-1.2.ebuild new file mode 100644 index 000000000000..261164180784 --- /dev/null +++ b/dev-python/templated-dictionary/templated-dictionary-1.2.ebuild @@ -0,0 +1,22 @@ +# Copyright 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 dictionary with Jinja2 expansion" +HOMEPAGE=" + https://github.com/xsuchy/templated-dictionary/ + https://pypi.org/project/templated-dictionary/ +" + +SLOT="0" +LICENSE="GPL-2+" +KEYWORDS="~amd64" + +RDEPEND="dev-python/jinja[${PYTHON_USEDEP}]" diff --git a/dev-python/termcolor/Manifest b/dev-python/termcolor/Manifest index 792430ffdba4..b290d3416c14 100644 --- a/dev-python/termcolor/Manifest +++ b/dev-python/termcolor/Manifest @@ -1,2 +1 @@ -DIST termcolor-2.3.0.py.tar.gz 12163 BLAKE2B a500cc13b0a7d43c32981f82408491c6fd30e489c1729bdbecae6e13e9deefe4a54944da56a241bc5c5f5411abfc2671dab8bc3ae23adf907f7eba617223f308 SHA512 0ccfd9320235215b85ddbf099399aaa325dd7176be7a39225377a81c372f9733105dcfe4a9e577cdca451be1f9b5538a071fc511bccd226fe0c4cbecb536bbf3 DIST termcolor-2.4.0.py.tar.gz 12664 BLAKE2B e5cf8f3ce1d27ffc0128cd9c1e38323e1e579a7a4017254a1d03c5f5baf0fa897522134ea68929c2e492b933fe8a6c3d79b55cb674fa3af134445581d870bf85 SHA512 e715940ccc8863baae020345cabc8fc90b5bbbd5ef4b384de96920a90d97508cee6f863aa39a2c08971e58f45cf85ec73c0659715f54072bbc57612681138355 diff --git a/dev-python/termcolor/termcolor-2.3.0.ebuild b/dev-python/termcolor/termcolor-2.3.0.ebuild deleted file mode 100644 index ff25507ca02a..000000000000 --- a/dev-python/termcolor/termcolor-2.3.0.ebuild +++ /dev/null @@ -1,27 +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} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="ANSI Color formatting for output in terminal" -HOMEPAGE=" - https://github.com/termcolor/termcolor/ - https://pypi.org/project/termcolor/ -" -# rename is for avoiding conflict with dev-cpp/termcolor -SRC_URI="$(pypi_sdist_url) -> ${P}.py.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" - -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/termcolor/termcolor-2.4.0.ebuild b/dev-python/termcolor/termcolor-2.4.0.ebuild index 3b0238e95ea0..ff25507ca02a 100644 --- a/dev-python/termcolor/termcolor-2.4.0.ebuild +++ b/dev-python/termcolor/termcolor-2.4.0.ebuild @@ -18,7 +18,7 @@ SRC_URI="$(pypi_sdist_url) -> ${P}.py.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" BDEPEND=" dev-python/hatch-vcs[${PYTHON_USEDEP}] diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest index dbeddbcf2aec..bde62ac3f5a5 100644 --- a/dev-python/trimesh/Manifest +++ b/dev-python/trimesh/Manifest @@ -1,2 +1,3 @@ DIST trimesh-4.0.5.gh.tar.gz 13433920 BLAKE2B d7979727f4595dedd4d58bd7373bff457e008ea9512fb5aaa3c0e297fb0e9e538ab3b62e6d231bb6d0d7c8499e346c88b89878489187248bfd77116b4ab733dd SHA512 5167f93aece58d0fd2766a41afb5651df2ffac6486e3aebae33d97ed1ae2e4093290450b1e8d7827c300c679cf4c93baf7ce44ec603103a70c510259f514d321 DIST trimesh-4.0.6.gh.tar.gz 13434966 BLAKE2B ddb83647ffb9e268060662c2498bfe3abef423ea8fff6fb0a3d8f2677ff74222f008ca983363a16dbb833c357c8b16f3e92a6968dc79aed5593ee24e23dea076 SHA512 1b6d6be5782a44f58d16060247fe7842a30458fb5b1a01702ee224cd56a4bb3710954166373ec209de960ad6a77a649c44f51a59d31806a034bc6e7d8dca9319 +DIST trimesh-4.0.7.gh.tar.gz 13435408 BLAKE2B 72c9bf419e8a2e74f80922cba41cd999b6245e2376b38034b31d3741b9c9095ad578b46a45f02986f4735fc31086751f6eff1ac49f22af50c7061bf815550e62 SHA512 fcbc6cd917d1b6d0d23064efe6c484c8f920e966c9108cc9664cea502d43abc4cd3fb77cdd54491bb3098efae964910a9fb211aef763f576cf0ab1ae1267f657 diff --git a/dev-python/trimesh/trimesh-4.0.7.ebuild b/dev-python/trimesh/trimesh-4.0.7.ebuild new file mode 100644 index 000000000000..a19f81218c13 --- /dev/null +++ b/dev-python/trimesh/trimesh-4.0.7.ebuild @@ -0,0 +1,68 @@ +# 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 optfeature + +DESCRIPTION="Python library for loading and using triangular meshes" +HOMEPAGE=" + https://trimesh.org/ + https://github.com/mikedh/trimesh/ + https://pypi.org/project/trimesh/ +" +SRC_URI=" + https://github.com/mikedh/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/colorlog[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/networkx[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pycollada[${PYTHON_USEDEP}] + dev-python/pyglet[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/shapely-1.8.2[${PYTHON_USEDEP}] + dev-python/svg-path[${PYTHON_USEDEP}] + dev-python/sympy[${PYTHON_USEDEP}] + dev-python/xxhash[${PYTHON_USEDEP}] + sci-libs/rtree[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mapbox_earcut[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p timeout --timeout=900 +} + +pkg_postinst() { + optfeature_header "${PN} functionality can be extended by installing the following packages:" + optfeature "making GUI applications with 3D stuff" dev-python/glooey + optfeature "2D triangulations of polygons" dev-python/mapbox_earcut + optfeature "loading a number of additional mesh formats" dev-python/meshio + optfeature "figuring out how much memory we have" dev-python/psutil + optfeature "marching cubes and other nice stuff" sci-libs/scikit-image +} diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest index cb6cd6cb8d9a..f2d613806161 100644 --- a/dev-python/virtualenv/Manifest +++ b/dev-python/virtualenv/Manifest @@ -1,2 +1 @@ -DIST virtualenv-20.24.7.tar.gz 7141024 BLAKE2B 1125960c3a0b84f1350a9b427e6387dacbf2b2c5ef827bd21d61b5b0fd2e0c81c01b452390b1ec96ed139ed42d3f061394c82227c06a873bca9c21bd5a8fcfbc SHA512 fdfa763f026665cf8bd624192f71853c00b22f0b34f4bf4cd629c928a3c666f60d3dd7ee10c3c46b9a8b383cce51015c5fdeb891e9c6033b02563686d5e7790e DIST virtualenv-20.25.0.tar.gz 7150307 BLAKE2B ebe36d523d23aa6e29b53cf49e536aa0f2ab6bb2edcfaed3ba89456893a0cb9fb7bf8f97c61f12725a57023a6b565a0de797f988714469e2166da5d63652d54e SHA512 f4d8acff9d5837aa40eea18810517d4f1b9936b567395d6216bbda36e84b24f8efc584586cd2d168491139b346513d924e371b6b1396833fbbfedebef8620b94 diff --git a/dev-python/virtualenv/virtualenv-20.24.7.ebuild b/dev-python/virtualenv/virtualenv-20.24.7.ebuild deleted file mode 100644 index 8ec614d727ed..000000000000 --- a/dev-python/virtualenv/virtualenv-20.24.7.ebuild +++ /dev/null @@ -1,122 +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} pypy3 ) - -inherit distutils-r1 multiprocessing pypi - -DESCRIPTION="Virtual Python Environment builder" -HOMEPAGE=" - https://virtualenv.pypa.io/en/stable/ - https://pypi.org/project/virtualenv/ - https://github.com/pypa/virtualenv/ -" - -LICENSE="MIT" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -SLOT="0" - -RDEPEND=" - >=dev-python/distlib-0.3.7[${PYTHON_USEDEP}] - >=dev-python/filelock-3.12.2[${PYTHON_USEDEP}] - >=dev-python/platformdirs-3.9.1[${PYTHON_USEDEP}] -" -# coverage is used somehow magically in virtualenv, maybe it actually -# tests something useful -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/coverage[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - >=dev-python/pip-22.2.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}] - ' pypy3) - >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/setuptools-67.8[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' 'python3*') - dev-python/wheel[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # workaround test failures due to warnings from setuptools-scm, sigh - echo '[tool.setuptools_scm]' >> pyproject.toml || die - - # remove useless pins - sed -i -e 's:<[0-9.]*,::' pyproject.toml || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - tests/unit/activation/test_xonsh.py - tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data - tests/unit/create/test_creator.py::test_cross_major - # tests failing without python2 installed - "tests/unit/create/test_creator.py::test_py_pyc_missing[True-False]" - "tests/unit/create/test_creator.py::test_py_pyc_missing[False-False]" - ) - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - 'tests/unit/create/test_creator.py::test_create_no_seed[root-pypy3-posix-copies-isolated]' - 'tests/unit/create/test_creator.py::test_create_no_seed[root-pypy3-posix-copies-global]' - 'tests/unit/create/test_creator.py::test_create_no_seed[venv-pypy3-posix-copies-isolated]' - 'tests/unit/create/test_creator.py::test_create_no_seed[venv-pypy3-posix-copies-global]' - 'tests/unit/create/test_creator.py::test_create_no_seed[root-venv-copies-isolated]' - 'tests/unit/create/test_creator.py::test_create_no_seed[root-venv-copies-global]' - 'tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-copies-isolated]' - 'tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-copies-global]' - 'tests/unit/create/test_creator.py::test_zip_importer_can_import_setuptools' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.9-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.9--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.10-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.10--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.9-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.9--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.10-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.10--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3--bin-]' - ) - ;; - python3.12) - EPYTEST_DESELECT+=( - tests/unit/create/via_global_ref/test_build_c_ext.py - ) - ;& - python3.11) - EPYTEST_DESELECT+=( - # TODO - tests/unit/discovery/py_info/test_py_info.py::test_fallback_existent_system_executable - ) - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x TZ=UTC - local plugins=( -p flaky -p pytest_mock ) - if [[ ${EPYTHON} == pypy3 ]]; then - plugins+=( -p freezegun ) - else - plugins+=( -p time_machine ) - fi - epytest "${plugins[@]}" -p xdist -n "$(makeopts_jobs)" --dist=worksteal -} diff --git a/dev-python/virtualenv/virtualenv-20.25.0.ebuild b/dev-python/virtualenv/virtualenv-20.25.0.ebuild index 8d44b2b0191f..8ec614d727ed 100644 --- a/dev-python/virtualenv/virtualenv-20.25.0.ebuild +++ b/dev-python/virtualenv/virtualenv-20.25.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" " LICENSE="MIT" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" SLOT="0" RDEPEND=" diff --git a/dev-python/websocket-client/Manifest b/dev-python/websocket-client/Manifest index 70a4be1ec3e2..f56eca8485e1 100644 --- a/dev-python/websocket-client/Manifest +++ b/dev-python/websocket-client/Manifest @@ -1,2 +1 @@ -DIST websocket-client-1.6.4.tar.gz 51905 BLAKE2B 5bfab632bfa727ad950c4898f52422b11d9c1582567295dd0833321d494d33c057e94e40fad8d612e2aca6efe0fe03595bcfebd1e890c1b15a6fa97864818e59 SHA512 d5a44c78bf5f6d4b5a1344bf6d5c94435e529dd85ee5d7fe5552478bbf2e57229ca7573b28a93fa28d1e5cf72fd721b4456bb5e154db578ec652cbc82316413b DIST websocket-client-1.7.0.tar.gz 54037 BLAKE2B 6a37b17c0a428dfacfd441384469954bc30f5ca5cf8380c08b45337ebdd69999cbd14eb0f0cde3c33d2f5c2698dac9a34eb51430bb810ab6edf8130415e98a4b SHA512 1f6b3253f7febd053e1271bcacd71701ec27d6921ba9791b16a203c8b7240925284e033dba4ad5d4c56a88568dc57ecb760c254964bc3bb4e87df52573239a9a diff --git a/dev-python/websocket-client/websocket-client-1.6.4.ebuild b/dev-python/websocket-client/websocket-client-1.6.4.ebuild deleted file mode 100644 index 94295912772a..000000000000 --- a/dev-python/websocket-client/websocket-client-1.6.4.ebuild +++ /dev/null @@ -1,37 +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} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="WebSocket client for python with hybi13 support" -HOMEPAGE=" - https://github.com/websocket-client/websocket-client/ - https://pypi.org/project/websocket-client/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="examples" - -BDEPEND=" - test? ( - dev-python/python-socks[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -python_install_all() { - if use examples; then - docompress -x "/usr/share/doc/${PF}/examples" - dodoc -r examples - fi - distutils-r1_python_install_all -} diff --git a/dev-python/websocket-client/websocket-client-1.7.0.ebuild b/dev-python/websocket-client/websocket-client-1.7.0.ebuild index a73a17c5b7be..94295912772a 100644 --- a/dev-python/websocket-client/websocket-client-1.7.0.ebuild +++ b/dev-python/websocket-client/websocket-client-1.7.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" IUSE="examples" BDEPEND=" |
