From b96e1c10114b0bbfe80e5b660fdc15f30b20e986 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 6 Jul 2024 21:36:11 +0000 Subject: Adding metadata --- dev-python/astroid/astroid-3.2.2.ebuild | 9 +- dev-python/bashate/bashate-2.1.1.ebuild | 2 +- dev-python/boto3/Manifest | 4 - dev-python/boto3/boto3-1.34.127.ebuild | 53 ------- dev-python/boto3/boto3-1.34.137.ebuild | 53 ------- dev-python/boto3/boto3-1.34.138.ebuild | 53 ------- dev-python/boto3/boto3-1.34.139.ebuild | 53 ------- dev-python/botocore/Manifest | 4 - dev-python/botocore/botocore-1.34.127.ebuild | 67 --------- dev-python/botocore/botocore-1.34.137.ebuild | 67 --------- dev-python/botocore/botocore-1.34.138.ebuild | 67 --------- dev-python/botocore/botocore-1.34.139.ebuild | 67 --------- dev-python/botocore/botocore-1.34.140.ebuild | 10 ++ dev-python/bottleneck/Manifest | 2 - dev-python/bottleneck/bottleneck-1.3.8-r1.ebuild | 58 -------- dev-python/bottleneck/bottleneck-1.4.0_rc5.ebuild | 52 ------- .../files/bottleneck-1.3.8-numpy-2.patch | 64 --------- dev-python/cairocffi/Manifest | 1 - dev-python/cairocffi/cairocffi-1.7.0.ebuild | 51 ------- dev-python/cheetah3/Manifest | 1 - dev-python/cheetah3/cheetah3-3.3.1.ebuild | 44 ------ dev-python/cheetah3/cheetah3-3.3.3.ebuild | 6 +- dev-python/clang-python/Manifest | 1 + .../clang-python-19.0.0_pre20240706.ebuild | 53 +++++++ dev-python/colorclass/colorclass-2.2.2-r1.ebuild | 2 +- dev-python/cysignals/cysignals-1.11.4-r1.ebuild | 41 ++++++ dev-python/cysignals/cysignals-1.11.4.ebuild | 30 ---- .../cysignals/files/cysignals-1.11.4-helper.patch | 85 +++++++++++ dev-python/cysignals/metadata.xml | 4 + dev-python/dns-lexicon/dns-lexicon-3.17.0.ebuild | 2 +- dev-python/docopt/docopt-0.6.2-r5.ebuild | 2 +- dev-python/elasticsearch/Manifest | 1 - .../elasticsearch/elasticsearch-8.13.2.ebuild | 83 ----------- dev-python/genshi/Manifest | 2 - dev-python/genshi/genshi-0.7.7.ebuild | 57 -------- dev-python/ghp-import/ghp-import-2.1.0-r1.ebuild | 9 +- dev-python/google-api-python-client/Manifest | 2 - .../google-api-python-client-2.132.0.ebuild | 51 ------- .../google-api-python-client-2.135.0.ebuild | 51 ------- .../google-pasta/google-pasta-0.2.0-r2.ebuild | 2 +- dev-python/hishel/Manifest | 1 - dev-python/hishel/hishel-0.0.27.ebuild | 74 ---------- dev-python/httpretty/httpretty-1.1.4-r1.ebuild | 15 +- dev-python/imapclient/imapclient-3.0.1.ebuild | 2 +- dev-python/jsonpickle/Manifest | 2 - .../files/jsonpickle-3.2.1-numpy-2.patch | 157 --------------------- dev-python/jsonpickle/jsonpickle-3.0.4.ebuild | 67 --------- dev-python/jsonpickle/jsonpickle-3.2.1.ebuild | 73 ---------- dev-python/langdetect/Manifest | 2 - .../files/langdetect-1.0.9-explicit-config.patch | 13 ++ dev-python/langdetect/langdetect-1.0.9.ebuild | 4 +- dev-python/langdetect/metadata.xml | 10 +- dev-python/latexcodec/Manifest | 1 - dev-python/latexcodec/latexcodec-2.0.1-r1.ebuild | 25 ---- dev-python/latexcodec/metadata.xml | 4 + dev-python/lit/Manifest | 1 + dev-python/lit/lit-19.0.0_pre20240706.ebuild | 45 ++++++ dev-python/miniupnpc/Manifest | 2 - dev-python/miniupnpc/miniupnpc-2.2.7.ebuild | 51 ------- .../mkdocs-gen-files/mkdocs-gen-files-0.5.0.ebuild | 12 +- .../mkdocs-material-extensions-1.3.1.ebuild | 2 +- .../mkdocs-minify-plugin-0.8.0.ebuild | 2 + .../mkdocs-redirects-1.2.1-r1.ebuild | 31 ++++ .../mkdocs-redirects/mkdocs-redirects-1.2.1.ebuild | 31 ---- dev-python/mkdocstrings-python/Manifest | 2 - .../mkdocstrings-python-1.10.3.ebuild | 40 ------ .../mkdocstrings-python-1.10.4.ebuild | 40 ------ .../mkdocstrings-python-1.10.5.ebuild | 2 +- dev-python/numexpr/numexpr-2.10.1.ebuild | 2 +- dev-python/openapi-core/Manifest | 1 - dev-python/openapi-core/openapi-core-0.19.1.ebuild | 71 ---------- dev-python/peewee/Manifest | 1 + dev-python/peewee/peewee-3.17.6.ebuild | 79 +++++++++++ dev-python/proto-plus/Manifest | 1 - dev-python/proto-plus/proto-plus-1.23.0.ebuild | 40 ------ dev-python/proto-plus/proto-plus-1.24.0.ebuild | 2 +- dev-python/puremagic/Manifest | 2 - dev-python/puremagic/puremagic-1.23.ebuild | 32 ----- dev-python/puremagic/puremagic-1.24.ebuild | 32 ----- .../pybtex-docutils/pybtex-docutils-1.0.3.ebuild | 2 +- dev-python/pybtex/pybtex-0.24.0-r1.ebuild | 6 +- .../pytest-httpserver-1.0.10.ebuild | 2 +- dev-python/responses/responses-0.25.3.ebuild | 2 +- dev-python/selenium/Manifest | 2 - dev-python/selenium/selenium-4.21.0.ebuild | 66 --------- dev-python/subprocess-tee/Manifest | 1 - .../subprocess-tee/subprocess-tee-0.4.1.ebuild | 45 ------ dev-python/tabulate/tabulate-0.9.0-r1.ebuild | 2 +- dev-python/thrift/thrift-0.20.0.ebuild | 7 + dev-python/tlsh/Manifest | 1 - dev-python/tlsh/tlsh-4.8.2.ebuild | 34 ----- .../tree-sitter-0.19.0_p20210506-unbundle.patch | 18 --- .../unittest-or-fail/unittest-or-fail-2-r1.ebuild | 45 ++++++ dev-python/weasyprint/Manifest | 1 - dev-python/weasyprint/weasyprint-62.2.ebuild | 47 ------ dev-python/yattag/yattag-1.15.2.ebuild | 2 +- 96 files changed, 483 insertions(+), 2040 deletions(-) delete mode 100644 dev-python/boto3/boto3-1.34.127.ebuild delete mode 100644 dev-python/boto3/boto3-1.34.137.ebuild delete mode 100644 dev-python/boto3/boto3-1.34.138.ebuild delete mode 100644 dev-python/boto3/boto3-1.34.139.ebuild delete mode 100644 dev-python/botocore/botocore-1.34.127.ebuild delete mode 100644 dev-python/botocore/botocore-1.34.137.ebuild delete mode 100644 dev-python/botocore/botocore-1.34.138.ebuild delete mode 100644 dev-python/botocore/botocore-1.34.139.ebuild delete mode 100644 dev-python/bottleneck/bottleneck-1.3.8-r1.ebuild delete mode 100644 dev-python/bottleneck/bottleneck-1.4.0_rc5.ebuild delete mode 100644 dev-python/bottleneck/files/bottleneck-1.3.8-numpy-2.patch delete mode 100644 dev-python/cairocffi/cairocffi-1.7.0.ebuild delete mode 100644 dev-python/cheetah3/cheetah3-3.3.1.ebuild create mode 100644 dev-python/clang-python/clang-python-19.0.0_pre20240706.ebuild create mode 100644 dev-python/cysignals/cysignals-1.11.4-r1.ebuild delete mode 100644 dev-python/cysignals/cysignals-1.11.4.ebuild create mode 100644 dev-python/cysignals/files/cysignals-1.11.4-helper.patch delete mode 100644 dev-python/elasticsearch/elasticsearch-8.13.2.ebuild delete mode 100644 dev-python/genshi/genshi-0.7.7.ebuild delete mode 100644 dev-python/google-api-python-client/google-api-python-client-2.132.0.ebuild delete mode 100644 dev-python/google-api-python-client/google-api-python-client-2.135.0.ebuild delete mode 100644 dev-python/hishel/hishel-0.0.27.ebuild delete mode 100644 dev-python/jsonpickle/files/jsonpickle-3.2.1-numpy-2.patch delete mode 100644 dev-python/jsonpickle/jsonpickle-3.0.4.ebuild delete mode 100644 dev-python/jsonpickle/jsonpickle-3.2.1.ebuild create mode 100644 dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch delete mode 100644 dev-python/latexcodec/latexcodec-2.0.1-r1.ebuild create mode 100644 dev-python/lit/lit-19.0.0_pre20240706.ebuild delete mode 100644 dev-python/miniupnpc/miniupnpc-2.2.7.ebuild create mode 100644 dev-python/mkdocs-redirects/mkdocs-redirects-1.2.1-r1.ebuild delete mode 100644 dev-python/mkdocs-redirects/mkdocs-redirects-1.2.1.ebuild delete mode 100644 dev-python/mkdocstrings-python/mkdocstrings-python-1.10.3.ebuild delete mode 100644 dev-python/mkdocstrings-python/mkdocstrings-python-1.10.4.ebuild delete mode 100644 dev-python/openapi-core/openapi-core-0.19.1.ebuild create mode 100644 dev-python/peewee/peewee-3.17.6.ebuild delete mode 100644 dev-python/proto-plus/proto-plus-1.23.0.ebuild delete mode 100644 dev-python/puremagic/puremagic-1.23.ebuild delete mode 100644 dev-python/puremagic/puremagic-1.24.ebuild delete mode 100644 dev-python/selenium/selenium-4.21.0.ebuild delete mode 100644 dev-python/subprocess-tee/subprocess-tee-0.4.1.ebuild delete mode 100644 dev-python/tlsh/tlsh-4.8.2.ebuild delete mode 100644 dev-python/tree-sitter/files/tree-sitter-0.19.0_p20210506-unbundle.patch create mode 100644 dev-python/unittest-or-fail/unittest-or-fail-2-r1.ebuild delete mode 100644 dev-python/weasyprint/weasyprint-62.2.ebuild (limited to 'dev-python') diff --git a/dev-python/astroid/astroid-3.2.2.ebuild b/dev-python/astroid/astroid-3.2.2.ebuild index 755ae225c2ec..4040ed2796f5 100644 --- a/dev-python/astroid/astroid-3.2.2.ebuild +++ b/dev-python/astroid/astroid-3.2.2.ebuild @@ -33,7 +33,6 @@ BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] test? ( dev-python/attrs[${PYTHON_USEDEP}] - =dev-python/numpy-1.17.0[${PYTHON_USEDEP}] dev-python/python-dateutil[${PYTHON_USEDEP}] $(python_gen_cond_dep ' @@ -59,6 +58,14 @@ python_test() { tests/test_nodes.py::AsStringTest::test_recursion_error_trapped # TODO tests/test_builder.py::BuilderTest::test_data_build_error_filename + # numpy-2 + tests/brain/numpy/test_core_einsumfunc.py::test_numpy_function_calls_inferred_as_ndarray + tests/brain/numpy/test_core_fromnumeric.py::BrainNumpyCoreFromNumericTest::test_numpy_function_calls_inferred_as_ndarray + tests/brain/numpy/test_core_multiarray.py::BrainNumpyCoreMultiarrayTest::test_numpy_function_calls_inferred_as_ndarray + tests/brain/numpy/test_core_numerictypes.py::NumpyBrainCoreNumericTypesTest::test_datetime_astype_return + tests/brain/numpy/test_core_numerictypes.py::NumpyBrainCoreNumericTypesTest::test_generic_types_are_subscriptables + tests/brain/numpy/test_core_umath.py::NumpyBrainCoreUmathTest::test_numpy_core_umath_functions_return_type + tests/brain/numpy/test_core_umath.py::NumpyBrainCoreUmathTest::test_numpy_core_umath_functions_return_type_tuple ) case ${EPYTHON} in diff --git a/dev-python/bashate/bashate-2.1.1.ebuild b/dev-python/bashate/bashate-2.1.1.ebuild index f9200f9db732..3918d5de63ec 100644 --- a/dev-python/bashate/bashate-2.1.1.ebuild +++ b/dev-python/bashate/bashate-2.1.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 2396b2f04ad7..c484393579a6 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,7 +1,3 @@ -DIST boto3-1.34.127.gh.tar.gz 820740 BLAKE2B ddfb7802440a01af27059daed4bc7cd3797eb192004a0e7b78e1e56a8ff479206b4835a79bcac1db273c2936fb8dfde0ba16bebe8cbe1befeb188070bf46b2c7 SHA512 b139ad68a4ce29e84e0fa1618b97c4aea13b668521921712df74256ad61c21d2077ea216dfb4102d8f9910a8119b24509aa10a504d746bdb410fee1cecc0461c DIST boto3-1.34.131.gh.tar.gz 822851 BLAKE2B cc4b06ca1785e62314308efb7d9ffa6e10a40fe48bdd3e31f9f12490a57843ad528685d04ea9ec40cf2203acc0ee0a9fb58ee272837c9a637f44c2716f60de7a SHA512 79cd8718c6d84cdcdcadfcde80368addc095770624806eb8cfa981852c2a8ebcc8074533ec8f8e24b01a3aed241afccb6f49fdce250ae07f630d8596931778e3 DIST boto3-1.34.136.gh.tar.gz 826543 BLAKE2B 307705ba777d155772a2dafad775e55d94e17a9e4c2986e48bd8a691c3bc4e433f212e1a59053222927bda42584b2d1d266bc2489f94fd3e4463416c56531d54 SHA512 f2307db517b393164028c17a8073c5baf7f7e3be36c988a90d455cad98a55b7a7e1a6e44584038141047237e81cb495bffaf70747de421ce316bb457e2d168e8 -DIST boto3-1.34.137.gh.tar.gz 827294 BLAKE2B ba4f008114e02f40c5e4ac095241c7dac2b919e1dbe7ffaacc9ab40b3d2a97a12ace2b27359190b20cf2f2c1dcc66044188f15ed12177b002a54537a692b0203 SHA512 7303b32359080f360a95e0fb068ca1e7b83fe54a5f553f6681df3382bd110c70927138e435afc8eb8e93760c9bd685afa7355e661243e6b7f91cd8e8063d401c -DIST boto3-1.34.138.gh.tar.gz 827512 BLAKE2B d8022cb470f2f68bf16dd179fb348b3419a4fc7dd2095816916619dc314809db6a2385e86b83ff552609a4cb6285369d806debac20887cefa69b113cd0385552 SHA512 9e12dd97ffd1f15cdb527219184bef8dff012bd9b11214f566fd98a82b37e6ee9699b05de62eb48393ff551089d683143373cbef167ca7e35e64851894fb3fe1 -DIST boto3-1.34.139.gh.tar.gz 828069 BLAKE2B 71abb24a57f173a4136e8334fa2db9f2b5d92d2e154141da122575869e0b40bbe1f8ee893a8b8735ce8f6d2c7457334c5e08ead983a01516d591d594528c4cdb SHA512 bc3ca92551ffa9d2400341982b670b70ccbd539539fd86d6ec88091606504ad74247103ef9677d45023f4e2f9d737878c55313c28f08299d24b06701eb221ced DIST boto3-1.34.140.gh.tar.gz 828290 BLAKE2B 129c0f791ddc07f90d2b9ae2972839a0bcaa393e3a8f843a9bca9ebf699f36290b95d17c3f906f49ae5c9ee8cd15c5de7f9de96572573f12d40c7ada778c7679 SHA512 b052ac336e68577140017b5a45f1787eec985e42d86e25cdafc15c6eadf8652b75bb006cf86ce0a3e0d9f3b657ae2afee41a75f624fb5e277a49f1653a83f64f diff --git a/dev-python/boto3/boto3-1.34.127.ebuild b/dev-python/boto3/boto3-1.34.127.ebuild deleted file mode 100644 index 1ad6d3c11774..000000000000 --- a/dev-python/boto3/boto3-1.34.127.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# 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_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -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/boto3/boto3-1.34.137.ebuild b/dev-python/boto3/boto3-1.34.137.ebuild deleted file mode 100644 index 509842b2699d..000000000000 --- a/dev-python/boto3/boto3-1.34.137.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# 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_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -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/boto3/boto3-1.34.138.ebuild b/dev-python/boto3/boto3-1.34.138.ebuild deleted file mode 100644 index 509842b2699d..000000000000 --- a/dev-python/boto3/boto3-1.34.138.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# 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_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -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/boto3/boto3-1.34.139.ebuild b/dev-python/boto3/boto3-1.34.139.ebuild deleted file mode 100644 index 509842b2699d..000000000000 --- a/dev-python/boto3/boto3-1.34.139.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# 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_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -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 6bb8463c7bc2..9cc647408609 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,7 +1,3 @@ -DIST botocore-1.34.127.gh.tar.gz 13112261 BLAKE2B e883f0a1e29178667678132195aea9666a124456e731e1b158eed895c125fd614e5671639766f7ad46c2e6b16c4156ff5e42594bc04e49bf25380c91cfcbe264 SHA512 48ca2179c24bb219202e5029dd62350a6fc5c64707762f0f33282e542dbc2227bb146376afa9e6b9eb1e45e3c801208a142bef4827d5036eb4724299c826d534 DIST botocore-1.34.131.gh.tar.gz 13129943 BLAKE2B 916360c6a9526edcfd338718f80556e59d54692aac13f38490e49457edd59016d264a5acbfeb6298af494f09f9c385e16347a9bf7f144c5a11afda2df188aeed SHA512 9bb788ac8e8a2ec7be999acafef88ccbb4e693ccb315efe5655b80cf3f6629eebccbdac6f201550d2f75e476d83c5a800f1add6c71e2fe5b3d503da313f6d3d3 DIST botocore-1.34.136.gh.tar.gz 13151618 BLAKE2B 800b800ff2481335f0defb79c10a4216c8bb107a3369e6a45a9c0a6d8f703209a9e44560ebf859f7fc616498c68e9b0de331478a8b5e2d3b36788bdedb597a0b SHA512 e9a31f6e8e241964fa34df65c8a9f8acaa1e33865eeb8257bf6da16982a3704b8ab66b6f424952ff100944471bb8f40cbdbcc26f72120da2d6033319948de81e -DIST botocore-1.34.137.gh.tar.gz 13153450 BLAKE2B 4049e5f7b12a4df94fa4a819f11732b86897ae838cc1fc9443f343037915e69134c0e3f335796976002ca63305dd12a8272252bed9370b6d64dc83186826467f SHA512 f3ba697813ec4a68978f27be12e44df02336210e47b5347f3868c4630d899eccf4cb0e0cc679122e4e5ae55ba002efc7067e6e13ea5a286707b958cae14b4186 -DIST botocore-1.34.138.gh.tar.gz 13153609 BLAKE2B d2f16e1c49b51dbe35e21774bac766b88ad83cad18c6ee972de7f83086d1d00eb70826dbc0ffaff2b4bdb916fa22a849c1c0b8a4980206d9fb8c8288a047d803 SHA512 a43deaa3a5e95dbaa3a018907b8b44b822c399542f91291963e31708efbe06ca566f5f1290ba9c13359ebcac3566586d5b1c4ba391778ca11ed2d09ef1335162 -DIST botocore-1.34.139.gh.tar.gz 13155941 BLAKE2B 8c916972478f947f75cc9e864904da5f9304d8ae1e454ff2777d943ffc7fec6959c34ade893ce74d7b63cc15133317dab4b3610ec0ad8f7e73255d37411a2cf0 SHA512 6cd86c0bbebf9251060dd2b16962dbc514bb487c33fb13301a7d8e4e036d56f9c20a252e89be94209962ff83d253eba4e568babbf8c6b93987274050c48a6e3c DIST botocore-1.34.140.gh.tar.gz 13156596 BLAKE2B 4a264fe767c35dcc65ddbe1eb29529d2576553e4d6f9a3d6c28f249aaa0eab5a0fd150fdbdc1dbd1b83cc1fb6fce8f58c68de43f5dc338cb3feb5b9f76c8f973 SHA512 36c90da9670639ccc10e65ced501a2b16e50b664f11be2686f6fcfc56fa81271f160b27b7ffac513446afe09ef6ed4768818ad8b8ca540571737c47fdf980443 diff --git a/dev-python/botocore/botocore-1.34.127.ebuild b/dev-python/botocore/botocore-1.34.127.ebuild deleted file mode 100644 index beb1bdc6a919..000000000000 --- a/dev-python/botocore/botocore-1.34.127.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# 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_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -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 - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.34.137.ebuild b/dev-python/botocore/botocore-1.34.137.ebuild deleted file mode 100644 index 857224b496b7..000000000000 --- a/dev-python/botocore/botocore-1.34.137.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# 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_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -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 - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.34.138.ebuild b/dev-python/botocore/botocore-1.34.138.ebuild deleted file mode 100644 index 857224b496b7..000000000000 --- a/dev-python/botocore/botocore-1.34.138.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# 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_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -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 - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.34.139.ebuild b/dev-python/botocore/botocore-1.34.139.ebuild deleted file mode 100644 index 857224b496b7..000000000000 --- a/dev-python/botocore/botocore-1.34.139.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# 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_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -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 - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.34.140.ebuild b/dev-python/botocore/botocore-1.34.140.ebuild index 857224b496b7..dc25df1879f6 100644 --- a/dev-python/botocore/botocore-1.34.140.ebuild +++ b/dev-python/botocore/botocore-1.34.140.ebuild @@ -62,6 +62,16 @@ python_test() { 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::test_create_single_paginator_memory_constant + tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_single_waiter_memory_constant + ) + ;; + esac + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest tests/{functional,unit} } diff --git a/dev-python/bottleneck/Manifest b/dev-python/bottleneck/Manifest index 7450c87d3457..8ce948a5e14e 100644 --- a/dev-python/bottleneck/Manifest +++ b/dev-python/bottleneck/Manifest @@ -1,3 +1 @@ -DIST Bottleneck-1.3.8.tar.gz 103252 BLAKE2B 1e520e33eaa86b7328d469a8de2f0cacedb401f9dab3686cad40132caa23e77055b71e630fadda9305f3d416e8958e9762053e6d46afba4cf15489db77418b67 SHA512 951a927ce368643e2ccb5154c05381ce9ff17bc703c0bcd85eab547e345601ad82eb1dc85fa16d667753bf3dc9d0296025984dae463a0153944a85a085331a8e DIST bottleneck-1.4.0.tar.gz 103490 BLAKE2B c72b53bd1f4325fa53d7824e335ec50a37da7650c097bdda22548637c1e5a95bfa219dad1361dfb2eecdcf0fa1445a5c6cfb94b7472290fa6317524dc474f46c SHA512 07c1224d63a34e12488dce1f72152fdc493db904130cef46092f7f9c3218a04032e90d64dbf385069072c5d56c7ea09db15897d5c77b9d53db2e3da9414f84cc -DIST bottleneck-1.4.0rc5.tar.gz 103528 BLAKE2B 760c0958507b5472525694f7b5a11bdb999aa7fb14ab1465d49a81ef8725a007cf070e8393a807a703af7aad1419aafb19859d62bf8871be0348d60b4913d62c SHA512 68394c00567456af54096005d1f971abe872ee1f6d8776aac46d7e183bbb20dbee730e6845fd2c94cdc4dcdb4b8da2e154610784227d5058153c078c61bd9311 diff --git a/dev-python/bottleneck/bottleneck-1.3.8-r1.ebuild b/dev-python/bottleneck/bottleneck-1.3.8-r1.ebuild deleted file mode 100644 index 1336cf5e0bd1..000000000000 --- a/dev-python/bottleneck/bottleneck-1.3.8-r1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# 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_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Fast NumPy array functions written in C" -HOMEPAGE=" - https://github.com/pydata/bottleneck/ - https://pypi.org/project/Bottleneck/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" - -DEPEND=" - >=dev-python/numpy-1.9.1:=[${PYTHON_USEDEP}] -" -RDEPEND=" - ${DEPEND} -" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/pydata/bottleneck/pull/450 - "${FILESDIR}/${P}-numpy-2.patch" -) - -src_prepare() { - # don't overwrites user's optimization level - sed -e '/extra_compile_args=\["-O2"\]/d' -i setup.py || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # GC assumptions? - tests/memory_test.py::test_memory_leak - ) - ;; - esac - - rm -rf bottleneck || die - epytest --pyargs bottleneck -} diff --git a/dev-python/bottleneck/bottleneck-1.4.0_rc5.ebuild b/dev-python/bottleneck/bottleneck-1.4.0_rc5.ebuild deleted file mode 100644 index 126ce47f5820..000000000000 --- a/dev-python/bottleneck/bottleneck-1.4.0_rc5.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# 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_PN=${PN^} -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Fast NumPy array functions written in C" -HOMEPAGE=" - https://github.com/pydata/bottleneck/ - https://pypi.org/project/Bottleneck/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" - -DEPEND=" - >=dev-python/numpy-1.9.1:=[${PYTHON_USEDEP}] -" -RDEPEND=" - ${DEPEND} -" - -distutils_enable_tests pytest - -src_prepare() { - # don't overwrites user's optimization level - sed -e '/extra_compile_args=\["-O2"\]/d' -i setup.py || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # GC assumptions? - tests/memory_test.py::test_memory_leak - ) - ;; - esac - - rm -rf bottleneck || die - epytest --pyargs bottleneck -} diff --git a/dev-python/bottleneck/files/bottleneck-1.3.8-numpy-2.patch b/dev-python/bottleneck/files/bottleneck-1.3.8-numpy-2.patch deleted file mode 100644 index 153b984f1fe7..000000000000 --- a/dev-python/bottleneck/files/bottleneck-1.3.8-numpy-2.patch +++ /dev/null @@ -1,64 +0,0 @@ -From 787d6daa292ef013efb2ce93f100079457330363 Mon Sep 17 00:00:00 2001 -From: Ben Greiner -Date: Thu, 9 May 2024 20:27:16 +0200 -Subject: [PATCH 3/3] Replace np.array(a, copy=False) with np.asarray(a) - -See https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword ---- - bottleneck/slow/move.py | 8 ++++---- - bottleneck/slow/nonreduce_axis.py | 2 +- - 2 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/bottleneck/slow/move.py b/bottleneck/slow/move.py -index 0aa06f141..76a54a24e 100644 ---- a/bottleneck/slow/move.py -+++ b/bottleneck/slow/move.py -@@ -52,7 +52,7 @@ def move_argmin(a, window, min_count=None, axis=-1): - "Slow move_argmin for unaccelerated dtype" - - def argmin(a, axis): -- a = np.array(a, copy=False) -+ a = np.asarray(a) - flip = [slice(None)] * a.ndim - flip[axis] = slice(None, None, -1) - a = a[tuple(flip)] # if tie, pick index of rightmost tie -@@ -78,7 +78,7 @@ def move_argmax(a, window, min_count=None, axis=-1): - "Slow move_argmax for unaccelerated dtype" - - def argmax(a, axis): -- a = np.array(a, copy=False) -+ a = np.asarray(a) - flip = [slice(None)] * a.ndim - flip[axis] = slice(None, None, -1) - a = a[tuple(flip)] # if tie, pick index of rightmost tie -@@ -115,7 +115,7 @@ def move_rank(a, window, min_count=None, axis=-1): - - def move_func(func, a, window, min_count=None, axis=-1, **kwargs): - "Generic moving window function implemented with a python loop." -- a = np.array(a, copy=False) -+ a = np.asarray(a) - if min_count is None: - mc = window - else: -@@ -226,7 +226,7 @@ def lastrank(a, axis=-1): - -0.5 - - """ -- a = np.array(a, copy=False) -+ a = np.asarray(a) - ndim = a.ndim - if a.size == 0: - # At least one dimension has length 0 -diff --git a/bottleneck/slow/nonreduce_axis.py b/bottleneck/slow/nonreduce_axis.py -index f09dfa739..1dd67529a 100644 ---- a/bottleneck/slow/nonreduce_axis.py -+++ b/bottleneck/slow/nonreduce_axis.py -@@ -15,7 +15,7 @@ def nanrankdata(a, axis=None): - - - def _rank(func1d, a, axis): -- a = np.array(a, copy=False) -+ a = np.asarray(a) - if axis is None: - a = a.ravel() - axis = 0 diff --git a/dev-python/cairocffi/Manifest b/dev-python/cairocffi/Manifest index 607cd0b7f5f3..4818bc34be61 100644 --- a/dev-python/cairocffi/Manifest +++ b/dev-python/cairocffi/Manifest @@ -1,2 +1 @@ -DIST cairocffi-1.7.0.tar.gz 87840 BLAKE2B f31a07c865e16fb5448451bb2a57c2f33017165d2c374a4ea60222a28dc7a9bfd9839a6014594c5e90cc8880773e85cbb29e5bcc5c32d0150b07274f25f81b94 SHA512 bfc0f388a6ea1885523d99ad0ccfd59fec89848ef053c240ea9e3e8aab3f3aed5dc343b74de5cc72fb8512d460e55c70ef99a4ae4705fb1dd92d654a4197d7a9 DIST cairocffi-1.7.1.tar.gz 88096 BLAKE2B 5bb9dfe0617b838c386d4da6536758fb4f10520e9ccf7e8d1610e5f67f6393ba101c6466f78a3916de518955b6c8cc5d907debbf595776bca8313b13e0ddc5f3 SHA512 1d0c069c0af4ba552312e7fc003461bf321725212888938cafee168574f8927ce7d6860c016ba972343e67cb59a588fc98c198c75ce3ee3d75aa77874364e190 diff --git a/dev-python/cairocffi/cairocffi-1.7.0.ebuild b/dev-python/cairocffi/cairocffi-1.7.0.ebuild deleted file mode 100644 index 58f3089e44ca..000000000000 --- a/dev-python/cairocffi/cairocffi-1.7.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi virtualx - -DESCRIPTION="CFFI-based drop-in replacement for Pycairo" -HOMEPAGE=" - https://github.com/Kozea/cairocffi/ - https://pypi.org/project/cairocffi/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -DEPEND=" - >=dev-python/xcffib-0.3.2[${PYTHON_USEDEP}] - x11-libs/cairo:0=[X,xcb(+)] - x11-libs/gdk-pixbuf[jpeg] -" -RDEPEND=" - ${DEPEND} - $(python_gen_cond_dep ' - >=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}] - ' 'python*') -" -BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}] - ' 'python*') - test? ( - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pikepdf[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/${PN}-0.8.0-tests.patch -) - -src_test() { - virtx distutils-r1_src_test -} diff --git a/dev-python/cheetah3/Manifest b/dev-python/cheetah3/Manifest index 5605fe979ce8..a95572b816d3 100644 --- a/dev-python/cheetah3/Manifest +++ b/dev-python/cheetah3/Manifest @@ -1,2 +1 @@ -DIST cheetah3-3.3.1.gh.tar.gz 315007 BLAKE2B 627cb435db1cf274861a29b993f49457c1ba4147b6e1514b5d5961a2fd565c39ff9cae3bcd9665379c5206dc2cef98a6bf159781e664d75d87fa8c4244ec4e43 SHA512 057d3772390076157a0e09e6b5e60ad0ec3b1669aa62741bcfd314f846bba091884d361382d6399e73bce06aaf49366ee3cbeb040c6f5b3e00423eefd440c300 DIST cheetah3-3.3.3.gh.tar.gz 315249 BLAKE2B f5dc748c49adbddffb0339069f800583739bffce8085c3abb80080d14d051a334e6b7d1b8ced218218334cae6cc000877570f3ab7c1ef0d760de36bf956f9c2e SHA512 638ee6ca0d37b86cfa93f8fc0da4c259da639c3b107c8810201e4bed30ca4674b5e546abc1d8f716d1bba7d1c72d51f559894a90580fa02f1409f7a73a246001 diff --git a/dev-python/cheetah3/cheetah3-3.3.1.ebuild b/dev-python/cheetah3/cheetah3-3.3.1.ebuild deleted file mode 100644 index f2e5ecec13d8..000000000000 --- a/dev-python/cheetah3/cheetah3-3.3.1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# 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_{8,9,10,11,12} ) - -inherit distutils-r1 - -MY_P=${P/_p/.post} -DESCRIPTION="Python-powered template engine and code generator" -HOMEPAGE=" - https://cheetahtemplate.org/ - https://github.com/CheetahTemplate3/Cheetah3/ - https://pypi.org/project/Cheetah3/ -" -SRC_URI=" - https://github.com/CheetahTemplate3/Cheetah3/archive/${PV/_p/.post}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~ppc64 ~riscv x86" - -RDEPEND=" - dev-python/markdown[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} -" - -DOCS=( ANNOUNCE.rst README.rst TODO ) - -python_test() { - # the package can't handle TMPDIR with hyphens - # https://github.com/CheetahTemplate3/cheetah3/issues/53 - local -x TMPDIR=/tmp - - "${EPYTHON}" Cheetah/Tests/Test.py || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/cheetah3/cheetah3-3.3.3.ebuild b/dev-python/cheetah3/cheetah3-3.3.3.ebuild index 9eb80e6f19e7..25e52d43e860 100644 --- a/dev-python/cheetah3/cheetah3-3.3.3.ebuild +++ b/dev-python/cheetah3/cheetah3-3.3.3.ebuild @@ -5,7 +5,6 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -# py3.13: https://github.com/CheetahTemplate3/cheetah3/issues/60 PYTHON_COMPAT=( python3_{8,9,10,11,12} ) inherit distutils-r1 @@ -36,6 +35,11 @@ BDEPEND=" DOCS=( ANNOUNCE.rst README.rst TODO ) +PATCHES=( + # https://github.com/CheetahTemplate3/cheetah3/commit/ee2739b73bafbcb9a8cc5511d5e03e6b0d9bced1 + "${FILESDIR}/${P}-py313.patch" +) + python_test() { # the package can't handle TMPDIR with hyphens # https://github.com/CheetahTemplate3/cheetah3/issues/53 diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index 190a94518940..d8983bfac4e7 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -1,4 +1,5 @@ DIST llvm-project-022d15c0039fc1cfaa3cc2eb1a45b71bbb21fadd.tar.gz 215902891 BLAKE2B ecd87b84a4e5f87c91b6df0a2d6849f385bdb7b26b14a2836f1e1fc5a69f9f5b441e47b9251174019f62eabe39a243092cd1a175b5da7d7576cdcfd63083cff0 SHA512 7726e253179bfd9e0b93236e3ce1133b421329b0b3496b10c0a0eecde372fb5e55cce737b6b78db13f2d0833bbc92023d95efa54cb2918b12ce9af166bd90ff4 +DIST llvm-project-0b9f2847da79298ed09c29493245113f02b32d9f.tar.gz 216399453 BLAKE2B ed13e6639d40bdda6dbd09eba0cc8e4f82f4f53ce3cff9742e902af1c306c60dcb6d5fb008057829d46bbbde391697726cba2096c52cf1592c00faf1e37430e4 SHA512 a5b0bf59fa228a41f0c904a42b4b96740fc5e5caa63248c546eb4a810e86d5d8d1d8df663051ed4444cc0389ffa6ec12ee5dbf7d94d6211a253319550d7fac1c DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5 SHA512 4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d SHA512 89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7 diff --git a/dev-python/clang-python/clang-python-19.0.0_pre20240706.ebuild b/dev-python/clang-python/clang-python-19.0.0_pre20240706.ebuild new file mode 100644 index 000000000000..82c18f7c0f95 --- /dev/null +++ b/dev-python/clang-python/clang-python-19.0.0_pre20240706.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for sys-devel/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +DEPEND=" + >=sys-devel/clang-${PV}:* + !sys-devel/llvm:0[clang(-),python(-)] + !sys-devel/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + sys-devel/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/bindings/python ) +llvm.org_set_globals + +python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) + local -x CLANG_NO_DEFAULT_CONFIG=1 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/colorclass/colorclass-2.2.2-r1.ebuild b/dev-python/colorclass/colorclass-2.2.2-r1.ebuild index fbd04b987fa4..d67f57961d8d 100644 --- a/dev-python/colorclass/colorclass-2.2.2-r1.ebuild +++ b/dev-python/colorclass/colorclass-2.2.2-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND=" test? ( diff --git a/dev-python/cysignals/cysignals-1.11.4-r1.ebuild b/dev-python/cysignals/cysignals-1.11.4-r1.ebuild new file mode 100644 index 000000000000..a257827a76f3 --- /dev/null +++ b/dev-python/cysignals/cysignals-1.11.4-r1.ebuild @@ -0,0 +1,41 @@ +# 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_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Interrupt and signal handling for Cython" +HOMEPAGE=" + https://github.com/sagemath/cysignals/ + https://pypi.org/project/cysignals/ +" + +# setup.py has "or later" +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="amd64" + +DEPEND=" + sci-mathematics/pari:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] +" + +PATCHES=( + # https://github.com/sagemath/cysignals/pull/204 + "${FILESDIR}/${P}-helper.patch" +) + +python_test(){ + local -x PATH="${BUILD_DIR}/scripts:${PATH}" + "${EPYTHON}" -B rundoctests.py src/cysignals/*.pyx || die +} diff --git a/dev-python/cysignals/cysignals-1.11.4.ebuild b/dev-python/cysignals/cysignals-1.11.4.ebuild deleted file mode 100644 index 2c518ca6e16e..000000000000 --- a/dev-python/cysignals/cysignals-1.11.4.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_EXT=1 - -inherit distutils-r1 pypi - -DESCRIPTION="Interrupt and signal handling for Cython" -HOMEPAGE="https://pypi.org/project/cysignals/ - https://github.com/sagemath/cysignals" - -# setup.py has "or later" -LICENSE="LGPL-3+" -SLOT="0" -KEYWORDS="amd64" -IUSE="" - -DEPEND="sci-mathematics/pari:=" -RDEPEND="${DEPEND}" -BDEPEND=">=dev-python/cython-3.0.0[${PYTHON_USEDEP}]" - -python_test(){ - PATH="${BUILD_DIR}/scripts:${PATH}" \ - "${EPYTHON}" -B "${S}"/rundoctests.py \ - "${S}"/src/cysignals/*.pyx || die -} diff --git a/dev-python/cysignals/files/cysignals-1.11.4-helper.patch b/dev-python/cysignals/files/cysignals-1.11.4-helper.patch new file mode 100644 index 000000000000..0c09f236eccb --- /dev/null +++ b/dev-python/cysignals/files/cysignals-1.11.4-helper.patch @@ -0,0 +1,85 @@ +From 2abd7ef94775b3320b6f1954b55168e06da0e6b3 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Sat, 6 Jul 2024 13:06:49 +0200 +Subject: [PATCH] Install cysignals-CSI-helper as package data for better + portability + +Rather than installing `cysignals-CSI-helper.py` into a `share` +directory and then trying to figure out the correct path to it, install +it as Python package data and use the standard `importlib.resources` +API to access it. For Python versions older than 3.9, +the `importlib_resources` backport is used instead. + +Fixes #200 +--- + setup.py | 4 +++- + .../cysignals-CSI-helper.py | 0 + src/scripts/cysignals-CSI | 20 ++++++++++--------- + 3 files changed, 14 insertions(+), 10 deletions(-) + rename src/{scripts => cysignals}/cysignals-CSI-helper.py (100%) + +diff --git a/setup.py b/setup.py +index 7953170..7154a4a 100755 +--- a/setup.py ++++ b/setup.py +@@ -215,7 +215,6 @@ setup( + packages=["cysignals"], + package_dir={"": "src"}, + package_data={"cysignals": ["*.pxd", "*.h"]}, +- data_files=[(opj("share", "cysignals"), [opj("src", "scripts", "cysignals-CSI-helper.py")])], + scripts=glob(opj("src", "scripts", "cysignals-CSI")), + cmdclass=dict( + configure=configure, +@@ -223,4 +222,7 @@ setup( + build_ext=build_ext, + bdist_egg=no_egg + ), ++ install_requires=[ ++ "importlib_resources; python_version < '3.9'", ++ ], + ) +diff --git a/src/scripts/cysignals-CSI-helper.py b/src/cysignals/cysignals-CSI-helper.py +similarity index 100% +rename from src/scripts/cysignals-CSI-helper.py +rename to src/cysignals/cysignals-CSI-helper.py +diff --git a/src/scripts/cysignals-CSI b/src/scripts/cysignals-CSI +index dd8b4e6..3896dca 100755 +--- a/src/scripts/cysignals-CSI ++++ b/src/scripts/cysignals-CSI +@@ -41,6 +41,11 @@ from argparse import ArgumentParser + from datetime import datetime + from distutils.spawn import find_executable + ++if sys.version_info >= (3, 9): ++ import importlib.resources as importlib_resources ++else: ++ import importlib_resources ++ + + def pid_exists(pid): + """ +@@ -65,15 +70,12 @@ def gdb_commands(pid, color): + cmds += b'import sys; sys.stdout.flush()\n' + cmds += b'end\n' + cmds += b'bt full\n' +- cysignals_share = os.path.join(os.path.dirname(sys.argv[0]), '..', +- 'share', 'cysignals') +- script = os.path.join(cysignals_share, 'cysignals-CSI-helper.py') +- with open(script, 'rb') as f: +- cmds += b'python\n' +- cmds += b'color = %r; ' % color +- cmds += b'sys_path = %r; ' % sys.path +- cmds += f.read() +- cmds += b'end\n' ++ script = importlib_resources.files('cysignals') / 'cysignals-CSI-helper.py' ++ cmds += b'python\n' ++ cmds += b'color = %r; ' % color ++ cmds += b'sys_path = %r; ' % sys.path ++ cmds += script.read_bytes() ++ cmds += b'end\n' + cmds += b'detach inferior 1\n' + cmds += b'quit\n' + return cmds +-- +2.45.2 + diff --git a/dev-python/cysignals/metadata.xml b/dev-python/cysignals/metadata.xml index f7867cffab25..e7cc15ba4b9c 100644 --- a/dev-python/cysignals/metadata.xml +++ b/dev-python/cysignals/metadata.xml @@ -16,6 +16,10 @@ sci-mathematics@gentoo.org Gentoo Mathematics Project + + python@gentoo.org + Python + When writing Cython code, special care must be taken to ensure that the code can be interrupted with CTRL-C. Since Cython optimizes for diff --git a/dev-python/dns-lexicon/dns-lexicon-3.17.0.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.17.0.ebuild index 992e611f2819..b752d5761355 100644 --- a/dev-python/dns-lexicon/dns-lexicon-3.17.0.ebuild +++ b/dev-python/dns-lexicon/dns-lexicon-3.17.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/docopt/docopt-0.6.2-r5.ebuild b/dev-python/docopt/docopt-0.6.2-r5.ebuild index 52f60625ebe2..55f91d3e699b 100644 --- a/dev-python/docopt/docopt-0.6.2-r5.ebuild +++ b/dev-python/docopt/docopt-0.6.2-r5.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" PATCHES=( "${FILESDIR}"/${PN}-0.6.2-pytest_node_from_parent.patch diff --git a/dev-python/elasticsearch/Manifest b/dev-python/elasticsearch/Manifest index 47c50222ffe9..cef5d3153047 100644 --- a/dev-python/elasticsearch/Manifest +++ b/dev-python/elasticsearch/Manifest @@ -1,2 +1 @@ -DIST elasticsearch-py-8.13.2.gh.tar.gz 1075234 BLAKE2B a13126b41f297db196b0ad22ff1da419e3472d42314984133380f0826d25a2e5ba5e0dcd0a9d571e8e27382eb53ceeadd32a4b6de312e63a3b192fd27829495d SHA512 c5f59eee672da292ca7f40e894a88c62bee3aabf35eb241c48f8f9a52c81e2348747e7d09d3b3323575407c8a072f510dffca2dce2caf9e420a9b40d5e4582fc DIST elasticsearch-py-8.14.0.gh.tar.gz 1092912 BLAKE2B 4ee556bc475d63e33cec318936b2dbf8b280236bcdfe28bc90a4beb7e1d024b8d63180c29e42096cb32bf3da7c771532c57190d763651118603779f816e95656 SHA512 9e9821102659b4c877959e25c33e1b1942f6eabe62bb6de73cda4875c248b0f9285d948e535e9426ca42552f7aa3e75c459f991bfa574c1d8400d78486ee5493 diff --git a/dev-python/elasticsearch/elasticsearch-8.13.2.ebuild b/dev-python/elasticsearch/elasticsearch-8.13.2.ebuild deleted file mode 100644 index 5285efa00601..000000000000 --- a/dev-python/elasticsearch/elasticsearch-8.13.2.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# 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_{8,9,10,11,12} ) - -inherit distutils-r1 - -MY_P="elasticsearch-py-${PV}" -DESCRIPTION="Official Elasticsearch client library for Python" -HOMEPAGE=" - https://ela.st/es-python - https://github.com/elastic/elasticsearch-py/ - https://pypi.org/project/elasticsearch/ -" -SRC_URI=" - https://github.com/elastic/elasticsearch-py/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0/$(ver_cut 1)" -KEYWORDS="amd64 arm64 ~x86" - -RDEPEND=" - =dev-python/aiohttp-3[${PYTHON_USEDEP}] - =dev-python/elastic-transport-8.13[${PYTHON_USEDEP}] - >=dev-python/orjson-3[${PYTHON_USEDEP}] - =dev-python/requests-2.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/mapbox-vector-tile[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/opentelemetry-api[${PYTHON_USEDEP}] - dev-python/opentelemetry-sdk[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.4[${PYTHON_USEDEP}] - dev-python/unasync[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs/sphinx \ - dev-python/sphinx-autodoc-typehints \ - dev-python/sphinx-rtd-theme -distutils_enable_tests pytest - -src_prepare() { - # https://github.com/elastic/elasticsearch-py/pull/2552/ - sed -i -e '/float_/d' elasticsearch/serializer.py \ - test_elasticsearch/test_serializer.py || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_IGNORE=( - # REST api tests are a black hole for effort. It downloads the tests - # so its an ever moving target. It also requires effort to blacklist - # tests for apis which are license restricted. - "test_elasticsearch/test_server/test_rest_api_spec.py" - # Counting deprecation warnings from python is bound to fail even - # if all are fixed in this package. Not worth it. - "test_elasticsearch/test_client/test_deprecated_options.py" - # Running daemon for tests is finicky and upstream CI fails at it - # as well. - "test_elasticsearch/test_server/" - "test_elasticsearch/test_async/test_server/" - ) - - local -x TEST_WITH_OTEL=1 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -o addopts= -p asyncio -} diff --git a/dev-python/genshi/Manifest b/dev-python/genshi/Manifest index 9e9269dc4785..32a8fc55cd43 100644 --- a/dev-python/genshi/Manifest +++ b/dev-python/genshi/Manifest @@ -1,3 +1 @@ -DIST Genshi-0.7.7.tar.gz 267206 BLAKE2B 0bad4b26fbfda27572e78f87af6093c87d738ad6fdf2beea5e8b0b21b3f5245a4e239bbfbad63e71e73f6588e7cae97f2b3bc7295fa30ad7a203a7ceff7074c9 SHA512 b0a3dee68523292f0672a180c5f2cfbdf48205d82286359b9fac9f668cbc2806c649d1e158d6fb8ead5b1cc5cd44eefe9d1cd79077f96925b8d24dd8e746b40f DIST Genshi-0.7.9.tar.gz 269399 BLAKE2B 0603f2b7d8829eb09939c003485e1a9ef9c20ef5dce6452bbb1d667d4b42f4d3d24f10225de9a0d848b760cab30decae6b71768628540d7ae65a14df9c0fca19 SHA512 2e813e4374970e764ce1d7f3cbe6fd3557fb0bd178393f18c62ebe65b6acad0b03b0eaa16b218d337776808b7f25c2499984834ca2e3cd96009998675580862b -DIST python-genshi-use-default-test-loader.patch 13491 BLAKE2B 1651cdb3130fb3fb4c7ba9ce9ea150710c7a60f9d31ab00a0a4cc7376fd833cff28b30530e0ca7ade5d036279d88c7e94130b8ff7facf826a27421a0568b483c SHA512 1bc94efc1721faae870f9201781bb3d380ed03144bb4a2d7ea058cb15ee1c0b948989597c9e665b085ebe9ef1cd116b2a2233d2ab19706a87fd42f25ba208560 diff --git a/dev-python/genshi/genshi-0.7.7.ebuild b/dev-python/genshi/genshi-0.7.7.ebuild deleted file mode 100644 index 338a50dc5bb8..000000000000 --- a/dev-python/genshi/genshi-0.7.7.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# 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_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python toolkit for stream-based generation of output for the web" -HOMEPAGE=" - https://genshi.edgewall.org/ - https://github.com/edgewall/genshi/ - https://pypi.org/project/Genshi/ -" -SRC_URI+=" - https://src.fedoraproject.org/rpms/python-genshi/raw/rawhide/f/python-genshi-use-default-test-loader.patch -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - ${RDEPEND} - ) -" - -PATCHES=( - # https://github.com/edgewall/genshi/issues/72 - "${DISTDIR}/python-genshi-use-default-test-loader.patch" -) - -python_test() { - "${EPYTHON}" -m unittest -v genshi.tests.suite || die -} - -python_install_all() { - if use doc; then - dodoc doc/*.txt - fi - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - distutils-r1_python_install_all -} diff --git a/dev-python/ghp-import/ghp-import-2.1.0-r1.ebuild b/dev-python/ghp-import/ghp-import-2.1.0-r1.ebuild index 41a440af3a3e..0ba89d712225 100644 --- a/dev-python/ghp-import/ghp-import-2.1.0-r1.ebuild +++ b/dev-python/ghp-import/ghp-import-2.1.0-r1.ebuild @@ -1,16 +1,19 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 pypi DESCRIPTION="Copy your docs directly to the gh-pages branch" -HOMEPAGE="https://github.com/c-w/ghp-import" +HOMEPAGE=" + https://github.com/c-w/ghp-import/ + https://pypi.org/project/ghp-import/ +" LICENSE="Apache-2.0" SLOT="0" diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 95d127a401f0..84f739a366f9 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,4 +1,2 @@ -DIST google-api-python-client-2.132.0.tar.gz 11256536 BLAKE2B 4a046c03a50b3922b94e6a07bfce974851752542a69300d544b7c8439c4ad54fc9fd2d5fdf84656801ebe9bf5ad35588d39dc3603537d67db93ea995b50651ff SHA512 ecd6be9009f979447ee7d29dc05af2b25c500ca17a8d88ae6660ac0a72f6bb8237f3224dda63b22378a38c6cf7fab914bc6372351d95e691c3b16f248be04a64 DIST google-api-python-client-2.134.0.tar.gz 11393129 BLAKE2B f5339dfa42f621dbdd145295a2c2710ef9e6e2af543ff5b9643bea884f9e0678065999d60cbf150a56e7b0d8c283588c53461c86eeb491a6ba2ad0c553a48344 SHA512 09a137ee3e3d8f38129fc02d8ffed8934daf6cfcd13904692f44038332da026b30d952048148c8c4fe5c4fed3347196574a860f58e1943312d19f6f03a01ab36 -DIST google-api-python-client-2.135.0.tar.gz 11420200 BLAKE2B abf9681b4aab9f001a790732d839e530894e531bca77a0cb0e850572c5a4d387ed4eb0134ede75dde5acfcf9944874c517c1624a7b7d56f65e9f43030282659b SHA512 9a4d344a0dc07e5570e35c85481e6ec2d7c5cd36608753e33b2be671562f3dc37462d1dd5ff850a883641a1d040960ac7929bd47e2678b1ce3691849eb181e6c DIST google-api-python-client-2.136.0.tar.gz 11443821 BLAKE2B ee313274ec25e1262ad54b800cf524e58400886876d9133b7c6e1d9668e81bce7b73f96511679bcc2a0f565ca9b89c7d6bc7087213e53575542c5e0b5e566ff9 SHA512 e5e8302c71953f0971d3b3159d7689cd76520efa4cee9ca541e78a5fcb14387506963cb20da06ac5760af814ece5ded0bc3942381aa9e96fd6c620eb8933a6ed diff --git a/dev-python/google-api-python-client/google-api-python-client-2.132.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.132.0.ebuild deleted file mode 100644 index 0d95bd55107c..000000000000 --- a/dev-python/google-api-python-client/google-api-python-client-2.132.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# 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_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Google API Client for Python" -HOMEPAGE=" - https://github.com/googleapis/google-api-python-client/ - https://pypi.org/project/google-api-python-client/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 x86" - -RDEPEND=" - >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] - =dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] - >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] - >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] - >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] - -Date: Mon, 10 Jun 2024 03:55:47 +0200 -Subject: [PATCH 1/2] Fix data types in tests for NumPy 2 - -Fix a number of test compatibility issues with NumPy 2. That is: - -- replace `np.float_` with `np.float64`, -- replace `np.complex_` with `np.complex128`, -- remove `np.unicode_` as equivalent to `np.str_`. - -The LHS types are also aliases to the RHS types in NumPy 1.x, so this -is NFC on NumPy 1.x. These aliases were removed in 2.x, so the code -needs to be updated for tests to pass on NumPy 2.x. ---- - tests/numpy_test.py | 7 ++----- - tests/pandas_test.py | 13 +++++-------- - 2 files changed, 7 insertions(+), 13 deletions(-) - -diff --git a/tests/numpy_test.py b/tests/numpy_test.py -index e271725..dd50d5e 100644 ---- a/tests/numpy_test.py -+++ b/tests/numpy_test.py -@@ -32,9 +32,7 @@ def test_dtype_roundtrip(): - dtypes = [ - np.int_, - np.int32, -- np.float_, - np.float64, -- np.complex_, - np.complex128, - np.str_, - np.object_, -@@ -86,15 +84,14 @@ def test_generic_roundtrip(): - values = [ - np.int_(1), - np.int32(-2), -- np.float_(2.5), -+ np.float64(2.5), - np.nan, - -np.inf, - np.inf, - np.datetime64('2014-01-01'), - np.str_('foo'), -- np.unicode_('bar'), - np.object_({'a': 'b'}), -- np.complex_(1 - 2j), -+ np.complex128(1 - 2j), - ] - for value in values: - decoded = roundtrip(value) -diff --git a/tests/pandas_test.py b/tests/pandas_test.py -index 532563f..414bd65 100644 ---- a/tests/pandas_test.py -+++ b/tests/pandas_test.py -@@ -34,14 +34,13 @@ def test_series_roundtrip(): - ser = pd.Series( - { - 'an_int': np.int_(1), -- 'a_float': np.float_(2.5), -+ 'a_float': np.float64(2.5), - 'a_nan': np.nan, - 'a_minus_inf': -np.inf, - 'an_inf': np.inf, - 'a_str': np.str_('foo'), -- 'a_unicode': np.unicode_('bar'), - 'date': np.datetime64('2014-01-01'), -- 'complex': np.complex_(1 - 2j), -+ 'complex': np.complex128(1 - 2j), - # TODO: the following dtypes are not currently supported. - # 'object': np.object_({'a': 'b'}), - } -@@ -54,14 +53,13 @@ def test_dataframe_roundtrip(): - df = pd.DataFrame( - { - 'an_int': np.int_([1, 2, 3]), -- 'a_float': np.float_([2.5, 3.5, 4.5]), -+ 'a_float': np.float64([2.5, 3.5, 4.5]), - 'a_nan': np.array([np.nan] * 3), - 'a_minus_inf': np.array([-np.inf] * 3), - 'an_inf': np.array([np.inf] * 3), - 'a_str': np.str_('foo'), -- 'a_unicode': np.unicode_('bar'), - 'date': np.array([np.datetime64('2014-01-01')] * 3, dtype="datetime64[s]"), -- 'complex': np.complex_([1 - 2j, 2 - 1.2j, 3 - 1.3j]), -+ 'complex': np.complex128([1 - 2j, 2 - 1.2j, 3 - 1.3j]), - # TODO: the following dtypes are not currently supported. - # 'object': np.object_([{'a': 'b'}]*3), - } -@@ -76,12 +74,11 @@ def test_multindex_dataframe_roundtrip(): - 'idx_lvl0': ['a', 'b', 'c'], - 'idx_lvl1': np.int_([1, 1, 2]), - 'an_int': np.int_([1, 2, 3]), -- 'a_float': np.float_([2.5, 3.5, 4.5]), -+ 'a_float': np.float64([2.5, 3.5, 4.5]), - 'a_nan': np.array([np.nan] * 3), - 'a_minus_inf': np.array([-np.inf] * 3), - 'an_inf': np.array([np.inf] * 3), - 'a_str': np.str_('foo'), -- 'a_unicode': np.unicode_('bar'), - } - ) - df = df.set_index(['idx_lvl0', 'idx_lvl1']) - -From 8bc2bdd42bc111d90edbcef8005640d5a51627bf Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= -Date: Mon, 10 Jun 2024 04:02:17 +0200 -Subject: [PATCH 2/2] Fix `newbyteorder()` use for NumPy 2.x - -Replace the `arr.newbyteorder()` use with: - - arr.view(arr.dtype.newbyteorder()) - -as suggested in the exception that's raised when the tests are run -in NumPy 2.x. With this change, the code works both with NumPy 1.x -and NumPy 2.x. ---- - tests/numpy_test.py | 24 ++++++++++++++---------- - 1 file changed, 14 insertions(+), 10 deletions(-) - -diff --git a/tests/numpy_test.py b/tests/numpy_test.py -index dd50d5e..2e6725b 100644 ---- a/tests/numpy_test.py -+++ b/tests/numpy_test.py -@@ -306,18 +306,22 @@ def test_immutable(): - def test_byteorder(): - """Test the byteorder for text and binary encodings""" - # small arr is stored as text -- a = np.arange(10).newbyteorder() -- b = a[:].newbyteorder() -- _a, _b = roundtrip([a, b]) -- npt.assert_array_equal(a, _a) -- npt.assert_array_equal(b, _b) -+ a = np.arange(10) -+ av = a.view(a.dtype.newbyteorder()) -+ b = a[:] -+ bv = b.view(b.dtype.newbyteorder()) -+ _av, _bv = roundtrip([av, bv]) -+ npt.assert_array_equal(av, _av) -+ npt.assert_array_equal(bv, _bv) - - # bigger arr is stored as binary -- a = np.arange(100).newbyteorder() -- b = a[:].newbyteorder() -- _a, _b = roundtrip([a, b]) -- npt.assert_array_equal(a, _a) -- npt.assert_array_equal(b, _b) -+ a = np.arange(100) -+ av = a.view(a.dtype.newbyteorder()) -+ b = a[:] -+ bv = b.view(b.dtype.newbyteorder()) -+ _av, _bv = roundtrip([av, bv]) -+ npt.assert_array_equal(av, _av) -+ npt.assert_array_equal(bv, _bv) - - - def test_zero_dimensional_array(): diff --git a/dev-python/jsonpickle/jsonpickle-3.0.4.ebuild b/dev-python/jsonpickle/jsonpickle-3.0.4.ebuild deleted file mode 100644 index 75e1e22a2897..000000000000 --- a/dev-python/jsonpickle/jsonpickle-3.0.4.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# 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_{8,9,10,11,12} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Python library for serializing any arbitrary object graph into JSON" -HOMEPAGE=" - https://github.com/jsonpickle/jsonpickle/ - https://pypi.org/project/jsonpickle/ -" -SRC_URI=" - https://github.com/jsonpickle/jsonpickle/archive/refs/tags/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm64 ~riscv x86 ~amd64-linux ~x86-linux" - -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/feedparser[${PYTHON_USEDEP}] - dev-python/gmpy[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/simplejson[${PYTHON_USEDEP}] - dev-python/sqlalchemy[${PYTHON_USEDEP}] - dev-python/ujson[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - sed -i -e 's:--cov::' pytest.ini || die - distutils-r1_python_prepare_all - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} -} - -python_test() { - local EPYTEST_IGNORE=( - # unpackaged bson dependency - tests/bson_test.py - ) - - if ! has_version "dev-python/gmpy[${PYTHON_USEDEP}]"; then - EPYTEST_IGNORE+=( jsonpickle/ext/gmpy.py ) - fi - if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then - EPYTEST_IGNORE+=( jsonpickle/ext/pandas.py ) - fi - - epytest -} - -pkg_postinst() { - # Unpackaged optional backends: yajl, demjson - optfeature "encoding numpy-based data" dev-python/numpy - optfeature "encoding pandas objects" dev-python/pandas - optfeature "fast JSON backend" dev-python/simplejson -} diff --git a/dev-python/jsonpickle/jsonpickle-3.2.1.ebuild b/dev-python/jsonpickle/jsonpickle-3.2.1.ebuild deleted file mode 100644 index 724106ceb896..000000000000 --- a/dev-python/jsonpickle/jsonpickle-3.2.1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# 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_{8,9,10,11,12} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Python library for serializing any arbitrary object graph into JSON" -HOMEPAGE=" - https://github.com/jsonpickle/jsonpickle/ - https://pypi.org/project/jsonpickle/ -" -SRC_URI=" - https://github.com/jsonpickle/jsonpickle/archive/refs/tags/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" - -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/feedparser[${PYTHON_USEDEP}] - dev-python/gmpy[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/simplejson[${PYTHON_USEDEP}] - dev-python/sqlalchemy[${PYTHON_USEDEP}] - dev-python/ujson[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - local PATCHES=( - # https://github.com/jsonpickle/jsonpickle/pull/512 - "${FILESDIR}/${P}-numpy-2.patch" - ) - - distutils-r1_python_prepare_all - - sed -i -e 's:--cov::' pytest.ini || die - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} -} - -python_test() { - local EPYTEST_IGNORE=( - # unpackaged bson dependency - tests/bson_test.py - ) - - if ! has_version "dev-python/gmpy[${PYTHON_USEDEP}]"; then - EPYTEST_IGNORE+=( jsonpickle/ext/gmpy.py ) - fi - if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then - EPYTEST_IGNORE+=( jsonpickle/ext/pandas.py ) - fi - - epytest -} - -pkg_postinst() { - # Unpackaged optional backends: yajl, demjson - optfeature "encoding numpy-based data" dev-python/numpy - optfeature "encoding pandas objects" dev-python/pandas - optfeature "fast JSON backend" dev-python/simplejson -} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index 37a64204a00a..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9b3521c5721afa49a58e0c35267f7d82bb56bd7e1d6d3152be0d36cd220180a526cb20b90b1113fbf0fff4a512137570f0b3bcf864498b7b7cc00403cb61ca27 SHA512 16d311400bf84a5f04e15f3da4b68b2810e4b005009f4d03dc8a487176dfc294403c976c412c83dcfa8084a49ef7b7d5389b43fb2ba446ce107ce4595e3558c6 -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setup( + author_email='michal.danilak@gmail.com', + url='https://github.com/Mimino666/langdetect', + keywords='language detection library', +- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], ++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], + include_package_data=True, + install_requires=['six'], + license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index c09b7356f549..630fe63c6f53 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,4 +19,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) + distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..736a1167c898 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -1,12 +1,6 @@ - - marcin.deranek@slonko.net - Marcin Deranek - - - https://github.com/Mimino666/langdetect/issues - - slonko-overlay + + gentoo-guru-overlay \ No newline at end of file diff --git a/dev-python/latexcodec/Manifest b/dev-python/latexcodec/Manifest index c27d210ececa..46d0916cf595 100644 --- a/dev-python/latexcodec/Manifest +++ b/dev-python/latexcodec/Manifest @@ -1,2 +1 @@ -DIST latexcodec-2.0.1.tar.gz 30131 BLAKE2B 8af9cf81a1e0a8b72bf4eb1be206d2f2029598372872f1c43d8abe5e69efeba957d610102f44a5da552325f5525e1668e52ba2cc6c9a2d3f4b7c59c375f040e0 SHA512 e7f23b91904e0bd4a3f052f5f201b125e84c1f94a247b869e14c8f45ee8bc2c478e8887a792efa8c9b6d2b7fefed43fc66e797206b6e40aedaedc68ce7865cab DIST latexcodec-3.0.0.tar.gz 31023 BLAKE2B 3612275cec0d5d20c838dd8edd2799d34da59c5593362a86eb002fde287e3195f7167351f516c4333877798d94e767e7babde144dbf2161dcf82998c67460403 SHA512 f715e61620237267b69f178b620100ac37011093a64e2663fd64b476194e2e0d29ca0ee3169ce3edb11955ef61c64109c8e1b549a800bf4d52e8a75630baaa58 diff --git a/dev-python/latexcodec/latexcodec-2.0.1-r1.ebuild b/dev-python/latexcodec/latexcodec-2.0.1-r1.ebuild deleted file mode 100644 index 8525ed1695f7..000000000000 --- a/dev-python/latexcodec/latexcodec-2.0.1-r1.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Lexer and codec to work with LaTeX code in Python" -HOMEPAGE=" - https://github.com/mcmtroffaes/latexcodec/ - https://pypi.org/project/latexcodec/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/latexcodec/metadata.xml b/dev-python/latexcodec/metadata.xml index c0642636746d..c9a50896f0db 100644 --- a/dev-python/latexcodec/metadata.xml +++ b/dev-python/latexcodec/metadata.xml @@ -9,6 +9,10 @@ proxy-maint@gentoo.org Proxy maintainers + + python@gentoo.org + Python + Latexcodec provides a convenient way of going between text written in LaTeX and unicode. Since it is not a LaTeX compiler, it is more appropriate for short chunks of text, such as a paragraph or the values of a BibTeX entry, and it is not appropriate for a full LaTeX document. In particular, its behavior on the LaTeX commands that do not simply select characters is intended to allow the unicode representation to be understandable by a human reader, but is not canonical and may require hand tuning to produce the desired effect. diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 190a94518940..d8983bfac4e7 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -1,4 +1,5 @@ DIST llvm-project-022d15c0039fc1cfaa3cc2eb1a45b71bbb21fadd.tar.gz 215902891 BLAKE2B ecd87b84a4e5f87c91b6df0a2d6849f385bdb7b26b14a2836f1e1fc5a69f9f5b441e47b9251174019f62eabe39a243092cd1a175b5da7d7576cdcfd63083cff0 SHA512 7726e253179bfd9e0b93236e3ce1133b421329b0b3496b10c0a0eecde372fb5e55cce737b6b78db13f2d0833bbc92023d95efa54cb2918b12ce9af166bd90ff4 +DIST llvm-project-0b9f2847da79298ed09c29493245113f02b32d9f.tar.gz 216399453 BLAKE2B ed13e6639d40bdda6dbd09eba0cc8e4f82f4f53ce3cff9742e902af1c306c60dcb6d5fb008057829d46bbbde391697726cba2096c52cf1592c00faf1e37430e4 SHA512 a5b0bf59fa228a41f0c904a42b4b96740fc5e5caa63248c546eb4a810e86d5d8d1d8df663051ed4444cc0389ffa6ec12ee5dbf7d94d6211a253319550d7fac1c DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5 SHA512 4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d SHA512 89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7 diff --git a/dev-python/lit/lit-19.0.0_pre20240706.ebuild b/dev-python/lit/lit-19.0.0_pre20240706.ebuild new file mode 100644 index 000000000000..5ed5b5bd096e --- /dev/null +++ b/dev-python/lit/lit-19.0.0_pre20240706.ebuild @@ -0,0 +1,45 @@ +# 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_{8,9,10,11,12} ) + +inherit distutils-r1 llvm.org + +DESCRIPTION="A stand-alone install of the LLVM suite testing tool" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +# Tests require 'FileCheck' and 'not' utilities (from llvm) +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + sys-devel/llvm + ) +" + +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals + +# TODO: move the manpage generation here (from sys-devel/llvm) + +src_prepare() { + # flaky test + # https://github.com/llvm/llvm-project/issues/72022 + rm tests/progress-bar.py || die + + cd "${WORKDIR}" || die + distutils-r1_src_prepare +} + +python_test() { + local -x LIT_PRESERVES_TMP=1 + local litflags=$(get_lit_flags) + ./lit.py ${litflags//;/ } tests || die +} diff --git a/dev-python/miniupnpc/Manifest b/dev-python/miniupnpc/Manifest index 1ae860948ae7..d3817492ccb5 100644 --- a/dev-python/miniupnpc/Manifest +++ b/dev-python/miniupnpc/Manifest @@ -1,4 +1,2 @@ -DIST miniupnpc-2.2.7.tar.gz 104258 BLAKE2B 5681c1747c8e330442a0ad46d673e1739283bfc23571cb2225abf82326caa7da979911b3182cab2e3eea49140b90619f4e00bb5b1e2f0cd6067c28017cf87016 SHA512 d24e653c2f7bfed4485342c5ec8d18b4dd4c3430975b5fae392d3534f38bb3fb59e6638e76d57847f49045e22f3afd6cac128d7d9d10ef05bd6ad24ef38303b6 -DIST miniupnpc-2.2.7.tar.gz.sig 543 BLAKE2B 6649e5866afd13034b05a9d771c25c419e85631ca17ed7457e5811aee0ba8c38b0ad34033caa5b611cde21a63251e902e3f24cc4748e52a4a379ef075bf59dc5 SHA512 188837275b20c61c05babac916bff86178774030dbc191ecd0e5314c6e9b6dbb627680b512c554a8b27a020bd7503b141be26a134e0ed7e2cc56c7e2c01d9e81 DIST miniupnpc-2.2.8.tar.gz 104603 BLAKE2B eae4d97bdf8c494ea6744edfeb870f9d92df8468d23f974e0e44e735fc7c8925189ea58f60a71c37315aebff1269ae69e9413cdf80dc292c4b90df5f12bf58a4 SHA512 526c9df1485302d4c9c78062fb058cfd433463f6e7a9f4025a9f5228aef41ee61a4b9e7a76b6cfa8779b91cc3c663846a997dc1470902d7108b129155e6a3360 DIST miniupnpc-2.2.8.tar.gz.sig 543 BLAKE2B b4d056972fc7e46c1e41a658d301db8e9a0d3b99af2220c264d06267b4e8ae45847e2bf2cd6583fded67f12c2e0a3c833ba7e38d9c05b5a0cc363e0c1fc8feae SHA512 b5eec0d24a84183021cd16bfd6ecedda587dee0bbb017fe6d107e8c2815ef90cf5f904c6fb9aa32e2e4d5f0b63de8566814c9a0d921b338b26b60ea35c23ecae diff --git a/dev-python/miniupnpc/miniupnpc-2.2.7.ebuild b/dev-python/miniupnpc/miniupnpc-2.2.7.ebuild deleted file mode 100644 index fe9163a7eb35..000000000000 --- a/dev-python/miniupnpc/miniupnpc-2.2.7.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# 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_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 verify-sig - -MY_P=${P/python-} -DESCRIPTION="Python bindings for UPnP client library" -HOMEPAGE=" - http://miniupnp.free.fr/ - https://miniupnp.tuxfamily.org/ - https://github.com/miniupnp/miniupnp/ -" -SRC_URI=" - https://miniupnp.tuxfamily.org/files/${MY_P}.tar.gz - verify-sig? ( - https://miniupnp.tuxfamily.org/files/${MY_P}.tar.gz.sig - ) -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ppc ppc64 x86" - -DEPEND=" - >=net-libs/miniupnpc-${PV}:0= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - verify-sig? ( sec-keys/openpgp-keys-miniupnp ) -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/miniupnp.asc - -PATCHES=( - "${FILESDIR}"/miniupnpc-2.2.3-shared-lib.patch -) - -# DOCS are installed by net-libs/miniupnpc. -DOCS=() - -# Example test command: -# python -c 'import miniupnpc; u = miniupnpc.UPnP(); u.discover(); u.selectigd(); print(u.externalipaddress())' diff --git a/dev-python/mkdocs-gen-files/mkdocs-gen-files-0.5.0.ebuild b/dev-python/mkdocs-gen-files/mkdocs-gen-files-0.5.0.ebuild index afd9f8d2224d..c9068e9c4e6e 100644 --- a/dev-python/mkdocs-gen-files/mkdocs-gen-files-0.5.0.ebuild +++ b/dev-python/mkdocs-gen-files/mkdocs-gen-files-0.5.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,7 +18,13 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm64 ~riscv" -RDEPEND=">=dev-python/mkdocs-1.0.3[${PYTHON_USEDEP}]" -BDEPEND="test? ( dev-python/pytest-golden[${PYTHON_USEDEP}] )" +RDEPEND=" + >=dev-python/mkdocs-1.0.3[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-golden[${PYTHON_USEDEP}] + ) +" distutils_enable_tests pytest diff --git a/dev-python/mkdocs-material-extensions/mkdocs-material-extensions-1.3.1.ebuild b/dev-python/mkdocs-material-extensions/mkdocs-material-extensions-1.3.1.ebuild index cf462009e25e..335bd6735961 100644 --- a/dev-python/mkdocs-material-extensions/mkdocs-material-extensions-1.3.1.ebuild +++ b/dev-python/mkdocs-material-extensions/mkdocs-material-extensions-1.3.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/mkdocs-minify-plugin/mkdocs-minify-plugin-0.8.0.ebuild b/dev-python/mkdocs-minify-plugin/mkdocs-minify-plugin-0.8.0.ebuild index 55ed61559428..32e8b459259d 100644 --- a/dev-python/mkdocs-minify-plugin/mkdocs-minify-plugin-0.8.0.ebuild +++ b/dev-python/mkdocs-minify-plugin/mkdocs-minify-plugin-0.8.0.ebuild @@ -22,6 +22,8 @@ SRC_URI=" LICENSE="MIT" SLOT="0" KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" +# https://bugs.gentoo.org/931325 +RESTRICT="test" RDEPEND=" >=dev-python/csscompressor-0.9.5[${PYTHON_USEDEP}] diff --git a/dev-python/mkdocs-redirects/mkdocs-redirects-1.2.1-r1.ebuild b/dev-python/mkdocs-redirects/mkdocs-redirects-1.2.1-r1.ebuild new file mode 100644 index 000000000000..c808b14563c5 --- /dev/null +++ b/dev-python/mkdocs-redirects/mkdocs-redirects-1.2.1-r1.ebuild @@ -0,0 +1,31 @@ +# 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_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Plugin for Mkdocs page redirects" +HOMEPAGE=" + https://github.com/mkdocs/mkdocs-redirects + https://pypi.org/project/mkdocs-redirects/ +" +SRC_URI=" + https://github.com/mkdocs/mkdocs-redirects/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" + +RDEPEND=" + >=dev-python/mkdocs-1.0.4[${PYTHON_USEDEP}] + :' tlshmodule.cpp || die -} - -python_test() { - ../Testing/python_test.sh "${EPYTHON}" || die -} diff --git a/dev-python/tree-sitter/files/tree-sitter-0.19.0_p20210506-unbundle.patch b/dev-python/tree-sitter/files/tree-sitter-0.19.0_p20210506-unbundle.patch deleted file mode 100644 index 3eb9d103a0e0..000000000000 --- a/dev-python/tree-sitter/files/tree-sitter-0.19.0_p20210506-unbundle.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff --git a/setup.py b/setup.py -index 2528827..bb2a817 100644 ---- a/setup.py -+++ b/setup.py -@@ -33,11 +33,11 @@ setup( - ext_modules=[ - Extension( - "tree_sitter.binding", -- ["tree_sitter/core/lib/src/lib.c", "tree_sitter/binding.c"], -- include_dirs=["tree_sitter/core/lib/include", "tree_sitter/core/lib/src"], -+ ["tree_sitter/binding.c"], - extra_compile_args=( - ["-std=c99", "-Wno-unused-variable"] if system() != "Windows" else None - ), -+ libraries=["tree-sitter"], - ) - ], - project_urls={"Source": "https://github.com/tree-sitter/py-tree-sitter"}, diff --git a/dev-python/unittest-or-fail/unittest-or-fail-2-r1.ebuild b/dev-python/unittest-or-fail/unittest-or-fail-2-r1.ebuild new file mode 100644 index 000000000000..522d10ee8ad3 --- /dev/null +++ b/dev-python/unittest-or-fail/unittest-or-fail-2-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +# in py3.12+ unittest already fails when no tests are found +# we're adding these impls to PYTHON_COMPAT to clean up upgrade graphs +# but we're not installing anything +PYTHON_USED=( pypy3 python3_{10..11} ) +PYTHON_COMPAT=( "${PYTHON_USED[@]}" python3_{12..13} ) + +inherit distutils-r1 + +DESCRIPTION="Run unittests or fail if no tests were found" +HOMEPAGE="https://github.com/projg2/unittest-or-fail/" +SRC_URI=" + https://github.com/projg2/unittest-or-fail/archive/v${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="BSD-2" +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" + +python_compile() { + if has "${EPYTHON/./_}" "${PYTHON_USED[@]}"; then + distutils-r1_python_compile + fi +} + +# Warning: do not use distutils_enable_tests to avoid a circular +# dependency on itself! +python_test() { + if has "${EPYTHON/./_}" "${PYTHON_USED[@]}"; then + "${EPYTHON}" -m unittest -v test/test_unittest_or_fail.py || + die "Tests failed with ${EPYTHON}" + fi +} + +python_install() { + if has "${EPYTHON/./_}" "${PYTHON_USED[@]}"; then + distutils-r1_python_install + fi +} diff --git a/dev-python/weasyprint/Manifest b/dev-python/weasyprint/Manifest index 4291f32939e7..76db9b8fcb2d 100644 --- a/dev-python/weasyprint/Manifest +++ b/dev-python/weasyprint/Manifest @@ -1,2 +1 @@ -DIST weasyprint-62.2.tar.gz 477895 BLAKE2B 918852d2eb9fd1b1e29101927e6251d827dbb7add8efa448dd7888c42bbe4079a514ff6d3d764ebb0cd96c0a1890f343b72575b1cc4e86959293a95054766d69 SHA512 d5254a39f6b5554e83fb2f8b88077a36d6f5a44f6d731b5f07c952429994f32a79c4d6c1187ed8ea9bdccada320c4347693bd4a21c61c6ad76f866161adfea81 DIST weasyprint-62.3.tar.gz 477181 BLAKE2B 144b531e36c0e66fb715d2b1db20affb489e90dc7545435e2d2d5e5e89a0b77e03b5f08166a5ac6f488ed5e2ff5d268408d94edaf66a3327895f719e9329ff60 SHA512 c563019aac075d0f55a153483719a5ea1dd4dced8bf281aeb1c5ccb65b8591e883ea09ca86757073b10a4dd9dc2d718df83ff5913cd5b9ed703fb5cf71bf7fbf diff --git a/dev-python/weasyprint/weasyprint-62.2.ebuild b/dev-python/weasyprint/weasyprint-62.2.ebuild deleted file mode 100644 index 819b3a396878..000000000000 --- a/dev-python/weasyprint/weasyprint-62.2.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Visual rendering engine for HTML and CSS that can export to PDF" -HOMEPAGE=" - https://weasyprint.org/ - https://github.com/Kozea/WeasyPrint/ - https://pypi.org/project/weasyprint/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~x86" - -RDEPEND=" - >=dev-python/cffi-0.6:=[${PYTHON_USEDEP}] - >=dev-python/cssselect2-0.1[${PYTHON_USEDEP}] - >=dev-python/fonttools-4.0.0[${PYTHON_USEDEP}] - >=dev-python/html5lib-1.1[${PYTHON_USEDEP}] - >=dev-python/pillow-4.0.0[jpeg,jpeg2k,${PYTHON_USEDEP}] - >=dev-python/pydyf-0.10.0[${PYTHON_USEDEP}] - >=dev-python/pyphen-0.9.1[${PYTHON_USEDEP}] - >=dev-python/tinycss2-1.3.0[${PYTHON_USEDEP}] - media-fonts/dejavu - x11-libs/pango -" - -BDEPEND=" - test? ( - >=app-text/ghostscript-gpl-9.56.1-r3 - media-fonts/ahem - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/yattag/yattag-1.15.2.ebuild b/dev-python/yattag/yattag-1.15.2.ebuild index 02b5baa1eef3..efa88e01867c 100644 --- a/dev-python/yattag/yattag-1.15.2.ebuild +++ b/dev-python/yattag/yattag-1.15.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -- cgit v1.3