From 7166f3a0a0b7886d340010458d0b130013cb9989 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 28 Aug 2024 12:00:19 +0100 Subject: gentoo auto-resync : 28:08:2024 - 12:00:19 --- dev-python/Events/Events-0.5.ebuild | 24 +++ dev-python/Events/Manifest | 3 + dev-python/Events/metadata.xml | 17 ++ dev-python/Manifest.gz | Bin 270475 -> 270664 bytes dev-python/apsw/Manifest | 2 + dev-python/apsw/apsw-3.46.1.0.ebuild | 51 ++++++ dev-python/beartype/Manifest | 2 + dev-python/beartype/beartype-0.19.0_rc1.ebuild | 40 +++++ dev-python/boto3/Manifest | 2 + dev-python/boto3/boto3-1.35.7.ebuild | 53 ++++++ dev-python/botocore/Manifest | 2 + dev-python/botocore/botocore-1.35.7.ebuild | 76 +++++++++ dev-python/cffi/Manifest | 4 +- dev-python/cffi/cffi-1.16.0-r1.ebuild | 72 +++++++++ dev-python/cffi/cffi-1.16.0.ebuild | 72 --------- dev-python/cffi/cffi-1.17.0-r1.ebuild | 72 +++++++++ dev-python/cffi/cffi-1.17.0.ebuild | 71 --------- dev-python/cfn-lint/Manifest | 2 + dev-python/cfn-lint/cfn-lint-1.11.0.ebuild | 70 ++++++++ dev-python/clang-python/Manifest | 7 - .../clang-python/clang-python-19.1.0_rc2.ebuild | 53 ------ .../clang-python-20.0.0_pre20240808.ebuild | 53 ------ .../clang-python-20.0.0_pre20240815.ebuild | 53 ------ dev-python/contourpy/Manifest | 2 + dev-python/contourpy/contourpy-1.3.0.ebuild | 53 ++++++ dev-python/google-api-core/Manifest | 2 + .../google-api-core/google-api-core-2.19.2.ebuild | 64 ++++++++ dev-python/googleapis-common-protos/Manifest | 4 +- .../googleapis-common-protos-1.64.0.ebuild | 4 +- .../googleapis-common-protos-1.65.0.ebuild | 31 ++++ dev-python/httpx/Manifest | 2 + dev-python/httpx/httpx-0.27.2.ebuild | 95 +++++++++++ dev-python/lit/Manifest | 7 - dev-python/lit/lit-19.1.0_rc2.ebuild | 45 ------ dev-python/lit/lit-20.0.0_pre20240808.ebuild | 45 ------ dev-python/lit/lit-20.0.0_pre20240815.ebuild | 45 ------ dev-python/lxml/Manifest | 3 + dev-python/lxml/files/lxml-5.3.0-pypy.patch | 177 +++++++++++++++++++++ dev-python/lxml/lxml-5.3.0.ebuild | 119 ++++++++++++++ dev-python/notebook/Manifest | 2 + dev-python/notebook/notebook-7.2.2.ebuild | 64 ++++++++ dev-python/opensearch-py/Manifest | 2 + .../opensearch-py/opensearch-py-2.7.1.ebuild | 44 +++++ dev-python/openstackdocstheme/Manifest | 2 + .../openstackdocstheme-3.3.0.ebuild | 29 ++++ dev-python/oslo-config/Manifest | 3 + .../files/oslo-config-9.6.0-py312.patch | 43 +++++ dev-python/oslo-config/oslo-config-9.6.0.ebuild | 63 ++++++++ dev-python/pbr/Manifest | 2 + dev-python/pbr/pbr-6.1.0.ebuild | 72 +++++++++ dev-python/pipdeptree/Manifest | 2 - ...ipdeptree-2.13.1-expect-hpy-in-pypy-7.3.3.patch | 26 --- .../files/pipdeptree-2.13.2-fix-pypy-7.3.14.patch | 37 ----- dev-python/pipx/Manifest | 4 + dev-python/pipx/pipx-1.7.1.ebuild | 108 +++++++++++++ dev-python/pyghmi/Manifest | 2 + dev-python/pyghmi/pyghmi-1.5.71.ebuild | 33 ++++ dev-python/pytest-check/Manifest | 2 + dev-python/pytest-check/pytest-check-2.4.0.ebuild | 26 +++ dev-python/python-keystoneclient/Manifest | 2 + .../python-keystoneclient-5.5.0.ebuild | 56 +++++++ dev-python/pyudev/Manifest | 3 + dev-python/pyudev/files/pyudev-0.24.3-tests.patch | 13 ++ dev-python/pyudev/pyudev-0.24.3.ebuild | 77 +++++++++ dev-python/quantities/Manifest | 2 + dev-python/quantities/quantities-0.16.0.ebuild | 40 +++++ dev-python/sphinx/Manifest | 1 - .../sphinx/files/sphinx-7.3.7-opt-defusedxml.patch | 34 ---- dev-python/sqlalchemy/Manifest | 1 - .../sqlalchemy/files/sqlalchemy-2.0.30-py313.patch | 13 -- dev-python/tifffile/Manifest | 2 + dev-python/tifffile/tifffile-2024.8.28.ebuild | 47 ++++++ dev-python/tree-sitter/Manifest | 2 + dev-python/tree-sitter/tree-sitter-0.23.0.ebuild | 64 ++++++++ dev-python/uv/Manifest | 3 + dev-python/uv/uv-0.3.5.ebuild | 113 +++++++++++++ dev-python/zope-interface/Manifest | 2 + .../zope-interface/zope-interface-7.0.3.ebuild | 48 ++++++ 78 files changed, 2018 insertions(+), 570 deletions(-) create mode 100644 dev-python/Events/Events-0.5.ebuild create mode 100644 dev-python/Events/Manifest create mode 100644 dev-python/Events/metadata.xml create mode 100644 dev-python/apsw/apsw-3.46.1.0.ebuild create mode 100644 dev-python/beartype/beartype-0.19.0_rc1.ebuild create mode 100644 dev-python/boto3/boto3-1.35.7.ebuild create mode 100644 dev-python/botocore/botocore-1.35.7.ebuild create mode 100644 dev-python/cffi/cffi-1.16.0-r1.ebuild delete mode 100644 dev-python/cffi/cffi-1.16.0.ebuild create mode 100644 dev-python/cffi/cffi-1.17.0-r1.ebuild delete mode 100644 dev-python/cffi/cffi-1.17.0.ebuild create mode 100644 dev-python/cfn-lint/cfn-lint-1.11.0.ebuild delete mode 100644 dev-python/clang-python/clang-python-19.1.0_rc2.ebuild delete mode 100644 dev-python/clang-python/clang-python-20.0.0_pre20240808.ebuild delete mode 100644 dev-python/clang-python/clang-python-20.0.0_pre20240815.ebuild create mode 100644 dev-python/contourpy/contourpy-1.3.0.ebuild create mode 100644 dev-python/google-api-core/google-api-core-2.19.2.ebuild create mode 100644 dev-python/googleapis-common-protos/googleapis-common-protos-1.65.0.ebuild create mode 100644 dev-python/httpx/httpx-0.27.2.ebuild delete mode 100644 dev-python/lit/lit-19.1.0_rc2.ebuild delete mode 100644 dev-python/lit/lit-20.0.0_pre20240808.ebuild delete mode 100644 dev-python/lit/lit-20.0.0_pre20240815.ebuild create mode 100644 dev-python/lxml/files/lxml-5.3.0-pypy.patch create mode 100644 dev-python/lxml/lxml-5.3.0.ebuild create mode 100644 dev-python/notebook/notebook-7.2.2.ebuild create mode 100644 dev-python/opensearch-py/opensearch-py-2.7.1.ebuild create mode 100644 dev-python/openstackdocstheme/openstackdocstheme-3.3.0.ebuild create mode 100644 dev-python/oslo-config/files/oslo-config-9.6.0-py312.patch create mode 100644 dev-python/oslo-config/oslo-config-9.6.0.ebuild create mode 100644 dev-python/pbr/pbr-6.1.0.ebuild delete mode 100644 dev-python/pipdeptree/files/pipdeptree-2.13.1-expect-hpy-in-pypy-7.3.3.patch delete mode 100644 dev-python/pipdeptree/files/pipdeptree-2.13.2-fix-pypy-7.3.14.patch create mode 100644 dev-python/pipx/pipx-1.7.1.ebuild create mode 100644 dev-python/pyghmi/pyghmi-1.5.71.ebuild create mode 100644 dev-python/pytest-check/pytest-check-2.4.0.ebuild create mode 100644 dev-python/python-keystoneclient/python-keystoneclient-5.5.0.ebuild create mode 100644 dev-python/pyudev/files/pyudev-0.24.3-tests.patch create mode 100644 dev-python/pyudev/pyudev-0.24.3.ebuild create mode 100644 dev-python/quantities/quantities-0.16.0.ebuild delete mode 100644 dev-python/sphinx/files/sphinx-7.3.7-opt-defusedxml.patch delete mode 100644 dev-python/sqlalchemy/files/sqlalchemy-2.0.30-py313.patch create mode 100644 dev-python/tifffile/tifffile-2024.8.28.ebuild create mode 100644 dev-python/tree-sitter/tree-sitter-0.23.0.ebuild create mode 100644 dev-python/uv/uv-0.3.5.ebuild create mode 100644 dev-python/zope-interface/zope-interface-7.0.3.ebuild (limited to 'dev-python') diff --git a/dev-python/Events/Events-0.5.ebuild b/dev-python/Events/Events-0.5.ebuild new file mode 100644 index 000000000000..a61cda0c7710 --- /dev/null +++ b/dev-python/Events/Events-0.5.ebuild @@ -0,0 +1,24 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Bringing the elegance of C# EventHandler to Python" +HOMEPAGE=" + https://pypi.org/project/Events/ + https://github.com/pyeve/events +" +# No sdist in pypi as of PV=0.5 +SRC_URI="https://github.com/pyeve/events/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" +S=${WORKDIR}/${P,,} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests unittest diff --git a/dev-python/Events/Manifest b/dev-python/Events/Manifest new file mode 100644 index 000000000000..e24b5195e838 --- /dev/null +++ b/dev-python/Events/Manifest @@ -0,0 +1,3 @@ +DIST Events-0.5.gh.tar.gz 13200 BLAKE2B c55361a0a31c0f01ae7c9e49ceb2ad6900384b0164d9ac8a5e289a8a80d9ab07f6439ee85f4ec77f0ae639b46e7c69c0f4b54341f9edfff05f865e0738315ff7 SHA512 3eb067bb2a8441eaf4801f25ced65afd7f6c253461c61a2e9bbdd87645718c72a7c13a66e46a6a48ef5b5857993f23a462a286937dc93a259bd02887a3dda6c6 +EBUILD Events-0.5.ebuild 552 BLAKE2B 0ebbad3ee81971011037347b796689794678608b99f6c9897e3062645441431d26e33c88adbbe07279da0e33779b11f874262fd42dc298675bb4e23243696ee9 SHA512 5976b6b84892e0cf277e866395a6b017bd474e20147b3d0c23ef95d317eed8640c259ba9241b5990144e7e7d75bd562e5252ad8897b8da15dffc5609bb8191de +MISC metadata.xml 497 BLAKE2B ef1d41dcb39049cb2f61c0d337d2d92d7e56ca0ea682e1a617233aad19fe04a55f5fba967299bda916587abf0b9a2b7cf156bf37781e02b6cc38aecf0df010b2 SHA512 e94e1f0f53e32111a56687f2951363046027ae37ad031ec6e99aee6b3d26b6e7f7cb2445f77fa6095689d1c0b8e09213958418094c6ddc18ac8d8a039ac710e6 diff --git a/dev-python/Events/metadata.xml b/dev-python/Events/metadata.xml new file mode 100644 index 000000000000..6838d44b4c71 --- /dev/null +++ b/dev-python/Events/metadata.xml @@ -0,0 +1,17 @@ + + + + + python@gentoo.org + Python + + + arthurzam@gentoo.org + Arthur Zamarin + + + + Events + pyeve/events + + diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 045eb248aba4..6431abf7d649 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest index f462a18e90d3..5fbef7cc4fc9 100644 --- a/dev-python/apsw/Manifest +++ b/dev-python/apsw/Manifest @@ -1,3 +1,5 @@ DIST apsw-3.46.0.1.gh.tar.gz 912632 BLAKE2B b2c89def11102a00dde64fa7d7546f50e302dfe4219394d3d6ddd7f66fec455a60689db61a94230f7ef9578069b08ecd826de82b4e8b019107b9a0b6a36c4271 SHA512 894cf6c49d608d9d8eff369dcf42dd3b2f5174cd98a2c471f41773e2c1474c13d31f08402d053fd0869acb5c038e26543caa345d205c46bd3b3ec6aaecda5089 +DIST apsw-3.46.1.0.gh.tar.gz 913223 BLAKE2B c0ad61e61a97471ef677ffe80f3f91e6520c95f8cece225a8086884f34de497714892e4ce0ca375f2ec66f48b8ecb4d38dd5ebdb57cd94050ef5eaee20d5d3ee SHA512 3cd81ceab03dadf10d9c10d645d33b962ba9ec55075bb193eb076f458dde11d5c5c6ec087ec31fc96d011ca1b339a9ffe07cb5d660b8205f6f156baaa0b18c81 EBUILD apsw-3.46.0.1.ebuild 943 BLAKE2B fd208ce9e77fcb01697ac4f1cc3b4ec3aa04fff8d80bdf20ecd0dadc24bb7dd8c6a2013e83692f6ee77a169c80d60bc8b0daf416c27a9fb65ac0de037e99cc56 SHA512 c0d4c1a074ae0107bf885264e56ed97f46eceddc517bc1ec106a256c2dccce303a19cc6078b0b29ba53672d797329ffa95c08b5caf530e65786998af3a052ecb +EBUILD apsw-3.46.1.0.ebuild 946 BLAKE2B 1700bd4f3792825fa513414af87f9eeee8528ba767e21fb8818c29807e844e91d9bac632d82736bd0b7ee930d893638cfc64efa35d5870f83b688e8ac8a32870 SHA512 edb1078a6610d3ba67a7d83aec77f612b9453ccf36aba7801b7a07bd95ed205e8f773649a227813e2200c9ffc6ddde5e5d37bb427b6c0161d6ed7baebfc2b50a MISC metadata.xml 700 BLAKE2B 258344a1602daf3e081fdb4c94eda8af6e231def3f02fb80d63691b47d0a503c9caad80893386ce7ef42d6be2985906f3fc5cfedfe5a1044aee04c493f3d0683 SHA512 de73b4eb06d0bcf4c81e544a98ad15231b006d62fe22f6bce7e38740b941b98297fa1a38b00060ff83ae9f3259c5020c7071469f2a3f0d9e4f8f0301cb942081 diff --git a/dev-python/apsw/apsw-3.46.1.0.ebuild b/dev-python/apsw/apsw-3.46.1.0.ebuild new file mode 100644 index 000000000000..7b49484a85a9 --- /dev/null +++ b/dev-python/apsw/apsw-3.46.1.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 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_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="APSW - Another Python SQLite Wrapper" +HOMEPAGE=" + https://github.com/rogerbinns/apsw/ + https://pypi.org/project/apsw/ +" +SRC_URI=" + https://github.com/rogerbinns/apsw/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="doc" + +DEPEND=" + >=dev-db/sqlite-${PV%.*}:3 +" +RDEPEND=" + ${DEPEND} +" + +src_configure() { + cat >> setup.cfg <<-EOF || die + [build_ext] + enable=load_extension + use_system_sqlite_config=True + EOF +} + +python_test() { + esetup.py build_test_extension + cd "${T}" || die + "${EPYTHON}" -m apsw.tests -v || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/beartype/Manifest b/dev-python/beartype/Manifest index 00b266fec3f8..80f87ad4f8bd 100644 --- a/dev-python/beartype/Manifest +++ b/dev-python/beartype/Manifest @@ -1,3 +1,5 @@ DIST beartype-0.18.5.tar.gz 1193506 BLAKE2B 497de6f326a3b600992748db8b74ba80d4a14003a0cc484b3eeaf48f0f808864fe64462ef3315d421dc4b5fe5d7060b48585ee00eb822c9f124612f394ab93bb SHA512 114b256619c6c7fc48fbe28db00ae5a8ddea4ce11c5394a06fa026f0317a34907ff12ef0c0009cff7a7b83742e6b66bc8b503b4c0e382c0b6cf79d43780bda5b +DIST beartype-0.19.0rc1.tar.gz 1281359 BLAKE2B df124c838891e5bbce62ac8116968631887dc5e5918a1b6a7c46c1705d05fcacf5f4cc4034b39a6d8565a78e2edd99686643a0d1d8c22586cfd797ceb8085b29 SHA512 630fd68a55ab379aca7b49b72161b732e0790835d7f62568239fb53f719fc8295bbe3c942058ab6dfad3226060a5a11820bc87080a2dcfb46c482e1877f775b7 EBUILD beartype-0.18.5.ebuild 855 BLAKE2B 780c2859946cee302ba87d63141000d6934f01b7013b0e91ff7198e31ebf204c7568464dbc46f796dac6d718a6ff5ed6c6880139ad0be1c1feac688bd9ef511c SHA512 d3f5d208b4ae7946d7e3d729cb401abfaf024b19c499da02647c0777e2a4693a45731c2bfea174bac51efcc43f8ebc2c5416188b31a01480c4e5a6964c1e4cb7 +EBUILD beartype-0.19.0_rc1.ebuild 856 BLAKE2B 32f851b0ca1ddac04e704c77ebdc93f5cd062f4d4b63096d7782bd3b69275e227d5036936329711471131e1d968cf36cae2fb1423b071a479540e890edebb3fd SHA512 fef336dd428c18d9cc83777a8619ce8e6210774ac9fba91df8238d1e32f83f86a29a284628fa5e75bb3403aede0635b19d32729e192d25d722421aa874aa7b42 MISC metadata.xml 393 BLAKE2B f22040a947a67160c9b4c2d41db713ea69ae7a272aba75c04b1620e3f813d62718425acbc8c18716981e4176ebeabc5b60e9376d9927552ea5a36b51b7baccdd SHA512 dea8caeb6e9091672994cee213be075819d593d1034cbc7e2b076f3fc32bd2afde13b6af094956885c9ddaa72f272c6a198f4f92e7b095606fdf900a4cec47ec diff --git a/dev-python/beartype/beartype-0.19.0_rc1.ebuild b/dev-python/beartype/beartype-0.19.0_rc1.ebuild new file mode 100644 index 000000000000..000466fffd5b --- /dev/null +++ b/dev-python/beartype/beartype-0.19.0_rc1.ebuild @@ -0,0 +1,40 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Unbearably fast runtime type checking in pure Python" +HOMEPAGE=" + https://pypi.org/project/beartype/ + https://github.com/beartype/beartype/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +BDEPEND=" + test? ( + dev-python/mypy[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # fragile performance test + beartype_test/a00_unit/a70_decor/test_decorwrapper.py::test_wrapper_fail_obj_large + # test for building docs, apparently broken too + beartype_test/a90_func/z90_lib/a00_sphinx + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index d5fbda9d5cf0..c8aee16aa713 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -2,8 +2,10 @@ DIST boto3-1.34.158.gh.tar.gz 848930 BLAKE2B 5db04b9eee08f5418a595e736f075fbe22b DIST boto3-1.35.0.gh.tar.gz 851637 BLAKE2B 485b17616fed53a88280aad92d2e4219d8bcbf469b42cff6113f9596c6b245fad39b403b4fb29ed99b50955baa50940091e9c0f88cc6e350b44c69c4b1df5fdc SHA512 0236748c667ef1baf7484d4808083cb517c19ceae672973ac0cf9ce509a9e4a965c15349876807dc320fc96210ba6c5d16ea66545de19eed33dace058392d85d DIST boto3-1.35.5.gh.tar.gz 854016 BLAKE2B f94d738e310725cd5f9c7b405a094155f3ecf640f02045662ed94ab3689ea549fde7eee19ae2be450768560ad705b8740fda78b79ed42cf536231626d247e09a SHA512 fc1106abbb306bacb80dce825bf71303e71b0d0698d7e3bb4dcaca4ea6e4f7a97e70753367200294f334b351e764bca57f2316afec854d2e46db4644dfefc25b DIST boto3-1.35.6.gh.tar.gz 854351 BLAKE2B 0aea780d070a5a806bcb8196ebc3785eb1a1b5ad3cb9f1598a24bf80b4be5f8757b551a524afed9440deae505e427b97f9b79b1a7c30c7db977319ee317bb58c SHA512 81fce9301003a5b2f67107a7f6ebbd033a43a43c890be7ff3248136c1fcc826fd475f9860d3295f16900f199057e1a7da7be60554dc193826ecef6e64f97341d +DIST boto3-1.35.7.gh.tar.gz 854615 BLAKE2B 4cf4fd926bc4175273df2007f1275e0781c199361cb8c419c7c34bc764e47d0c74f7f9c9de8d25a7052072a73ccdf0c3d2ec7fcab5b71a4107b2c22a1eef5700 SHA512 4e85d9d2004d6d74190f560b41cb6a4ace30b3ce4d09d5b390045874bedca1d0fc1756170bf81f615c81a371038fa7a94c407a3de417c0be6b33805bd32866e1 EBUILD boto3-1.34.158.ebuild 1198 BLAKE2B 99a7fa08055cee13f14557124398df39119bae2e4b684265d4647ad0ec83a502bb422365e3797ff5c0440c4b1c9866ede4c62b1876510178dc2e6a0b05ed8781 SHA512 c020cc5535d63c948dd456d9f4af4e97339cb36dc0bb2b2c53d3da0c8c62737e0846ff71d9f85ca9b2936a8a7bfc43b67c3114f91440e75c9870beaa8997107a EBUILD boto3-1.35.0.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.5.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.6.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af +EBUILD boto3-1.35.7.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.35.7.ebuild b/dev-python/boto3/boto3-1.35.7.ebuild new file mode 100644 index 000000000000..8cba6d95740e --- /dev/null +++ b/dev-python/boto3/boto3-1.35.7.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.10.0[${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 e14c0eb234f4..de043a6d011a 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -2,8 +2,10 @@ DIST botocore-1.34.158.gh.tar.gz 13282704 BLAKE2B c244a36093cdaf57ac82dc11a3e9d4 DIST botocore-1.35.0.gh.tar.gz 13294975 BLAKE2B a0cbafd1b0da5cd7150ea7a2e21b1209b206b7afcb86ad3ff004ca1c96f47da34eff29a43568f0e9a2dca3443516fdb6adf7bd3778835b908fa5fb3a8d22f79a SHA512 7d0c9815703ef49a8958ed1a5159018320108ae86efe20e6dff182db24ceeb67968db7027ee75809a1ebd1c835709d0d758b0699742bca2e435888dbe5e15a97 DIST botocore-1.35.5.gh.tar.gz 13303437 BLAKE2B 0a95351fbc93074bb0398871773120a194fe581a26f9a74c1101a5ea57bb3acb9a33937fc2d5a39a065988cdcc6dbe253bd2227cf93e670602ccc67ab82d8845 SHA512 5527420017a4a23d5593f5b3a0eb8caf15357642ed90cd73e0fe22774cc8f9f3637028286063e3e2810e5dafe52e882928269e5c82f6369be9af99bef18fb365 DIST botocore-1.35.6.gh.tar.gz 13305231 BLAKE2B 1c3716883b2cc8dd98e4391ff60039f14e0e0fcd076a3780b6ee18c216f004d6f1ed2e916681d28133ae9788fd5c721abbba6c44354442a6d7862074e7f8956a SHA512 6d2ab4264886e231cb0b65ea34d2757b29ba71fe227bf8dbff3474074d612f13b3e9fcfe17b9cb2f8f420bd962f1eefe7b8038ef5017060c6732ec5ed927906e +DIST botocore-1.35.7.gh.tar.gz 13308318 BLAKE2B 4e92e22dde9a4b414a1cace9a21f8a536a0f386dd4b14bd594dc08dff3d05e8aa17c669222b07617db8b883ec79ab48a18d669619ff14400c09df26c0d3101fe SHA512 5188b485db0db1fdaf51ae1ff5c57caa114d0f08b04ef20cd821b5b13b661374dc4463694cf027c1ac25f903ea74be81464d0041c856e93315781398cfde611c EBUILD botocore-1.34.158.ebuild 1665 BLAKE2B 1171f3bdcbe2eada97adf58c2011691cb51300028737903ec51e9fea4d80943dc3e199f4a1671be350ca2cf921e5dbdd4e7c8ca4658261143646cf9c0c82f522 SHA512 db8027472dcb87b167d63ed89910783e104513361b9191f5e2e2928a2904493c22d9629aa206f61206c4f29c6a9c43e8208c57a9b9bf99b031101b915d326674 EBUILD botocore-1.35.0.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d EBUILD botocore-1.35.5.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d EBUILD botocore-1.35.6.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d +EBUILD botocore-1.35.7.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.35.7.ebuild b/dev-python/botocore/botocore-1.35.7.ebuild new file mode 100644 index 000000000000..4f1ad852bdc1 --- /dev/null +++ b/dev-python/botocore/botocore-1.35.7.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + =dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${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 + ) + + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # memory use tests, probably fragile + tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/cffi/Manifest b/dev-python/cffi/Manifest index ea825b725122..d2715428d0c3 100644 --- a/dev-python/cffi/Manifest +++ b/dev-python/cffi/Manifest @@ -3,8 +3,8 @@ DIST cffi-1.16.0.tar.gz 512873 BLAKE2B 9e8d107b3124a072e559c4a536b54a172e90f9fe5 DIST cffi-1.17.0.tar.gz 516073 BLAKE2B e050689b58b4a34e3f605f84b3b6a59ec44359bfb042796f82e1acb6349b65ca37f9fb7a0d4ffc7fe40b85416288dcc1f3496968c4fb3f36cdd2c0042658f7b1 SHA512 8516abe177c2acfc31ede401287956cc4dc486b26ed9c4752811be71dc6bc94af3adf1f1f685a94e7242f052b74768bfbbb30ce41a3c23b9259c91449347566e DIST cffi-1.17.0rc1.tar.gz 516063 BLAKE2B 02f25fde28a070c314deb5870d2285a0cfd2fd10d0136b3c5459d4bb11454722d61dfe0e5f27a7268a4aca8cadb2a9df045340094bcf98f1692f54ddea6df714 SHA512 757ccaf09a745cd04a31d0b2fcc46f438269b79b88c4a89aa7dd2f0dd1bc1b64fb9f9fde2461407e1c0482c1c64e837283e21d0b46dbcb0c4ccd5e54a8319a0e DIST cffi-d7f750b1b1c5ea4da5aa537b9baba0e01b0ce843.gh.tar.gz 523050 BLAKE2B 498085e9bc497eb1abf2d2e26e2cdb9d7544509b2c1686b306930c2da8a39a5ef133b77302761b44d5231c5255ef30cbd22579c79921dc2dc71e723ff5624939 SHA512 a0d1eb7bf8df12331d3493d86894ba062f7a15f4e7421863d44e264d4ca40ef864c7574d42cb7a4f2ea44ab80242942d6f4c8772c64b8dd0789aeb9f1908fc89 -EBUILD cffi-1.16.0.ebuild 1738 BLAKE2B 403b4dc5bb47dec2abbc30c21a894685c329214fa943bc7fab68260d2ab921cf5bd1a16832bae8e244124ad8d8af34d0f94fdadde981a514a862905c1fccb1c3 SHA512 3bb914dae82263f729baa2e0bb50ebd14697c6efe52404328c969301be9a83ab659df460aac5764ad9035fcb24bfc10d5bf4fde714597ee57d359c246d63cda1 -EBUILD cffi-1.17.0.ebuild 1679 BLAKE2B 1a1de53bb8552f8ddf37c0bed2b945cd4bca22d4a2927b04dd573c8cc36d8fbec690ae6fe2c4f97d95990fd0faf03e98b28ed7ec59463ae9fc01d28906dc179f SHA512 b2d4beb41dd62d8ece20319d0c8d9428bfcfc9c1dd2f74e57277e866936d5dad5558d893d98d80fa7a4463652cebc20bfdfac0632abc9be7756c6243cee91cd4 +EBUILD cffi-1.16.0-r1.ebuild 1742 BLAKE2B d94191f53eedc06455013b7c97f868b07e32b95f1389e63eead763e4312e2e4ad4177789d47f1d08facb129703b6d586a2c47b612d015e7ff5e3058e1f7f9a02 SHA512 5c57c777aa45ba13abca1deda8f386f3528b90d2d6c6e2822360787c0abd8c6bece1ae5c0244c2ce4171f37ac5cbb699f9643086a9a6b45af550d99658b1a065 +EBUILD cffi-1.17.0-r1.ebuild 1751 BLAKE2B 549a768ccb90a2169e968e18788f65a7e7f7227a82bdfaf96af793aa9bcc45d9d9db5415d3697e1800a4d1baf82aafed07e1e93bd8e93585ca7f5012fd3200d7 SHA512 b15500cbab0cd594f627ab46554dd2f957259d8741bea08032d14728b48b031de4c95a16bf23ff8c40b584eb3b9eb57ff09227678b62b4aed506d65776cefd35 EBUILD cffi-1.17.0_pre20240424.ebuild 1883 BLAKE2B 4509949cb33dd292be9c3b8e69d87691ef3c217f65f93901fed0fda0b1c02d0d6b0e5c64605ec9d9127e2295b1448e118432958f12339ac0517f692f1b26c7f4 SHA512 5ff23616b55de9ee36d67e095375b35c9362ca3599bc6f949d43e786ada750665ca4d0c7f981be0ad9f2164c676772a1d164deab4719618e3d892ae8958a48f0 EBUILD cffi-1.17.0_rc1.ebuild 1678 BLAKE2B b439e2f56605c373953e7071f8b7282e8ec4511b26c5dc5984ff269be9fdc0b2c4c9422303902a8afee2dc75813892c8bf257cf5b83814cff61d33b089d3ed2e SHA512 d290ad8c7a4ec8bbc13946f9975147e81a3202a1cf8c44e26b20efa183465d8e32665be7b77f2115b00d4b430559df6b9b4cf2b7f79d25547f7f9de4723dfaf3 MISC metadata.xml 376 BLAKE2B 869698c9756447929b5607d37c334442d76fef960c109ebe3b807de5019339de4ce19009d70b2eba506ee2608db9454c277cfb07ea025a39be6ea65b2ed93f74 SHA512 84c109a295e6f272c03107b69431f213dff9042a7e5c784dc725728aeb3a60dbf9c860551aae6260e5fc2dadeaa6eb27488186abe1d108bb21145d736de7e5b6 diff --git a/dev-python/cffi/cffi-1.16.0-r1.ebuild b/dev-python/cffi/cffi-1.16.0-r1.ebuild new file mode 100644 index 000000000000..bffeaa3b3bba --- /dev/null +++ b/dev-python/cffi/cffi-1.16.0-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2024 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 + +# py3.12 support is experimental, expect problems in revdeps +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +# DO NOT ADD pypy to PYTHON_COMPAT +# pypy bundles a modified version of cffi. Use python_gen_cond_dep instead. +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 toolchain-funcs pypi + +DESCRIPTION="Foreign Function Interface for Python calling C code" +HOMEPAGE=" + https://cffi.readthedocs.io/ + https://pypi.org/project/cffi/ +" + +LICENSE="MIT" +SLOT="0/${PV}" +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" + +# Needs recent libffi for HPPA fixes +DEPEND=" + >=dev-libs/libffi-3.4.4-r1:= +" +# setuptools as a modern distutils provider +RDEPEND=" + ${DEPEND} + dev-python/pycparser[${PYTHON_USEDEP}] + +Date: Fri, 29 Mar 2024 16:22:00 +0100 +Subject: [PATCH] skip tests that are broken on pypy + +--- + src/lxml/tests/test_http_io.py | 3 ++- + src/lxml/tests/test_nsclasses.py | 3 ++- + src/lxml/tests/test_objectify.py | 37 ++++++++++++++++++++++++++++++-- + 3 files changed, 39 insertions(+), 4 deletions(-) + +diff --git a/src/lxml/tests/test_http_io.py b/src/lxml/tests/test_http_io.py +index 8385e393..0b259299 100644 +--- a/src/lxml/tests/test_http_io.py ++++ b/src/lxml/tests/test_http_io.py +@@ -10,3 +10,3 @@ import gzip + +-from .common_imports import etree, HelperTestCase, BytesIO, _bytes ++from .common_imports import etree, HelperTestCase, BytesIO, _bytes, IS_PYPY + from .dummy_http_server import webserver, HTTPRequestCollector +@@ -14,2 +14,3 @@ from .dummy_http_server import webserver, HTTPRequestCollector + ++@unittest.skipIf(IS_PYPY, "broken on pypy") + class HttpIOTestCase(HelperTestCase): +diff --git a/src/lxml/tests/test_nsclasses.py b/src/lxml/tests/test_nsclasses.py +index 0c33f20c..08540001 100644 +--- a/src/lxml/tests/test_nsclasses.py ++++ b/src/lxml/tests/test_nsclasses.py +@@ -8,3 +8,3 @@ import unittest + +-from .common_imports import etree, HelperTestCase, _bytes, make_doctest ++from .common_imports import etree, HelperTestCase, _bytes, make_doctest, IS_PYPY + +@@ -45,2 +45,3 @@ class ETreeNamespaceClassesTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_ns_classes(self): +diff --git a/src/lxml/tests/test_objectify.py b/src/lxml/tests/test_objectify.py +index 39fe0098..92c857f8 100644 +--- a/src/lxml/tests/test_objectify.py ++++ b/src/lxml/tests/test_objectify.py +@@ -10,3 +10,4 @@ import unittest + from .common_imports import ( +- etree, HelperTestCase, fileInTestDir, doctest, make_doctest, _bytes, _str, BytesIO ++ etree, HelperTestCase, fileInTestDir, doctest, make_doctest, _bytes, _str, BytesIO, ++ IS_PYPY + ) +@@ -383,2 +384,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_setattr(self): +@@ -818,2 +820,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_build_tree(self): +@@ -847,2 +850,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_type_bool(self): +@@ -884,2 +888,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_type_str(self): +@@ -891,2 +896,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_type_str_intliteral(self): +@@ -898,2 +904,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_type_str_floatliteral(self): +@@ -905,2 +912,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_type_str_mul(self): +@@ -917,2 +925,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_type_str_add(self): +@@ -992,2 +1001,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_type_ustr(self): +@@ -999,2 +1009,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_type_ustr_intliteral(self): +@@ -1006,2 +1017,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_type_ustr_floatliteral(self): +@@ -1013,2 +1025,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_type_ustr_mul(self): +@@ -1025,2 +1038,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_type_ustr_add(self): +@@ -1050,2 +1064,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_type_int(self): +@@ -1066,2 +1081,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_type_float(self): +@@ -1082,2 +1098,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_type_float_precision(self): +@@ -1101,2 +1118,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_type_float_precision_consistency(self): +@@ -1187,2 +1205,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_type_unregistered(self): +@@ -1349,2 +1368,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_type_str_cmp(self): +@@ -1376,2 +1396,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_type_int_cmp(self): +@@ -1398,2 +1419,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_type_bool_cmp(self): +@@ -2067,2 +2089,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_registered_type_stringify(self): +@@ -2537,2 +2560,3 @@ class ObjectifyTestCase(HelperTestCase): + # type-looked-up as ObjectifiedElement (no annotations) ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_efactory_int(self): +@@ -2542,2 +2566,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_efactory_float(self): +@@ -2547,2 +2572,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_efactory_str(self): +@@ -2552,2 +2578,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_efactory_unicode(self): +@@ -2557,2 +2584,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_efactory_bool(self): +@@ -2562,2 +2590,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_efactory_none(self): +@@ -2567,2 +2596,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_efactory_value_concatenation(self): +@@ -2577,2 +2607,3 @@ class ObjectifyTestCase(HelperTestCase): + ++ @unittest.skipIf(IS_PYPY, "broken on pypy") + def test_efactory_nested(self): +@@ -2745,3 +2776,5 @@ def test_suite(): + suite.addTests(doctest.DocTestSuite(objectify)) +- suite.addTests([make_doctest('objectify.txt')]) ++ if not IS_PYPY: ++ suite.addTests([make_doctest('objectify.txt')]) ++ suite.addTests([make_doctest('../../../doc/objectify.txt')]) + return suite +-- +2.46.0 + diff --git a/dev-python/lxml/lxml-5.3.0.ebuild b/dev-python/lxml/lxml-5.3.0.ebuild new file mode 100644 index 000000000000..324b1faf7bfd --- /dev/null +++ b/dev-python/lxml/lxml-5.3.0.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2024 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_{10..13} 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 +" +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-3.0.10[${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=( + "${FILESDIR}/${PN}-5.3.0-pypy.patch" +) + +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() { + # 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 + mkdir "${dir}"/../../doc || die + # this one needs to be copied, because upstream uses doc/../../../doc + cp -r "${S}"/doc "${dir}"/../../ || die + ln -s "${S}"/doc "${dir}"/../../../../ || die + + "${EPYTHON}" test.py --no-src -vv --all-levels -p || + die "Tests fail on ${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 + optfeature "Support for lxml.html.clean sanitizer" dev-python/lxml-html-clean +} diff --git a/dev-python/notebook/Manifest b/dev-python/notebook/Manifest index 7087709acc88..e0f1363439e5 100644 --- a/dev-python/notebook/Manifest +++ b/dev-python/notebook/Manifest @@ -1,3 +1,5 @@ DIST notebook-7.2.1.tar.gz 4946671 BLAKE2B 2f78c497b1527c29a911fd0a057df41f3e522e426e3eae940d9adea9f1df982b14c5bb61210357dfc271df51d2534f97408790bffb4e02ff2f12b33769f9836e SHA512 e11415139a21a7dd8692673c2011d11621881cd4b99f69de5f32c23161734b1620560f57654b2e57177cb3ba01152bb76e0c9f79c2f7924b0d8424c21c219677 +DIST notebook-7.2.2.tar.gz 4948876 BLAKE2B 2f145ee832e9eff647f7c736d116cbf684ae63948d8e2e1da2a1d8f2d1d3df23d198719bde9f8a705eb5b77b62dbd654e16ac4de658fbd4a9a809e37d3add8e4 SHA512 b18348e898f6135bea72e759a8137bf32f6ea79619388bd8b3627bd497746a233de69e1b7865bec473a7c49d65f22bc5755afbf79eeb1b4dbb7e0e3e8afe8e7f EBUILD notebook-7.2.1.ebuild 1651 BLAKE2B 2752d2d5673516f14ce80c8db1484d89dafd4d4d851474c194c8a0ab26a72993e39d9b8e86ffe67d26767d68121adfd16fd8a89e29afa6129ce75237d3578d29 SHA512 59c2f354e1d47a558aaf4e7edee56badaa9526636ef810bec2df4fa3284d39490010f6f29a76a0dcd81c801347f1e61486fc7053bb4f232a772d553ee02005a2 +EBUILD notebook-7.2.2.ebuild 1656 BLAKE2B f871f5e3b481ceb24affc9807b3327629fdf7fc8a30cc260f59cf8abd82e07964cb53cd1c34d6ac0e00d66120db42ae46100925632378f764212524739b41819 SHA512 75bad18f6a8894fb7fcf0799192278006e118e620f5bc8824fa69c4c8ba79731cab0dddf870e2b97cd81045da638c75474db606ca7ba4a6869cd41306143473c MISC metadata.xml 525 BLAKE2B 03602bbd7c6b55aaa4c4d6011a91127090359079ed2d7e6b9e3cefe63b2b249b36cd172a40d1ce69234de2440d9248e933dd94a636b95c07f06a658ecb929227 SHA512 18f6bd5cb4b1c90cc228a5ee506cea17c4aa9d60174e00c7cb4df654d5d7158aa20ea6346bf9a0734877402a0e0916aa7f9e82f0bdce0cca78c877c5e87550e3 diff --git a/dev-python/notebook/notebook-7.2.2.ebuild b/dev-python/notebook/notebook-7.2.2.ebuild new file mode 100644 index 000000000000..49097b1c08f3 --- /dev/null +++ b/dev-python/notebook/notebook-7.2.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi xdg-utils + +DESCRIPTION="Jupyter Interactive Notebook" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter/notebook/ + https://pypi.org/project/notebook/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/jupyter-server-2.4.0[${PYTHON_USEDEP}] + =dev-python/jupyterlab-4.2.0[${PYTHON_USEDEP}] + =dev-python/jupyterlab-server-2.27.1[${PYTHON_USEDEP}] + =dev-python/notebook-shim-0.2[${PYTHON_USEDEP}] + =dev-python/tornado-6.2.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/nbval[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-unixsocket[${PYTHON_USEDEP}] + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + dev-python/pytest-jupyter[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} diff --git a/dev-python/opensearch-py/Manifest b/dev-python/opensearch-py/Manifest index 1b7e75fc348b..6a6ce4fb8de0 100644 --- a/dev-python/opensearch-py/Manifest +++ b/dev-python/opensearch-py/Manifest @@ -1,3 +1,5 @@ DIST opensearch-py-2.3.0.gh.tar.gz 392631 BLAKE2B b2e88c98676c8c035f8c295b12b8cd8a7b8f4d6e4b1b4dca76f2417cf9d8c01b16bc36b3bed7f64d91d643aa2ceba681af6eac9b4d1a3d3bfa1a2cb13a53f167 SHA512 8be82ff19b4aa3d44dba8dd3b56676241de1999d6ae91c8414528132a6ed450850bf3b544a858c9fe0a5b188cd0da1196a524f9515e90369f5232c3ca7244d22 +DIST opensearch-py-2.7.1.gh.tar.gz 479006 BLAKE2B 17203e9c65e9bc2ec0b73b3b2f1ccdf0ad053ebf5173aa5b21423e607b68c1c0e4349b99be593eb982cb6cb9cfa2331a30668b9a74ce425591d966728d86254d SHA512 84041a075667b54b0afeae11221bb56d41a86d7bf4b3fae3f9406822bb8c8f55a6ba67c4ca1a2cfea70d3ed6e089b0921a535b32fccc04a1016549bcf66ac03c EBUILD opensearch-py-2.3.0.ebuild 1071 BLAKE2B 93d391b5d41a23c4fc03e74beddf4cd79443273dbfec7e440ff0741ada1fd6c342a4a6eb353c9ca7f8f41266f86dff0c37d7b648e152caf5d92f6401ad06b79e SHA512 60d0e13fcdae4d284ed6f0680789e99dc045e2b9853f8b9ca24edd6d3f9b20e6dc1c001c2f39f8bd48f458a1da1f25a46b5a2ba2419c85ba1a4b3e9c91a917da +EBUILD opensearch-py-2.7.1.ebuild 1045 BLAKE2B ec32b04a2c97e3a617b90bad8d9fb8b882dfb6e33410464d86534f7de7895f10d79ffa69b88759915b3b7df6ca2c5d5b33573d656607424d9c486c921f076185 SHA512 81d054a7f12afb4fa18f7bff08eb699d95d7aee6b003a2b260cf91ac1d48de24561255e920d78a574eaaca36f99cccc356a5e14def5283642e5c97c7ec10568a MISC metadata.xml 423 BLAKE2B 106c69949c360ff2fd43eb7fefc3999d12b00bf265e8852f24f659aad2977a8ef9e9504a0db493da3a3be16ca3b633b756dfa135b211a357cf8aaaa90f1ad0cf SHA512 3841e3efdbb8ba6d3a35797d211e2f946a9ca9f72862f439e3179fbfc02f7be414d8708581c6f439ad5684106c8feb74c716ad53186a71630ed274db9b85f241 diff --git a/dev-python/opensearch-py/opensearch-py-2.7.1.ebuild b/dev-python/opensearch-py/opensearch-py-2.7.1.ebuild new file mode 100644 index 000000000000..d5d5b0a46f50 --- /dev/null +++ b/dev-python/opensearch-py/opensearch-py-2.7.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Python client for OpenSearch" +HOMEPAGE=" + https://pypi.org/project/opensearch-py/ + https://github.com/opensearch-project/opensearch-py +" +SRC_URI=" + https://github.com/opensearch-project/opensearch-py/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +# Uses 156 GB of RAM for the test suite, needs more work. +RESTRICT="test" + +RDEPEND=" + >=dev-python/urllib3-1.26.19[${PYTHON_USEDEP}] + >=dev-python/requests-2.32.0[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] + dev-python/Events[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/botocore[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" diff --git a/dev-python/openstackdocstheme/Manifest b/dev-python/openstackdocstheme/Manifest index 7a687b866130..1bbadac78018 100644 --- a/dev-python/openstackdocstheme/Manifest +++ b/dev-python/openstackdocstheme/Manifest @@ -1,3 +1,5 @@ DIST openstackdocstheme-3.2.0.tar.gz 1256119 BLAKE2B b4e0536d9846270597f9456998a9e38d728acee1f992793354dd814596dbc8b189e7e86d1aab4d85b97abdf9a0a502cdef884447fe66b8b57836cf07bec26f67 SHA512 8a9cff0ef68c78917a8a18653567683dda269ea1c4c915d183324ad28ecdfc111083c94082b4e47a88f46f8990a20e3d277478ac02febb3ea0c31067069f315b +DIST openstackdocstheme-3.3.0.tar.gz 1256566 BLAKE2B d69f9edae656de888cb06b9a4c42ece7c615976d8e454b5b391772a19958366ed14c57b55a3e8514052a845eaf5f9774e5415e71c0d16e44dab1c7285c66be45 SHA512 b49be9d4b7deccbdf6f9c398ddd1e763572dadfecdc228fe6956aab5fdb5588a4d20aaa1e445b2de66e99fe0953f753c2734bb6bc2211836f5bf4b0567ba7deb EBUILD openstackdocstheme-3.2.0.ebuild 711 BLAKE2B 861876dbaee7638deb67e1bff5d8a0ed32ac7ab2ddf9e366e688458514b1bbfb68475557700f10589b2e31b3c5b1c83b3741e0cc2158fe4d075b5b01f532e9cf SHA512 76f1da421c957d21b41aa54f127c6cbed6a4e7460601395d354bbe87a95d484ead2e0c9485c925357501486d1917bd70d6c8a4462e6f606c775c0d5b10aa5b43 +EBUILD openstackdocstheme-3.3.0.ebuild 714 BLAKE2B 829882943217ef741e506dd0afaa48b9a4902c31263951db76b06ec8f05da02cef7dea050ddfb315fff4e0efa4e9d991c4955a557d34a4c67583f5a08e78dc7b SHA512 0569f8058fd06c475d624e6f2de95aec6dba1d92bd8863ca9d278895ed899445192c010eab0fd2c9050f04677db3eb2de45d1cff32157b784bf8150aafac5178 MISC metadata.xml 747 BLAKE2B 17de68317b0cfdeea5d574db89402a0fd4bb335fa78a4050053585e7914e232a2679693a05a6ca260d84f7f82c2fff7c0af1b82183dd33e6ff96d947ed1ffab5 SHA512 3e132316c7623ae609f8f1035fa719960cea7448c3437f0b5456984cf3e60b62867ce0a8de3a7681315472984d2a8d317f5f06e68e2b0b8343c429cc55eff1d2 diff --git a/dev-python/openstackdocstheme/openstackdocstheme-3.3.0.ebuild b/dev-python/openstackdocstheme/openstackdocstheme-3.3.0.ebuild new file mode 100644 index 000000000000..58be7bf77227 --- /dev/null +++ b/dev-python/openstackdocstheme/openstackdocstheme-3.3.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Theme and extension support for Sphinx documentation" +HOMEPAGE=" + https://docs.openstack.org/openstackdocstheme/latest/ + https://opendev.org/openstack/openstackdocstheme/ + https://github.com/openstack/openstackdocstheme/ + https://pypi.org/project/openstackdocstheme/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~riscv ~s390 ~x86" + +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] +" +RDEPEND=" + ${BDEPEND} + >=dev-python/dulwich-0.15.0[${PYTHON_USEDEP}] +" diff --git a/dev-python/oslo-config/Manifest b/dev-python/oslo-config/Manifest index 3412cb6b9697..41b37eab61dc 100644 --- a/dev-python/oslo-config/Manifest +++ b/dev-python/oslo-config/Manifest @@ -1,3 +1,6 @@ +AUX oslo-config-9.6.0-py312.patch 1745 BLAKE2B e9a9317c9f5943019029b437912bd8fcfa8f3531c69d43cf9202e87a4e8b26a605426c2ac41c041a64efed669fbe898384ceb7670bbccaec607aba9ea386ccfc SHA512 89bb7225a394fc6d965921413bc9fed882df9a9616a9f98c762433f00e4301df339da0bc18107bbe8f0a7f54a998c82e9651d451d9cb5547b4d8c7ef781cf3ea DIST oslo.config-9.5.0.tar.gz 161655 BLAKE2B 7844729658ddd13ff89b4c14983cfeeb3f6352f99a190058bd924592d9183459ea2da5caead7a77ed6c4a4e395aac2dd53f56847d81ce911ce76a04fa69f5b7d SHA512 517bb9fe416451eb791087216facd8643d77affb738aa2623817302dfc9dbd242d1aa2ba8c542fee437f91b2049129fa097fe37fec8c6a28e0092fc4d64c0c4f +DIST oslo.config-9.6.0.tar.gz 164859 BLAKE2B 251e75d3ed919f2fce1efcd3aa5695da6e7911972ac89065813ef0c5b2b96fc02c436362875bf965b70e149d4436080ab23092f8f17568324e30eec7befe25cb SHA512 ebf31035bdf6f4ac8a9ce6bef14ca52fcad4418696520f0c199058211dbaa37723273a7c07eded03b139426392d7df6b192381af23e2324a92632029b1031292 EBUILD oslo-config-9.5.0.ebuild 1519 BLAKE2B 6dacd9508a5f491fee75c647b235f832316f8b608d1208769a034e54133125959c3f9ea77b4bd1a1359ead30a5e17c4135dc208bfc2ffb1b236d166fffa5b490 SHA512 0830f035e382525edfa1ab10684c50e487be80964672d51bb0da3833c2c86398bf9137f21e49304445a1984085d6d8590b0f8a08e4430fabae6672f9744d5b74 +EBUILD oslo-config-9.6.0.ebuild 1640 BLAKE2B 084bed4c4292172d42dd54ac9d3dcb41a1c9903107fe7683a4b388c31633d1f6ffa0af6d1027a039aee2119153379b016431934d6ee4b6adc00681616faf5462 SHA512 988a7ee9c283f031f3ffac16a6f55577c242b3746642be333c6f248fc4de509dbde75c8f5039435f026f2401ec7a3d28ccdbf544606a0e7e9d88e7398ed7ea6e MISC metadata.xml 759 BLAKE2B 88d0bbdc03286429f96554d184f664fbbdb4e067ed137f95a96a573c09b4573de90e50b2d5875d627c8b9ed03a0aec7233bdc8684b721e16085157480568c330 SHA512 a29b5a534042e949f780cfb000bd9ce9cde81ae1c5e6b429bd7854598a2d0f0c8b5358dc645135ba9016065460ff5b858e48e02cdbd12ade2b1fea9d0b407410 diff --git a/dev-python/oslo-config/files/oslo-config-9.6.0-py312.patch b/dev-python/oslo-config/files/oslo-config-9.6.0-py312.patch new file mode 100644 index 000000000000..f105b7719199 --- /dev/null +++ b/dev-python/oslo-config/files/oslo-config-9.6.0-py312.patch @@ -0,0 +1,43 @@ +From 972d304bb23baef538ce759004410a20d8109ccb Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Tue, 27 Aug 2024 15:54:45 +0200 +Subject: [PATCH] Fix test_sub_command_multiple on Python 3.12.5+ +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Update the expectations in test_sub_command_multiple for different +argparse error handling in Python 3.12.5 and newer. Previously, +the 'cannot have multiple subparser arguments' error would be output +to stderr and cause the parser to exit; now it raises an ArgumentError +instead. + +Closes-Bug: 2074130 +Change-Id: I83de6b6943b14f1f6df86a55603e6867dce680d3 +Signed-off-by: Michał Górny +--- + oslo_config/tests/test_cfg.py | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +diff --git a/oslo_config/tests/test_cfg.py b/oslo_config/tests/test_cfg.py +index 1759ae7..383b70f 100644 +--- a/oslo_config/tests/test_cfg.py ++++ b/oslo_config/tests/test_cfg.py +@@ -4385,8 +4385,12 @@ class SubCommandTestCase(BaseTestCase): + self.conf.register_cli_opt(cfg.SubCommandOpt('cmd1')) + self.conf.register_cli_opt(cfg.SubCommandOpt('cmd2')) + self.useFixture(fixtures.MonkeyPatch('sys.stderr', io.StringIO())) +- self.assertRaises(SystemExit, self.conf, []) +- self.assertIn('multiple', sys.stderr.getvalue()) ++ if sys.version_info >= (3, 12, 5): ++ self.assertRaisesRegex(argparse.ArgumentError, 'multiple', ++ self.conf, []) ++ else: ++ self.assertRaises(SystemExit, self.conf, []) ++ self.assertIn('multiple', sys.stderr.getvalue()) + + + class SetDefaultsTestCase(BaseTestCase): +-- +2.46.0 + diff --git a/dev-python/oslo-config/oslo-config-9.6.0.ebuild b/dev-python/oslo-config/oslo-config-9.6.0.ebuild new file mode 100644 index 000000000000..764961e742d4 --- /dev/null +++ b/dev-python/oslo-config/oslo-config-9.6.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 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_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Oslo Configuration API" +HOMEPAGE=" + https://opendev.org/openstack/oslo.config/ + https://github.com/openstack/oslo.config/ + https://pypi.org/project/oslo.config/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/pbr-1.3[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/rfc3986-1.2.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-1.3[${PYTHON_USEDEP}] + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.5.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + local PATCHES=( + # https://review.opendev.org/c/openstack/oslo.config/+/927273 + "${FILESDIR}/${P}-py312.patch" + ) + + # broken by some dep upgrade + sed -i -e '/DeprecationWarningTestsNoOsloLog/,$d' \ + oslo_config/tests/test_cfg.py || die + distutils-r1_src_prepare +} + +python_test() { + local -x COLUMNS=80 + eunittest -b +} diff --git a/dev-python/pbr/Manifest b/dev-python/pbr/Manifest index 5f097c57264a..bbdd6865deb1 100644 --- a/dev-python/pbr/Manifest +++ b/dev-python/pbr/Manifest @@ -1,3 +1,5 @@ DIST pbr-6.0.0.tar.gz 123150 BLAKE2B ed41fcf9febc11fe664d3045a8ac01f7a549f770e359b29045508653bffa838d91797c4aec5d5d1eba97907e83fb199f78afa4fd6f0b6be6b93b2e5f781d4425 SHA512 35cb184b02c9bc38e839e652d1f114197b2a82255f824253e156666a07dee1d19823ab4f2fb17b1f4376c775295f533e006cb58136ee978f9989e98a3f782120 +DIST pbr-6.1.0.tar.gz 124032 BLAKE2B 640c39d75329e4a1c28623439fd1466de3e491bb043abc1c62c68a9e19c6bc5523fca8ad18c4d6246fe2973af5ee6076c1e74e0967b9adb096ec31970fcf8491 SHA512 30478fa3146abdbc1da35ba950dcc3ead04e26060e0926a7a28390cc33cfae5acbb9a2385535bac43cb40830ef7cfa83be8bf963a6ee135a54d696c27b20a962 EBUILD pbr-6.0.0.ebuild 2048 BLAKE2B c354776e971f4ad0b24b9520125db14cde25a999a5009b16564f08e83cd955f4594b0b1395110b498546bc0dbbc3ffcbbb737acb21abaa8b7141fec122cca79f SHA512 ad498d8a0611d522eb67b86ef7b36ff5ed56fc857bc70091779be656af53b46a22d5903bab645636ca06b53cd6416d30440b9b6f0edb87af7dab2e0b539f5bd8 +EBUILD pbr-6.1.0.ebuild 2056 BLAKE2B 3125ef8e42af5340666073179ab3d3508b10863f5db3ac9a2109b687edcc99077253dab5f93a4e87ca6a582dc898feeadea6fc65ce3d284b887d17aa7d919365 SHA512 0278764629a64310fb30a791c909da06b076b769b541f17835de4025a6053a9965a6ee3d17b408dfc0a78d0da01911d27dac1bf2d7ebab8e946703fd882cef77 MISC metadata.xml 815 BLAKE2B 439ee90d79572a8653f1ae3b8b5bf0883adb34ceac5257458dba7a2505e25ebba1c5080095139f6521d8fbd57c11ea38cf4049710b584069aea0ebaa7760077a SHA512 3d0618ef6656706acd829be80b2e6a0b0763b5f4128dcd360f28818d42cbc8825ecd04f7f47af5929a3a35fd60a3b9f9816cc37ee30af164c2e5b51764c25afe diff --git a/dev-python/pbr/pbr-6.1.0.ebuild b/dev-python/pbr/pbr-6.1.0.ebuild new file mode 100644 index 000000000000..ec6ff6fedc93 --- /dev/null +++ b/dev-python/pbr/pbr-6.1.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_TESTED=( python3_{10..13} ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Inject some useful and sensible default behaviors into setuptools" +HOMEPAGE=" + https://opendev.org/openstack/pbr/ + https://github.com/openstack/pbr/ + https://pypi.org/project/pbr/ +" + +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" + +RDEPEND=" + >=dev-python/setuptools-60.5.0[${PYTHON_USEDEP}] +" + +# git is needed for tests, see https://bugs.launchpad.net/pbr/+bug/1326682 and +# https://bugs.gentoo.org/show_bug.cgi?id=561038 docutils is needed for sphinx +# exceptions... https://bugs.gentoo.org/show_bug.cgi?id=603848 stestr is run as +# external tool. +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + >=dev-python/wheel-0.32.0[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/six-1.12.0[${PYTHON_USEDEP}] + >=dev-python/testresources-2.0.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.0.3[${PYTHON_USEDEP}] + dev-vcs/git + ' "${PYTHON_TESTED[@]}") + ) +" + +distutils_enable_tests unittest + +python_prepare_all() { + # TODO: investigate + sed -e 's:test_console_script_develop:_&:' \ + -e 's:test_console_script_install:_&:' \ + -e 's:test_setup_py_keywords:_&:' \ + -i pbr/tests/test_core.py || die + # network + rm pbr/tests/test_wsgi.py || die + # installs random packages via pip from the Internet + sed -e 's:test_requirement_parsing:_&:' \ + -e 's:test_pep_517_support:_&:' \ + -i pbr/tests/test_packaging.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Testing on ${EPYTHON} is not supported at the moment" + return + fi + + eunittest -b +} diff --git a/dev-python/pipdeptree/Manifest b/dev-python/pipdeptree/Manifest index 4cf227fa2c19..e04aa84ef351 100644 --- a/dev-python/pipdeptree/Manifest +++ b/dev-python/pipdeptree/Manifest @@ -1,5 +1,3 @@ -AUX pipdeptree-2.13.1-expect-hpy-in-pypy-7.3.3.patch 1018 BLAKE2B 18405bf1f1ba5a457c9643738258df5d1c3d5ed709954dd274560ae9cbf139f336b75b2c896d9d8bdfe24c4d2cb98ea3e0391d73ac05ba1e38766f2cfa04a431 SHA512 da732fe18cc3f49ed3994133e8a5eefe4c6f8ebf18dad3caeb057bcdbab38f5936c245271d6ff534f3cb6069255e13291a9033594148e70e486fd85d5b9e711e -AUX pipdeptree-2.13.2-fix-pypy-7.3.14.patch 1353 BLAKE2B 5e3a6f53244de1ae185818e3e2a37a87229b46b02c390a606b65668ae1dc53fe1a6b5e6c9faaf6160f25adc7e2597cceb5fd89bb20414a609880e034c7bdc026 SHA512 e0e8e729d713d347c96ee7db5e6a14ba7a9a986aa41231731973b4ab31f8d866cd4d229b35b54411e171a446d61201675ab3df01a58079786eabf5a080de05ad AUX pipdeptree-2.17.0-expect-hpy-in-pypy-7.3.3.patch 1170 BLAKE2B e214c79ba1183222d00525e0e795d2ba1f10a3abb1ff6e5c986ba3aa036251326d8244787f549d698ab6a015f79eb2397212060365b8c774e2d1218531f8704d SHA512 a2055d9c828352aa1d2d5ec844acf00bc202a579c2dcf7f27997ac29261680ebee0f674b42eca77c3e039ccbc482eac62adfbb82190e157e65b01755d4972f62 AUX pipdeptree-2.18.1-fix-pypy-7.3.14.patch 1009 BLAKE2B b887e6e3234bd07a1df87b087907d5658a5e5fe3408defd172ded784362c12081f9cf52b41d471b2c28fc09b7398539d3cfdb2d872435bdb304a8d9a42a6336d SHA512 04a128b51a5bac5b58e30a8b521b4bd596f48a25faf5cd32db164cb95f3d9ddfb876d5afa77353cbb2e0029b8eb893da25d8dbf81133fdf95e0f1911cf456cc4 AUX pipdeptree-2.21.0-pypy.patch 5682 BLAKE2B f545f7dae932b98e472ec3d4d47cf2538cff50be34257c8c97761096c6e1b3e8664759d5a40a275951591b30b1546d34ccb71afb5f4006951508bfe6707bca6d SHA512 23896b56e93faa64943ebccece52ea5145236ed3670dd962e5f0c74dde4d091c41695fe4300c8f4529bfd2d669d1ce154c01c079dd5708ba8c21de0ee28098e9 diff --git a/dev-python/pipdeptree/files/pipdeptree-2.13.1-expect-hpy-in-pypy-7.3.3.patch b/dev-python/pipdeptree/files/pipdeptree-2.13.1-expect-hpy-in-pypy-7.3.3.patch deleted file mode 100644 index 5cc4b1ca580d..000000000000 --- a/dev-python/pipdeptree/files/pipdeptree-2.13.1-expect-hpy-in-pypy-7.3.3.patch +++ /dev/null @@ -1,26 +0,0 @@ -https://github.com/tox-dev/pipdeptree/pull/302 - -From 8a2ccfe062d8978f010e2e4bd3f8e8b9e46ecbce Mon Sep 17 00:00:00 2001 -From: Alfred Wingate -Date: Tue, 14 Nov 2023 08:36:09 +0200 -Subject: [PATCH] Expect hpy in pypy versions >= 7.3.3 - -Signed-off-by: Alfred Wingate ---- a/tests/test_non_host.py -+++ b/tests/test_non_host.py -@@ -33,7 +33,11 @@ def test_custom_interpreter( - if implementation == "CPython": - expected = {"pip", "setuptools", "wheel"} - elif implementation == "PyPy": -- expected = {"cffi", "greenlet", "pip", "readline", "setuptools", "wheel"} -+ # hpy added in 7.3.2, enabled in 7.3.3 -+ if sys.pypy_version_info >= (7, 3, 3): -+ expected = {"cffi", "greenlet", "hpy", "pip", "readline", "setuptools", "wheel"} -+ else: -+ expected = {"cffi", "greenlet", "pip", "readline", "setuptools", "wheel"} - else: - raise ValueError(implementation) - if sys.version_info >= (3, 12): --- -2.42.1 - diff --git a/dev-python/pipdeptree/files/pipdeptree-2.13.2-fix-pypy-7.3.14.patch b/dev-python/pipdeptree/files/pipdeptree-2.13.2-fix-pypy-7.3.14.patch deleted file mode 100644 index 3718174d0af6..000000000000 --- a/dev-python/pipdeptree/files/pipdeptree-2.13.2-fix-pypy-7.3.14.patch +++ /dev/null @@ -1,37 +0,0 @@ -https://bugs.gentoo.org/923893 - -From 5d111ebe3bb1d24baa314b615d67d3e3928297ca Mon Sep 17 00:00:00 2001 -From: Alfred Wingate -Date: Wed, 7 Feb 2024 08:47:03 +0200 -Subject: [PATCH] Use json output for test which parses installed packages - -* pypy bundles hpy which has a dependency on setuptools, therefore - breaking non-json output due sub-dependency pretty printing. -* Using json makes parsing dependencies straight forward. - -Signed-off-by: Alfred Wingate ---- a/tests/test_non_host.py -+++ b/tests/test_non_host.py -@@ -1,5 +1,6 @@ - from __future__ import annotations - -+import json - import sys - from platform import python_implementation - from typing import TYPE_CHECKING -@@ -25,10 +26,10 @@ def test_custom_interpreter( - monkeypatch.chdir(tmp_path) - py = str(result.creator.exe.relative_to(tmp_path)) - cmd += [f"--python={result.creator.exe}"] if args_joined else ["--python", py] -- monkeypatch.setattr(sys, "argv", cmd) -+ monkeypatch.setattr(sys, "argv", [*cmd, "-j"]) - main() - out, _ = capfd.readouterr() -- found = {i.split("==")[0] for i in out.splitlines()} -+ found = {i["package"]["package_name"] for i in json.loads(out)} - implementation = python_implementation() - if implementation == "CPython": - expected = {"pip", "setuptools", "wheel"} --- -2.43.0 - diff --git a/dev-python/pipx/Manifest b/dev-python/pipx/Manifest index b1672f2841b1..3a29837d3ea5 100644 --- a/dev-python/pipx/Manifest +++ b/dev-python/pipx/Manifest @@ -1,5 +1,9 @@ DIST pip-23.3.2-py3-none-any.whl 2109393 BLAKE2B 278b9941f93951508ae2f508b1b5a9fddd4ca11fac1d5b0c2ac994f8e8457226a4e8c4501078776476e0bae56fd82b989ebaf4f5f484ffe7b0ee79789e34aca8 SHA512 a1449fe400787f73ac26cb48acaae71208a2e696f9ce4992b44e11da29646b018c2f6c27a95b12e42531236fe658e0605e20d5dfa740c43e005c01da3db802da +DIST pip-24.0-py3-none-any.whl 2110226 BLAKE2B 6a0c8c9796cd574ef1d709de40a8530a15e50158143e332b79e5ad3edceda6ce93c5ef4df49b169062598618dcc6967c2115ac2c10b05abf345318204f1eeffc SHA512 5d7462a584105bccaa9cf376f5a8c5827ead099c813c8af7392d478a4398f373d9e8cac7bbad2db51b335411ab966b21e119b1b1234c9a7ab70c6ddfc9306da6 DIST pipx-1.6.0-test-shim.tar.xz 71508 BLAKE2B f6625796b733911aeee7157d726888ef251ef43a806008a07dadcc290a22d331494ab6906ab1f5e06bf11180d295c1c6445c1a3c4d20eafb0f19fdacef02becb SHA512 a30adb15c78c8f6f9febedf4a899c665bd185ae0e9dbb5278b962fab9d47164601e7f354f61dd600df856a16d9620a586f9f5795a2985172f938fc376c840a6c DIST pipx-1.6.0.gh.tar.gz 389164 BLAKE2B 07b603202a44136892e196066fa6d1b85fce2c7d91d798f75edf3f2a18e2924e55487dbd63747948cfc82ea3ca600bdd09e6995a9ee5954c1f4287a4f255a43b SHA512 ae241bb518b240348b5811ee9d278c927cc0e703e6cd0da6225b2e47d727ac1ab54b5ac8fc207da849afc383cfe77ca6a95a62efcb33edc238bb607eada8b00b +DIST pipx-1.7.1-test-shim.tar.xz 72696 BLAKE2B 276db812b311774d1ad5177402084eec5d3287f72416a8bd67db99530b0ee3ba538e196b8f6ce4ade8bd73b81be238d656366c2048abb90e584be1565b25e33b SHA512 e7c6d604487e1d9a7a7b5c1cd35e758e056d7cc8f9ca4a79ad45617d44d0e857ef336cf012ea08a7e0aa0773ca4c3f9995fe3bdcd3baff048281473464c39256 +DIST pipx-1.7.1.gh.tar.gz 391902 BLAKE2B eb2801c8b2a12a8096ff2fb6882b970cce154cf3f65a87e59ab321d36ce05a9bba03ac818e2148136e00e86fe44d6efd5a39d1c535e4e135feb48b7487f1dde3 SHA512 6375d413974477f488eb8c8d95594f39cf7c54e4c09639c95cb82ed58467266c0124259b1a1fc07596ac0fbffc9fd2ff2fffe58083d78e67ca9f056f2353852f EBUILD pipx-1.6.0.ebuild 2648 BLAKE2B 3575c54eff11dfaad5216406272cf53152a7c3385aba7d3b863bb48723fae765c3f990532c3d43273827498bd60a9fad0bdcb1878c8599620b4ad18099c23c19 SHA512 adae9d97fc7690398bde3912998077bd8243159278e3fc5de83be683f9d07cb753756f5ea2dc6ed8435624b0c18b482612307b2ce6bdd9a84fb605c35052fd5b +EBUILD pipx-1.7.1.ebuild 2899 BLAKE2B e5e910b52feed4e3de89a1a79036173eb89e558cea64837ab51b37adb2c27cce16cceea0c96bb8e26b6bde05cc188e5abb770e65c9f0cbd24ea838dd7a970a3e SHA512 10958ce78340a2811d5cb0d8acea172ab9c1105637c6552e4eee89f73385a79485530d49d71d1f5fd8ea44c4371edd706ab3b76601e1fdcd5c421248a26d7cf5 MISC metadata.xml 361 BLAKE2B 64a1d56c1c20595adff59c8df102b6301c8d8eb9ff7c4c2a9e326d0c144d1cbf10a1dd2c61b64eb3ffc757955e689cecbe5c69528d59e9b79007150a9327a74b SHA512 edb195766bc66572ead0b5913a26be82df533cfea7d22d4aadc90c2644c22e458e34f227092a556bc644de35f6e64184b3683ea9015ae6d9126dffe47340d8b0 diff --git a/dev-python/pipx/pipx-1.7.1.ebuild b/dev-python/pipx/pipx-1.7.1.ebuild new file mode 100644 index 000000000000..d2da505c182f --- /dev/null +++ b/dev-python/pipx/pipx-1.7.1.ebuild @@ -0,0 +1,108 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +# To update test shim, use https://github.com/projg2/pipx-repack-wheels +TEST_SHIM=pipx-1.7.1-test-shim +DESCRIPTION="Install and Run Python Applications in Isolated Environments" +HOMEPAGE=" + https://pipx.pypa.io/stable/ + https://pypi.org/project/pipx/ + https://github.com/pypa/pipx/ +" +# no tests in sdist +SRC_URI=" + https://github.com/pypa/pipx/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://dev.gentoo.org/~mgorny/dist/${TEST_SHIM}.tar.xz + $(pypi_wheel_url pip 23.3.2) + $(pypi_wheel_url pip 24.0) + ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) + >=dev-python/userpath-1.9.1[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/ensurepip-pip + dev-python/ensurepip-setuptools + dev-python/ensurepip-wheel + dev-python/pypiserver[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +src_prepare() { + if use test; then + cp -vs "${BROOT}"/usr/lib/python/ensurepip/{pip,setuptools,wheel}-*.whl \ + "${WORKDIR}/${TEST_SHIM}/" || die + # needed for pinned pin version test + cp -vs "${DISTDIR}"/pip-23.3.2-py3-none-any.whl \ + "${WORKDIR}/${TEST_SHIM}/" || die + cp -vs "${DISTDIR}"/pip-24.0-py3-none-any.whl \ + "${WORKDIR}/${TEST_SHIM}/" || die + mkdir -p .pipx_tests/package_cache || die + + > scripts/update_package_cache.py || die + # sigh + sed -e 's:server = str.*:server = "pypi-server":' \ + -i tests/conftest.py || die + fi + + distutils-r1_src_prepare +} + +python_configure() { + if use test; then + local v=$( + "${EPYTHON}" - <<-EOF + import sys + print(".".join(str(x) for x in sys.version_info[:2])) + EOF + ) + if [[ ! -e .pipx_tests/package_cache/${v} ]]; then + ln -s "${WORKDIR}/${TEST_SHIM}" \ + ".pipx_tests/package_cache/${v}" || die + fi + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/test_run.py::test_run_ensure_null_pythonpath + tests/test_run.py::test_run_script_from_internet + 'tests/test_install.py::test_install_package_specs[pycowsay-git+https://github.com/cs01/pycowsay.git@master]' + tests/test_install.py::test_force_install_changes + 'tests/test_install.py::test_install_package_specs[nox-https://github.com/wntrblm/nox/archive/2022.1.7.zip]' + tests/test_interpreter.py::test_fetch_missing_python + tests/test_list.py::test_list_standalone_interpreter + tests/test_standalone_interpreter.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o tmp_path_retention_policy=all +} diff --git a/dev-python/pyghmi/Manifest b/dev-python/pyghmi/Manifest index 937c44a5ad8a..8f6040d432ac 100644 --- a/dev-python/pyghmi/Manifest +++ b/dev-python/pyghmi/Manifest @@ -1,5 +1,7 @@ DIST pyghmi-1.5.69.tar.gz 257074 BLAKE2B af1b93bda37aa078c4a04f68970f86a2f6b7c005ed762977d8297bdb4ff8e89c972ec24342ccb226a6cb43d6085f89f23e4e8547e1632275accea0fc5f5558ff SHA512 ad6837b61748ff045196109050fc743e0335b9037e06c723be86e12c42569f6e46b2c004148b4ce4416d0e67967bf6b7596bc10bca30323e2eca11da54067f21 DIST pyghmi-1.5.70.tar.gz 257192 BLAKE2B cf1ed047bf40e6ed81d322c091141b8012d7550afeba06fb5bed313ce37e2c5d79674a2d9deb1ade741488342d5e3d89ab3b65dfeb15e46aca52ebc3ca5b4dcc SHA512 61d6488034778a51e7a3ed34dadf758a98ed9670f079f6b90b4266191abd48aae5646e497b8ea9616eb1bce03f358b0017c7da1daea61e8be97d42bb1bfe1f18 +DIST pyghmi-1.5.71.tar.gz 258623 BLAKE2B 1032101d1c8b145896a6ccb99a66830c5327fa71c991be95fc6af0fca87f2a3491ae04195d10e2696f67285f79c96750413cfd1050297c1e1340a49f67694ba2 SHA512 77aa8f05bf003b4be803a6c74e1c0040a23a0270094c72ba58aaab0b56e7fdd68691c0c642d7116a62a3a66fafb0bf67d718373b7e67c7b6c6165dec78884d4d EBUILD pyghmi-1.5.69.ebuild 946 BLAKE2B 45f0586d760424e272a4e3674d3eda96e8938c67d0242daa8ed08fecb94a507db1b65e5ebc6b8634fd5e2fa01a869ee810333ef5815e050365844a0da8134565 SHA512 e74071f9a8006148ef9d590e03dd008248a007d87155687d2f2ac85afd8e07db4d42fef99740dad9e8df6668e2f0e9055f4601d51a93abbbf809921045f1fdd3 EBUILD pyghmi-1.5.70.ebuild 705 BLAKE2B 795ff842356f736e0b7d9bbae14f931024a5529e5df6ad6bd0f883849aa9fdf33f6306fdc4dadf35286bc2642924871dd75616940ee2f7a92a08bd783d52a096 SHA512 d00ca3a414871146bee1205e231ee0dc0837e1920d34c22d778c60944e8589e87500b15987e7dcad1ac0d7f283f804700d5b0f1911f7d0cc7ade7218b4c21398 +EBUILD pyghmi-1.5.71.ebuild 705 BLAKE2B 795ff842356f736e0b7d9bbae14f931024a5529e5df6ad6bd0f883849aa9fdf33f6306fdc4dadf35286bc2642924871dd75616940ee2f7a92a08bd783d52a096 SHA512 d00ca3a414871146bee1205e231ee0dc0837e1920d34c22d778c60944e8589e87500b15987e7dcad1ac0d7f283f804700d5b0f1911f7d0cc7ade7218b4c21398 MISC metadata.xml 439 BLAKE2B 0c7ccbc424041a506c60bb0934e40465b64a9779d4d2b6992ba5d4c8563b114da1470a1b221798773824b92fc7b5d6e7b2f0b0afff7f266ea1fbf450f336c497 SHA512 0c919c41bbef88b080cd5941d767cb3f79e935dfedb6da16353b80da2966d488936768b8ad04c7fc695b3c6376143430115f5533b3492816bf293ab2ccf37fb8 diff --git a/dev-python/pyghmi/pyghmi-1.5.71.ebuild b/dev-python/pyghmi/pyghmi-1.5.71.ebuild new file mode 100644 index 000000000000..60628881477b --- /dev/null +++ b/dev-python/pyghmi/pyghmi-1.5.71.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A pure python implementation of IPMI protocol" +HOMEPAGE=" + https://opendev.org/x/pyghmi/ + https://pypi.org/project/pyghmi/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/cryptography-2.1[${PYTHON_USEDEP}] + dev-python/pbr[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/pytest-check/Manifest b/dev-python/pytest-check/Manifest index cbd1ba7bc42c..25b015d52a21 100644 --- a/dev-python/pytest-check/Manifest +++ b/dev-python/pytest-check/Manifest @@ -1,3 +1,5 @@ DIST pytest_check-2.3.1.tar.gz 28674 BLAKE2B 732538aec690d121132a0594a49b77658eb8be79d6e59bacae1d13ea38e59dd3e4b55c62fc07741e08621dda271d7d2284f825770a2acef7d5b0c80c80e79beb SHA512 b4a2805b7dc3dfe9f56db6f27a9e4927de070d57bf3906f303c611021081d7b638d9ee58de744491005e10541f527f1bfddaf51be64f2def8a1190cfd1abd43a +DIST pytest_check-2.4.0.tar.gz 28965 BLAKE2B 1c87ffa59f6c2497c933822463fd20b36f1653db7fd6cf3e56e6722df4488bd2efbdd05d9251bc97f900fa49a06696c37a6186942891a5fbf3ff3a5b59fa2cb0 SHA512 68f3eb02be3a1ad68db9f7f0d5043297d708e2ac0fdeced50cd657426e307df785909a91f1bcb002cb17b3198aaa595404189c83b4ee1bca268f6a4096e5a90f EBUILD pytest-check-2.3.1.ebuild 607 BLAKE2B 64b77aa078441c9c9a1896e9181d951dd2b34d88a3d5c8b4075d1880054050260237fe7ae317fb99a27666d91149b5106a99c93edcf3412bc336c3e740169134 SHA512 a90d94b01244ae75ede2e11ad610bde65e7a8f7e9e8403e2bed213354e2a8274b6bd3e1e94df704bd03c8fecedc31c321be28c29892b723b75272e90b898821c +EBUILD pytest-check-2.4.0.ebuild 614 BLAKE2B 96f2250f5ab74615ce4b6c571513d55eba5783b73a09d636e416e0581f96e5b6439a05610625285369e20605be884772a181e3c6a2b07e2bf65530322555fb5e SHA512 89ec890ea20f2fbfe6e7c530c259dda1096bc71a1d9121f0b48e3e54a97b6388a47ea77b5df3ab8e2966ead02031e54aaf16e92549a7f49f9be435f38aba70a0 MISC metadata.xml 509 BLAKE2B 85ec27b195520ffaf65e8f9a0fe166f0ba07aa22bb8981d558f96d2d89cb00441478eacc47a482bf2243d26b015ff42a1058c2e90a58d7cfbb20bc521b5722f5 SHA512 8d9082c66dde73cd751e3b42fc08ddd3c1815f6a7882d1b659972e5fff64506de79265df97161d63f05e3106c818b0155c2c3e21c861a44d330ff57506bd64a3 diff --git a/dev-python/pytest-check/pytest-check-2.4.0.ebuild b/dev-python/pytest-check/pytest-check-2.4.0.ebuild new file mode 100644 index 000000000000..cc8edbab54a3 --- /dev/null +++ b/dev-python/pytest-check/pytest-check-2.4.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="pytest plugin that allows multiple failures per test" +HOMEPAGE=" + https://github.com/okken/pytest-check/ + https://pypi.org/project/pytest-check/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}] + >=dev-python/pytest-7.0.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/python-keystoneclient/Manifest b/dev-python/python-keystoneclient/Manifest index eb85327c8c3c..04473b771a48 100644 --- a/dev-python/python-keystoneclient/Manifest +++ b/dev-python/python-keystoneclient/Manifest @@ -1,3 +1,5 @@ DIST python-keystoneclient-5.4.0.tar.gz 324151 BLAKE2B a086432c7fe81e6b39661f2e582e5c81efde88f04ba9e8e4fca17d4d217cb67a9a7cc38087e41a2b47e5b4540245a2586436c31e9596a2c520ad3e3219ff9b0f SHA512 496c321cc68efc3f7eaacfcef39ce3a4e669ab816245e6d4afb8e06a97490eafa6f16135a2c957bfdaecf9fe12577f0ecb6a97185844d376e41d22beee190475 +DIST python-keystoneclient-5.5.0.tar.gz 324070 BLAKE2B e901a44285b6962ff7cfa499460bc93ad58263c9f033c39eee3a6f241592e46b3078bf180b3581f2a6ecf126fe052bce862b45c84a169370c11847720f6299f1 SHA512 f9e6300af0fcae0a1eef6b964a81ab16cc164afc51c5b6f2dcb2d391f7934b2a937554af20985311f7e74d6794e69059dce4ba0e2cf972b6f47a76272a274ed8 EBUILD python-keystoneclient-5.4.0.ebuild 1727 BLAKE2B 34815b309d26ff0d09039da237bc9c74df1edda7ed75530a922feb41a8055746c7901a672cc5b69bb23d664c1694e79db50038c0673ddb02ed57f2f6538e9338 SHA512 2a5bcc338bf32f9e1e5a5227e529faa09cd44b191b7f45cd173b6b78b80cc09079b070c095400bb54fb3c9ce99f08d351a27e7122d3f0da16886349e59228f3e +EBUILD python-keystoneclient-5.5.0.ebuild 1730 BLAKE2B 73a42af4f96b2092c746935899a889bc792c7ade3ab8809dbcf763b71f067c19056c0e5bf4a861174c4035a7ce4b65bd1412e851e3bd8ba978b8c4444001feaa SHA512 14d70ef0a757edc0b5c6737db1d6ec8ffaba14deb7f236a4b9c3305b8ddd812adcb8203cc46084fa1a530b0428f56dc3267f57125b7c36f3c7f88872b81f1c2a MISC metadata.xml 667 BLAKE2B 47026519bc6a282a39e2503fc0fe2ebb54902ddf8cefac20f36e13c5dbe6589bd245588e461ff958d8b6e16c58e4d07f0937484da0fe438e4ac5367c9957efdd SHA512 df9d8fc8aebd726b4dbc63548a573352206dc92cf2db1520e558ce8bf1635ecab36589e7fae0bd38e34a62b16369ae890855b0f0390a0182e20a28ca8b48a635 diff --git a/dev-python/python-keystoneclient/python-keystoneclient-5.5.0.ebuild b/dev-python/python-keystoneclient/python-keystoneclient-5.5.0.ebuild new file mode 100644 index 000000000000..4ad8f7c3e138 --- /dev/null +++ b/dev-python/python-keystoneclient/python-keystoneclient-5.5.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2024 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_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Client Library for OpenStack Identity" +HOMEPAGE=" + https://opendev.org/openstack/python-keystoneclient/ + https://github.com/openstack/python-keystoneclient/ + https://pypi.org/project/python-keystoneclient/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth1-3.4.0[${PYTHON_USEDEP}] + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/lxml-4.5.0[${PYTHON_USEDEP}] + >=dev-python/oauthlib-0.6.2[${PYTHON_USEDEP}] + >=dev-python/os-client-config-1.28.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/tempest-17.1.0[${PYTHON_USEDEP}] + >=dev-python/testresources-2.0.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +python_test() { + # functional tests require cloud instance access + eunittest keystoneclient/tests/unit +} diff --git a/dev-python/pyudev/Manifest b/dev-python/pyudev/Manifest index 8096530d4acf..5a3b6f38c6f0 100644 --- a/dev-python/pyudev/Manifest +++ b/dev-python/pyudev/Manifest @@ -1,3 +1,6 @@ +AUX pyudev-0.24.3-tests.patch 630 BLAKE2B b0199ada00ad1b80550f371834262a9dc9d7870495b13e4ca22c6a1d2b9da2a14b6929bad6da236ea108e088c9a07b4b3a85fcd0225215c16e5bea48f07beb21 SHA512 92000cabaf6c346a601ba34ee7a11e76f3130f392380997730b8a112f7ed7104b656a649ac2366bf9eebf6f03d0effbbad40c516723b125dff962b28b4208533 DIST pyudev-0.24.1.tar.gz 85963 BLAKE2B 86c6d04691c99671735915564f58b4ef892e45925047487500bc7005343db7145941dde270f4ce9279881bd9bbf203965082d54b34b396febff52f387a1c26ac SHA512 10e32d9a74884000fbf8b86bee60530f6e7b936b990e7ae3b76099ace71834602de404721101c1076ef57365622a9a8f4819d57f58508ced09a21b7d50326886 +DIST pyudev-0.24.3.gh.tar.gz 80807 BLAKE2B 8b047c1d44f9bbb9ace782b690e0859eb3cdc2c1a994a398513e7cc2288803f8cfcdc227546de22275d47961f880bd76e0dec244e46abf451534f5648682febe SHA512 9075437f6fdba0fc1921e252c0a49e1a5eeed8c5cf598856a32aa9f9fcb8885dc0727258d2965241b2e044acfdf70561d5aa3f1380b84e013afc7cb8dcbfce2b EBUILD pyudev-0.24.1.ebuild 1330 BLAKE2B d50d6a46d979bad6232955f5d02ffb2ae7a370dbcf85d3657152baa7cec82893df9af1b8085e77eee69a2caea0fb4ea5a9ec27a49d62876d0cbc6fe59ea67ce3 SHA512 8a20f87cb53c4a4f8e7c48fd4fd1b05d80f11af5e5c93096e5ff3725d9c28478e1d4841988e782132ae330c578f5b04835272a38e09752382e456ad82b222fdd +EBUILD pyudev-0.24.3.ebuild 2110 BLAKE2B 1feb9186d5a5aa8d101ea3493a00b24ac1448fc75b772c8973be511d62896f54f5618a2ceaadbb3d69985941c47800d8d7ca80d17cf2597ab74c4fcfe5b85d11 SHA512 f8c3f37388253e0cb14eef66495c0d526ff03d294d98c0a9da6bad7e85e32ef2b218181c22d131ffaf2d9f0157091fa10f7f0ee169629da6efa9fc0575e35c15 MISC metadata.xml 705 BLAKE2B 5668637e59e1d434d0a72d0856e7ed614a2f5a3371e3fa4e841f4d516228f8b8a5567bc6a91cb07c8ee1f9c14db76ce238adac5bdab987a810adc2aed994b5a7 SHA512 a73f8225942c597d02ed08d3dc03724858f33cc07a2d9fcde64fe20f5c4263d1b7510e26e6365af120b72e7c8ebb075b7606dde493fe6464db2a585a23ca4b6a diff --git a/dev-python/pyudev/files/pyudev-0.24.3-tests.patch b/dev-python/pyudev/files/pyudev-0.24.3-tests.patch new file mode 100644 index 000000000000..a21327df2394 --- /dev/null +++ b/dev-python/pyudev/files/pyudev-0.24.3-tests.patch @@ -0,0 +1,13 @@ +diff --git a/tests/_device_tests/_attributes_tests.py b/tests/_device_tests/_attributes_tests.py +index 71b3a7a..9136cea 100644 +--- a/tests/_device_tests/_attributes_tests.py ++++ b/tests/_device_tests/_attributes_tests.py +@@ -49,7 +49,7 @@ def test_getitem(self, a_context, device_datum): + device = Devices.from_path(a_context, device_datum.device_path) + assert all( + isinstance(device.attributes.get(key), bytes) +- for key in device_datum.attributes.keys() ++ for key in device_datum.attributes.keys() if key is not None + ) + + @given(strategies.sampled_from(_DEVICES)) diff --git a/dev-python/pyudev/pyudev-0.24.3.ebuild b/dev-python/pyudev/pyudev-0.24.3.ebuild new file mode 100644 index 000000000000..29d6755427f4 --- /dev/null +++ b/dev-python/pyudev/pyudev-0.24.3.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..13} ) +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Python binding to libudev" +HOMEPAGE="https://pyudev.readthedocs.io/en/latest/ https://github.com/pyudev/pyudev" +SRC_URI="https://github.com/pyudev/pyudev/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="qt5" + +# Known to fail on test system that aren't exactly the same devices as on CI +#RESTRICT="test" + +RDEPEND=" + virtual/udev +" +BDEPEND=" + test? ( + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +DOCS=( CHANGES.rst README.rst ) + +PATCHES=( + "${FILESDIR}/pyudev-0.24.3-tests.patch" +) + +distutils_enable_tests pytest + +python_prepare_all() { + if use test; then + ewarn "If your PORTAGE_TMPDIR is longer in length then '/var/tmp/'," + ewarn "change it to /var/tmp to ensure tests will pass." + fi + + # tests are known to pass then fail on alternate runs + # tests: fix run_path + sed -e "s|== \('/run/udev'\)|in (\1,'/dev/.udev')|g" \ + -i tests/test_core.py || die + + # disable usage of hypothesis timeouts (too short) + sed -e '/@settings/s/(/(deadline=None,/' -i tests{,/_device_tests}/*.py || die + + # remove GUI tests that require a display server + rm tests/test_observer.py tests/test_observer_deprecated.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -a EPYTEST_DESELECT=( + # tests that require root access + tests/test_device.py::TestAttributes::test_asint + tests/test_device.py::TestAttributes::test_asbool + tests/test_device.py::TestAttributes::test_getitem + tests/test_device.py::TestAttributes::test_asstring + + # tests don't work on systems that differ from the upstream CI + tests/test_monitor.py::TestMonitorObserver::test_deprecated_handler + tests/test_monitor.py::TestMonitorObserver::test_fake + ) + epytest tests +} + +pkg_postinst() { + optfeature "PyQt5 bindings" "dev-python/PyQt5" +} diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest index 8b90521fce26..d4a7b3a430e7 100644 --- a/dev-python/quantities/Manifest +++ b/dev-python/quantities/Manifest @@ -1,3 +1,5 @@ DIST python-quantities-0.15.0.gh.tar.gz 91327 BLAKE2B b75371e99b0f270d97cf6e9b80df1e7a0afa8ae8eb5d18750196e9b874737d58d3e3189ef9fdca4b312d24a19b406fe21f7eb304f0c1f11987873528190ca2e4 SHA512 987fb30d25a7b14e681d6eb963fc2cc68f954d017eca256739e897062249fce606adcb3224e3c8f0d371e49904caef7171a9a8ba4a7e60baa2fe063004846439 +DIST python-quantities-0.16.0.gh.tar.gz 92228 BLAKE2B 2570b50a983cf1e84fc6df0590a2de251f671d15af06191c4fbf673c7bb75ec419e04f7bcc1a1730f87ed2269b40d707aa6a1103d1238421c19b939f2bbc7f2b SHA512 592001add7201868844197e67ac3a200d4a82c11f02c0d2ce4f007bda5b8c66c29c0f30563da7fd214c3aede4564590b1de9e29b2e9dac0a77a1db0b410e750d EBUILD quantities-0.15.0-r1.ebuild 1000 BLAKE2B f6590a89cb04ad2117df7455dfab4fcc4af9333cb26488e4b3dc0829e165849ee80d0fc3922f0877b0a7f5a8aa7951edfbe0249f75d9466bc6c223b4b4762f1c SHA512 b355b2beb0649913d2995b7215a03803bfad49d6c12b76bbcb5bf5e1f7e6d089dd86cab19c6041b85b5ae9c185db16a845a4036f4e3b96487a30d414b80305ba +EBUILD quantities-0.16.0.ebuild 844 BLAKE2B 332b72e4581f966e7882eaee28b9548ad587cdd8ccd63e8afd05eea4807777d9825f9b12f3e018d87dde7189ce36a5dcec4fa16ffd99d8677ae9b1d2269c34a6 SHA512 111570ba92086c605b668defc5967a364a66d1951a86b94a2a8ba993ef48aee5f72ca04885b7663886358ec5e37c9c08724000fa65c501b2551c2ca5d0a0183e MISC metadata.xml 645 BLAKE2B d6965f033a9f7b6e78c5b2dcadda6a036ec1becac8cdd4bf3a7d2a7d0739cca4b51c29f874eebedc963d5a54d1906dc18a8ba628e44b4d3d12c81c91f6f97b29 SHA512 d2f88066eb81f72611dd94b323c9d42dbdb02d0953cb43a06b991bc7b134cff85d86979aabc155dee463645ab984127bdebfa7ca125ba36febaea451dad39143 diff --git a/dev-python/quantities/quantities-0.16.0.ebuild b/dev-python/quantities/quantities-0.16.0.ebuild new file mode 100644 index 000000000000..e30d4a40296f --- /dev/null +++ b/dev-python/quantities/quantities-0.16.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +MY_P="python-quantities-${PV}" +DESCRIPTION="Support for physical quantities with units, based on numpy" +HOMEPAGE=" + https://github.com/python-quantities/python-quantities/ + https://pypi.org/project/quantities/ +" +SRC_URI=" + https://github.com/python-quantities/python-quantities/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/numpy-1.20[$PYTHON_USEDEP] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + epytest --pyargs quantities.tests +} diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest index 0da30b25a9b9..eb19fa31329d 100644 --- a/dev-python/sphinx/Manifest +++ b/dev-python/sphinx/Manifest @@ -1,6 +1,5 @@ AUX sphinx-3.2.1-doc-link.patch 604 BLAKE2B f23f8f9a0a48b170e2b6daaeded1e65aebe830da463d4e30f2405b511cb72dde12767d0113b2d1efdce821c16837d700c71c60de38d20950ca5d6579f19a80ff SHA512 3088ba8768b4ba9e6a187e4c52fcc226efd5125fd01526b4a724504f4c445d69d6964fe79c1325ff7f58edcefc7f3489393ab085ea0458d94c44b186aa16e2f1 AUX sphinx-4.3.2-doc-link.patch 745 BLAKE2B 94f190d63168be99c4719a917f0a1210c56284c278c3909d9de34a319b4d5afa2337133509c06f87e53d5ae488efd88b0f79542719e8870c137f160732c25189 SHA512 aed97412a49212856ea6ccb392c2aa210862ec25d49c4b81a7ff17bd2d0cfe4811d80f4047622f7b23473e31aad968c34098b590045c1d0592b19f4cb6ec8b3c -AUX sphinx-7.3.7-opt-defusedxml.patch 1427 BLAKE2B a28078b9ec5304b4c1fba687b83b2260a8edc1cbbcb75b542aec8fa8d6c122780a99686e840c515df4d83d5c7451c5f39bdb0107fe908e31ccbbce2f7430329a SHA512 46d1abda3fde606e663c129af2ebec055e80fb7ad71afb30e85518ddd2f9da6cfd9e72d34473790ca161997bd937a8cf0303f19cb45b8a524617bd3dc9e03d92 DIST sphinx-7.4.7.gh.tar.gz 8135111 BLAKE2B b5a511355b16edfbcf32f9a20855466251c592a7fbffa33a84d84369f2a9de7767cd9529cce3f350cdf25bfbb53534ddea70d9482c1d6d78e9ab160d2c9821e8 SHA512 bfb48d4dc09f108986c5b7737710c7495fbdd83eb18f2a1c77bc9d324c499bffb5103f65ebf7396260f10c0f89eddb1ae5eb8d037bd33fffd748483f4391a7e1 DIST sphinx-8.0.2.gh.tar.gz 8264835 BLAKE2B ed6e321a1e58341609d88993c418ec1a0a580683ed28895077322fdba839d5c158007d65d5349d4d53c5e3b49ae823142cc6eb0203812580ebbb5b95247bf157 SHA512 5e9f38af91d7a80b6a80a80ab26adbebc1c3303996182a58eed9120ed896c5bfde022616e116e8cb8195fe03741e93fd97dcacccf492912ab147c5bfcb79213d EBUILD sphinx-7.4.7.ebuild 5262 BLAKE2B 30795ea4e55042a0ad33d74a066955ed1d933ccd7f7788c0b8a07729e618b5b6d05e6df018d9fbcb76df3fd977ab9ea7eaaee5b9f81cd457a02070accf3012a1 SHA512 0aa19cd9168b11214d4c4dc40371ec94b668b5f905bde8f1c7a3fcddce75af4d70627d65dbb80d34754db45ee4a7866e4207eb6b2c69597612bebb04ce82aee4 diff --git a/dev-python/sphinx/files/sphinx-7.3.7-opt-defusedxml.patch b/dev-python/sphinx/files/sphinx-7.3.7-opt-defusedxml.patch deleted file mode 100644 index cb70e2cf89fc..000000000000 --- a/dev-python/sphinx/files/sphinx-7.3.7-opt-defusedxml.patch +++ /dev/null @@ -1,34 +0,0 @@ -From ce86026f3b667949ef39f7fdab9a40941d99c5ca Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= -Date: Sat, 11 May 2024 18:31:02 +0200 -Subject: [PATCH] DEPS: Lazy import `defusedxml` only when necessary (#12362) - -The `defusedxml` dependency was added to `sphinx.testing` in sphinx 7.3, -but it is not part of the core sphinx dependencies, and not strictly necessary for the running of the pytest plugin. -This commit moves the import into the only function which uses it, -so that the pytest plugins can be used again without this dependency. ---- - sphinx/testing/util.py | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/sphinx/testing/util.py b/sphinx/testing/util.py -index d1de8ea2b7..b2df709eea 100644 ---- a/sphinx/testing/util.py -+++ b/sphinx/testing/util.py -@@ -11,7 +11,6 @@ - from types import MappingProxyType - from typing import TYPE_CHECKING - --from defusedxml.ElementTree import parse as xml_parse - from docutils import nodes - from docutils.parsers.rst import directives, roles - -@@ -73,6 +72,8 @@ def assert_node(node: Node, cls: Any = None, xpath: str = "", **kwargs: Any) -> - # keep this to restrict the API usage and to have a correct return type - def etree_parse(path: str | os.PathLike[str]) -> ElementTree: - """Parse a file into a (safe) XML element tree.""" -+ from defusedxml.ElementTree import parse as xml_parse -+ - return xml_parse(path) - - diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest index c64c9e32d4c0..36aee3509df0 100644 --- a/dev-python/sqlalchemy/Manifest +++ b/dev-python/sqlalchemy/Manifest @@ -1,4 +1,3 @@ -AUX sqlalchemy-2.0.30-py313.patch 508 BLAKE2B 6658d6f71291018461fea34397082adfa289d6ee3e24fb4daed866693455cfbea09520096659b8e7cb3f03e9f20f5b9f5ec60c89669aa48564fd5d7fc33bd121 SHA512 28cd85729b9b5019e95de89cb51efa39c1066a8a23c51de8931c335e97eafb6ab8734405ec7e1970d3569359588b743cdc28be956e300fe19b40052cb77ecdd4 DIST SQLAlchemy-1.4.52.tar.gz 8514200 BLAKE2B b41fccb885ce6761e29621a654c97537610a1875d66302ba56fac560f5c85db35b14595efd903aebfd0186ee39b75a8666e1304cdee6a6ec6eb9923bc602b9e5 SHA512 afda6a3503c9d2baba8c1dd9e7216d5ac1561f52f5f11009c41a1a98ac998643c980c60cf8ba4d84c4af8808be26ead9fd2e7a2c8bf15b2fdb521b4e5de7748e DIST SQLAlchemy-1.4.53.tar.gz 8468030 BLAKE2B fd03cd7a1a8f26b22d33cee038e6e15c59ba24e32a4465e3e3cda74583a333e627b732f5532aaa2c0fc3356a96dab8efbc4f6a51275315f78451d63a4ec20bbf SHA512 2a33b2c0348efbf312994394da3dac0f86be60e9e0929ce96117a02f49d9e06388ec5b016c1bf229f89d5ee561cbdcf8526b9c33428b7041923cd5d73d87a88c DIST SQLAlchemy-2.0.29.tar.gz 9543967 BLAKE2B 04425618b6e0bcf98a7a32a4a6b1c092120a9f3eb55761879b072ac3a3e08c8f1b97fb4d2df4b35b2fd810e11146f4d83cf67cd8ec23fb4d96c5d6cfff7657af SHA512 d1143c65fb26335d652083b9a90afaecf78ed312cea5c26f989380204e909c341c1bc3bb1e07274353e1c409d21737fad4d7391f186b2d2373814582d3baaf78 diff --git a/dev-python/sqlalchemy/files/sqlalchemy-2.0.30-py313.patch b/dev-python/sqlalchemy/files/sqlalchemy-2.0.30-py313.patch deleted file mode 100644 index 6c519d2a205e..000000000000 --- a/dev-python/sqlalchemy/files/sqlalchemy-2.0.30-py313.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/lib/sqlalchemy/util/langhelpers.py b/lib/sqlalchemy/util/langhelpers.py -index c97fa7d..9a02e7d 100644 ---- a/lib/sqlalchemy/util/langhelpers.py -+++ b/lib/sqlalchemy/util/langhelpers.py -@@ -1657,6 +1657,8 @@ - items: List[symbol] - cls._items = items = [] - for k, v in dict_.items(): -+ if re.match(r"^__.*__$", k): -+ continue - if isinstance(v, int): - sym = symbol(k, canonical=v) - elif not k.startswith("_"): diff --git a/dev-python/tifffile/Manifest b/dev-python/tifffile/Manifest index 79579bf48fa7..3309a92512fd 100644 --- a/dev-python/tifffile/Manifest +++ b/dev-python/tifffile/Manifest @@ -1,5 +1,7 @@ DIST tifffile-2024.8.10.gh.tar.gz 350933 BLAKE2B 72cbb36f9ee169e337235b9f9790c11ac92fcff0c46dd791c551bc91d080d05b237ab5d2f4d7cf55744af3a7b04e22cc952d643898527157fa16880272256118 SHA512 59edbecf3ab762d24f1f560dcd471036989003f9385b8d6e0480882df2cfbf81ef5ecc6c41d098e832227717d866e31d158129e17cb1f68bc3d8cf02e1944f90 DIST tifffile-2024.8.24.gh.tar.gz 351308 BLAKE2B daffd7179f1450c60acc63b78ee2870e29e1baa50eb1daf0540020a3e47048ba3622f7ed1512f17802a6c89d4d68975ced8ebe4c2779cb71a13893104c1233be SHA512 658b9e3f64e73c6e08627aaf5f8d15a55cf04c2002afa8694b8596dafdc8f84517a62e7b8369285edc43d0fb4990c54727fa33e591015093bbbbc066b8341a4a +DIST tifffile-2024.8.28.gh.tar.gz 351568 BLAKE2B 4ee3c41f5ebb31b35e230c9784c89a43735d27b67e16d48a58ff2ee5ff0a28f3f84c2e02fd25ea1879b4adda0d70aae723a6ec93cb8f8b54e47680fb773c4d11 SHA512 5710de50e303f4012cd6bfdbbc4f6d4045b2917236dd268124df7326f36ef43b004bb4bed1b2d3b9444b55b2947b48a3882b6db2cb75582a990100e58c7d1105 EBUILD tifffile-2024.8.10.ebuild 912 BLAKE2B 7b97fa119ade2e06469d06a6b936633aafdf22a5a87e69965760999a1f7ce970c052bed1cd2ab09e6603f788ff152f7b59a979157bad6762203851a359f1d450 SHA512 c5808eb2dcbf785a82699f6ea0d1fe4a41811d09fdeb71a3bf83b7b0783fe570a4a01723446124ffdc3ee0d9463ec4411c5d188782f1bdab80c98bd350856697 EBUILD tifffile-2024.8.24.ebuild 912 BLAKE2B 7b97fa119ade2e06469d06a6b936633aafdf22a5a87e69965760999a1f7ce970c052bed1cd2ab09e6603f788ff152f7b59a979157bad6762203851a359f1d450 SHA512 c5808eb2dcbf785a82699f6ea0d1fe4a41811d09fdeb71a3bf83b7b0783fe570a4a01723446124ffdc3ee0d9463ec4411c5d188782f1bdab80c98bd350856697 +EBUILD tifffile-2024.8.28.ebuild 912 BLAKE2B 7b97fa119ade2e06469d06a6b936633aafdf22a5a87e69965760999a1f7ce970c052bed1cd2ab09e6603f788ff152f7b59a979157bad6762203851a359f1d450 SHA512 c5808eb2dcbf785a82699f6ea0d1fe4a41811d09fdeb71a3bf83b7b0783fe570a4a01723446124ffdc3ee0d9463ec4411c5d188782f1bdab80c98bd350856697 MISC metadata.xml 346 BLAKE2B 8cecb51fe01826a2a190c4e3020836f5706a918515a3ef5b4624fc3e9985411a8fd3c261fb7b6d8ad4f4486164487d11bdc2b071eeb5a95083db4c5323ae2dbe SHA512 81f8f6f5231d6cc9a8e7f95416a63cc52027f58fa54ce16bacfaa0ae285a48c5a3850d83d5ab50ca89be248ce386528db32811b23d61fa0d0e1e0cc737150465 diff --git a/dev-python/tifffile/tifffile-2024.8.28.ebuild b/dev-python/tifffile/tifffile-2024.8.28.ebuild new file mode 100644 index 000000000000..a9bd677f4e53 --- /dev/null +++ b/dev-python/tifffile/tifffile-2024.8.28.ebuild @@ -0,0 +1,47 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Read and write TIFF files" +HOMEPAGE=" + https://pypi.org/project/tifffile/ + https://github.com/cgohlke/tifffile/ + https://www.cgohlke.com/ +" +SRC_URI=" + https://github.com/cgohlke/tifffile/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/numpy-1.19.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + >=dev-python/fsspec-2021.5.0[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local -x SKIP_LARGE=1 + local -x SKIP_HTTP=1 + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/tree-sitter/Manifest b/dev-python/tree-sitter/Manifest index 30779422b713..acbaa9cd2afd 100644 --- a/dev-python/tree-sitter/Manifest +++ b/dev-python/tree-sitter/Manifest @@ -2,6 +2,7 @@ AUX tree-sitter-0.21.0-unbundle.patch 516 BLAKE2B 9bee97b5563088af7ff31aaa9da2e2 AUX tree-sitter-0.22.2-unbundle.patch 819 BLAKE2B 2190f524ad43240e90269ef475a7290948080d99bf49e0431c0334affa902a4aa6682f9ad723862722606ebf76988089c22adbbcba7d01024a93e96c438dbadc SHA512 4fd8e0b642277c7ea44dfd93d4c4bff46ce8f11cae558d7c5ad189fa69d9676949bd8aff3c468b2fdae4e74a63c08e96f2e1bf8152c58380b2bc66971079fdd2 DIST tree-sitter-0.21.3.gh.tar.gz 38504 BLAKE2B dd8ed0047763d92babbdb3fd34a6fe6b7a9299b99067600f473bf16b9754a98ada141d96f9b6b26abcb2ff178dd4ec34da547c9cdb7b3449f7b98a44ad10476e SHA512 61f3d4cb15a4106eb350be2adc6ad39de31bd5b2656f35acf2cdf828ababac37b6197d5565ee74b0b2c3a161619163bb98c38108ca3db616fee633e6e2a835a7 DIST tree-sitter-0.22.3.gh.tar.gz 164914 BLAKE2B 7ab97203fed17fc8d18c40d5a24ff60cea4757353a4124c832cc52bff93ed8af913dbbab682225eac309762a26e90c216d2e1058dcaeb860ebd467b4c9655939 SHA512 8ac729b90f942eef07de97c4ebd070c1040f338c1f57a2203b6aa4f3f8db863fdb5183c9b27d5be2ec270d7eefba7665800d6cc4e9265cbd4b4715af4c4d3921 +DIST tree-sitter-0.23.0.gh.tar.gz 167761 BLAKE2B 694e90f608f51fe4f9add476cd5ebcd0ce04a7b027efc4948ce49a6cc0f05ebf4f15e0fe3f365f89f3e04cfec542cb3f1db1e5b05ff7ca23d3134561ea3dcf36 SHA512 67a6f3359c6283c58afcdbe5b6a521cdfcf2585a5361fb69a55eff82941726a143528a402e6d609286d8846c77e20d0a38551525d761e35abb21045ad9c5a2f8 DIST tree-sitter-embedded-template-6d791b897ecda59baa0689a85a9906348a2a6414.tar.gz 12420 BLAKE2B 9b9c6dd135cef4490e145657c5eeeb1fd470faee3846007638d8247daf07227029c6e7e323a0ed30c5cf6d35602be6bfb62dc1c22076fd4a0e76b161d55cca38 SHA512 7744852711cb1659607298fa373ce3ef79de3212ff55c0fb4e9aebcb715548934065ee3b5b12e9d08169a6207879e154a94c9de8bff892c32729c35d49964736 DIST tree-sitter-html-b5d9758e22b4d3d25704b72526670759a9e4d195.tar.gz 26609 BLAKE2B 223fe82ea18bf61b2b7ec664ad68ec1f324c9e0a1c78578db6063b9037c62be2bb762a9e47d0af81f7f244889f1f72683da3751c1d1c609c4a27fdcd0dc008b8 SHA512 15fd961c18d55a20487f48ef6a6f1822f9033baba8995f2e00cf8db1750036d69e19607f578fe90676aab30a173874969c69b91605b6073eb298f32f5f24f81d DIST tree-sitter-javascript-de1e682289a417354df5b4437a3e4f92e0722a0f.tar.gz 396570 BLAKE2B d80cecb070bd1c82737ee1d38fff293ac4c96fde02563ecc910d30c920b902bd5c25a7ac50585f8cb7a26203d98f4a9e6feeebd4ac0d54bede9486ff642e03be SHA512 4a509a886ebeae0d960360113aff89fb56090f1fe4bb5a7866952736a04838a8b6421cc7d19473acc48b135bca4615325c59c0f0f7f3734f23a78fff9cc2050e @@ -10,4 +11,5 @@ DIST tree-sitter-python-03e88c170cb23142559a406b6e7621c4af3128f5.tar.gz 272632 B DIST tree-sitter-rust-3a56481f8d13b6874a28752502a58520b9139dc7.tar.gz 419237 BLAKE2B 681b9656c872bcd15abbf11923d07df61b80b36b2972461a29f249dc53915e6d18a6dfdc65d71c863f7b38a27c8b3a47376f590d86afa44caa71f103e710fed5 SHA512 a8ce10080b984aa469d952ff8e862165676e10dc30c3d1762f7141d9fe83734aec3cb92c48552cb8f24575b538dd53fe0a80f1337f5d0d4c8767dd6bf564143e EBUILD tree-sitter-0.21.3.ebuild 1973 BLAKE2B 70a9e109defdd73ae48095eb78d71736913358882aa9598fddad0cd2fd24b51848293e968c73ae9638a7395420b3873dd377d4075ef91b1dc50e7f3285cafdc8 SHA512 0ed1bc400cfc8854c3379ad1d94d9ff4b555d4bd2fbbcbf822048e93dbd358a5a76d394d11c79dc17e964abf8e703364ea1d3c55d9af431d182aa26c35cc28ed EBUILD tree-sitter-0.22.3.ebuild 1364 BLAKE2B 0ae47148668da008903b424de07f10d6f3227d3c3ce4ecf2c0216666a29a65ee4b92d8ef91ba6e0d456e82764f4bcb5a494bb03f03bccd14908e7fdcc13bc156 SHA512 7860138749976920a8f00aa2e7d8734e07439feadb7db75520c0778dd24bfffc77a428d9a944508fabe184ebd48d0f918c4223b8294974dc0428caec5668b44a +EBUILD tree-sitter-0.23.0.ebuild 1487 BLAKE2B 70698ecaaf9628e45c88a3176e97438da6b284f9edac5376ebd962b484bb74222b8db475030f2417e68a277a310ca504b83eab50b2f46539191b177cc6d07876 SHA512 702367b3249d85d748f8300b7a47a5094cfeff04664dd9a17739ff5350d4c8d36d705ab2ca8ec04c62e271c089b3110984a19dcce5929555ecfb3683e0646d14 MISC metadata.xml 502 BLAKE2B cad33788db5ede6c0c2ea8dd8b80da09f2f8ccac8d77a1a18d65ba639a91eb9d8a89036a52886777024c4a6dc8775993beeb6eaa790562d698123e5b5b261435 SHA512 fb56c5f39e390363c8a3c80bddff9babcf30c74b86192234153f03ba62e21f1a05b1db925e51a3f4b7876a61a606b051a5314f5475d4ba7092a3f89696a78ac3 diff --git a/dev-python/tree-sitter/tree-sitter-0.23.0.ebuild b/dev-python/tree-sitter/tree-sitter-0.23.0.ebuild new file mode 100644 index 000000000000..e92fdc14a478 --- /dev/null +++ b/dev-python/tree-sitter/tree-sitter-0.23.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 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_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings to the Tree-sitter parsing library" +HOMEPAGE=" + https://github.com/tree-sitter/py-tree-sitter/ + https://pypi.org/project/tree-sitter/ +" +SRC_URI=" + https://github.com/tree-sitter/py-tree-sitter/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/py-${P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# setuptools is needed for distutils import +DEPEND=">=dev-libs/tree-sitter-0.23.0:=" +RDEPEND="${DEPEND} + $(python_gen_cond_dep ' + dev-python/setuptools[${PYTHON_USEDEP}] + ' 3.12) +" +BDEPEND=" + test? ( + >=dev-libs/tree-sitter-html-0.20.4[python,${PYTHON_USEDEP}] + >=dev-libs/tree-sitter-javascript-0.21.0[python,${PYTHON_USEDEP}] + >=dev-libs/tree-sitter-json-0.20.3[python,${PYTHON_USEDEP}] + >=dev-libs/tree-sitter-python-0.23.0[python,${PYTHON_USEDEP}] + >=dev-libs/tree-sitter-rust-0.21.2[python,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/${PN}-0.22.2-unbundle.patch +) + +src_unpack() { + default + rmdir "${S}/tree_sitter/core" || die +} + +src_prepare() { + default + + sed -i tree_sitter/binding/query.c -e 's/_PyErr_FormatFromCause/PyErr_Format/' || die +} + +src_test() { + rm -r tree_sitter || die + distutils-r1_src_test +} diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 721e738036b6..4562c636fe53 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -7,6 +7,9 @@ DIST uv-0.3.3-crates.tar.xz 50333232 BLAKE2B 01e0bf8a8fe6f73aea3e77580bfae1d632c DIST uv-0.3.3.gh.tar.gz 2452105 BLAKE2B c4d1b0c1a4ef0439ec8d0187b2e77d44c020cd1284729c50c99b8e345b8338e6e551a286165674240d2d4b562476504425f0726b746b9821ba2683f9176f131d SHA512 cf79574a0ec3468daca7a7a6af39e5eb38f646837043bf783f69c60edc9af16fc90b65ef97dfe65b7ca4381d13caacf222a6a38d2c8f7ede90679fff8be9a009 DIST uv-0.3.4-crates.tar.xz 48658524 BLAKE2B 51a3a4883f8c435355ebb6da3da5bdc8d2dbccbf215c13a9cea394db431db0cde27d008323a711da3d11342fc9f84427ad83d3b70b478bce317e1b6316afe1da SHA512 fa3315832b3e5252a709d1250e4ad81e6aa963216871f0a0a99422424c2009e455a29836703e207279e06ad607187d209b9443791bbcfcfd3860156fa5de871a DIST uv-0.3.4.gh.tar.gz 2458698 BLAKE2B 89db8580a2b3e04546a82bdeb916660cd25344ce604f4201f71bad047ec2e8af651a81d8793207e43755f06e9d69c2fa3afe7386113c0fd79e683964f4a8dd56 SHA512 a99e6963f0ccd6becfdd6802b6195d5ebf5e2563d3fbad3d09ca5302d1d3fcf4fcdf9d2c5837023fef09ea89f5cf736ac61005d4c0e6f824d5a0c64160183686 +DIST uv-0.3.5-crates.tar.xz 48793516 BLAKE2B 49ada395e1834a3c5ec7835a2a23cea885ec111250e4fccc8d78558b561938e12cdb1de643a1b84383a5aa1abfca916d1f4d06fe2dbe69ef47092ddbed06a367 SHA512 d3d2d5a33c91f4dd6397d60d4877d8501136e74291bd214d5b54593f4b9aa246015c58caab5de4e6b5b7040c9d6bd41478a800bb92957df8f12da81d5b843030 +DIST uv-0.3.5.gh.tar.gz 2471050 BLAKE2B 5c089260e5091042c88307fa71f24e773eea80e959c27273781e13f50ef1e08e17220586f6661703ec9e9b58200eb974b311501f3f32fd7862a4a0b185d03bbc SHA512 0d7842aad0f0da030b1d336f962eb1252247bb62e24c2a0ba97fb2f13cfc9f48ba0a1aac42770be93fda8e5e08a59462a242c8ea95a9c97dc56959492cf5c6db EBUILD uv-0.3.3.ebuild 2806 BLAKE2B 45492fdfbc157a20c23c3f7cd9823f052e4967eec655abcea2708bbd8c363652a17d9ff1d9b823203daafbc604684f301b76202ccddad2326213f8ef1478fc0c SHA512 30a61f32dcb38e92de7284971af97036a02874fb9d7d22cd393827eeba73fbfc158ea13884fa3ab31b29b3b0f452a62da29a762d119358376c3808f199e488b4 EBUILD uv-0.3.4.ebuild 2903 BLAKE2B 0d2dfedd6b14ee2fef265edefaa7fe8dc3edf2760eb75e79262258c64ad0e324156c2f9547c7ae073f06310a61fcf35a371dd47cb6627cb9fc793adf7fca38ce SHA512 9436314080d628825a62776675f46d9e84487cab50714239694ab20b616083d090a2de336a942e17b1ea12fae0f698043f5925d10c29183a32b52a80170cb4ec +EBUILD uv-0.3.5.ebuild 2903 BLAKE2B 37dd022b8d20d178024f5237b93133804125b4b2038cdd4ac91a2466793afef6141763395d34eb56ff1eb0af0619680a53bd8c98b99248b31124c6f6c3813237 SHA512 27232cc67630d78805bc005b5252a852e063a1d2907d401f01cde92551c1de5b309c6c4b17545c5fdff561c45791c9358925eb208e026f69c99db7ad3d116f56 MISC metadata.xml 336 BLAKE2B 4b5933e24e3e9450dde5da099185dcdf3afb5916b55cffa7c2f3f6fac77e439197cbe4ba529a87f83442d8f87d238e8abef06dc052ce9a62659060ffea9fdb47 SHA512 9910fd10ebbc395b9c330774b74798c9ffdba3bb368347658380a22e01d6dc9d1961ea50fbfb4a904c9db84b94c713c054e418a7294425b86ff41a607fd3e310 diff --git a/dev-python/uv/uv-0.3.5.ebuild b/dev-python/uv/uv-0.3.5.ebuild new file mode 100644 index 000000000000..72bc0ed13457 --- /dev/null +++ b/dev-python/uv/uv-0.3.5.ebuild @@ -0,0 +1,113 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" + +declare -A GIT_CRATES=( + [async_zip]='https://github.com/charliermarsh/rs-async-zip;011b24604fa7bc223daaad7712c0694bac8f0a87;rs-async-zip-%commit%' + [pubgrub]='https://github.com/astral-sh/pubgrub;388685a8711092971930986644cfed152d1a1f6c;pubgrub-%commit%' + [reqwest-middleware]='https://github.com/astral-sh/reqwest-middleware;5e3eaf254b5bd481c75d2710eed055f95b756913;reqwest-middleware-%commit%/reqwest-middleware' + [reqwest-retry]='https://github.com/astral-sh/reqwest-middleware;5e3eaf254b5bd481c75d2710eed055f95b756913;reqwest-middleware-%commit%/reqwest-retry' + [tl]='https://github.com/charliermarsh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' +) + +inherit cargo check-reqs + +CRATE_PV=0.3.5 +DESCRIPTION="A Python package installer and resolver, written in Rust" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv/ +" +# pypi sdist misses scripts/, needed for tests +SRC_URI=" + https://github.com/astral-sh/uv/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://dev.gentoo.org/~mgorny/dist/uv-${CRATE_PV}-crates.tar.xz + " +fi + +# most of the code +LICENSE="|| ( Apache-2.0 MIT )" +# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT + MPL-2.0 Unicode-DFS-2016 +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +BDEPEND=" + >=virtual/rust-1.80 + test? ( + dev-lang/python:3.8 + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + ) +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +check_space() { + local CHECKREQS_DISK_BUILD=3G + use debug && CHECKREQS_DISK_BUILD=9G + check-reqs_pkg_setup +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space +} + +src_prepare() { + default + + # remove patch.* that breaks GIT_CRATES + local reqmw=${GIT_CRATES[reqwest-middleware]} + reqmw=${reqmw#*;} + reqmw=${reqmw%;*} + sed -i -e "/^\[patch/,\$s@^\(reqwest-middleware = \).*@\1 { path = \"${WORKDIR}/reqwest-middleware-${reqmw}/reqwest-middleware\" }@" Cargo.toml || die + + # https://github.com/vorot93/tokio-tar/pull/23 + # (fortunately uv already depends on portable-atomic, so we don't + # have to fight Cargo.lock) + cd "${ECARGO_VENDOR}/tokio-tar-0.3.1" || die + eapply "${FILESDIR}/tokio-tar-0.3.1-ppc.patch" +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + # work around https://github.com/astral-sh/uv/issues/4376 + local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} + local -x COLUMNS=100 + + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install +} diff --git a/dev-python/zope-interface/Manifest b/dev-python/zope-interface/Manifest index d25f3555ab07..5652bf89fc9e 100644 --- a/dev-python/zope-interface/Manifest +++ b/dev-python/zope-interface/Manifest @@ -1,3 +1,5 @@ DIST zope.interface-6.4.post2.tar.gz 294539 BLAKE2B c6d892357e2ead04841cc5dde924b560e0cd968d84c607e3d1d2ebd804c2d1fbc764a721e8182ffd373a6339967b5230153e3e4934359028e98a0ad4e26c92a9 SHA512 da53c2136a6057de49374a428e855ad731288e45f27787d255073adb188680cb46a7b493258da01d6bbce5d7c7181306b64eb90609520aab361ac07dfba00d4b +DIST zope.interface-7.0.3.tar.gz 252504 BLAKE2B 958605f010f7d282c8850160322bcc8ae4343508ff56d4ae2547815ac5dee76b39d9f7296402d1ccb9d410c64eabf5001be3df59d3768f9a400eaf0f4c94f1ad SHA512 fd086290943b6748b451ea0d375cd9d11a94a1d13c734cbd2834b062600400b5f7381e2b00fcdf6abbaaabf1abf687d15d44e81dd6967c39cbd19f9833b6c4dc EBUILD zope-interface-6.4_p2.ebuild 1119 BLAKE2B 16fcda36c06f67496021bf3b9fc31c105628425bfcc22456b0bcbf096e4d31a9010a05ec8ea47e1712366dc09f32af15276707564654099fab132b006483d656 SHA512 4511da32f4298791b45e0deab48f48c0dc0cab4224906c7276007925d6268329004c0da15851d7a0677e4d7ad6b28f0ea252eb1127c27bfcb0973cf1a4b45ddd +EBUILD zope-interface-7.0.3.ebuild 1087 BLAKE2B 7162dfba0cbef642c9e79679b18a40e76ee30af1404abc727e69b9db32f88a5a3d9ebe88860f33d269900954993efd458bd6c765d6283e00755e95de8ce59610 SHA512 e1b0281aa3440b2ef238945aca2656a98cf1c7c44513b52c04bfa30d9d261deaca2e418b550bd0b51f5c748860a25fb77e944b3aeef7c195c2ed6621553c9d21 MISC metadata.xml 387 BLAKE2B 1d5e2a8f2fcd2c8fcb423f8a123d2d17a0456cd4003489358abd8baf74d3ea9ddfa04af94b9ef67b329520b5ee9bc3084343e824f3fbf7420f14372d43581dbc SHA512 258f0bd291cd42f6374bd331c3b906f149ff455dd264716eefc63487710d95f8b388ecb34be5733dbd7a0e185f449cc18fce04b46521a2d19fd9766e7dc0ed82 diff --git a/dev-python/zope-interface/zope-interface-7.0.3.ebuild b/dev-python/zope-interface/zope-interface-7.0.3.ebuild new file mode 100644 index 000000000000..2dd576235243 --- /dev/null +++ b/dev-python/zope-interface/zope-interface-7.0.3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Interfaces for Python" +HOMEPAGE=" + https://github.com/zopefoundation/zope.interface/ + https://pypi.org/project/zope.interface/ +" + +LICENSE="ZPL" +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" + +BDEPEND=" + test? ( + dev-python/zope-event[${PYTHON_USEDEP}] + dev-python/zope-testing[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # strip rdep specific to namespaces + sed -e "/'setuptools'/d" -i setup.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + distutils_write_namespace zope + eunittest +} -- cgit v1.2.3