diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-06-19 05:48:41 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-06-19 05:48:41 +0000 |
| commit | 9848220a03bcfdef1fd13515e00e93c659d06b0f (patch) | |
| tree | 2297f97ed90a0ba1d0d13cedf6ec8629c65925a8 /dev-python | |
| parent | 61de334eeb41268d1f6f34cdc2c7c59e5fadff3d (diff) | |
| download | baldeagleos-repo-9848220a03bcfdef1fd13515e00e93c659d06b0f.tar.gz baldeagleos-repo-9848220a03bcfdef1fd13515e00e93c659d06b0f.tar.xz baldeagleos-repo-9848220a03bcfdef1fd13515e00e93c659d06b0f.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
77 files changed, 718 insertions, 907 deletions
diff --git a/dev-python/atpublic/Manifest b/dev-python/atpublic/Manifest index 0d74e1c5d070..6eb18317c808 100644 --- a/dev-python/atpublic/Manifest +++ b/dev-python/atpublic/Manifest @@ -1,2 +1 @@ -DIST atpublic-4.0.tar.gz 14684 BLAKE2B d8cecb083ca467d2856c0d7ae01dc4e161c31179f08c79d7b0b4650d9a3e32e15673d80d53d6851d70a4605eda8e41ba23d60be452209f96e995d632acfe5b29 SHA512 2f338d3ae11d15e9ffe26881fab1c183154b9a0a7a66532a5eb39d1d48d41548078826875247c94f3853925bc1df2b8f86f4ed94533a8e58aa98de148cf5639c DIST atpublic-4.1.0.tar.gz 14426 BLAKE2B c535d36b8c4723fa0c36ed543461f8364445c52893e8a5cd6a6bfdec0a387308a74d9f6a9d4c204ac753fcc847a105f6f4a5dc7afa5848d08f0a269af8b01397 SHA512 bd840a44f3f9d8f7099c22d67866744ef43ed4bfa00e0fd8a6a7516e8e995287b234fb97eaf30be494f06a8ff1020c0479533bfe33adc56ae62bd976bd997b4b diff --git a/dev-python/atpublic/atpublic-4.0.ebuild b/dev-python/atpublic/atpublic-4.0.ebuild deleted file mode 100644 index bde1ac888b18..000000000000 --- a/dev-python/atpublic/atpublic-4.0.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A decorator to populate __all__ and the module globals" -HOMEPAGE=" - https://gitlab.com/warsaw/public/ - https://pypi.org/project/atpublic/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" - -BDEPEND=" - test? ( - dev-python/sybil[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/addopts/d' pyproject.toml || die - distutils-r1_src_prepare -} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 38ef5442b1d6..74a0f782d79c 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -2,3 +2,4 @@ DIST boto3-1.34.117.gh.tar.gz 813596 BLAKE2B 1b68c6410a9e4859c05ec6e8baa7b4d0a8e DIST boto3-1.34.122.gh.tar.gz 817093 BLAKE2B ecc91833d5d8b7ae33c2fe435e33bc8fa236388dcd36bbbfad138e72dcada1018d9fe032a04565bc6ba04f252c5b1e066f650620aab2b6682705d164660eaa9b SHA512 26ece26e24a09ce12f57fd7cbede798446ddb60c28dd7d090c2604b71cc92fca9cfdc268e6d65fad1bcecf161976186b21acefdb70a2de8acaccd85567a388d0 DIST boto3-1.34.127.gh.tar.gz 820740 BLAKE2B ddfb7802440a01af27059daed4bc7cd3797eb192004a0e7b78e1e56a8ff479206b4835a79bcac1db273c2936fb8dfde0ba16bebe8cbe1befeb188070bf46b2c7 SHA512 b139ad68a4ce29e84e0fa1618b97c4aea13b668521921712df74256ad61c21d2077ea216dfb4102d8f9910a8119b24509aa10a504d746bdb410fee1cecc0461c DIST boto3-1.34.128.gh.tar.gz 821252 BLAKE2B 7f7d13106d69b54d4932a52c0d0b2803cc5131773ce9503a1fc8ea8ff3fdfb5ba5f372b2665312ce3c136f4f37889e54cd61b49eec72ac21902f379b0ec87f29 SHA512 ee46351e613c55cf720e2bf361df8bb07954a05bc9707ce20fe75390abf195674d50e4f862ed8d357397e83c7ffcc586eff396d186596e688b895deaaaf4699f +DIST boto3-1.34.129.gh.tar.gz 821825 BLAKE2B c672b77844c366190ed1a7d3bd1621267da9db321bdf36bad3d6f4de359b560509467156a602a598b53e5f12c4442558294199185c6a6074b7c303b914b645ae SHA512 af548985020c54ff5f9838639c89daafb2d14d2da0376a541f274d4440219758610811fb71654ecf4aa59cad1e6b56c8cb4e830949d0686665ae30a99d48f3fc diff --git a/dev-python/boto3/boto3-1.34.129.ebuild b/dev-python/boto3/boto3-1.34.129.ebuild new file mode 100644 index 000000000000..509842b2699d --- /dev/null +++ b/dev-python/boto3/boto3-1.34.129.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_{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 92c0b0c14913..509f1e37c01f 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -2,3 +2,4 @@ DIST botocore-1.34.117.gh.tar.gz 13076178 BLAKE2B defbd66d6409004fe49df44aec0a00 DIST botocore-1.34.122.gh.tar.gz 13066937 BLAKE2B f22af79873b5574ae4b2b9041568cfc1d727625c3fa45c9b8d1bef71ffcce893aa8a3591c83160437c7e617be72814a2209569db633d857f869a2152af7c8e05 SHA512 f08dcb2920d4bd26a47478edb871f75b240275a7b96acf58be838080dddca3d4f64b9fda8683e5a3db97defe367298b2ba634fc4d605523805b23c83c3a5ae0d DIST botocore-1.34.127.gh.tar.gz 13112261 BLAKE2B e883f0a1e29178667678132195aea9666a124456e731e1b158eed895c125fd614e5671639766f7ad46c2e6b16c4156ff5e42594bc04e49bf25380c91cfcbe264 SHA512 48ca2179c24bb219202e5029dd62350a6fc5c64707762f0f33282e542dbc2227bb146376afa9e6b9eb1e45e3c801208a142bef4827d5036eb4724299c826d534 DIST botocore-1.34.128.gh.tar.gz 13115625 BLAKE2B 77be2cb79722d1052b64df55a7bb7a9d43dc7d0052c2a4ce18265745edb7b6f9f30780a98f2395abadcfc16817e7375b182691b51f44450574846cc4bb423df5 SHA512 d5f709230ba73ea7c78a4b55a07c0d834b1abf2c3196d43d47d042e1cb190f5d8d08ad942053963ad5df9b2e01b5f905d167840f54842a41181de5305762d5d1 +DIST botocore-1.34.129.gh.tar.gz 13122365 BLAKE2B bbe68547fd9cab43c75368091abd81e3cf602e3df2f9ea4ab79250f12ba34ea410ce50683309001b1898a6c7c5fb3e23dda145833f4db74304417e665bcf1ce1 SHA512 bea364bf0185a6a9086fd712ccfec7fa0870328fe4569d8553ccfea8577c3b64212e7860a37aeec35fbb7bd1a179c32d487ecdc98651076b27a8f07429c843b4 diff --git a/dev-python/botocore/botocore-1.34.129.ebuild b/dev-python/botocore/botocore-1.34.129.ebuild new file mode 100644 index 000000000000..857224b496b7 --- /dev/null +++ b/dev-python/botocore/botocore-1.34.129.ebuild @@ -0,0 +1,67 @@ +# 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/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=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/cairocffi/Manifest b/dev-python/cairocffi/Manifest index 0b8a978450a6..607cd0b7f5f3 100644 --- a/dev-python/cairocffi/Manifest +++ b/dev-python/cairocffi/Manifest @@ -1 +1,2 @@ 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.1.ebuild b/dev-python/cairocffi/cairocffi-1.7.1.ebuild new file mode 100644 index 000000000000..310c915c1e57 --- /dev/null +++ b/dev-python/cairocffi/cairocffi-1.7.1.ebuild @@ -0,0 +1,51 @@ +# 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/cons/cons-0.4.6.ebuild b/dev-python/cons/cons-0.4.6.ebuild index c3b204a2e8b3..64bf9aeb7eb9 100644 --- a/dev-python/cons/cons-0.4.6.ebuild +++ b/dev-python/cons/cons-0.4.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/cwcwidth/cwcwidth-0.1.9.ebuild b/dev-python/cwcwidth/cwcwidth-0.1.9.ebuild index 10de496d2fb2..0281439b4da2 100644 --- a/dev-python/cwcwidth/cwcwidth-0.1.9.ebuild +++ b/dev-python/cwcwidth/cwcwidth-0.1.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/etuples/etuples-0.3.9.ebuild b/dev-python/etuples/etuples-0.3.9.ebuild index 050b9c482dc6..ee263447cf5a 100644 --- a/dev-python/etuples/etuples-0.3.9.ebuild +++ b/dev-python/etuples/etuples-0.3.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/fitsio/Manifest b/dev-python/fitsio/Manifest index 1c91da84fa52..84fc18966eea 100644 --- a/dev-python/fitsio/Manifest +++ b/dev-python/fitsio/Manifest @@ -1,4 +1,2 @@ -DIST fitsio-1.2.1-gcc-14.patch 30464 BLAKE2B 328d6321b68bd2f568aea649d2d8d7db4c2f8077f1208cec6199b1cc9399446f063d1010d586b77d635727c2285e9504bbfab614fbaae59f6c4638c7f7188372 SHA512 e1fea1968688cf265bfc8735c95b1ca211628fdea901d37b3cb4f76239c0a7c8e589fb78429e3535e3e1a2c25e1aec8929fe21db3a32d929774267c559464c2a -DIST fitsio-1.2.1.gh.tar.gz 4584464 BLAKE2B 376d2afe2e637075fca88c24c17117600973dc81fbb006e3e8bf4ddab023db6a466653187b686a4beb75339559cb4b77e0bf927f09c991d9205ffb0e66ad17a6 SHA512 645c117c394a18cdbb0c5033a1446e1f6e6473f54d9556b7591f33873855a70860343b3e4811284d7dfa16696ef23a1abb74ee638318d7295eb85ec4b17f0309 -DIST fitsio-1.2.2.gh.tar.gz 4584305 BLAKE2B 285037e173d9e4dca1ac6d32012a23310c10bf3d1299af275b93dd749f34fe8f417e7d2f9062e9362416a1e6d4b2876a351041e1102c07209b89e0fdac6b647f SHA512 a479490cfdda28481b2e5d04033e7dcb9c97b99f22f2cb29c7bdb38015bd5a2d2ea7ccd291e109a0551b0340575ab5123fb8edc924766a15548112fdeb700677 DIST fitsio-1.2.3.gh.tar.gz 4507743 BLAKE2B 2b38b9b1be3eb7ab5ed67954f6c1310c03a99cbae71bb5716702d31bc69e09f8d73fb86696edb06bba78093d48ad784f280e7023fadc932190a82ce6748cf5af SHA512 11c2e8e26019bdc364d2a566c0680baa85d93a0a49eb9e5fc0ccc79f2566c616634a8bf10f1d8dbb4c1393675d11bb8d4e469d2f30a8cb88bfa73697ac9d4c57 +DIST fitsio-1.2.4.gh.tar.gz 4540756 BLAKE2B 445a6d2c5dd267fdf7eca5359eb378930b8a111c24c68c1728f00818aa2f04dabe486147e1c56fd36c8a096e4bcd89c6ed382b9bbfbd29f9b24f9a4195fa17ae SHA512 ca51957a413ee45b0adc71c97409e8055acf1c27f8f42838a4814ed9b5530a30c75579a4a567199d6524bdcd32de5c82fabdee1440577f1cc915543285ee7fe1 diff --git a/dev-python/fitsio/files/fitsio-1.2.1-numpy-2.patch b/dev-python/fitsio/files/fitsio-1.2.1-numpy-2.patch deleted file mode 100644 index cfc0b99a8f17..000000000000 --- a/dev-python/fitsio/files/fitsio-1.2.1-numpy-2.patch +++ /dev/null @@ -1,159 +0,0 @@ -diff --git a/fitsio/fitslib.py b/fitsio/fitslib.py -index 7ef718b..3d43549 100644 ---- a/fitsio/fitslib.py -+++ b/fitsio/fitslib.py -@@ -25,7 +25,7 @@ - import numpy - - from . import _fitsio_wrap --from .util import IS_PY3, mks, array_to_native, isstring -+from .util import IS_PY3, mks, array_to_native, isstring, copy_if_needed - from .header import FITSHDR - from .hdu import ( - ANY_HDU, IMAGE_HDU, BINARY_TBL, ASCII_TBL, -@@ -957,7 +957,7 @@ def create_image_hdu(self, - if IS_PY3 and img2send.dtype.char == 'U': - # for python3, we convert unicode to ascii - # this will error if the character is not in ascii -- img2send = img2send.astype('S', copy=False) -+ img2send = img2send.astype('S', copy=copy_if_needed) - - else: - self._ensure_empty_image_ok() -@@ -1738,7 +1738,7 @@ def npy_obj2fits(data, name=None): - else: - fits_dtype = _table_npy2fits_form['S'] - else: -- arr0 = numpy.array(first, copy=False) -+ arr0 = numpy.array(first, copy=copy_if_needed) - dtype0 = arr0.dtype - npy_dtype = dtype0.descr[0][1][1:] - if npy_dtype[0] == 'S' or npy_dtype[0] == 'U': -diff --git a/fitsio/hdu/image.py b/fitsio/hdu/image.py -index 8c06bcf..a2d16c8 100644 ---- a/fitsio/hdu/image.py -+++ b/fitsio/hdu/image.py -@@ -27,7 +27,7 @@ - - from math import floor - from .base import HDUBase, IMAGE_HDU --from ..util import IS_PY3, array_to_native -+from ..util import IS_PY3, array_to_native, copy_if_needed - - # for python3 compat - if IS_PY3: -@@ -146,7 +146,7 @@ def write(self, img, start=0, **keys): - if IS_PY3 and img_send.dtype.char == 'U': - # for python3, we convert unicode to ascii - # this will error if the character is not in ascii -- img_send = img_send.astype('S', copy=False) -+ img_send = img_send.astype('S', copy=copy_if_needed) - - if not numpy.isscalar(start): - # convert to scalar offset -diff --git a/fitsio/hdu/table.py b/fitsio/hdu/table.py -index f210121..3b462b1 100644 ---- a/fitsio/hdu/table.py -+++ b/fitsio/hdu/table.py -@@ -36,7 +36,8 @@ - array_to_native, - array_to_native_c, - FITSRuntimeWarning, -- mks -+ mks, -+ copy_if_needed, - ) - from .base import HDUBase, ASCII_TBL, IMAGE_HDU, _hdu_type_map - -@@ -282,7 +283,7 @@ def write(self, data, firstrow=0, columns=None, names=None, slow=False, - if IS_PY3 and colref.dtype.char == 'U': - # for python3, we convert unicode to ascii - # this will error if the character is not in ascii -- colref = colref.astype('S', copy=False) -+ colref = colref.astype('S', copy=copy_if_needed) - - nonobj_arrays.append(colref) - -@@ -347,7 +348,7 @@ def write_column(self, column, data, firstrow=0, **keys): - if IS_PY3 and data_send.dtype.char == 'U': - # for python3, we convert unicode to ascii - # this will error if the character is not in ascii -- data_send = data_send.astype('S', copy=False) -+ data_send = data_send.astype('S', copy=copy_if_needed) - - self._verify_column_data(colnum, data_send) - -@@ -1420,13 +1421,13 @@ def _extract_rows(self, rows, sort=False): - Extract an array of rows from an input scalar or sequence - """ - if rows is not None: -- rows = np.array(rows, ndmin=1, copy=False, dtype='i8') -+ rows = np.array(rows, ndmin=1, copy=copy_if_needed, dtype='i8') - if sort: - rows = np.unique(rows) - return rows, None - - # returns unique, sorted. Force i8 for 32-bit systems -- sortind = np.array(rows.argsort(), dtype='i8', copy=False) -+ sortind = np.array(rows.argsort(), dtype='i8', copy=copy_if_needed) - - maxrow = self._info['nrows']-1 - if rows.size > 0: -@@ -1583,7 +1584,7 @@ def _maybe_decode_fits_ascii_strings_to_unicode_py3(self, array): - else: - new_dt.append(_dt) - if do_conversion: -- array = array.astype(new_dt, copy=False) -+ array = array.astype(new_dt, copy=copy_if_needed) - return array - - def _convert_bool_array(self, array): -@@ -1721,7 +1722,7 @@ def _read_var_column(self, colnum, rows, sortind, vstorage): - descr = 'S%d' % max_size - array = np.fromiter(dlist, descr) - if IS_PY3: -- array = array.astype('U', copy=False) -+ array = array.astype('U', copy=copy_if_needed) - else: - descr = dlist[0].dtype.str - array = np.zeros((len(dlist), max_size), dtype=descr) -diff --git a/fitsio/util.py b/fitsio/util.py -index 562b609..5d337be 100644 ---- a/fitsio/util.py -+++ b/fitsio/util.py -@@ -41,7 +41,10 @@ def cfitsio_version(asfloat=False): - numpy.uint64, numpy.int64) - - # different for py3 --_stypes += (numpy.string_, numpy.str_) -+if numpy.lib.NumpyVersion(numpy.__version__) < "1.28.0": -+ _stypes += (numpy.string_, numpy.str_,) -+else: -+ _stypes += (numpy.bytes_, numpy.str_,) - - # for header keywords - _ftypes = (float, numpy.float32, numpy.float64) -@@ -134,9 +137,22 @@ def array_to_native(array, inplace=False): - return output - - -+if numpy.lib.NumpyVersion(numpy.__version__) >= "2.0.0": -+ copy_if_needed = None -+elif numpy.lib.NumpyVersion(numpy.__version__) < "1.28.0": -+ copy_if_needed = False -+else: -+ # 2.0.0 dev versions, handle cases where copy may or may not exist -+ try: -+ numpy.array([1]).__array__(copy=None) -+ copy_if_needed = None -+ except TypeError: -+ copy_if_needed = False -+ -+ - def array_to_native_c(array_in, inplace=False): - # copy only made if not C order -- arr = numpy.array(array_in, order='C', copy=False) -+ arr = numpy.array(array_in, order='C', copy=copy_if_needed) - return array_to_native(arr, inplace=inplace) - - diff --git a/dev-python/fitsio/fitsio-1.2.1-r1.ebuild b/dev-python/fitsio/fitsio-1.2.1-r1.ebuild deleted file mode 100644 index b15e07561e42..000000000000 --- a/dev-python/fitsio/fitsio-1.2.1-r1.ebuild +++ /dev/null @@ -1,42 +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 - -DESCRIPTION="Python library to read from and write to FITS files" -HOMEPAGE=" - https://github.com/esheldon/fitsio/ - https://pypi.org/project/fitsio/ -" -SRC_URI=" - https://github.com/esheldon/fitsio/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - -DEPEND=" - <dev-python/numpy-2[${PYTHON_USEDEP}] - >=dev-python/numpy-1.11[${PYTHON_USEDEP}] - sci-libs/cfitsio:0= -" -RDEPEND=" - ${DEPEND} -" - -distutils_enable_tests pytest - -export FITSIO_USE_SYSTEM_FITSIO=1 - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - epytest -} diff --git a/dev-python/fitsio/fitsio-1.2.1-r2.ebuild b/dev-python/fitsio/fitsio-1.2.1-r2.ebuild deleted file mode 100644 index df63d18ed64d..000000000000 --- a/dev-python/fitsio/fitsio-1.2.1-r2.ebuild +++ /dev/null @@ -1,50 +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 - -DESCRIPTION="Python library to read from and write to FITS files" -HOMEPAGE=" - https://github.com/esheldon/fitsio/ - https://pypi.org/project/fitsio/ -" -SRC_URI=" - https://github.com/esheldon/fitsio/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - https://github.com/esheldon/fitsio/pull/394.patch - -> fitsio-1.2.1-gcc-14.patch -" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - -DEPEND=" - >=dev-python/numpy-1.11:=[${PYTHON_USEDEP}] - sci-libs/cfitsio:0= -" -RDEPEND=" - ${DEPEND} -" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/esheldon/fitsio/pull/394 - "${DISTDIR}/${P}-gcc-14.patch" - # https://github.com/esheldon/fitsio/pull/390 - "${FILESDIR}/${P}-numpy-2.patch" -) - -export FITSIO_USE_SYSTEM_FITSIO=1 - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - epytest -} diff --git a/dev-python/fitsio/fitsio-1.2.2.ebuild b/dev-python/fitsio/fitsio-1.2.4.ebuild index 5f45bb3942d3..073ec27fb20a 100644 --- a/dev-python/fitsio/fitsio-1.2.2.ebuild +++ b/dev-python/fitsio/fitsio-1.2.4.ebuild @@ -25,7 +25,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" DEPEND=" >=dev-python/numpy-1.11:=[${PYTHON_USEDEP}] - sci-libs/cfitsio:0= + >=sci-libs/cfitsio-4.4.0:0= " RDEPEND=" ${DEPEND} diff --git a/dev-python/flask-babel/flask-babel-4.0.0.ebuild b/dev-python/flask-babel/flask-babel-4.0.0.ebuild index 4ea2ba7b16a8..efdaa45e743d 100644 --- a/dev-python/flask-babel/flask-babel-4.0.0.ebuild +++ b/dev-python/flask-babel/flask-babel-4.0.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/flask-htmlmin/flask-htmlmin-2.2.1-r1.ebuild b/dev-python/flask-htmlmin/flask-htmlmin-2.2.1-r1.ebuild index e52e7ae1a994..507a27292bf8 100644 --- a/dev-python/flask-htmlmin/flask-htmlmin-2.2.1-r1.ebuild +++ b/dev-python/flask-htmlmin/flask-htmlmin-2.2.1-r1.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/flask-sqlalchemy/flask-sqlalchemy-3.1.1.ebuild b/dev-python/flask-sqlalchemy/flask-sqlalchemy-3.1.1.ebuild index e5e0e2a53bad..a0d49acd6354 100644 --- a/dev-python/flask-sqlalchemy/flask-sqlalchemy-3.1.1.ebuild +++ b/dev-python/flask-sqlalchemy/flask-sqlalchemy-3.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/flufl-lock/Manifest b/dev-python/flufl-lock/Manifest index f447c57ef3c1..83e89481700c 100644 --- a/dev-python/flufl-lock/Manifest +++ b/dev-python/flufl-lock/Manifest @@ -1,2 +1 @@ -DIST flufl_lock-8.0.2.tar.gz 34369 BLAKE2B e16af81933141628664bfcbece3ede038b150df468af00b840b9b7ad4aaa7e0e10c8a0ce415c685e2aa1e556198b2ac4f8339bdfa3e41c004c32592f0bd025bf SHA512 2ef382cf22be72ceace89ad01646db31186fa7f505d72306025b90e47dad46fa0831d951f515fc321b873acc4a339e2ae1ed1a4861c355bc9961e0a3ab209d7c DIST flufl_lock-8.1.0.tar.gz 32884 BLAKE2B 9d5f557d4664cda5fb31b4f73d79e99acac342462a94b4c1405f1032c25fd60785986e6ae9e48629b2bae0977517ec888eacc6e52d4f75b41887d14521a85f54 SHA512 3238d4c89c3702584c19882caa903a8efd33ad49ad9286d7965694f2cfdf626adee887d6a524d293457b3cd176fc02fc71edfdc0b807c3aaaed0aa77f2188a3b diff --git a/dev-python/flufl-lock/flufl-lock-8.0.2.ebuild b/dev-python/flufl-lock/flufl-lock-8.0.2.ebuild deleted file mode 100644 index 63c46681d784..000000000000 --- a/dev-python/flufl-lock/flufl-lock-8.0.2.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="NFS-safe file locking with timeouts for POSIX systems" -HOMEPAGE=" - https://gitlab.com/warsaw/flufl.lock/ - https://pypi.org/project/flufl.lock/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/atpublic[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/sybil[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -e '/addopts/d' -i pyproject.toml || die - distutils-r1_src_prepare -} diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest index bedc23d1766a..9c4d8964ebf2 100644 --- a/dev-python/fsspec/Manifest +++ b/dev-python/fsspec/Manifest @@ -1,2 +1 @@ DIST filesystem_spec-2024.6.0.gh.tar.gz 409087 BLAKE2B 2ef06faec98173f0a13be365f1f9debca11e4587557b50a0b546b49c014782f4ab70c008a0a12158ce156dd5052b06fe67e9135f414f0c8a5829bf15b4b96f07 SHA512 97ecc5622787dc96d4cc05e7474da214405ae34d1eeee125752133258ea8c0ed9278d8d868544102a271431b01b797adea3834b3b2441e09c85dea01b56af066 -DIST fsspec-2024.5.0.tar.gz 400066 BLAKE2B 4f497fa8efe4897958414e2739c06fed54ecd67babb7cbdfeb0c1b595547213aed1fb15f97dbd2f7f61a84fef7f3a96f36bb1ab5a2f4ca94251e7dccd64afe22 SHA512 b8430350c56ecaeca9496b6de7910d7f4423e17beb4250dcb440d9af6ab34ed83e2e9304b474d4b5611a9ee0941c34eba5c62d5a1f7d0cc1384d976ae3266e7f diff --git a/dev-python/fsspec/fsspec-2024.5.0.ebuild b/dev-python/fsspec/fsspec-2024.5.0.ebuild deleted file mode 100644 index fa3cb084c13b..000000000000 --- a/dev-python/fsspec/fsspec-2024.5.0.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2020-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -MY_P=filesystem_spec-${PV} -DESCRIPTION="A specification that python filesystems should adhere to" -HOMEPAGE=" - https://github.com/fsspec/filesystem_spec/ - https://pypi.org/project/fsspec/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" - -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/tqdm[${PYTHON_USEDEP}] - dev-vcs/git - ) -" - -# Note: this package is not xdist-friendly -distutils_enable_tests pytest - -src_test() { - git config --global user.email "you@example.com" || die - git config --global user.name "Your Name" || die - distutils-r1_src_test -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -p pytest_mock -o tmp_path_retention_policy=all -} diff --git a/dev-python/fsspec/fsspec-2024.6.0.ebuild b/dev-python/fsspec/fsspec-2024.6.0.ebuild index 2427c8312856..f8f72d8ee706 100644 --- a/dev-python/fsspec/fsspec-2024.6.0.ebuild +++ b/dev-python/fsspec/fsspec-2024.6.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" BDEPEND=" dev-python/hatch-vcs[${PYTHON_USEDEP}] diff --git a/dev-python/googleapis-common-protos/Manifest b/dev-python/googleapis-common-protos/Manifest index 7c33d4f6f567..1aef670bcca6 100644 --- a/dev-python/googleapis-common-protos/Manifest +++ b/dev-python/googleapis-common-protos/Manifest @@ -1,2 +1 @@ -DIST googleapis-common-protos-1.63.0.tar.gz 121646 BLAKE2B 6c611a4a83e7e32680e5a333d1de2c5a68ae0fdda73e32a9136b8c9d9c11427768703b0a0e31c72feef70e29685cbd2e30f6d92ced5d16a18eb6281c243d8dc9 SHA512 dd0964057394c1c7220ffee757467ae3e221278790acc560180bf036b0759eb4fa2d65231fa82c1e22bae1068ffd2a089b234face4829c42352223da59f88e87 DIST googleapis-common-protos-1.63.1.tar.gz 121632 BLAKE2B 1734a3298a525dc720b4dc930312e84791082ad8a2c0a32460156960e7bd109977377c5ccc5432763348461ac42dff64a886676df9ac7805c505d4463a892c38 SHA512 b5775e484f6710bf9fad9097e0a1b9cd978688a5803d9cfbcb05421add3e77b0e858db7fb8896afe34ab81eabeb951d7516d93b45c29ebec518589b12f8abd50 diff --git a/dev-python/googleapis-common-protos/googleapis-common-protos-1.63.0.ebuild b/dev-python/googleapis-common-protos/googleapis-common-protos-1.63.0.ebuild deleted file mode 100644 index c6281d2a21e4..000000000000 --- a/dev-python/googleapis-common-protos/googleapis-common-protos-1.63.0.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 2020-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="Python classes generated from the common protos in the googleapis repository" -HOMEPAGE=" - https://github.com/googleapis/python-api-common-protos/ - https://pypi.org/project/googleapis-common-protos/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86" - -RDEPEND=" - <dev-python/protobuf-python-5[${PYTHON_USEDEP}] - >=dev-python/protobuf-python-3.15.0[${PYTHON_USEDEP}] - !dev-python/namespace-google -" - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} - -# no tests as this is all generated code diff --git a/dev-python/googleapis-common-protos/googleapis-common-protos-1.63.1.ebuild b/dev-python/googleapis-common-protos/googleapis-common-protos-1.63.1.ebuild index c79ad1f8244b..c6281d2a21e4 100644 --- a/dev-python/googleapis-common-protos/googleapis-common-protos-1.63.1.ebuild +++ b/dev-python/googleapis-common-protos/googleapis-common-protos-1.63.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm arm64 x86" RDEPEND=" <dev-python/protobuf-python-5[${PYTHON_USEDEP}] diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest index 70b84967cb78..a373fe8d0c63 100644 --- a/dev-python/griffe/Manifest +++ b/dev-python/griffe/Manifest @@ -1,3 +1,2 @@ -DIST griffe-0.45.3.gh.tar.gz 228938 BLAKE2B fa6ea0e5aca0e7124671ccf0527f78f46be3462bac8656fb7b6ba3bf715956418477e28ba27af57c42fea4b60eabb6125e308d189c24388484c2b5e48bf2bccc SHA512 c40dac16fe7993b790be6ff1bf23aa79a84985eeeb772fae96121b625efc80d7c7d7a77aac9077997a63880b50f59ac493d1da8392ddaefd3f95fe8eda5af985 -DIST griffe-0.46.0.gh.tar.gz 232125 BLAKE2B f10b9cc020f1aa4fad8b45b17e1138cc749b410ac7566e761a47fe6d82fa236a2408182e765e05c8d7430d12ed1e6f72eff06a4a09d970ed32ec47c89518623c SHA512 467a3416353c29bc7bab8a774a3dd034b63c56655e6181d1bc11d63bfd077bb8665753837e9b8b5e909240b9a79d9e1468afba3addebb91f5b3638b732687913 DIST griffe-0.46.1.gh.tar.gz 232727 BLAKE2B c056cb47e7423931336db55b2871f7a0908e453abc930fe82ef5dce0dc38d2de223b4349547362d54f061d5cbc8f1c8802a7277f776ea4c7e6630794774865a2 SHA512 07ee210c8e3b9c814d5e419ac3bb2a37065ecdda26b9215fcbb3b87dcdd542d5a52de186c69542aa25c20eb70e2a21a6274dbd9c8e19650fe8a48f483c4efbdc +DIST griffe-0.47.0.gh.tar.gz 233418 BLAKE2B cb31882f9ddd7210ac36eb400d182395b0da3cd37e38458f23582117aae4c83e9cd62a3dfb16067ec518a42ed6b4f6d9d77d6927be2ca462297c6420bcd25cd8 SHA512 d1d0603a81a8c859c67791ceeaf3c03a134ae221d7554b2a1133ed60a3ca85d157980b26c6930c282c50d9d46a02f26a44dffcfe0c1bd844a3f0ba58f2a1c52c diff --git a/dev-python/griffe/griffe-0.46.0.ebuild b/dev-python/griffe/griffe-0.46.0.ebuild deleted file mode 100644 index 6b674e3230b3..000000000000 --- a/dev-python/griffe/griffe-0.46.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Signature generator for Python programs" -HOMEPAGE=" - https://mkdocstrings.github.io/griffe/ - https://github.com/mkdocstrings/griffe/ - https://pypi.org/project/griffe/ -" -# Tests need files absent from the PyPI tarballs -SRC_URI=" - https://github.com/mkdocstrings/griffe/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -RDEPEND=" - >=dev-python/colorama-0.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/jsonschema-4.17[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-2.4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export PDM_BUILD_SCM_VERSION=${PV} - -EPYTEST_DESELECT=( - # fragile to installed packages - # (failed on PySide2 for me) - tests/test_stdlib.py::test_fuzzing_on_stdlib -) diff --git a/dev-python/griffe/griffe-0.45.3.ebuild b/dev-python/griffe/griffe-0.47.0.ebuild index 6b674e3230b3..6b674e3230b3 100644 --- a/dev-python/griffe/griffe-0.45.3.ebuild +++ b/dev-python/griffe/griffe-0.47.0.ebuild diff --git a/dev-python/hvac/Manifest b/dev-python/hvac/Manifest index 2e9878e711d9..0955cdfa2fbf 100644 --- a/dev-python/hvac/Manifest +++ b/dev-python/hvac/Manifest @@ -1,2 +1,2 @@ -DIST hvac-2.1.0.tar.gz 325532 BLAKE2B 61c78e2bcbfcf95c853aef825f68b510522c66fd2f4c526043abd2ea4de166ab4972a5de4e2829ba28a8bc6ac43a0cf5c38ffcb31e4ec050db0cf3f49c86541b SHA512 331effd50a11544683d9b0e186c7b56d9480826c645969940c19b7528d5f4f1fd09f0867f61f421948ddb9558d76d9e68e3a189652e00093ad22cfa8be785825 DIST hvac-2.2.0.tar.gz 330973 BLAKE2B 3e64d54f0345f3b9bce3e0c4c2837442ded0e0c3d8a2fb82a2d32663738df29cba71fbefd0d29f614ca6dbd4e88d1832660d2dc3832bf94a212b23644d2e49a0 SHA512 15dee76e21e053b51ef062e52ca4021bfebde555590ea95d5dabc71370aa086cf6b8e6cb35d38fbc5ee898ba39b694736f243e80975ad649a43bdf8bd7db434e +DIST hvac-2.3.0.tar.gz 332660 BLAKE2B 6b1d7f91301e328987e7fd36382ecb64fc42df98f5dad400c27fb92a27f739be87ac4f2ba2704ac53cab8aaa19a439f9e052b9b814a1e6b384bec636e7ddc7f9 SHA512 2df43c9a0c01a44580d2eb4b57d0dcfc387f15b1ebbcf7907d62a3fdc36ffa4239bc19b3c0a43f1806c98f8cd894df32df731b247a2305354b6ab67c1ace0a40 diff --git a/dev-python/hvac/hvac-2.1.0.ebuild b/dev-python/hvac/hvac-2.3.0.ebuild index 05de8fc66fed..05de8fc66fed 100644 --- a/dev-python/hvac/hvac-2.1.0.ebuild +++ b/dev-python/hvac/hvac-2.3.0.ebuild 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 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> - </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/logical-unification/logical-unification-0.4.6.ebuild b/dev-python/logical-unification/logical-unification-0.4.6.ebuild index 42cfa41e3df1..05bb53888d00 100644 --- a/dev-python/logical-unification/logical-unification-0.4.6.ebuild +++ b/dev-python/logical-unification/logical-unification-0.4.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/minikanren/minikanren-1.0.3-r1.ebuild b/dev-python/minikanren/minikanren-1.0.3-r1.ebuild index 27fbf1cd3ccf..da79e89116a4 100644 --- a/dev-python/minikanren/minikanren-1.0.3-r1.ebuild +++ b/dev-python/minikanren/minikanren-1.0.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/mkdocstrings-python/Manifest b/dev-python/mkdocstrings-python/Manifest index f96558613681..2b002ef3bb7a 100644 --- a/dev-python/mkdocstrings-python/Manifest +++ b/dev-python/mkdocstrings-python/Manifest @@ -1 +1,2 @@ DIST mkdocstrings-python-1.10.3.gh.tar.gz 157856 BLAKE2B 74d1c9b57e439195494aef03f82606971084800ec23fdd21a17b743830860f73f3c5d421d3202a51b3146c09c547b7719ceeb11e3ff8347027941fafcbde3250 SHA512 7ddb34e7847fe58f69ba97f4f4a2974ef79cb826d9017b09e11fecdef43a3f71ad06ef93ecfcdba715fbd0524e6af6702b162bb5109f5a2055eb424e54811c3b +DIST mkdocstrings-python-1.10.4.gh.tar.gz 157012 BLAKE2B d51032f35baff3ab7260b773e24eab3f4bcba8fe0341cb3b8415a27540d73e80120aac9975aa6ef8b92a51408ffb6a9790d929c0d9b61b05264999141c62ec2d SHA512 f6576e6326043ab6db48334517a8cb4d157cd290e665dcf5d054150babaa874c37f29b467e8a6249d4c2005d0fe5eb5fc1543a388e70cacb3c57c5540215969a diff --git a/dev-python/mkdocstrings-python/mkdocstrings-python-1.10.4.ebuild b/dev-python/mkdocstrings-python/mkdocstrings-python-1.10.4.ebuild new file mode 100644 index 000000000000..fd3680096503 --- /dev/null +++ b/dev-python/mkdocstrings-python/mkdocstrings-python-1.10.4.ebuild @@ -0,0 +1,40 @@ +# 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} ) +DISTUTILS_USE_PEP517=pdm-backend + +inherit distutils-r1 + +DESCRIPTION="Python handler for dev-python/mkdocstrings" +HOMEPAGE=" + https://mkdocstrings.github.io/python/ + https://github.com/mkdocstrings/python/ + https://pypi.org/project/mkdocstrings-python/ +" +# Tests need files absent from the PyPI tarballs +SRC_URI=" + https://github.com/mkdocstrings/python/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/python-${PV}" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=dev-python/griffe-0.44[${PYTHON_USEDEP}] + >=dev-python/mkdocstrings-0.25.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mkdocs-material[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export PDM_BUILD_SCM_VERSION=${PV} diff --git a/dev-python/nose2/Manifest b/dev-python/nose2/Manifest index 0c87660f126f..5e9f3effe597 100644 --- a/dev-python/nose2/Manifest +++ b/dev-python/nose2/Manifest @@ -1,3 +1 @@ -DIST nose2-0.14.2.tar.gz 167874 BLAKE2B b2d1d1d026de10e9d73a312205b0562c377775016b8adea0b64213cb32930e9a58823021fa970f23e8acd79d2ea2a3df1f294732fcb2f96c454a2345f65091db SHA512 728d6c3f1c037630b6b3a4fc3012a488d91dfdcef5fe1d1f6473b317f71ac6ba16a33d33721de7422caec019eac00137e95190eb2c98edd67c4c5f7f8ee09440 -DIST nose2-0.15.0.tar.gz 168825 BLAKE2B fc61b1be549cc725a05825cc801b23fa3055b13f745f63c5a1929b87724691001cf743248cb9606b6ae11b32090b99de0e583dac175141a6a6c9e5efb5a16099 SHA512 e0c1287aec4092fba55814bca8f5ac867d2ac0f9c9da15d6eb955007050b7e4beb2f211d049acc4dce9fa9990bc42468d01f2945cc358127295b60f9a5f998a6 DIST nose2-0.15.1.tar.gz 169809 BLAKE2B a3ae7c3036fc50851f8cc47df3c5677a1d2333a664802aa03af16c2f600366b5b51b2f6ad6c0953977edf3d63b7e5ac593f2f1ce26382256a6b81680cba7e39b SHA512 118b1144369b72c6af4153b866d19253b31cb019407f8c4b9f80461b105be8851be7b6524a822da8ddca039f733510b5e5d7871608195d0fb8d7be9de1938762 diff --git a/dev-python/nose2/nose2-0.14.2.ebuild b/dev-python/nose2/nose2-0.14.2.ebuild deleted file mode 100644 index d7ab457e9704..000000000000 --- a/dev-python/nose2/nose2-0.14.2.ebuild +++ /dev/null @@ -1,31 +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 pypi - -DESCRIPTION="Unittest with plugins" -HOMEPAGE=" - https://github.com/nose-devs/nose2/ - https://pypi.org/project/nose2/ -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ppc ppc64 ~sparc x86" - -RDEPEND=" - >=dev-python/coverage-4.4.1[${PYTHON_USEDEP}] -" - -distutils_enable_sphinx docs \ - dev-python/sphinx-rtd-theme \ - dev-python/sphinx-issues - -python_test() { - "${EPYTHON}" -m nose2.__main__ -vv || die "tests failed under ${EPYTHON}" -} diff --git a/dev-python/nose2/nose2-0.15.0.ebuild b/dev-python/nose2/nose2-0.15.0.ebuild deleted file mode 100644 index 4d2b9fef90a0..000000000000 --- a/dev-python/nose2/nose2-0.15.0.ebuild +++ /dev/null @@ -1,31 +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 pypi - -DESCRIPTION="Unittest with plugins" -HOMEPAGE=" - https://github.com/nose-devs/nose2/ - https://pypi.org/project/nose2/ -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" - -RDEPEND=" - >=dev-python/coverage-4.4.1[${PYTHON_USEDEP}] -" - -distutils_enable_sphinx docs \ - dev-python/sphinx-rtd-theme \ - dev-python/sphinx-issues - -python_test() { - "${EPYTHON}" -m nose2.__main__ -vv || die "tests failed under ${EPYTHON}" -} diff --git a/dev-python/nose2/nose2-0.15.1.ebuild b/dev-python/nose2/nose2-0.15.1.ebuild index 4d2b9fef90a0..d7ab457e9704 100644 --- a/dev-python/nose2/nose2-0.15.1.ebuild +++ b/dev-python/nose2/nose2-0.15.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ppc ppc64 ~sparc x86" RDEPEND=" >=dev-python/coverage-4.4.1[${PYTHON_USEDEP}] diff --git a/dev-python/pdm-backend/Manifest b/dev-python/pdm-backend/Manifest index f5aaf7f2c181..6b2debbca949 100644 --- a/dev-python/pdm-backend/Manifest +++ b/dev-python/pdm-backend/Manifest @@ -1 +1,2 @@ DIST pdm-backend-2.3.0.gh.tar.gz 134657 BLAKE2B 346011ed97111e54c9cd063e216aa5943e6dd5ac1e531ceed225bf07420d07131aca0d6c23d24c0ba11e2e4a8c581b8c1cb1c8b7efa9c7a030d48ba982264dce SHA512 0169b97b662a0520c9810d566b74b6ef378db083954064ee37e8ed8cc40375a556500c307cebb9e269c3192b9f9b8659f575f0d24d67f970b3797e2354b53d54 +DIST pdm-backend-2.3.1.gh.tar.gz 136710 BLAKE2B 72293989700a429bfddb1d865b14f0467d56e024d69976264909d1c5113be67fd6892f3821803b6e86d73653f54a62b15ccb02f3dc16a190f6ccd0ca5e0650b5 SHA512 6a1a4d45a95b08f0a06f54635224c6faabc000384f489eb1e462d7dfffdd9899a3040a0fb708d193b3da541e2704b30921185728a178517fa55ecf3314f9903d diff --git a/dev-python/pdm-backend/pdm-backend-2.3.1.ebuild b/dev-python/pdm-backend/pdm-backend-2.3.1.ebuild new file mode 100644 index 000000000000..4cfb39e7b26d --- /dev/null +++ b/dev-python/pdm-backend/pdm-backend-2.3.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata" +HOMEPAGE=" + https://pypi.org/project/pdm-backend/ + https://github.com/pdm-project/pdm-backend/ +" +SRC_URI=" + https://github.com/pdm-project/pdm-backend/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# see src/pdm/backend/_vendor/vendor.txt +RDEPEND=" + >=dev-python/editables-0.5[${PYTHON_USEDEP}] + >=dev-python/packaging-24.0[${PYTHON_USEDEP}] + >=dev-python/pyproject-metadata-0.8.0[${PYTHON_USEDEP}] + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/setuptools[${PYTHON_USEDEP}] + dev-vcs/git + ) +" +# setuptools are used to build C extensions +RDEPEND+=" + dev-python/setuptools[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + rm -r src/pdm/backend/_vendor || die + find -name '*.py' -exec sed \ + -e 's:from pdm\.backend\._vendor\.:from :' \ + -e 's:from pdm\.backend\._vendor ::' \ + -e 's:import pdm\.backend\._vendor\.:import :' \ + -i {} + || die + distutils-r1_src_prepare +} + +src_compile() { + # this must not be set during src_test() + local -x PDM_BUILD_SCM_VERSION=${PV} + distutils-r1_src_compile +} + +src_test() { + git config --global user.email "test@example.com" || die + git config --global user.name "Test User" || die + distutils-r1_src_test +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -k "not [hg" +} diff --git a/dev-python/puremagic/Manifest b/dev-python/puremagic/Manifest index 27f1458beae6..9bfcc2c0ee3d 100644 --- a/dev-python/puremagic/Manifest +++ b/dev-python/puremagic/Manifest @@ -1,2 +1,3 @@ DIST puremagic-1.23.gh.tar.gz 306804 BLAKE2B b9da78fc20ee77dac85065f85a8770273ece5f97c372c42e274d272c3c389cca2ed1433774f96d1b55dff01ff542c63ad5093befa5c3530b052de32ffa142a77 SHA512 9bdb6ae0158ecf5d87e82de112ce9d988ac2b4a29d06dd06cba9c4675fe11d270c7cab611f8cb8ffb5ccd622be66fe43b441f203d27e9c4c9feb55bb81036fce DIST puremagic-1.24.gh.tar.gz 309763 BLAKE2B 7d2920d2028bb8db9f87f569ae57a00436289e2e6661a07da39d2cdf96975d56c5fbe6569a2909127fef1a1e8c51514ae5f1730df85e620a8cd84abfa8d0dd03 SHA512 06ef1008788c2941df9b3237d41df9908bf172e22f66e478470ab66d3cefd0c8d598f8a95df285bfde58477a98d4da557c0fef7a691b30bcf3d82d76067c518d +DIST puremagic-1.25.gh.tar.gz 309788 BLAKE2B cc24e10ef59ce6299e7fb90b12b4d379d320d5795d475f9509301a050591c3404499227a64d6ed8395c8ab7f424561895966a3fe5dd1f90154fdb8be50fcab51 SHA512 7b9a8af827537ed9af38b80422744c7ee8b48b95f3344a79b6641cc7d55082160f20884659846a608d04d040acb06b0273fb8b51e5b92db14f92ff6d576c0e0d diff --git a/dev-python/puremagic/puremagic-1.25.ebuild b/dev-python/puremagic/puremagic-1.25.ebuild new file mode 100644 index 000000000000..51b9731459c1 --- /dev/null +++ b/dev-python/puremagic/puremagic-1.25.ebuild @@ -0,0 +1,32 @@ +# 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="Pure python implementation of magic file detection" +HOMEPAGE=" + https://github.com/cdgriffith/puremagic/ + https://pypi.org/project/puremagic/ +" +SRC_URI=" + https://github.com/cdgriffith/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DOCS=( CHANGELOG.md README.rst ) + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/pycountry/Manifest b/dev-python/pycountry/Manifest index 80079a4b18fb..c317205bdfc1 100644 --- a/dev-python/pycountry/Manifest +++ b/dev-python/pycountry/Manifest @@ -1,2 +1 @@ -DIST pycountry-23.12.11.tar.gz 5927399 BLAKE2B a8d32593d80a881abd03b482a99afc22996a730d911577f91eb8035336f07a25a8cd74cd19f9396675acacbab953098bf831119f8b9f7c72fc6c2807713fe6c9 SHA512 25b5a74c0dd8115473571976a64b6fed7010f62c1b3b4c1888b9e13a7cf4f533173f51d4652d55c426adee4e0ff119bb6e3132d04dce150b9d1ca4b11366c579 DIST pycountry-24.6.1.tar.gz 6043910 BLAKE2B 53e5f3bb89edb95a10cc7bef3d5cef463d957b9bd80da1aea57c274f76f9fc5f4848c9ceabcf97d369343a5bc39f6b8e7fb2e80344ff29ccd5856a4de9770b3b SHA512 36d8f68b830d74259a5f9ac1c9c97c1b228b0072613229e6f579ea5af587ab1cd25f0637a2cdd1dbf2ae8225e2aa2958d25f1e6df42d577da821d85c4c49ae93 diff --git a/dev-python/pycountry/pycountry-23.12.11.ebuild b/dev-python/pycountry/pycountry-23.12.11.ebuild deleted file mode 100644 index 92ca3e531bae..000000000000 --- a/dev-python/pycountry/pycountry-23.12.11.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Database of countries, subdivisions, languages, currencies and script" -HOMEPAGE=" - https://github.com/pycountry/pycountry/ - https://pypi.org/project/pycountry/ -" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -BDEPEND=" - test? ( - dev-python/importlib-metadata[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/pycountry/pycountry-24.6.1.ebuild b/dev-python/pycountry/pycountry-24.6.1.ebuild index 9a45f077d94a..5bbc7534750d 100644 --- a/dev-python/pycountry/pycountry-24.6.1.ebuild +++ b/dev-python/pycountry/pycountry-24.6.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~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/pydantic-core/pydantic-core-2.18.4.ebuild b/dev-python/pydantic-core/pydantic-core-2.18.4.ebuild index 155924af5ee1..dfc4166892ca 100644 --- a/dev-python/pydantic-core/pydantic-core-2.18.4.ebuild +++ b/dev-python/pydantic-core/pydantic-core-2.18.4.ebuild @@ -112,7 +112,7 @@ LICENSE+=" || ( Apache-2.0 Boost-1.0 ) " SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 ~arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" >=dev-python/typing-extensions-4.7.1[${PYTHON_USEDEP}] diff --git a/dev-python/pydantic/pydantic-2.7.3.ebuild b/dev-python/pydantic/pydantic-2.7.3.ebuild index 80f7520372d6..1af3dbe97901 100644 --- a/dev-python/pydantic/pydantic-2.7.3.ebuild +++ b/dev-python/pydantic/pydantic-2.7.3.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 ~arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" >=dev-python/annotated-types-0.4.0[${PYTHON_USEDEP}] diff --git a/dev-python/pygame/pygame-2.5.2-r3.ebuild b/dev-python/pygame/pygame-2.5.2-r3.ebuild index 271b64e68389..eeaf046faf3e 100644 --- a/dev-python/pygame/pygame-2.5.2-r3.ebuild +++ b/dev-python/pygame/pygame-2.5.2-r3.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~x86" IUSE="examples opengl test X" RESTRICT="!test? ( test )" diff --git a/dev-python/python-editor/python-editor-1.0.4-r2.ebuild b/dev-python/python-editor/python-editor-1.0.4-r2.ebuild index f072fb547b1f..5649e6983f9c 100644 --- a/dev-python/python-editor/python-editor-1.0.4-r2.ebuild +++ b/dev-python/python-editor/python-editor-1.0.4-r2.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/requests-cache/Manifest b/dev-python/requests-cache/Manifest index 0a170bdc4a9b..8f213ef7fe86 100644 --- a/dev-python/requests-cache/Manifest +++ b/dev-python/requests-cache/Manifest @@ -1 +1,2 @@ DIST requests-cache-1.2.0.gh.tar.gz 3057187 BLAKE2B 135d39d8fac1e123c71b07b30002b980b5fdcdb586cafb310f8f72e865cdc97f62b699cd981068207c6f020deef595469801d440cf5034566e9618385d569437 SHA512 b198d282cfd656c432d3a63f4d615191ac1ff97c9563e9bd6945e7a78444601108beb47a0f4a79740c7bd6942c3753f025cd52457e87ece7964229799bbb8fa1 +DIST requests-cache-1.2.1.gh.tar.gz 3056882 BLAKE2B e1e5f971490f865ac2771d1dd87802ba138940adbfa0183ed5978b92794795fb26a30219de5560a925642ca08de1b8854d759408f86b30e6150e1c948ec8dcfe SHA512 f8977b1afc005ddd73019d2a0e39da368f376602110602c0b24c317b548f31a3489e686502ecd48ae3583e471fdd70671913e529c73dacdcaecadb1cd1e6c126 diff --git a/dev-python/requests-cache/requests-cache-1.2.1.ebuild b/dev-python/requests-cache/requests-cache-1.2.1.ebuild new file mode 100644 index 000000000000..0008b7c06cc9 --- /dev/null +++ b/dev-python/requests-cache/requests-cache-1.2.1.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 optfeature + +DESCRIPTION="Persistent cache for requests library" +HOMEPAGE=" + https://pypi.org/project/requests-cache/ + https://github.com/requests-cache/requests-cache/ +" +SRC_URI=" + https://github.com/requests-cache/requests-cache/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] + >=dev-python/cattrs-22.2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.5[${PYTHON_USEDEP}] + >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] + >=dev-python/url-normalize-1.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/itsdangerous[${PYTHON_USEDEP}] + dev-python/pytest-httpbin[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/rich-10.0[${PYTHON_USEDEP}] + dev-python/timeout-decorator[${PYTHON_USEDEP}] + >=dev-python/ujson-5.4[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # These require extra servers running + tests/integration/test_dynamodb.py + tests/integration/test_gridfs.py + tests/integration/test_mongodb.py + tests/integration/test_redis.py + ) + local EPYTEST_DESELECT=( + # Requires Internet access + tests/integration/test_upgrade.py::test_version_upgrade + ) + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # "database is locked", upstream probably relies on GC + # too much + tests/integration/test_sqlite.py + ) + ;; + python3.12) + # https://github.com/requests-cache/requests-cache/issues/845 + EPYTEST_DESELECT+=( + tests/integration/test_memory.py::TestMemoryCache::test_response_no_duplicate_read + tests/integration/test_sqlite.py::TestSQLiteCache::test_concurrency + ) + ;; + esac + + local -x USE_PYTEST_HTTPBIN=true + epytest +} + +pkg_postinst() { + optfeature "redis backend" "dev-python/redis" + optfeature "MongoDB backend" "dev-python/pymongo" + + optfeature "JSON serialization" "dev-python/ujson" + optfeature "YAML serialization" "dev-python/pyyaml" + optfeature "signing serialized data" "dev-python/itsdangerous" +} diff --git a/dev-python/sh/Manifest b/dev-python/sh/Manifest index 0920adb67b01..af6bcb887e02 100644 --- a/dev-python/sh/Manifest +++ b/dev-python/sh/Manifest @@ -1,2 +1 @@ -DIST sh-2.0.6.tar.gz 345496 BLAKE2B 2352aa1c560a95e59446473658d0a95609f594417c8840c84cf1d65590aa94c2225dcd8782e75d82e92cdbf86f21dbbe03a1818a5ef1800a39444ce2918bc90b SHA512 717dae58ebd08b3a86e0d30ba2a6f3055592844d064265280b97a1d29bd7d0422c9e5500b6eb999cc1a97c1c2af04cf8ed214670bc08cb2bc45e418f69560c1d DIST sh-2.0.7.tar.gz 345477 BLAKE2B a7eb24e5cdc4543b5a44a523b101b5b103ad1fc26664b659cf84921d50112bac1a49d7ea19889d2157b2df941b67840373a9a4bc63e2cb7f94bb4cdfac85819c SHA512 331a3bdc027eeac7100ae6318a579c85fb11ce0e1922d1078c2f09b0523733b146a9bd5b9f030a2da23e3d2bb2a6970bd451d53224259967efdcf99e949f7b9f diff --git a/dev-python/sh/sh-2.0.6.ebuild b/dev-python/sh/sh-2.0.6.ebuild deleted file mode 100644 index e7c99caa46f5..000000000000 --- a/dev-python/sh/sh-2.0.6.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python subprocess interface" -HOMEPAGE=" - https://github.com/amoffat/sh/ - https://pypi.org/project/sh/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" - -distutils_enable_tests unittest - -python_test() { - local -x SH_TESTS_RUNNING=1 - eunittest -p "*_test.py" -} diff --git a/dev-python/sh/sh-2.0.7.ebuild b/dev-python/sh/sh-2.0.7.ebuild index 579ee607c378..e7c99caa46f5 100644 --- a/dev-python/sh/sh-2.0.7.ebuild +++ b/dev-python/sh/sh-2.0.7.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" distutils_enable_tests unittest diff --git a/dev-python/tempora/Manifest b/dev-python/tempora/Manifest index 46d3a53be930..5ba23c7a2bf0 100644 --- a/dev-python/tempora/Manifest +++ b/dev-python/tempora/Manifest @@ -1 +1,2 @@ DIST tempora-5.5.1.tar.gz 21145 BLAKE2B b034b85272faefc884e098c1ca58b3e4b1f6598487f4678ed3b0b9f353d70b9862d8eaed425fb812e23630f123a28a25fefc8916a1c9cc882e5ed8c3da98dfa6 SHA512 642c4176ea14504e2f831f738e1064c1fb888ad89a67c74d5bcf2a5389923af3933981393855c7eceaf6c7fc16bbbf4126015d2d1dfa0fdfd38d528d16854dce +DIST tempora-5.6.0.tar.gz 21659 BLAKE2B 865fc851d852e054b389cbc5731a9523297b134c6d6e812cff9a6dfda8be0c0c9b2aa5f63324642ef3c151529f82292d867d01bf68a9aaa4f7a3e6d296a8f4bd SHA512 dd8dfe94813a482a2493e3129c9dd4f40dd399bc933a5348454b903d49def1c84a417696c24b66533bcfa93d3d334c67114bdc0cc2512ce39384c039911b4d0d diff --git a/dev-python/tempora/tempora-5.6.0.ebuild b/dev-python/tempora/tempora-5.6.0.ebuild new file mode 100644 index 000000000000..c418a8341c7e --- /dev/null +++ b/dev-python/tempora/tempora-5.6.0.ebuild @@ -0,0 +1,46 @@ +# 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_{8,9,10,11,12} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) + +inherit distutils-r1 pypi + +DESCRIPTION="Objects and routines pertaining to date and time" +HOMEPAGE=" + https://github.com/jaraco/tempora/ + https://pypi.org/project/tempora/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/jaraco-functools-1.20[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + $(python_gen_cond_dep ' + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pytest-freezegun[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" + +distutils_enable_tests pytest + +python_test() { + if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p freezegun +} diff --git a/dev-python/tifffile/Manifest b/dev-python/tifffile/Manifest index 29b62aa94f55..91e978e038b8 100644 --- a/dev-python/tifffile/Manifest +++ b/dev-python/tifffile/Manifest @@ -1,4 +1,2 @@ -DIST tifffile-2024.4.24.gh.tar.gz 346320 BLAKE2B 55f755044a6ee3826beaa8c9d39e5351474d73a64bd2af7d7e31dc20ac156c762b93a5d4986cd3dab8a70ed3b1674fe47e7ed07834a8833dcfa15fe6f179ccb5 SHA512 7ca3b32596210878e24c48475df8b95b193906669f0c561ba0567b6159fe951dd0d89ab83b094ba859da526e6c456d21e4b53bcc6038824556a0391d48a601f5 -DIST tifffile-2024.5.10.gh.tar.gz 347939 BLAKE2B d2295e04ba9dd90ae9b61e8d62263faf8d14293d4f29c3324b0f5e0078cd8e710a2193c0f0f000c7b4c14d54b76dc2e838b188620537e82e77e8b7b63a5cb575 SHA512 e460caf9c3424923f50babc7c8b8030cc7cc7ff9b1d915568cfdecd753e006659dda860948c9568eafc67aac621948675f7ab7e5468c7c0e72ba626fbde039e4 DIST tifffile-2024.5.22.gh.tar.gz 348848 BLAKE2B 7e87a56c87eebc548e51b3829a2b1d81991421b2ca2daeb739ab9cd4f2553cd4bcbddd282021bc26bc4289791bd2b61742e0d737591587acde5788bb642b91b3 SHA512 1b25d8505cb25d8a11aa85785115020d2bb6912240c86e6a89ad73c11df1607fcce5ea430d33a8284e38d2e4154f5f9f58709a67270edad6cb124c4b5c4ad11e -DIST tifffile-2024.5.3.gh.tar.gz 347188 BLAKE2B 965b216c69f3257870298303ed165e6c5a9a581c079ec349156e40e8d812dd21cf2b8f7b2d3036ae4f2357296e6c6035ac52d8b7e799dd57b0c63287415c1a70 SHA512 46d90a78c0cf8111fd7c9a22ead8f4b8e1715a57cb0e7be0112027e44495d8d239ebe87433e94865b0925e47eb43af13b720318e906c63c0848c52e4f17f22d7 +DIST tifffile-2024.6.18.gh.tar.gz 349752 BLAKE2B 35f11d963e93e6b1f6b5e4a026dd0f1aed1bf03a2a5e9caab7649ce95c00cdd99988aaa864c549555a8244ec8bfc8d8d900386aa7b9f853fd5aca7b8bece8eb4 SHA512 fdbb5b2b335743f0aef01d5a8f0b577eb24fb1b89d29e20c1971124bdb58f61aab4e3471b6f91e686010c8ca1d5786527357b123c2d801c16d423927315b8c94 diff --git a/dev-python/tifffile/tifffile-2024.4.24.ebuild b/dev-python/tifffile/tifffile-2024.4.24.ebuild deleted file mode 100644 index a1cfa5b657fa..000000000000 --- a/dev-python/tifffile/tifffile-2024.4.24.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# 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_{8,9,10,11,12} ) - -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}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # Internet - tests/test_tifffile.py::test_class_omexml - tests/test_tifffile.py::test_class_omexml_fail - tests/test_tifffile.py::test_class_omexml_modulo - tests/test_tifffile.py::test_class_omexml_attributes - tests/test_tifffile.py::test_class_omexml_multiimage - tests/test_tifffile.py::test_write_ome - tests/test_tifffile.py::test_write_ome_manual - # requires tons of free space - tests/test_tifffile.py::test_write_3gb - tests/test_tifffile.py::test_write_5GB_bigtiff - tests/test_tifffile.py::test_write_5GB_fails - tests/test_tifffile.py::test_write_6gb - tests/test_tifffile.py::test_write_bigtiff - 'tests/test_tifffile.py::test_write_imagej_raw' -) diff --git a/dev-python/tifffile/tifffile-2024.5.3.ebuild b/dev-python/tifffile/tifffile-2024.5.3.ebuild deleted file mode 100644 index 1f53f5beadd7..000000000000 --- a/dev-python/tifffile/tifffile-2024.5.3.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# 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_{8,9,10,11,12} ) - -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/tifffile/tifffile-2024.5.10.ebuild b/dev-python/tifffile/tifffile-2024.6.18.ebuild index 1f53f5beadd7..1f53f5beadd7 100644 --- a/dev-python/tifffile/tifffile-2024.5.10.ebuild +++ b/dev-python/tifffile/tifffile-2024.6.18.ebuild diff --git a/dev-python/toolz/files/toolz-0.12.1-test.patch b/dev-python/toolz/files/toolz-0.12.1-test.patch new file mode 100644 index 000000000000..396ed003a62e --- /dev/null +++ b/dev-python/toolz/files/toolz-0.12.1-test.patch @@ -0,0 +1,88 @@ +From b79a954ca5fa6801c3a3dc6b39fa523be33884a8 Mon Sep 17 00:00:00 2001 +From: Adam Williamson <awilliam@redhat.com> +Date: Fri, 14 Jun 2024 13:43:24 -0700 +Subject: [PATCH 1/2] test_excepts: fudge changed indentation in Python 3.13 + +Signed-off-by: Adam Williamson <awilliam@redhat.com> +--- + toolz/tests/test_functoolz.py | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +diff --git a/toolz/tests/test_functoolz.py b/toolz/tests/test_functoolz.py +index 555cf48d..a28c2a77 100644 +--- a/toolz/tests/test_functoolz.py ++++ b/toolz/tests/test_functoolz.py +@@ -738,10 +738,13 @@ def f(a, b): + def test_excepts(): + # These are descriptors, make sure this works correctly. + assert excepts.__name__ == 'excepts' ++ # in Python < 3.13 the second line is indented, in 3.13+ ++ # it is not, strip all lines to fudge it ++ testlines = "\n".join((line.strip() for line in excepts.__doc__.splitlines())) + assert ( + 'A wrapper around a function to catch exceptions and\n' +- ' dispatch to a handler.\n' +- ) in excepts.__doc__ ++ 'dispatch to a handler.\n' ++ ) in testlines + + def idx(a): + """idx docstring + +From 832e81d28882d1235c704de95e1d075ee61976c1 Mon Sep 17 00:00:00 2001 +From: Adam Williamson <awilliam@redhat.com> +Date: Fri, 14 Jun 2024 16:03:30 -0700 +Subject: [PATCH 2/2] test_inspect_wrapped_property: handle fixed wrapper + inspection + +Python upstream recently fixed the behavior of inspect with +wrappers: https://github.com/python/cpython/issues/112006 . The +assertion here relies on the broken behavior, we only get None +if `inspect(Wrapped)` fails and raises `ValueError`. Now it +works, we actually get the correct answer, 1. This changes it so +we assert the correct thing depending on the Python version (the +fix was backported to 3.11.9 and 3.12.3, so the check has to be a +bit complicated). + +Signed-off-by: Adam Williamson <awilliam@redhat.com> +--- + toolz/tests/test_inspect_args.py | 21 +++++++++++++++++++-- + 1 file changed, 19 insertions(+), 2 deletions(-) + +diff --git a/toolz/tests/test_inspect_args.py b/toolz/tests/test_inspect_args.py +index 93408eb5..f26dbc64 100644 +--- a/toolz/tests/test_inspect_args.py ++++ b/toolz/tests/test_inspect_args.py +@@ -2,6 +2,7 @@ + import inspect + import itertools + import operator ++import sys + import toolz + from toolz.functoolz import (curry, is_valid_args, is_partial_args, is_arity, + num_required_args, has_varargs, has_keywords) +@@ -482,6 +483,22 @@ def __wrapped__(self): + wrapped = Wrapped(func) + assert inspect.signature(func) == inspect.signature(wrapped) + +- assert num_required_args(Wrapped) is None +- _sigs.signatures[Wrapped] = (_sigs.expand_sig((0, lambda func: None)),) ++ # inspect.signature did not used to work properly on wrappers, ++ # but it was fixed in Python 3.11.9, Python 3.12.3 and Python ++ # 3.13+ ++ inspectbroken = True ++ if sys.version_info.major > 3: ++ inspectbroken = False ++ if sys.version_info.major == 3: ++ if sys.version_info.minor == 11 and sys.version_info.micro > 8: ++ inspectbroken = False ++ if sys.version_info.minor == 12 and sys.version_info.micro > 2: ++ inspectbroken = False ++ if sys.version_info.minor > 12: ++ inspectbroken = False ++ ++ if inspectbroken: ++ assert num_required_args(Wrapped) is None ++ _sigs.signatures[Wrapped] = (_sigs.expand_sig((0, lambda func: None)),) ++ + assert num_required_args(Wrapped) == 1 diff --git a/dev-python/toolz/toolz-0.12.1.ebuild b/dev-python/toolz/toolz-0.12.1.ebuild index 39f1be532369..c5fa531eb3f7 100644 --- a/dev-python/toolz/toolz-0.12.1.ebuild +++ b/dev-python/toolz/toolz-0.12.1.ebuild @@ -20,6 +20,11 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~spar distutils_enable_tests pytest +PATCHES=( + # https://github.com/pytoolz/toolz/pull/582 + "${FILESDIR}/${P}-test.patch" +) + python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest diff --git a/dev-python/translate-toolkit/Manifest b/dev-python/translate-toolkit/Manifest index aec6cb2e5c6e..207e07ed61a5 100644 --- a/dev-python/translate-toolkit/Manifest +++ b/dev-python/translate-toolkit/Manifest @@ -1,2 +1,3 @@ DIST translate-3.12.2.gh.tar.gz 1202828 BLAKE2B fdfc6ea91d0e0fe9f36e1352247463fe04ff3f4cdd13dd969077ccf0dde984250303872f6bb605dcd1628a1089d81dd98b36dfd68e92c3030c740d65899a70ba SHA512 7488f45521f1744d8d457ce5f74a4955a0e4468af8b3f5be06410667f2c1e52a3dacd3b959330e6c2eb5b3a443c1e2c761538896352576f5090ce27dbfc8edab DIST translate-3.13.0.gh.tar.gz 1171837 BLAKE2B 9c6212d26749eac652369e94d2b653f67b364afc9f9125c5125d19e3cabc1bb36bd27bc172ad93d28cb6cdf57ed2b245336664b6b4954db9bbbfb4a8ad92b3f9 SHA512 7c6f87ec32c81a14d1775dc24d43e49b79fdf8473a4380c93a2af1532bed32a9733ee755641ce26852b1bd63acffa2110598c5fc3010bbf9de40e8a0f32af308 +DIST translate-3.13.1.gh.tar.gz 1172830 BLAKE2B 9ca2a3a30a6266a9f713fdb1e504a45263763bce2107196d2091d216db079e16eb03f4dab87627692253c64177e7c6ca9b70bc9a82b719c94fdea984adb66efb SHA512 afa0b98235cf1bc9fc5ffe50057851495e35f6acaa2ba0858fce7d01207929590112e5e5c06452b3ca2cb14a63fdaa2a66d8afe53e29112f5970680935378af7 diff --git a/dev-python/translate-toolkit/translate-toolkit-3.13.1.ebuild b/dev-python/translate-toolkit/translate-toolkit-3.13.1.ebuild new file mode 100644 index 000000000000..ece6e611bccc --- /dev/null +++ b/dev-python/translate-toolkit/translate-toolkit-3.13.1.ebuild @@ -0,0 +1,118 @@ +# 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} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +MY_P=translate-${PV} +DESCRIPTION="Toolkit to convert between many translation formats" +HOMEPAGE=" + https://github.com/translate/translate/ + https://pypi.org/project/translate-toolkit/ +" +SRC_URI=" + https://github.com/translate/translate/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S="${WORKDIR}"/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+html +ical +ini +subtitles +yaml" + +RDEPEND=" + app-text/iso-codes + >=dev-python/chardet-3.0.4[${PYTHON_USEDEP}] + dev-python/cheroot[${PYTHON_USEDEP}] + >=dev-python/Levenshtein-0.12.0[${PYTHON_USEDEP}] + >=dev-python/lxml-4.3.1[${PYTHON_USEDEP}] + >=dev-python/mistletoe-1.1.0[${PYTHON_USEDEP}] + >=dev-python/pyparsing-3[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + sys-devel/gettext + html? ( dev-python/utidylib[${PYTHON_USEDEP}] ) + ical? ( dev-python/vobject[${PYTHON_USEDEP}] ) + ini? ( >=dev-python/iniparse-0.5[${PYTHON_USEDEP}] ) + subtitles? ( media-video/gaupol[${PYTHON_USEDEP}] ) + yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] ) +" +# Technically, the test suite also has undeclared dependency +# on dev-python/snapshottest but all the tests using it are broken +# anyway, so we skip them. +BDEPEND=" + test? ( + dev-python/phply[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_test() { + # unfortunately, this bad quality package doesn't support XDG_DATA_DIRS + # correctly, so we need to reassemble all data files in a single directory + local -x XDG_DATA_HOME=${T}/share + cp -r translate/share "${T}/" || die + cp -r "${ESYSROOT}/usr/share"/gaupol "${XDG_DATA_HOME}"/ || die + + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # Fails with network-sandbox (and even with it off but w/ softer fail) + 'tests/xliff_conformance/test_xliff_conformance.py::test_open_office_to_xliff' + 'tests/xliff_conformance/test_xliff_conformance.py::test_po_to_xliff' + # all tests based on snapshottest are broken and I'm too tired + # to figure this out + tests/translate/tools/test_pocount.py::test_{cases,output} + tests/translate/tools/test_junitmsgfmt.py::test_output + ) + local EPYTEST_IGNORE=( + # unpackaged fluent.* + tests/translate/storage/test_fluent.py + # changes directory and does not change it back, sigh + tests/odf_xliff/test_odf_xliff.py + ) + + if ! use ini; then + EPYTEST_IGNORE+=( + translate/convert/test_ini2po.py + translate/convert/test_po2ini.py + ) + fi + + if ! use subtitles; then + EPYTEST_IGNORE+=( + translate/storage/test_subtitles.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +python_install_all() { + distutils-r1_python_install_all + + insinto /usr + doins -r translate/share + + if ! use html; then + rm "${ED}"/usr/bin/{html2po,po2html} || die + fi + if ! use ical; then + rm "${ED}"/usr/bin/{ical2po,po2ical} || die + fi + if ! use ini; then + rm "${ED}"/usr/bin/{ini2po,po2ini} || die + fi + if ! use subtitles; then + rm "${ED}"/usr/bin/{sub2po,po2sub} || die + fi +} diff --git a/dev-python/uvicorn/Manifest b/dev-python/uvicorn/Manifest index ac307b420dd0..df55a976f3b5 100644 --- a/dev-python/uvicorn/Manifest +++ b/dev-python/uvicorn/Manifest @@ -1,3 +1 @@ -DIST uvicorn-0.29.0.gh.tar.gz 719202 BLAKE2B 15a1e9d001e00805d9efe89c1b46416f6556d944ec5a32fb31c8368d4c0e1e32155169e9b5754c7d56a3ee86a1b7edddcf0d9a641abf74fdb89c1332ebd289af SHA512 bb37940acc2eba2a649d07ba44890400332e5ad873ac03c6740c1bc730068ede39c2e6d9aefb0f100ec261d7ed2eef1596c99a060fd8000cff874b25bdbbbdfa -DIST uvicorn-0.30.0.gh.tar.gz 722322 BLAKE2B 5868f27cf8589b00737c77904dd60a4996641610bd9216744c89fbf39956d4f2764249b45f7736c11141f214544aeaaf196d22421fb52596a9e3517931d500c2 SHA512 1e090fe7b1a5eb00fa11359694e5bc0a577d206e97e65c6dba0b401c2c2d11d621ed69b5f0e883e1757a660a823d0f3ab4fe9a041bb3f738086337ac8dad108b DIST uvicorn-0.30.1.gh.tar.gz 722580 BLAKE2B 33cb5683bf8d3f3bbc2a17a354356adee2be66259cd79413c9f1ef698485c46060a609a8f0a28cef05de71631569ac61c12aad6913a3243f45eb7e1691a481ea SHA512 ce705c1e99ca0feff3f82e067c0df9e21dea6ff3789541757edbc686718bcb0c80be392fd75f7c0962c5d7251e7e3e441e97633057dcb43e565c48a4d6b3d392 diff --git a/dev-python/uvicorn/uvicorn-0.29.0.ebuild b/dev-python/uvicorn/uvicorn-0.29.0.ebuild deleted file mode 100644 index 31afe1b8844a..000000000000 --- a/dev-python/uvicorn/uvicorn-0.29.0.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 2021-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Lightning-fast ASGI server implementation" -HOMEPAGE=" - https://www.uvicorn.org/ - https://github.com/encode/uvicorn/ - https://pypi.org/project/uvicorn/ -" -# as of 0.28.0, no tests in sdist -SRC_URI=" - https://github.com/encode/uvicorn/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="test-rust" - -RDEPEND=" - >=dev-python/asgiref-3.4.0[${PYTHON_USEDEP}] - >=dev-python/click-7.0[${PYTHON_USEDEP}] - >=dev-python/h11-0.8[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/typing-extensions-4.0[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - test? ( - dev-python/a2wsgi[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/python-dotenv[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - >=dev-python/websockets-10.4[${PYTHON_USEDEP}] - dev-python/wsproto[${PYTHON_USEDEP}] - test-rust? ( - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - dev-python/watchfiles[${PYTHON_USEDEP}] - ) - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # too long path for unix socket - tests/test_config.py::test_bind_unix_socket_works_with_reload_or_workers - ) - case ${EPYTHON} in - pypy3) - # TODO - EPYTEST_DESELECT+=( - tests/middleware/test_logging.py::test_running_log_using_fd - ) - ;; - esac - - epytest -} - -pkg_postinst() { - optfeature "auto reload on file changes" dev-python/watchfiles -} diff --git a/dev-python/uvicorn/uvicorn-0.30.0.ebuild b/dev-python/uvicorn/uvicorn-0.30.0.ebuild deleted file mode 100644 index 171f3a489763..000000000000 --- a/dev-python/uvicorn/uvicorn-0.30.0.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 2021-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Lightning-fast ASGI server implementation" -HOMEPAGE=" - https://www.uvicorn.org/ - https://github.com/encode/uvicorn/ - https://pypi.org/project/uvicorn/ -" -# as of 0.28.0, no tests in sdist -SRC_URI=" - https://github.com/encode/uvicorn/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="test-rust" - -RDEPEND=" - >=dev-python/asgiref-3.4.0[${PYTHON_USEDEP}] - >=dev-python/click-7.0[${PYTHON_USEDEP}] - >=dev-python/h11-0.8[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/typing-extensions-4.0[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - test? ( - dev-python/a2wsgi[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/python-dotenv[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - >=dev-python/websockets-10.4[${PYTHON_USEDEP}] - dev-python/wsproto[${PYTHON_USEDEP}] - test-rust? ( - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - dev-python/watchfiles[${PYTHON_USEDEP}] - ) - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # too long path for unix socket - tests/test_config.py::test_bind_unix_socket_works_with_reload_or_workers - ) - case ${EPYTHON} in - pypy3) - # TODO - EPYTEST_DESELECT+=( - tests/middleware/test_logging.py::test_running_log_using_fd - ) - ;; - esac - - epytest -} - -pkg_postinst() { - optfeature "auto reload on file changes" dev-python/watchfiles -} diff --git a/dev-python/uvicorn/uvicorn-0.30.1.ebuild b/dev-python/uvicorn/uvicorn-0.30.1.ebuild index 171f3a489763..31afe1b8844a 100644 --- a/dev-python/uvicorn/uvicorn-0.30.1.ebuild +++ b/dev-python/uvicorn/uvicorn-0.30.1.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="test-rust" RDEPEND=" diff --git a/dev-python/websockify/Manifest b/dev-python/websockify/Manifest index 1c4187492e4f..845351217bc0 100644 --- a/dev-python/websockify/Manifest +++ b/dev-python/websockify/Manifest @@ -1,2 +1 @@ -DIST websockify-0.11.0.gh.tar.gz 55126 BLAKE2B df49e8025ea0341b7f8d329a3b3dcddc08df3d0b42bbcb33d25726df8fee1f0a8791d552c9019a3ae514549619a0f3cc9c7861ff4f30017f27498f7465fd5d11 SHA512 cbae6abdee3c9ba6e78c2245fa7ebc4bd6aa96a534b8577da1ae9acd316dd146cece6ceb6f6cdca9c1ddcb3cbaff69e0fc3c3d6048b9374b0937abb91843bf72 DIST websockify-0.12.0.gh.tar.gz 56839 BLAKE2B d330f534dd69c186b14b14c5f29d2b4f86c1fc444fa887c04b2b9eb2beed2ed0895db029acbcd84714ce2fd6da30cc306cef4c4bb836e31a31f10dbff6dc3abd SHA512 616619a27b00af6621d9b2e3be415ff958fc226a08714302688b76690976805a22c120ff7f0eaca3d7f26fd5575971a96b5e27e5d20688c6edbb4eb84b896871 diff --git a/dev-python/websockify/websockify-0.11.0.ebuild b/dev-python/websockify/websockify-0.11.0.ebuild deleted file mode 100644 index 68b538d54553..000000000000 --- a/dev-python/websockify/websockify-0.11.0.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="WebSockets support for any application/server" -HOMEPAGE=" - https://github.com/novnc/websockify/ - https://pypi.org/project/websockify/ -" -SRC_URI=" - https://github.com/novnc/websockify/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="amd64 arm64 ~riscv x86" - -RDEPEND=" - dev-python/jwcrypto[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/simplejson[${PYTHON_USEDEP}] - dev-python/redis[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # TODO: incompatible with current jwcrypto? (not a regression) - tests/test_token_plugins.py::JWSTokenTestCase::test_asymmetric_jwe_token_plugin -) - -python_install_all() { - doman docs/${PN}.1 - distutils-r1_python_install_all -} diff --git a/dev-python/websockify/websockify-0.12.0.ebuild b/dev-python/websockify/websockify-0.12.0.ebuild index 313ad0910cb2..aab422652311 100644 --- a/dev-python/websockify/websockify-0.12.0.ebuild +++ b/dev-python/websockify/websockify-0.12.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="LGPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="amd64 arm64 ~riscv x86" RDEPEND=" dev-python/jwcrypto[${PYTHON_USEDEP}] |
