summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-06-16 20:55:21 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-06-16 20:55:21 +0000
commite4b39a3f45891a8010f95d866f865993430283de (patch)
tree976213102a87176ef4b9053861fc2a042bbcce33 /dev-python
parent0fa4148af439d1471b7ba8cbeaa2719752bfdea5 (diff)
downloadbaldeagleos-repo-e4b39a3f45891a8010f95d866f865993430283de.tar.gz
baldeagleos-repo-e4b39a3f45891a8010f95d866f865993430283de.tar.xz
baldeagleos-repo-e4b39a3f45891a8010f95d866f865993430283de.zip
Adding metadata
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/aiohttp-socks/aiohttp-socks-0.8.4.ebuild2
-rw-r--r--dev-python/argparse-manpage/argparse-manpage-4.5.ebuild2
-rw-r--r--dev-python/backrefs/Manifest1
-rw-r--r--dev-python/backrefs/backrefs-5.7_p1.ebuild29
-rw-r--r--dev-python/blessed/blessed-1.20.0.ebuild5
-rw-r--r--dev-python/blosc/blosc-1.11.1.ebuild15
-rw-r--r--dev-python/blosc/files/blosc-1.11.1-numpy-2.patch51
-rw-r--r--dev-python/cached-property/Manifest1
-rw-r--r--dev-python/cached-property/cached-property-1.5.2-r1.ebuild30
-rw-r--r--dev-python/cached-property/files/cached-property-1.5.1-test-failure.patch10
-rw-r--r--dev-python/cached-property/files/cached-property-1.5.2-python311.patch142
-rw-r--r--dev-python/cached-property/metadata.xml11
-rw-r--r--dev-python/dictpath/Manifest1
-rw-r--r--dev-python/dictpath/dictpath-0.1.3.ebuild39
-rw-r--r--dev-python/dictpath/metadata.xml9
-rw-r--r--dev-python/discid/discid-1.2.0-r1.ebuild2
-rw-r--r--dev-python/elasticsearch/Manifest1
-rw-r--r--dev-python/elasticsearch/elasticsearch-8.14.0.ebuild83
-rw-r--r--dev-python/funcparserlib/funcparserlib-1.0.1.ebuild2
-rw-r--r--dev-python/jaraco-itertools/jaraco-itertools-6.4.1.ebuild2
-rw-r--r--dev-python/langdetect/Manifest2
-rw-r--r--dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch13
-rw-r--r--dev-python/langdetect/langdetect-1.0.9.ebuild4
-rw-r--r--dev-python/langdetect/metadata.xml10
-rw-r--r--dev-python/locket/locket-1.0.0.ebuild2
-rw-r--r--dev-python/mccabe/mccabe-0.7.0.ebuild22
-rw-r--r--dev-python/openapi-core/Manifest1
-rw-r--r--dev-python/openapi-core/openapi-core-0.18.2.ebuild69
-rw-r--r--dev-python/openapi-schema-validator/files/openapi-schema-validator-0.6.2-test.patch24
-rw-r--r--dev-python/openapi-schema-validator/openapi-schema-validator-0.6.2.ebuild6
-rw-r--r--dev-python/openapi-spec-validator/openapi-spec-validator-0.7.1.ebuild2
-rw-r--r--dev-python/precis-i18n/precis-i18n-1.1.0.ebuild2
-rw-r--r--dev-python/pycodestyle/Manifest2
-rw-r--r--dev-python/pycodestyle/pycodestyle-2.12.0.ebuild (renamed from dev-python/pycodestyle/pycodestyle-2.11.0.ebuild)2
-rw-r--r--dev-python/pyflakes/pyflakes-3.2.0.ebuild29
-rw-r--r--dev-python/pytest-env/pytest-env-1.1.3.ebuild2
-rw-r--r--dev-python/pytest-tempdir/pytest-tempdir-2019.10.12-r1.ebuild15
-rw-r--r--dev-python/python-pam/python-pam-2.0.2-r2.ebuild2
-rw-r--r--dev-python/python-redmine/Manifest1
-rw-r--r--dev-python/python-redmine/python-redmine-2.4.0.ebuild36
-rw-r--r--dev-python/python-redmine/python-redmine-2.5.0.ebuild6
-rw-r--r--dev-python/regress/regress-0.4.5.ebuild2
-rw-r--r--dev-python/shtab/shtab-1.7.1.ebuild2
-rw-r--r--dev-python/whichcraft/Manifest1
-rw-r--r--dev-python/whichcraft/metadata.xml10
-rw-r--r--dev-python/whichcraft/whichcraft-0.6.1-r1.ebuild21
46 files changed, 282 insertions, 444 deletions
diff --git a/dev-python/aiohttp-socks/aiohttp-socks-0.8.4.ebuild b/dev-python/aiohttp-socks/aiohttp-socks-0.8.4.ebuild
index 09bc4193395b..ecb150116245 100644
--- a/dev-python/aiohttp-socks/aiohttp-socks-0.8.4.ebuild
+++ b/dev-python/aiohttp-socks/aiohttp-socks-0.8.4.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/argparse-manpage/argparse-manpage-4.5.ebuild b/dev-python/argparse-manpage/argparse-manpage-4.5.ebuild
index dbda644af507..29f256f9d331 100644
--- a/dev-python/argparse-manpage/argparse-manpage-4.5.ebuild
+++ b/dev-python/argparse-manpage/argparse-manpage-4.5.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
RDEPEND="
$(python_gen_cond_dep '
diff --git a/dev-python/backrefs/Manifest b/dev-python/backrefs/Manifest
index 931cc8fe56b2..a89712e34d50 100644
--- a/dev-python/backrefs/Manifest
+++ b/dev-python/backrefs/Manifest
@@ -1 +1,2 @@
DIST backrefs-5.6.post1.tar.gz 5399113 BLAKE2B d5b359b0b4333baacb53dd4a7267e431cdca3fd844ba1d1120e34961979c39a9f89f8f52db16f1a8aaf1a89f18063c5301c1a46803c9e1f011e0a20bde24b126 SHA512 20ea63bd9d60db7c242faa687e464eecb8c2e1852456126e2961db14e0526f5048581ec7f7de1017c87d718544629f8491391e3be14c55133876bf169a4d71fe
+DIST backrefs-5.7.post1.tar.gz 6582270 BLAKE2B 348c94a3386fce51cdbe03c9f8dda52d0c642409edacd10b708ce7090f676888fd934a681e02bb0d01893c2a81cd69b114c8fc72e28a4137bb30f2843fe04f4f SHA512 85c9043091c3a48746252e92a82c69b7238e53329b06148aeafecc67f2750b5a2fb726d706e194313d0b3d685ba728a39ea38f2e009ce02208e332e68fba6c74
diff --git a/dev-python/backrefs/backrefs-5.7_p1.ebuild b/dev-python/backrefs/backrefs-5.7_p1.ebuild
new file mode 100644
index 000000000000..5d7fb5f040fa
--- /dev/null
+++ b/dev-python/backrefs/backrefs-5.7_p1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{8,9,10,11,12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Wrapper around re or regex that adds additional back references"
+HOMEPAGE="
+ https://github.com/facelessuser/backrefs/
+ https://pypi.org/project/backrefs/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+
+BDEPEND="
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/regex[${PYTHON_USEDEP}]
+ dev-vcs/git
+ )
+"
+
+distutils_enable_tests pytest
diff --git a/dev-python/blessed/blessed-1.20.0.ebuild b/dev-python/blessed/blessed-1.20.0.ebuild
index 2c404d4848e4..c03a002fdbc5 100644
--- a/dev-python/blessed/blessed-1.20.0.ebuild
+++ b/dev-python/blessed/blessed-1.20.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
@@ -29,6 +29,7 @@ BDEPEND="
"
distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
+EPYTEST_XDIST=1
distutils_enable_tests pytest
python_prepare_all() {
@@ -38,8 +39,6 @@ python_prepare_all() {
sed -e '/sphinxcontrib.manpage/d' -e '/sphinx_paramlinks/d' \
-e '/^for script in/,/runpy.run_path/d' \
-i docs/conf.py || die
- # Requires pytest-xdist and has no value for us
- sed -i '/^looponfailroots =/d' tox.ini || die
distutils-r1_python_prepare_all
}
diff --git a/dev-python/blosc/blosc-1.11.1.ebuild b/dev-python/blosc/blosc-1.11.1.ebuild
index 2fb6ba76836b..260a6143c5e6 100644
--- a/dev-python/blosc/blosc-1.11.1.ebuild
+++ b/dev-python/blosc/blosc-1.11.1.ebuild
@@ -22,8 +22,8 @@ SRC_URI="
"
S=${WORKDIR}/${MY_P}
-SLOT="0"
LICENSE="BSD"
+SLOT="0"
KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
@@ -45,11 +45,24 @@ BDEPEND="
DOCS=( ANNOUNCE.rst README.rst RELEASE_NOTES.rst )
+PATCHES=(
+ # https://github.com/Blosc/python-blosc/pull/329
+ "${FILESDIR}/${P}-numpy-2.patch"
+)
+
src_configure() {
export USE_SYSTEM_BLOSC=1
export BLOSC_DIR="${EPREFIX}/usr"
}
+python_compile() {
+ distutils-r1_python_compile
+
+ # scikit-build is broken and reuses the same build
+ # https://github.com/scikit-build/scikit-build/issues/633
+ rm -r _skbuild || die
+}
+
python_test() {
"${EPYTHON}" -m blosc.test -v || die
}
diff --git a/dev-python/blosc/files/blosc-1.11.1-numpy-2.patch b/dev-python/blosc/files/blosc-1.11.1-numpy-2.patch
new file mode 100644
index 000000000000..97010c0a4bf6
--- /dev/null
+++ b/dev-python/blosc/files/blosc-1.11.1-numpy-2.patch
@@ -0,0 +1,51 @@
+From 4823cb746023821166756322becd3fc242cd0b32 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Sun, 16 Jun 2024 08:59:36 +0200
+Subject: [PATCH] Fix test failures with NumPy 2
+
+* Replace deprecated `np.alltrue()` with `np.all()` (available since
+ NumPy 1.7.0).
+
+* Cast NumPy boolean to `bool()`, to ensure doctests pass both with
+ NumPy 2 (using `np.True_`) and NumPy 1 (using plain `True`).
+---
+ blosc/toplevel.py | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/blosc/toplevel.py b/blosc/toplevel.py
+index ad9c12d..4d2d413 100644
+--- a/blosc/toplevel.py
++++ b/blosc/toplevel.py
+@@ -514,7 +514,7 @@ def compress_ptr(address, items, typesize=8, clevel=9, shuffle=blosc.SHUFFLE,
+ items, np_array.dtype.itemsize)
+ >>> d = blosc.decompress(c)
+ >>> np_ans = numpy.fromstring(d, dtype=np_array.dtype)
+- >>> (np_array == np_ans).all()
++ >>> bool((np_array == np_ans).all())
+ True
+
+ >>> import ctypes
+@@ -640,7 +640,7 @@ def decompress_ptr(bytes_like, address):
+ items, np_array.dtype.itemsize)
+ >>> np_ans = numpy.empty(items, dtype=np_array.dtype)
+ >>> nbytes = blosc.decompress_ptr(c, np_ans.__array_interface__['data'][0])
+- >>> (np_array == np_ans).all()
++ >>> bool((np_array == np_ans).all())
+ True
+ >>> nbytes == items * np_array.dtype.itemsize
+ True
+@@ -769,12 +769,12 @@ def unpack_array(packed_array, **kwargs):
+ >>> len(parray) < a.size*a.itemsize
+ True
+ >>> a2 = blosc.unpack_array(parray)
+- >>> numpy.alltrue(a == a2)
++ >>> bool(numpy.all(a == a2))
+ True
+ >>> a = numpy.array(['å', 'ç', 'ø'])
+ >>> parray = blosc.pack_array(a)
+ >>> a2 = blosc.unpack_array(parray)
+- >>> numpy.alltrue(a == a2)
++ >>> bool(numpy.all(a == a2))
+ True
+ """
+
diff --git a/dev-python/cached-property/Manifest b/dev-python/cached-property/Manifest
deleted file mode 100644
index ca1709aea6bf..000000000000
--- a/dev-python/cached-property/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST cached-property-1.5.2.tar.gz 12244 BLAKE2B 26981dcfa51925741962c60ad8659a165af6d7f242f4abd392932aac20e966ad6c1763a25184bbabdeb5bd75f8063a430c41f0241afdee8013ffcb437b3ff7da SHA512 626d98a8891a70d858269859cf4e49416464c836d073c1331c21033a4cd9e0e47dc89b53bf393375439992f4993972517dc3cdcbb2cc6f8286f282d3c973e600
diff --git a/dev-python/cached-property/cached-property-1.5.2-r1.ebuild b/dev-python/cached-property/cached-property-1.5.2-r1.ebuild
deleted file mode 100644
index 02b9f9e89641..000000000000
--- a/dev-python/cached-property/cached-property-1.5.2-r1.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} pypy3 )
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="A cached-property for decorating methods in classes"
-HOMEPAGE="https://github.com/pydanny/cached-property"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 arm64 ppc64 ~riscv x86"
-
-BDEPEND="test? ( dev-python/freezegun[${PYTHON_USEDEP}] )"
-
-distutils_enable_tests pytest
-
-DOCS=( README.rst HISTORY.rst CONTRIBUTING.rst AUTHORS.rst )
-
-PATCHES=(
- # bug 638250
- "${FILESDIR}"/${PN}-1.5.1-test-failure.patch
- # @asyncio.coroutine removed in py3.11
- "${FILESDIR}"/${PN}-1.5.2-python311.patch
-)
diff --git a/dev-python/cached-property/files/cached-property-1.5.1-test-failure.patch b/dev-python/cached-property/files/cached-property-1.5.1-test-failure.patch
deleted file mode 100644
index 03fabd2900ca..000000000000
--- a/dev-python/cached-property/files/cached-property-1.5.1-test-failure.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/tests/test_cached_property.py
-+++ b/tests/test_cached_property.py
-@@ -191,6 +191,7 @@
- self.assert_cached(check, 2)
- self.assert_cached(check, 2)
-
-+ @unittest.skip("Gentoo Bug #638250")
- def test_threads_ttl_expiry(self):
- Check = CheckFactory(self.cached_property_factory(ttl=100000), threadsafe=True)
- check = Check()
diff --git a/dev-python/cached-property/files/cached-property-1.5.2-python311.patch b/dev-python/cached-property/files/cached-property-1.5.2-python311.patch
deleted file mode 100644
index 989033f20036..000000000000
--- a/dev-python/cached-property/files/cached-property-1.5.2-python311.patch
+++ /dev/null
@@ -1,142 +0,0 @@
-From 297031687679762849dedeaf24aa3a19116f095b Mon Sep 17 00:00:00 2001
-From: Petr Viktorin <encukou@gmail.com>
-Date: Thu, 2 Dec 2021 11:26:20 +0100
-Subject: [PATCH 1/2] Don't use asyncio.coroutinefunction if it's not available
-
-Python 3.11 drops the deprecated @asyncio.coroutine and
-asyncio.iscoroutinefunction.
-
-Using a wrapper with @asyncio.coroutine in __get__ wasn't
-necessary (the future from asyncio.ensure_future is awaitable,
-and the wrapper doesn't do anything asynchronous), so the
-logic can be simplified to just call asyncio.ensure_future
-(to schedule the task and store the result when it's
-available).
-
-Tests for @asyncio.coroutine are skipped on 3.11+.
-
-An unnecessary call to asyncio.coroutine in tests is
-removed: it's not necessary to call this for `async def`
-functions.
----
- cached_property.py | 24 +++++++++++-------------
- conftest.py | 6 +++++-
- tests/test_async_cached_property.py | 3 +--
- 3 files changed, 17 insertions(+), 16 deletions(-)
-
-diff --git a/cached_property.py b/cached_property.py
-index 3135871..254739c 100644
---- a/cached_property.py
-+++ b/cached_property.py
-@@ -13,6 +13,12 @@
- import asyncio
- except (ImportError, SyntaxError):
- asyncio = None
-+try:
-+ iscoroutinefunction = asyncio.iscoroutinefunction
-+except AttributeError:
-+ # Python 3.11: @asyncio.coroutine was removed
-+ from inspect import iscoroutinefunction
-+
-
-
- class cached_property(object):
-@@ -30,22 +36,14 @@ def __get__(self, obj, cls):
- if obj is None:
- return self
-
-- if asyncio and asyncio.iscoroutinefunction(self.func):
-- return self._wrap_in_coroutine(obj)
-+ if asyncio and iscoroutinefunction(self.func):
-+ value = asyncio.ensure_future(self.func(obj))
-+ else:
-+ value = self.func(obj)
-
-- value = obj.__dict__[self.func.__name__] = self.func(obj)
-+ obj.__dict__[self.func.__name__] = value
- return value
-
-- def _wrap_in_coroutine(self, obj):
-- @wraps(obj)
-- @asyncio.coroutine
-- def wrapper():
-- future = asyncio.ensure_future(self.func(obj))
-- obj.__dict__[self.func.__name__] = future
-- return future
--
-- return wrapper()
--
-
- class threaded_cached_property(object):
- """
-diff --git a/conftest.py b/conftest.py
-index 0563f64..1c4b618 100644
---- a/conftest.py
-+++ b/conftest.py
-@@ -7,13 +7,17 @@
- # Whether the async and await keywords work
- has_async_await = sys.version_info[0] == 3 and sys.version_info[1] >= 5
-
-+# Whether "from asyncio import coroutine" *fails*
-+version_info = sys.version_info
-+dropped_asyncio_coroutine = version_info[0] == 3 and version_info[1] >= 11
-+
-
- print("conftest.py", has_asyncio, has_async_await)
-
-
- collect_ignore = []
-
--if not has_asyncio:
-+if not has_asyncio or dropped_asyncio_coroutine:
- collect_ignore.append("tests/test_coroutine_cached_property.py")
-
- if not has_async_await:
-diff --git a/tests/test_async_cached_property.py b/tests/test_async_cached_property.py
-index 4ba84f3..d61cc28 100644
---- a/tests/test_async_cached_property.py
-+++ b/tests/test_async_cached_property.py
-@@ -9,8 +9,7 @@
-
- def unittest_run_loop(f):
- def wrapper(*args, **kwargs):
-- coro = asyncio.coroutine(f)
-- future = coro(*args, **kwargs)
-+ future = f(*args, **kwargs)
- loop = asyncio.get_event_loop()
- loop.run_until_complete(future)
-
-
-From 9b210d12fa73c91743378ba4a966417846e7ea9a Mon Sep 17 00:00:00 2001
-From: Petr Viktorin <encukou@gmail.com>
-Date: Thu, 2 Dec 2021 11:44:18 +0100
-Subject: [PATCH 2/2] Restore compatibility with python 2.7
-
-This is still necessary according to the Contributing Guidelines.
----
- cached_property.py | 12 ++++++------
- 1 file changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/cached_property.py b/cached_property.py
-index 254739c..944e2f5 100644
---- a/cached_property.py
-+++ b/cached_property.py
-@@ -13,12 +13,12 @@
- import asyncio
- except (ImportError, SyntaxError):
- asyncio = None
--try:
-- iscoroutinefunction = asyncio.iscoroutinefunction
--except AttributeError:
-- # Python 3.11: @asyncio.coroutine was removed
-- from inspect import iscoroutinefunction
--
-+if asyncio:
-+ try:
-+ iscoroutinefunction = asyncio.iscoroutinefunction
-+ except AttributeError:
-+ # Python 3.11: @asyncio.coroutine was removed
-+ from inspect import iscoroutinefunction
-
-
- class cached_property(object):
diff --git a/dev-python/cached-property/metadata.xml b/dev-python/cached-property/metadata.xml
deleted file mode 100644
index ea8988e8af6a..000000000000
--- a/dev-python/cached-property/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>python@gentoo.org</email>
- <name>Python</name>
- </maintainer>
-
- <origin>gentoo-staging</origin>
- <stabilize-allarches/>
-</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/dictpath/Manifest b/dev-python/dictpath/Manifest
deleted file mode 100644
index 67f266fb4845..000000000000
--- a/dev-python/dictpath/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST dictpath-0.1.3.gh.tar.gz 10823 BLAKE2B 4b9ef37810f9267790dbea8d858fd768c2bed7f7c1987a83bb2bd2ac81cc2c61b334a473c73dfa300adba77522d4d5c985a4278828a85c04fe330e94570a5dcc SHA512 bc5929856401854588b570a8b22cae66d4ea190d344ce1417f7406ab8a9859a10310a454d9f3d380eae1061ed93346a43f4ee6c19b1afedf6b5d8a1ba1431ed5
diff --git a/dev-python/dictpath/dictpath-0.1.3.ebuild b/dev-python/dictpath/dictpath-0.1.3.ebuild
deleted file mode 100644
index 880f3c9bc158..000000000000
--- a/dev-python/dictpath/dictpath-0.1.3.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8,9,10,11,12} )
-
-inherit distutils-r1
-
-# Upstream has renamed to pathable after v0.1.3
-DESCRIPTION="Object-oriented dictionary paths"
-HOMEPAGE="
- https://pypi.org/project/dictpath/
-"
-SRC_URI="
- https://github.com/p1c2u/pathable/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz
-"
-S="${WORKDIR}/pathable-${PV}"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
- dev-python/six[${PYTHON_USEDEP}]
-"
-
-BDEPEND="test? (
- dev-python/mock[${PYTHON_USEDEP}]
-)"
-
-distutils_enable_tests pytest
-
-src_prepare() {
- sed -i -e '/--cov/d' setup.cfg || die
- distutils-r1_src_prepare
-}
diff --git a/dev-python/dictpath/metadata.xml b/dev-python/dictpath/metadata.xml
deleted file mode 100644
index 7ad11570cc7d..000000000000
--- a/dev-python/dictpath/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>python@gentoo.org</email>
- </maintainer>
-
- <origin>gentoo-staging</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/discid/discid-1.2.0-r1.ebuild b/dev-python/discid/discid-1.2.0-r1.ebuild
index 8620cb451f3b..0700a44123a1 100644
--- a/dev-python/discid/discid-1.2.0-r1.ebuild
+++ b/dev-python/discid/discid-1.2.0-r1.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/elasticsearch/Manifest b/dev-python/elasticsearch/Manifest
index 2bd765fdf223..47c50222ffe9 100644
--- a/dev-python/elasticsearch/Manifest
+++ b/dev-python/elasticsearch/Manifest
@@ -1 +1,2 @@
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.14.0.ebuild b/dev-python/elasticsearch/elasticsearch-8.14.0.ebuild
new file mode 100644
index 000000000000..c9d02dccad40
--- /dev/null
+++ b/dev-python/elasticsearch/elasticsearch-8.14.0.ebuild
@@ -0,0 +1,83 @@
+# 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-4[${PYTHON_USEDEP}]
+ >=dev-python/aiohttp-3[${PYTHON_USEDEP}]
+ <dev-python/elastic-transport-9[${PYTHON_USEDEP}]
+ >=dev-python/elastic-transport-8.13[${PYTHON_USEDEP}]
+ >=dev-python/orjson-3[${PYTHON_USEDEP}]
+ <dev-python/requests-3[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ ${RDEPEND}
+ dev-python/mapbox-vector-tile[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/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/funcparserlib/funcparserlib-1.0.1.ebuild b/dev-python/funcparserlib/funcparserlib-1.0.1.ebuild
index 04dbd505f3b9..56c879f589ef 100644
--- a/dev-python/funcparserlib/funcparserlib-1.0.1.ebuild
+++ b/dev-python/funcparserlib/funcparserlib-1.0.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/jaraco-itertools/jaraco-itertools-6.4.1.ebuild b/dev-python/jaraco-itertools/jaraco-itertools-6.4.1.ebuild
index 57f8787dd01d..4eabdb34d09f 100644
--- a/dev-python/jaraco-itertools/jaraco-itertools-6.4.1.ebuild
+++ b/dev-python/jaraco-itertools/jaraco-itertools-6.4.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/langdetect/Manifest b/dev-python/langdetect/Manifest
index a11d7c268c91..37a64204a00a 100644
--- a/dev-python/langdetect/Manifest
+++ b/dev-python/langdetect/Manifest
@@ -1 +1,3 @@
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
deleted file mode 100644
index 637368d2f237..000000000000
--- a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-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 630fe63c6f53..c09b7356f549 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-2024 Gentoo Authors
+# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -19,6 +19,4 @@ 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 736a1167c898..020e07f2a3dd 100644
--- a/dev-python/langdetect/metadata.xml
+++ b/dev-python/langdetect/metadata.xml
@@ -1,6 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
<pkgmetadata>
-
- <origin>gentoo-guru-overlay</origin>
+ <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>
</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/locket/locket-1.0.0.ebuild b/dev-python/locket/locket-1.0.0.ebuild
index bd96b57777bd..67a782904147 100644
--- a/dev-python/locket/locket-1.0.0.ebuild
+++ b/dev-python/locket/locket-1.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/mccabe/mccabe-0.7.0.ebuild b/dev-python/mccabe/mccabe-0.7.0.ebuild
index 5380e0683d4d..f9d37924de14 100644
--- a/dev-python/mccabe/mccabe-0.7.0.ebuild
+++ b/dev-python/mccabe/mccabe-0.7.0.ebuild
@@ -1,24 +1,32 @@
-# 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
+
inherit distutils-r1 pypi
DESCRIPTION="flake8 plugin: McCabe complexity checker"
-HOMEPAGE="https://github.com/PyCQA/mccabe"
+HOMEPAGE="
+ https://github.com/PyCQA/mccabe/
+ https://pypi.org/project/mccabe/
+"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris"
LICENSE="MIT"
SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris"
-RDEPEND="dev-python/flake8[${PYTHON_USEDEP}]"
+RDEPEND="
+ dev-python/flake8[${PYTHON_USEDEP}]
+"
-BDEPEND="test? (
- dev-python/hypothesis[${PYTHON_USEDEP}]
-)"
+BDEPEND="
+ test? (
+ dev-python/hypothesis[${PYTHON_USEDEP}]
+ )
+"
PATCHES=(
"${FILESDIR}/${P}-fix-tests-without-hypothesmith.patch"
diff --git a/dev-python/openapi-core/Manifest b/dev-python/openapi-core/Manifest
index 01bd19d67100..467de4126317 100644
--- a/dev-python/openapi-core/Manifest
+++ b/dev-python/openapi-core/Manifest
@@ -1,3 +1,2 @@
-DIST openapi_core-0.18.2.tar.gz 84444 BLAKE2B bb05ba86eff3c70c780f1919a29b93f2137983318834c51204d7ad1094fc645d2dbcef93d92d03096826688fdfe1811c551eee68995fd46739314c2e4bc77cfc SHA512 552109c095c840a46759a54e247a3ac2d8cc36707ba89815740eef4b7fb421bd489929543892341fd89a578bff4043c8c81302fddaa1efe125238e050f152c27
DIST openapi_core-0.19.1.tar.gz 107802 BLAKE2B c8cd318ab6a88272e45fbff16df7e0cef7d8bab6c7cef8d965443fa0ad7439182bd9639f8a912ad913eb3d7727c4aeb49d576a8721aac1d0ba9423dd344da44d SHA512 861e3793303ec89265be3a0846ad702e321ebc8536497d146ef10a4c9ab54900ad35ee9e90ef42e1f0856da8c0e746471e9820b0ac3e149adaa0b951a66b382f
DIST openapi_core-0.19.2.tar.gz 108121 BLAKE2B 0873ba33c0270babb3c3e626e942fd22fc066f8ef408c6f1cadab8140fdb6284d21a1cb5ed767c7f0f370112a1bb263ac50b340cccfe1cba6da1a0f15a73bbde SHA512 cab2343c61bbb8de048b5e3a53c2d753468f6707f3b4b40ddfee7c3ea6eb0f3beff0aebcad632200a5a4b08e93c620aceda659297756d4f587d11039ede0eefa
diff --git a/dev-python/openapi-core/openapi-core-0.18.2.ebuild b/dev-python/openapi-core/openapi-core-0.18.2.ebuild
deleted file mode 100644
index eb571f8620f6..000000000000
--- a/dev-python/openapi-core/openapi-core-0.18.2.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Client-side and server-side support for the OpenAPI Specification v3"
-HOMEPAGE="
- https://github.com/python-openapi/openapi-core/
- https://pypi.org/project/openapi-core/
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
-
-RDEPEND="
- <dev-python/asgiref-4[${PYTHON_USEDEP}]
- >=dev-python/asgiref-3.6.0[${PYTHON_USEDEP}]
- dev-python/isodate[${PYTHON_USEDEP}]
- <dev-python/jsonschema-5[${PYTHON_USEDEP}]
- >=dev-python/jsonschema-4.17.3[${PYTHON_USEDEP}]
- <dev-python/jsonschema-spec-0.3[${PYTHON_USEDEP}]
- >=dev-python/jsonschema-spec-0.2.3[${PYTHON_USEDEP}]
- dev-python/more-itertools[${PYTHON_USEDEP}]
- dev-python/parse[${PYTHON_USEDEP}]
- <dev-python/openapi-schema-validator-0.7[${PYTHON_USEDEP}]
- >=dev-python/openapi-schema-validator-0.6.0[${PYTHON_USEDEP}]
- <dev-python/openapi-spec-validator-0.8[${PYTHON_USEDEP}]
- >=dev-python/openapi-spec-validator-0.7.1[${PYTHON_USEDEP}]
- dev-python/werkzeug[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
- test? (
- >=dev-python/aiohttp-3.8.4[${PYTHON_USEDEP}]
- dev-python/flask[${PYTHON_USEDEP}]
- >=dev-python/httpx-0.24.0[${PYTHON_USEDEP}]
- >=dev-python/pytest-aiohttp-1.0.4[${PYTHON_USEDEP}]
- dev-python/responses[${PYTHON_USEDEP}]
- >=dev-python/starlette-0.26.1[${PYTHON_USEDEP}]
- dev-python/strict-rfc3339[${PYTHON_USEDEP}]
- dev-python/webob[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
-
-EPYTEST_IGNORE=(
- # falcon is not packaged
- tests/integration/contrib/falcon
-
- # TODO: these tests fail to collect
- tests/integration/validation/test_security_override.py
- tests/integration/validation/test_read_only_write_only.py
-
- # unhappy about modern django
- tests/integration/contrib/django/test_django_project.py
- tests/unit/contrib/django/test_django.py
-)
-
-src_prepare() {
- sed -i -e '/--cov/d' pyproject.toml || die
- distutils-r1_src_prepare
-}
diff --git a/dev-python/openapi-schema-validator/files/openapi-schema-validator-0.6.2-test.patch b/dev-python/openapi-schema-validator/files/openapi-schema-validator-0.6.2-test.patch
new file mode 100644
index 000000000000..2937a867a1d2
--- /dev/null
+++ b/dev-python/openapi-schema-validator/files/openapi-schema-validator-0.6.2-test.patch
@@ -0,0 +1,24 @@
+From dfb83c2961bcb6541c8c5e483f10389c77a4f5a0 Mon Sep 17 00:00:00 2001
+From: p1c2u <maciag.artur@gmail.com>
+Date: Sat, 16 Mar 2024 17:05:13 +0000
+Subject: [PATCH 2/2] Jsonschema 4.20 prefixItems test fix
+
+Upstream-PR: https://github.com/python-openapi/openapi-schema-validator/pull/165
+
+diff --git a/tests/integration/test_validators.py b/tests/integration/test_validators.py
+index 07bc4df..07dfaa9 100644
+--- a/tests/integration/test_validators.py
++++ b/tests/integration/test_validators.py
+@@ -863,5 +863,10 @@ def test_array_prefixitems_invalid(self, validator_class, value):
+ with pytest.raises(ValidationError) as excinfo:
+ validator.validate(value)
+
+- error = "Expected at most 4 items, but found 5"
+- assert error in str(excinfo.value)
++ errors = [
++ # jsonschema < 4.20.0
++ "Expected at most 4 items, but found 5",
++ # jsonschema >= 4.20.0
++ "Expected at most 4 items but found 1 extra",
++ ]
++ assert any(error in str(excinfo.value) for error in errors)
diff --git a/dev-python/openapi-schema-validator/openapi-schema-validator-0.6.2.ebuild b/dev-python/openapi-schema-validator/openapi-schema-validator-0.6.2.ebuild
index d979cfc8c121..b5b89323be99 100644
--- a/dev-python/openapi-schema-validator/openapi-schema-validator-0.6.2.ebuild
+++ b/dev-python/openapi-schema-validator/openapi-schema-validator-0.6.2.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
@@ -28,6 +28,10 @@ RDEPEND="
distutils_enable_tests pytest
src_prepare() {
+ local PATCHES=(
+ "${FILESDIR}/${P}-test.patch"
+ )
+
sed -e '/--cov/d' -i pyproject.toml || die
distutils-r1_src_prepare
}
diff --git a/dev-python/openapi-spec-validator/openapi-spec-validator-0.7.1.ebuild b/dev-python/openapi-spec-validator/openapi-spec-validator-0.7.1.ebuild
index d3d0d46cfddf..1a245e454467 100644
--- a/dev-python/openapi-spec-validator/openapi-spec-validator-0.7.1.ebuild
+++ b/dev-python/openapi-spec-validator/openapi-spec-validator-0.7.1.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/precis-i18n/precis-i18n-1.1.0.ebuild b/dev-python/precis-i18n/precis-i18n-1.1.0.ebuild
index 395ccfdc1ee7..9f27475ddb02 100644
--- a/dev-python/precis-i18n/precis-i18n-1.1.0.ebuild
+++ b/dev-python/precis-i18n/precis-i18n-1.1.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/pycodestyle/Manifest b/dev-python/pycodestyle/Manifest
index ad9835f74622..99001ac2f5ac 100644
--- a/dev-python/pycodestyle/Manifest
+++ b/dev-python/pycodestyle/Manifest
@@ -1,2 +1,2 @@
-DIST pycodestyle-2.11.0.tar.gz 79772 BLAKE2B 5995cae91a9e1109b697fae840d1dccd4778096dded7357bdbca1a56b06a031fc524f638e91192564f127b2bc52e94c9e80b2437daac5a129db48f99ca701e48 SHA512 fd688544a7fb01a7e3f4f8cb411cf7bc5b6dfc357de616a2ef61944748ad670c239148766b8ea48a3c316396251ed8a8d8937446f400c28e631621a0d16d3cf5
DIST pycodestyle-2.11.1.tar.gz 79865 BLAKE2B b4d9ab3d50aba87e7194abd6b3b317183932cd9e5331c95b57f498704643bce2f459ca9fa2016cc2544f31fb9cbe3390c083fd651ede10f131bc1d6f5e462f23 SHA512 8e1f302d7e26d56edd924202435caef32369ea13eb4a0fdfb48c06bb5d77fd7a5aef92d470eef3e6fdd9c3b298751a52a83317e9ddf8b2aa7e3fedc75fb5151a
+DIST pycodestyle-2.12.0.tar.gz 80226 BLAKE2B be53b0909182259543bd388945e865cdb383005722afee58977559adb05ce108f764dfc0951a22db79a3abe84d6d5e90a24ee1524c1ad65fe887876c5002400a SHA512 903dd24113c1757826e31564ebac0ac97ad457b84d292f2f1e798df8e68a3847ff6fed0739430d29becc4a52ba4032d873b0212c13d007695df601637b69bdba
diff --git a/dev-python/pycodestyle/pycodestyle-2.11.0.ebuild b/dev-python/pycodestyle/pycodestyle-2.12.0.ebuild
index eed4aab1805c..99da23fdd3cf 100644
--- a/dev-python/pycodestyle/pycodestyle-2.11.0.ebuild
+++ b/dev-python/pycodestyle/pycodestyle-2.12.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2023 Liguros Authors
+# Copyright 2020-2024 Liguros Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
diff --git a/dev-python/pyflakes/pyflakes-3.2.0.ebuild b/dev-python/pyflakes/pyflakes-3.2.0.ebuild
index fb5b1b89a5ad..17b0555bf9eb 100644
--- a/dev-python/pyflakes/pyflakes-3.2.0.ebuild
+++ b/dev-python/pyflakes/pyflakes-3.2.0.ebuild
@@ -22,15 +22,26 @@ distutils_enable_tests pytest
python_test() {
local EPYTEST_DESELECT=()
- if [[ ${EPYTHON} == pypy3 ]]; then
- # regressions with pypy3.10
- # https://github.com/PyCQA/pyflakes/issues/779
- EPYTEST_DESELECT+=(
- pyflakes/test/test_api.py::CheckTests::test_eofSyntaxError
- pyflakes/test/test_api.py::CheckTests::test_misencodedFileUTF8
- pyflakes/test/test_api.py::CheckTests::test_multilineSyntaxError
- )
- fi
+ case ${EPYTHON} in
+ pypy3)
+ # regressions with pypy3.10
+ # https://github.com/PyCQA/pyflakes/issues/779
+ EPYTEST_DESELECT+=(
+ pyflakes/test/test_api.py::CheckTests::test_eofSyntaxError
+ pyflakes/test/test_api.py::CheckTests::test_misencodedFileUTF8
+ pyflakes/test/test_api.py::CheckTests::test_multilineSyntaxError
+ )
+ ;;
+ python3.13)
+ EPYTEST_DESELECT+=(
+ # failing due to improved error message
+ # https://github.com/PyCQA/pyflakes/issues/812
+ pyflakes/test/test_api.py::IntegrationTests::test_errors_syntax
+ pyflakes/test/test_api.py::TestMain::test_errors_syntax
+ )
+ ;;
+ esac
+ local -X PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest
}
diff --git a/dev-python/pytest-env/pytest-env-1.1.3.ebuild b/dev-python/pytest-env/pytest-env-1.1.3.ebuild
index 9cbae993334d..4422b8e3818b 100644
--- a/dev-python/pytest-env/pytest-env-1.1.3.ebuild
+++ b/dev-python/pytest-env/pytest-env-1.1.3.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/pytest-tempdir/pytest-tempdir-2019.10.12-r1.ebuild b/dev-python/pytest-tempdir/pytest-tempdir-2019.10.12-r1.ebuild
index eb4deaf255f7..8ce0a0186d21 100644
--- a/dev-python/pytest-tempdir/pytest-tempdir-2019.10.12-r1.ebuild
+++ b/dev-python/pytest-tempdir/pytest-tempdir-2019.10.12-r1.ebuild
@@ -1,15 +1,22 @@
-# Copyright 2020-2023 Gentoo Authors
+# Copyright 2020-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=setuptools
+PYTHON_COMPAT=( python3_{8,9,10,11,12} )
+
inherit distutils-r1
DESCRIPTION="Pytest plugin to support for a predictable and repeatable temporary directory"
-HOMEPAGE="https://github.com/saltstack/pytest-tempdir"
-SRC_URI="https://github.com/saltstack/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+HOMEPAGE="
+ https://github.com/vmware-archive/pytest-tempdir/
+ https://pypi.org/project/pytest-tempdir/
+"
+SRC_URI="
+ https://github.com/vmware-archive/pytest-tempdir/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
LICENSE="Apache-2.0"
SLOT="0"
diff --git a/dev-python/python-pam/python-pam-2.0.2-r2.ebuild b/dev-python/python-pam/python-pam-2.0.2-r2.ebuild
index 00cd0020d036..13c652437b1b 100644
--- a/dev-python/python-pam/python-pam-2.0.2-r2.ebuild
+++ b/dev-python/python-pam/python-pam-2.0.2-r2.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/python-redmine/Manifest b/dev-python/python-redmine/Manifest
index 1b7da8ce29ba..9ec00caf0c14 100644
--- a/dev-python/python-redmine/Manifest
+++ b/dev-python/python-redmine/Manifest
@@ -1,2 +1 @@
-DIST python-redmine-2.4.0.tar.gz 67730 BLAKE2B 22c74ad194af9b56affab39de38b13a8f5a46e79b8ea8d9f9f47eb12c4ad4c91156db9ef0e8dfd013602b8cc06e0636a724ae34969f385dc9f8ffc63514ccc63 SHA512 afb03ca8a3bdacace3c12b7295ba08953ab2040971b57988deb9955df24e5ac1782a9b3fbf0f5070eb22c640e88f489cda12cdec38449f9e3bcf7189dc422642
DIST python-redmine-2.5.0.tar.gz 73643 BLAKE2B aae400a68385fa98d454820081abacfabe69be473de8ee21feb47dfd8b3372cb0b8dfca168fc9daebd37da04a4fcca84235eb555262489dc1b717fd589dc849a SHA512 8c610efe5e4362ab27a33a04e78347e2962b9e766cea81c725b5b34bdff1d2c6a2e68e5d928b5aed97af569f5c6656dc2b39347a76cb371a3069bba3fd02c8e2
diff --git a/dev-python/python-redmine/python-redmine-2.4.0.ebuild b/dev-python/python-redmine/python-redmine-2.4.0.ebuild
deleted file mode 100644
index 5e079f0be0e9..000000000000
--- a/dev-python/python-redmine/python-redmine-2.4.0.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{8,9,10,11,12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Python interface to the Redmine REST API"
-HOMEPAGE="
- https://github.com/maxtepkeev/python-redmine/
- https://pypi.org/project/python-redmine/
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-
-RDEPEND="
- >=dev-python/requests-2.28.2[${PYTHON_USEDEP}]
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
- # https://github.com/maxtepkeev/python-redmine/pull/332
- sed -i -e 's:assertEquals:assertEqual:' tests/*.py || die
- distutils-r1_src_prepare
-}
-
-python_test() {
- epytest -o addopts=
-}
diff --git a/dev-python/python-redmine/python-redmine-2.5.0.ebuild b/dev-python/python-redmine/python-redmine-2.5.0.ebuild
index da46465bb175..459949e080d0 100644
--- a/dev-python/python-redmine/python-redmine-2.5.0.ebuild
+++ b/dev-python/python-redmine/python-redmine-2.5.0.ebuild
@@ -25,12 +25,6 @@ RDEPEND="
distutils_enable_tests pytest
-src_prepare() {
- # https://github.com/maxtepkeev/python-redmine/pull/332
- sed -i -e 's:assertEquals:assertEqual:' tests/*.py || die
- distutils-r1_src_prepare
-}
-
python_test() {
epytest -o addopts=
}
diff --git a/dev-python/regress/regress-0.4.5.ebuild b/dev-python/regress/regress-0.4.5.ebuild
index a30385ca927c..66faab1459d8 100644
--- a/dev-python/regress/regress-0.4.5.ebuild
+++ b/dev-python/regress/regress-0.4.5.ebuild
@@ -68,3 +68,5 @@ SLOT="0"
KEYWORDS="~amd64 ~arm64 ~riscv"
distutils_enable_tests pytest
+
+QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/regress/regress.*.so"
diff --git a/dev-python/shtab/shtab-1.7.1.ebuild b/dev-python/shtab/shtab-1.7.1.ebuild
index 0deb6ac7e08d..3f25ee830bd5 100644
--- a/dev-python/shtab/shtab-1.7.1.ebuild
+++ b/dev-python/shtab/shtab-1.7.1.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 x86"
BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]"
diff --git a/dev-python/whichcraft/Manifest b/dev-python/whichcraft/Manifest
deleted file mode 100644
index 03433b6e20c0..000000000000
--- a/dev-python/whichcraft/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST whichcraft-0.6.1.tar.gz 8676 BLAKE2B c08dc453b1143da9c46f63d894526784724bff4861c1862a460f557c74e64bbde72c0127f9df0f6547a5c2183fe770e3ceaf417fed88ce70691ec28605f42e75 SHA512 3a8bf524437f3ee0b5b6ee16e4516ba1c75bee738edfef03316b1ef32a58d036734d75e626f113ad434acc29ccc0cce145668867148af7aa10de1fd5f739d5f6
diff --git a/dev-python/whichcraft/metadata.xml b/dev-python/whichcraft/metadata.xml
deleted file mode 100644
index 853174b8f2ab..000000000000
--- a/dev-python/whichcraft/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>python@gentoo.org</email>
- <name>Python</name>
- </maintainer>
-
- <origin>gentoo-staging</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/whichcraft/whichcraft-0.6.1-r1.ebuild b/dev-python/whichcraft/whichcraft-0.6.1-r1.ebuild
deleted file mode 100644
index 1b0750ac3e8f..000000000000
--- a/dev-python/whichcraft/whichcraft-0.6.1-r1.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8,9,10,11,12} )
-
-inherit distutils-r1
-
-DESCRIPTION="Cross-platform cross-python shutil.which functionality"
-HOMEPAGE="https://github.com/cookiecutter/whichcraft"
-SRC_URI="https://github.com/cookiecutter/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64"
-
-DOCS=( README.rst HISTORY.rst CONTRIBUTING.rst )
-
-distutils_enable_tests pytest