summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-05-28 01:23:22 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-05-28 01:23:22 +0000
commit467e3ec70aaa127a270da0a62cceec1280e5548f (patch)
treef22a89a2f87c5e2ee25f66ebbb4031e76c2c5a6b /dev-python
parente3db32a7c40197ca0a0efbfcd05971e29b222fdd (diff)
downloadbaldeagleos-repo-467e3ec70aaa127a270da0a62cceec1280e5548f.tar.gz
baldeagleos-repo-467e3ec70aaa127a270da0a62cceec1280e5548f.tar.xz
baldeagleos-repo-467e3ec70aaa127a270da0a62cceec1280e5548f.zip
Adding metadata
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/cffi/cffi-1.15.1-r3.ebuild81
-rw-r--r--dev-python/cffi/files/cffi-1.15.1-py312.patch247
-rw-r--r--dev-python/clang-python/Manifest1
-rw-r--r--dev-python/clang-python/clang-python-17.0.0_pre20230526.ebuild54
-rw-r--r--dev-python/flask-jwt-extended/Manifest2
-rw-r--r--dev-python/flask-jwt-extended/flask-jwt-extended-4.5.2.ebuild (renamed from dev-python/flask-jwt-extended/flask-jwt-extended-4.4.3.ebuild)4
-rw-r--r--dev-python/greenstalk/Manifest3
-rw-r--r--dev-python/greenstalk/greenstalk-2.0.0-r1.ebuild (renamed from dev-python/greenstalk/greenstalk-1.0.1.ebuild)20
-rw-r--r--dev-python/greenstalk/greenstalk-2.0.0.ebuild26
-rw-r--r--dev-python/greenstalk/metadata.xml7
-rw-r--r--dev-python/h2/files/h2-4.1.0-python3.11-tests.patch104
-rw-r--r--dev-python/h2/h2-4.1.0-r1.ebuild4
-rw-r--r--dev-python/jaraco-envs/jaraco-envs-2.4.0.ebuild5
-rw-r--r--dev-python/lit/Manifest1
-rw-r--r--dev-python/lit/lit-17.0.0_pre20230526.ebuild42
-rw-r--r--dev-python/mautrix/Manifest2
-rw-r--r--dev-python/mautrix/mautrix-0.19.16.ebuild (renamed from dev-python/mautrix/mautrix-0.19.14.ebuild)0
-rw-r--r--dev-python/meson-python/Manifest2
-rw-r--r--dev-python/meson-python/files/meson-python-0.11.0-defaults.patch14
-rw-r--r--dev-python/meson-python/meson-python-0.12.1.ebuild68
-rw-r--r--dev-python/meson-python/meson-python-0.13.0.ebuild59
-rw-r--r--dev-python/meson-python/meson-python-0.13.1.ebuild2
-rw-r--r--dev-python/nox/Manifest1
-rw-r--r--dev-python/nox/nox-2022.11.21-r1.ebuild48
-rw-r--r--dev-python/pip-run/pip-run-10.1.1.ebuild2
-rw-r--r--dev-python/poetry-core/poetry-core-1.6.0.ebuild20
-rw-r--r--dev-python/pyrsistent/pyrsistent-0.19.3.ebuild12
-rw-r--r--dev-python/pytest-shutil/files/pytest-shutil-1.7.0-py312.patch39
-rw-r--r--dev-python/pytest-shutil/pytest-shutil-1.7.0-r4.ebuild54
-rw-r--r--dev-python/pytest-virtualenv/pytest-virtualenv-1.7.0-r2.ebuild14
-rw-r--r--dev-python/setuptools/setuptools-67.8.0.ebuild2
-rw-r--r--dev-python/shiboken2/shiboken2-5.15.9.ebuild2
-rw-r--r--dev-python/survey/Manifest2
-rw-r--r--dev-python/survey/survey-4.2.1_alpha.ebuild (renamed from dev-python/survey/survey-4.2.0_alpha.ebuild)0
-rw-r--r--dev-python/sympy/Manifest1
-rw-r--r--dev-python/sympy/sympy-1.12.ebuild66
-rw-r--r--dev-python/three-merge/three-merge-0.1.1-r1.ebuild27
-rw-r--r--dev-python/ukkonen/ukkonen-1.0.1-r1.ebuild13
-rw-r--r--dev-python/versioneer/versioneer-0.28.ebuild2
-rw-r--r--dev-python/virtualenv/virtualenv-20.22.0.ebuild5
-rw-r--r--dev-python/virtualenv/virtualenv-20.23.0.ebuild7
-rw-r--r--dev-python/werkzeug/werkzeug-2.3.4.ebuild2
-rw-r--r--dev-python/xarray/xarray-2023.4.2.ebuild2
-rw-r--r--dev-python/yarl/yarl-1.9.2.ebuild2
44 files changed, 807 insertions, 264 deletions
diff --git a/dev-python/cffi/cffi-1.15.1-r3.ebuild b/dev-python/cffi/cffi-1.15.1-r3.ebuild
new file mode 100644
index 000000000000..3c5d5e16e018
--- /dev/null
+++ b/dev-python/cffi/cffi-1.15.1-r3.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
+EAPI=8
+
+# py3.12 support is experimental, expect problems in revdeps
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+# DO NOT ADD pypy to PYTHON_COMPAT
+# pypy bundles a modified version of cffi. Use python_gen_cond_dep instead.
+PYTHON_COMPAT=( python3_{7,8,9,10,11} )
+
+inherit distutils-r1 toolchain-funcs pypi
+
+DESCRIPTION="Foreign Function Interface for Python calling C code"
+HOMEPAGE="
+ https://cffi.readthedocs.io/
+ https://pypi.org/project/cffi/
+"
+SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-drop-deprecated-py.patch.xz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+
+# Needs recent libffi for HPPA fixes
+DEPEND="
+ >=dev-libs/libffi-3.4.4-r1:=
+"
+# setuptools as a modern distutils provider
+RDEPEND="
+ ${DEPEND}
+ dev-python/pycparser[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+
+distutils_enable_sphinx doc/source
+distutils_enable_tests pytest
+
+PATCHES=(
+ "${FILESDIR}"/cffi-1.14.0-darwin-no-brew.patch
+ "${FILESDIR}"/${P}-hppa.patch
+ "${FILESDIR}"/${P}-python3.11-tests.patch
+ "${WORKDIR}"/${P}-drop-deprecated-py.patch
+ "${FILESDIR}"/${P}-py312.patch
+)
+
+src_prepare() {
+ if [[ ${CHOST} == *darwin* ]] ; then
+ # Don't obsessively try to find libffi
+ sed -i -e "s/.*\-iwithsysroot\/usr\/include\/ffi.*/\tpass/" setup.py || die
+ fi
+ distutils-r1_src_prepare
+}
+
+src_configure() {
+ tc-export PKG_CONFIG
+}
+
+python_test() {
+ local EPYTEST_IGNORE=(
+ # these tests call pip
+ testing/cffi0/test_zintegration.py
+ )
+ local EPYTEST_DESELECT=()
+ if [[ ${EPYTHON} == python3.12 ]]; then
+ EPYTEST_DESELECT+=(
+ # TODO: these tests hang
+ testing/embedding
+ )
+ fi
+
+ "${EPYTHON}" -c "import _cffi_backend as backend" || die
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest c testing
+}
diff --git a/dev-python/cffi/files/cffi-1.15.1-py312.patch b/dev-python/cffi/files/cffi-1.15.1-py312.patch
new file mode 100644
index 000000000000..a5477d686dd7
--- /dev/null
+++ b/dev-python/cffi/files/cffi-1.15.1-py312.patch
@@ -0,0 +1,247 @@
+diff -r 79b97f01064f cffi/vengine_cpy.py
+--- a/cffi/vengine_cpy.py Thu Feb 23 05:42:01 2023 +0100
++++ b/cffi/vengine_cpy.py Sat May 27 11:03:01 2023 +0200
+@@ -1,10 +1,16 @@
+ #
+ # DEPRECATED: implementation for ffi.verify()
+ #
+-import sys, imp
++import sys
+ from . import model
+ from .error import VerificationError
+
++if sys.version_info >= (3, 12):
++ import importlib.machinery
++ import importlib.util
++else:
++ import imp
++
+
+ class VCPythonEngine(object):
+ _class_key = 'x'
+@@ -20,16 +26,22 @@
+ pass
+
+ def find_module(self, module_name, path, so_suffixes):
+- try:
+- f, filename, descr = imp.find_module(module_name, path)
+- except ImportError:
+- return None
+- if f is not None:
+- f.close()
++ if sys.version_info >= (3, 12):
++ spec = importlib.machinery.PathFinder.find_spec(module_name, path)
++ if spec is None:
++ return None
++ filename = spec.origin
++ else:
++ try:
++ f, filename, descr = imp.find_module(module_name, path)
++ except ImportError:
++ return None
++ if f is not None:
++ f.close()
+ # Note that after a setuptools installation, there are both .py
+ # and .so files with the same basename. The code here relies on
+ # imp.find_module() locating the .so in priority.
+- if descr[0] not in so_suffixes:
++ if not filename.endswith(tuple(so_suffixes)):
+ return None
+ return filename
+
+@@ -145,15 +157,23 @@
+ def load_library(self, flags=None):
+ # XXX review all usages of 'self' here!
+ # import it as a new extension module
+- imp.acquire_lock()
++ if sys.version_info < (3, 12):
++ imp.acquire_lock()
+ try:
+ if hasattr(sys, "getdlopenflags"):
+ previous_flags = sys.getdlopenflags()
+ try:
+ if hasattr(sys, "setdlopenflags") and flags is not None:
+ sys.setdlopenflags(flags)
+- module = imp.load_dynamic(self.verifier.get_module_name(),
+- self.verifier.modulefilename)
++ if sys.version_info >= (3, 12):
++ spec = importlib.util.spec_from_file_location(
++ self.verifier.get_module_name(),
++ self.verifier.modulefilename)
++ module = importlib.util.module_from_spec(spec)
++ spec.loader.exec_module(module)
++ else:
++ module = imp.load_dynamic(self.verifier.get_module_name(),
++ self.verifier.modulefilename)
+ except ImportError as e:
+ error = "importing %r: %s" % (self.verifier.modulefilename, e)
+ raise VerificationError(error)
+@@ -161,7 +181,8 @@
+ if hasattr(sys, "setdlopenflags"):
+ sys.setdlopenflags(previous_flags)
+ finally:
+- imp.release_lock()
++ if sys.version_info < (3, 12):
++ imp.release_lock()
+ #
+ # call loading_cpy_struct() to get the struct layout inferred by
+ # the C compiler
+diff -r 79b97f01064f testing/cffi0/test_verify.py
+--- a/testing/cffi0/test_verify.py Thu Feb 23 05:42:01 2023 +0100
++++ b/testing/cffi0/test_verify.py Sat May 27 11:03:01 2023 +0200
+@@ -1575,10 +1575,16 @@
+ def test_callback_in_thread():
+ if sys.platform == 'win32':
+ pytest.skip("pthread only")
+- import os, subprocess, imp
++ import os, subprocess
+ arg = os.path.join(os.path.dirname(__file__), 'callback_in_thread.py')
+- g = subprocess.Popen([sys.executable, arg,
+- os.path.dirname(imp.find_module('cffi')[1])])
++ if sys.version_info >= (3, 12):
++ import importlib.util
++ spec = importlib.util.find_spec('cffi')
++ cffi_path = os.path.dirname(spec.origin)
++ else:
++ import imp
++ cffi_path = imp.find_module('cffi')[1]
++ g = subprocess.Popen([sys.executable, arg, os.path.dirname(cffi_path)])
+ result = g.wait()
+ assert result == 0
+
+diff -r 79b97f01064f testing/cffi0/test_zdistutils.py
+--- a/testing/cffi0/test_zdistutils.py Thu Feb 23 05:42:01 2023 +0100
++++ b/testing/cffi0/test_zdistutils.py Sat May 27 11:03:01 2023 +0200
+@@ -1,8 +1,9 @@
+-import sys, os, imp, math, shutil
++import sys, os, math, shutil
+ import pytest
+ from cffi import FFI, FFIError
+ from cffi.verifier import Verifier, _locate_engine_class, _get_so_suffixes
+ from cffi.ffiplatform import maybe_relative_path
++from testing.support import load_dynamic
+ from testing.udir import udir
+
+
+@@ -80,7 +81,7 @@
+ v.compile_module()
+ assert v.get_module_name().startswith('_cffi_')
+ if v.generates_python_module():
+- mod = imp.load_dynamic(v.get_module_name(), v.modulefilename)
++ mod = load_dynamic(v.get_module_name(), v.modulefilename)
+ assert hasattr(mod, '_cffi_setup')
+
+ def test_compile_module_explicit_filename(self):
+@@ -95,7 +96,7 @@
+ assert filename == v.modulefilename
+ assert v.get_module_name() == basename
+ if v.generates_python_module():
+- mod = imp.load_dynamic(v.get_module_name(), v.modulefilename)
++ mod = load_dynamic(v.get_module_name(), v.modulefilename)
+ assert hasattr(mod, '_cffi_setup')
+
+ def test_name_from_checksum_of_cdef(self):
+diff -r 79b97f01064f testing/cffi1/test_new_ffi_1.py
+--- a/testing/cffi1/test_new_ffi_1.py Thu Feb 23 05:42:01 2023 +0100
++++ b/testing/cffi1/test_new_ffi_1.py Sat May 27 11:03:01 2023 +0200
+@@ -1,5 +1,5 @@
+ import pytest
+-import platform, imp
++import platform
+ import sys, os, ctypes
+ import cffi
+ from testing.udir import udir
+@@ -91,7 +91,7 @@
+
+ outputfilename = recompile(ffi1, "test_new_ffi_1", CCODE,
+ tmpdir=str(udir))
+- module = imp.load_dynamic("test_new_ffi_1", outputfilename)
++ module = load_dynamic("test_new_ffi_1", outputfilename)
+ ffi = module.ffi
+ construction_params = (ffi1, CCODE)
+
+@@ -1619,8 +1619,8 @@
+ ffi2 = cffi.FFI(); ffi2.cdef(CDEF2)
+ outputfilename = recompile(ffi2, "test_multiple_independent_structs",
+ CDEF2, tmpdir=str(udir))
+- module = imp.load_dynamic("test_multiple_independent_structs",
+- outputfilename)
++ module = load_dynamic("test_multiple_independent_structs",
++ outputfilename)
+ ffi1 = module.ffi
+ foo1 = ffi1.new("struct ab *", [10])
+ foo2 = ffi .new("struct ab *", [20, 30])
+@@ -1635,8 +1635,8 @@
+ outputfilename = recompile(ffi2,
+ "test_include_struct_union_enum_typedef",
+ CCODE, tmpdir=str(udir))
+- module = imp.load_dynamic("test_include_struct_union_enum_typedef",
+- outputfilename)
++ module = load_dynamic("test_include_struct_union_enum_typedef",
++ outputfilename)
+ ffi2 = module.ffi
+ #
+ p = ffi2.new("struct nonpacked *", [b'A', -43141])
+@@ -1783,7 +1783,7 @@
+ "int myfunc(int x) { return x + 1; }\n"
+ "int myvar = -5;\n"
+ "#define MYFOO 42", tmpdir=str(udir))
+- imp.load_dynamic("_test_import_from_lib", outputfilename)
++ load_dynamic("_test_import_from_lib", outputfilename)
+ from _test_import_from_lib.lib import myfunc, myvar, MYFOO
+ assert MYFOO == 42
+ assert myfunc(43) == 44
+diff -r 79b97f01064f testing/support.py
+--- a/testing/support.py Thu Feb 23 05:42:01 2023 +0100
++++ b/testing/support.py Sat May 27 11:03:01 2023 +0200
+@@ -1,5 +1,11 @@
+ import sys, os
+
++if sys.version_info >= (3, 12):
++ import importlib.util
++else:
++ import imp
++
++
+ if sys.version_info < (3,):
+ __all__ = ['u', 'arraytostring']
+
+@@ -16,7 +22,7 @@
+ return a.tostring()
+
+ else:
+- __all__ = ['u', 'unicode', 'long', 'arraytostring']
++ __all__ = ['u', 'unicode', 'long', 'arraytostring', 'load_dynamic']
+ u = ""
+ unicode = str
+ long = int
+@@ -71,15 +77,27 @@
+ def getvalue(self):
+ return self._value
+
++
++def load_dynamic(module_name, outputfilename):
++ if sys.version_info >= (3, 12):
++ import importlib.util
++ spec = importlib.util.spec_from_file_location(module_name,
++ outputfilename)
++ module = importlib.util.module_from_spec(spec)
++ spec.loader.exec_module(module)
++ return module
++ else:
++ return imp.load_dynamic(module_name, outputfilename)
++
++
+ def _verify(ffi, module_name, preamble, *args, **kwds):
+- import imp
+ from cffi.recompiler import recompile
+ from .udir import udir
+ assert module_name not in sys.modules, "module name conflict: %r" % (
+ module_name,)
+ kwds.setdefault('tmpdir', str(udir))
+ outputfilename = recompile(ffi, module_name, preamble, *args, **kwds)
+- module = imp.load_dynamic(module_name, outputfilename)
++ module = load_dynamic(module_name, outputfilename)
+ #
+ # hack hack hack: copy all *bound methods* from module.ffi back to the
+ # ffi instance. Then calls like ffi.new() will invoke module.ffi.new().
diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 03db32342aab..d616caaf795e 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -6,4 +6,5 @@ DIST llvm-project-16.0.3.src.tar.xz 117998136 BLAKE2B 6117586a117c30515e9a5623ab
DIST llvm-project-16.0.3.src.tar.xz.sig 566 BLAKE2B bbd96268b006fecffd7402452ae7559bd2ea42c7b771999f58893a48d66b1b056b476a7022c70e2ab8f11dba8318ccc141f97a05ece3b9ed3b4405a6890b0c3a SHA512 cdd5e1c2a252ba58f9b7f8687d6cf9a330c188988707bd72f4632a8158a2db9ac180b3936da99b87e7e99886c39cb8517ebbb04b7d1be198e76964e31ec8dc58
DIST llvm-project-16.0.4.src.tar.xz 117996332 BLAKE2B 2ea3ef25290ce6180d271e42fbf5e02da973a21e3929c1ac8d1e3e7b268d39db97611e15654ca7e6527add24542d0eed0ee2b1b9d85dfd0ba661e55356bac5d3 SHA512 860bcb999005f55bed25691304983d7bf707f8e3246000595b412b9e88f4a1614be0adb43bbff9c30f49b969373fa0becab02a56ac37915a5f83c52ca8ea3f95
DIST llvm-project-16.0.4.src.tar.xz.sig 566 BLAKE2B 43cb2147f12f98f864797158e8efcfed9c6780fae3b5c71c0f1aea19a4131ee91c36bdf5b10e44f478f2370c8d22a9038038ecd607f25a95f2d3e33628eb9ac0 SHA512 c902d1b652e6e144fcf74f550539f56665475b6bdf673ba5bf2f1731c3bb8f5717ed56433d488c54bbf2f429b432da84e0bfb4b5fb5f2b7fa208b4f24f682be7
+DIST llvm-project-a2684acfb61d40f441e240035d7f1ba50da637c8.tar.gz 184900914 BLAKE2B fb1f836738415a640bc84283722f6a7355a06bc8ac05b544dd4ad4ac9552dcf70040b82b0493c5b4485b28610412279ec0adcf467e71915167aa7d010c08216e SHA512 c08ff8abc166399e692d3166ccf65eb4b647893cba8ffc10bcda815bc914a944855bac036d6349f6d820a6ff43d5417170e6ff8620d97a2a144a0898e95d09e3
DIST llvm-project-abbb22cc0c9c33dedb8d53c2bd3e703f92baace7.tar.gz 183193919 BLAKE2B 75c63d39918f7ec0faca0b1d03ba17dbd7d39a6f1d3a031dcb005ae1729933d8481f0bd745ec029ab21779525b2ddaf2989eaca2aed2b0e9b60c50ef71c7fc11 SHA512 f0c1b6fe2e087db202d32de05613b7570bd9a82dfef2e464014c9d4c9ba02c20d423cb783aa40ce5e9c9e074288efb2e5b6d70d55913bd285108e747400f55e7
diff --git a/dev-python/clang-python/clang-python-17.0.0_pre20230526.ebuild b/dev-python/clang-python/clang-python-17.0.0_pre20230526.ebuild
new file mode 100644
index 000000000000..f37802f5c2d7
--- /dev/null
+++ b/dev-python/clang-python/clang-python-17.0.0_pre20230526.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7,8,9,10,11} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/"
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+ >=sys-devel/clang-${PV}:*
+ !sys-devel/llvm:0[clang(-),python(-)]
+ !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+ ${DEPEND}
+ ${PYTHON_DEPS}
+"
+BDEPEND="
+ ${PYTHON_DEPS}
+ test? (
+ sys-devel/clang:${LLVM_MAJOR}
+ )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+ # tests rely on results from a specific clang version, so override
+ # the search path
+ local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+ local -x CLANG_NO_DEFAULT_CONFIG=1
+ "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
+}
+
+src_test() {
+ python_foreach_impl python_test
+}
+
+src_install() {
+ python_foreach_impl python_domodule clang
+}
diff --git a/dev-python/flask-jwt-extended/Manifest b/dev-python/flask-jwt-extended/Manifest
index 8cea9a402d4b..e182a78ce7c2 100644
--- a/dev-python/flask-jwt-extended/Manifest
+++ b/dev-python/flask-jwt-extended/Manifest
@@ -1,2 +1,2 @@
-DIST flask-jwt-extended-4.4.3.tar.gz 59499 BLAKE2B c2818bc3f8b747e5dbdf154e3b6e39634c5c3b0a9f06bc5c650dff4074b8270300a61fa5dd3ed922b85c9f5270bed8696117462360fd80d19e5795f7a378f87d SHA512 05c6c991d19a134dad8edac90adf46e17eb81459d1eef688d39530644152ad5dcffcae47a1ebe35c35ac324b2d3477b72e597ceff39e54bb31e2bd6f2b59887c
DIST flask-jwt-extended-4.4.4.tar.gz 60087 BLAKE2B 785bb512bf55e4d6cbb73045b446d0875a2410a8cbddf82b16fbb37e5b6b834082fa99b58f93de05f026ae8e1152191cca07086b43bec378f2f84b8a0de409a2 SHA512 c9b8b9c5ddbf56fed70343ed6136ab6f08013791c658fae163234ac32ac01c23c64f1f9094d1e73ba9225e212da2090802f04893c6d0ba6d799e328e9c55fd81
+DIST flask-jwt-extended-4.5.2.tar.gz 60563 BLAKE2B 71340eff041fde091337b1a368c4b336d05a82609cb940182ba81292ded21c4ba3fe5e35ee43c7ef00f94a10060c178a9da1564f292e8ab38b272b6d83709406 SHA512 e17b5e6e8ec244a3684a129970daa8c6343cb2a193a757328809302172298f81dfa9b16bc26c6a98639a36ba5a8c1edfcfa36a3c718ce1d4510870b4f1876458
diff --git a/dev-python/flask-jwt-extended/flask-jwt-extended-4.4.3.ebuild b/dev-python/flask-jwt-extended/flask-jwt-extended-4.5.2.ebuild
index 004729213740..21319c0b36a1 100644
--- a/dev-python/flask-jwt-extended/flask-jwt-extended-4.4.3.ebuild
+++ b/dev-python/flask-jwt-extended/flask-jwt-extended-4.5.2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 2020-2022 Liguros Authors
+# Copyright 2020-2023 Liguros Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{7,8,9,10} )
+PYTHON_COMPAT=( python3_{7,8,9,10,11} )
inherit distutils-r1
diff --git a/dev-python/greenstalk/Manifest b/dev-python/greenstalk/Manifest
index c425b0b7a77b..0c35653c6a48 100644
--- a/dev-python/greenstalk/Manifest
+++ b/dev-python/greenstalk/Manifest
@@ -1,2 +1 @@
-DIST greenstalk-1.0.1.tar.gz 12898 BLAKE2B fc0b90ba95b09e1490025175339c3f9eb7afed16db40ec34031305a3d487582fc7305b1990424f53a06887a34c30ab4f957db01a640576aa1c5db30511161c0f SHA512 8b57ec0c7fd3a60c24e8ddd7d51f31c0986317cbceb0f7045bbd720ca58e8f3c896f2f9924de7b1e8693844c814ecdebc020972d895468d1b0e7d055bf628b16
-DIST greenstalk-2.0.0.tar.gz 13280 BLAKE2B 510b84d7dd48e0f5c9fb46ec0158473623a9e4c570e1c72db45802fce7a61b99c8f15f87d6711fa7540e6e2b6d4a846194adc28e2696400c45dc6692747f41fb SHA512 4d338bccb09b7c17c0216ce9cc4c1c9c896d15327053adc248404140ded27df6969fc8f0807120ec9417676ead57395185fb9fc5d826f49a1a1ee473aabbb048
+DIST greenstalk-2.0.0.gh.tar.gz 13280 BLAKE2B 510b84d7dd48e0f5c9fb46ec0158473623a9e4c570e1c72db45802fce7a61b99c8f15f87d6711fa7540e6e2b6d4a846194adc28e2696400c45dc6692747f41fb SHA512 4d338bccb09b7c17c0216ce9cc4c1c9c896d15327053adc248404140ded27df6969fc8f0807120ec9417676ead57395185fb9fc5d826f49a1a1ee473aabbb048
diff --git a/dev-python/greenstalk/greenstalk-1.0.1.ebuild b/dev-python/greenstalk/greenstalk-2.0.0-r1.ebuild
index 367932481bfb..974163a99f2e 100644
--- a/dev-python/greenstalk/greenstalk-1.0.1.ebuild
+++ b/dev-python/greenstalk/greenstalk-2.0.0-r1.ebuild
@@ -1,27 +1,27 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
+DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{7,8,9,10,11} )
inherit distutils-r1
-DESCRIPTION="A Python 3 client for the beanstalkd work queue"
+DESCRIPTION="Python 3 client for the beanstalkd work queue"
HOMEPAGE="https://greenstalk.readthedocs.io/ https://github.com/justinmayhew/greenstalk"
-SRC_URI="https://github.com/justinmayhew/greenstalk/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="
+ https://github.com/justinmayhew/greenstalk/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-BDEPEND="
- test? (
- app-misc/beanstalkd
- )
-"
+BDEPEND="test? ( app-misc/beanstalkd )"
distutils_enable_tests pytest
python_test() {
- pytest -vv tests.py || die
+ epytest tests.py
}
diff --git a/dev-python/greenstalk/greenstalk-2.0.0.ebuild b/dev-python/greenstalk/greenstalk-2.0.0.ebuild
deleted file mode 100644
index ab65d9a3e08c..000000000000
--- a/dev-python/greenstalk/greenstalk-2.0.0.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 2021 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9,10,11} )
-inherit distutils-r1
-
-DESCRIPTION="A Python 3 client for the beanstalkd work queue"
-HOMEPAGE="https://greenstalk.readthedocs.io/ https://github.com/justinmayhew/greenstalk"
-SRC_URI="https://github.com/justinmayhew/greenstalk/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-BDEPEND="
- test? (
- app-misc/beanstalkd
- )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
- pytest -vv tests.py || die
-}
diff --git a/dev-python/greenstalk/metadata.xml b/dev-python/greenstalk/metadata.xml
index 36acccda7221..f0609a5259d1 100644
--- a/dev-python/greenstalk/metadata.xml
+++ b/dev-python/greenstalk/metadata.xml
@@ -1,10 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
- </maintainer>
- <origin>ports</origin>
+ <origin>gentoo-staging</origin>
+ <stabilize-allarches/>
</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/h2/files/h2-4.1.0-python3.11-tests.patch b/dev-python/h2/files/h2-4.1.0-python3.11-tests.patch
new file mode 100644
index 000000000000..c444e6a5007a
--- /dev/null
+++ b/dev-python/h2/files/h2-4.1.0-python3.11-tests.patch
@@ -0,0 +1,104 @@
+https://github.com/python-hyper/h2/commit/eabe727282e7a7aa3254773292f86cf341bdc597
+
+From eabe727282e7a7aa3254773292f86cf341bdc597 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= <zebob.m@gmail.com>
+Date: Sun, 3 Jul 2022 12:05:05 +0200
+Subject: [PATCH] Fix repr() checks for Python 3.11
+
+In Python 3.11, repr() was modified, this commit fixes the
+assertions to match the new repr() behavior.
+
+Fix #1268
+--- a/test/test_events.py
++++ b/test/test_events.py
+@@ -207,11 +207,18 @@ def test_remotesettingschanged_repr(self):
+ ),
+ }
+
+- assert repr(e) == (
+- "<RemoteSettingsChanged changed_settings:{ChangedSetting("
+- "setting=SettingCodes.INITIAL_WINDOW_SIZE, original_value=65536, "
+- "new_value=32768)}>"
+- )
++ if sys.version_info >= (3, 11):
++ assert repr(e) == (
++ "<RemoteSettingsChanged changed_settings:{ChangedSetting("
++ "setting=4, original_value=65536, "
++ "new_value=32768)}>"
++ )
++ else:
++ assert repr(e) == (
++ "<RemoteSettingsChanged changed_settings:{ChangedSetting("
++ "setting=SettingCodes.INITIAL_WINDOW_SIZE, original_value=65536, "
++ "new_value=32768)}>"
++ )
+
+ def test_pingreceived_repr(self):
+ """
+@@ -249,10 +256,16 @@ def test_streamreset_repr(self):
+ e.error_code = h2.errors.ErrorCodes.ENHANCE_YOUR_CALM
+ e.remote_reset = False
+
+- assert repr(e) == (
+- "<StreamReset stream_id:919, "
+- "error_code:ErrorCodes.ENHANCE_YOUR_CALM, remote_reset:False>"
+- )
++ if sys.version_info >= (3, 11):
++ assert repr(e) == (
++ "<StreamReset stream_id:919, "
++ "error_code:11, remote_reset:False>"
++ )
++ else:
++ assert repr(e) == (
++ "<StreamReset stream_id:919, "
++ "error_code:ErrorCodes.ENHANCE_YOUR_CALM, remote_reset:False>"
++ )
+
+ def test_pushedstreamreceived_repr(self):
+ """
+@@ -284,11 +297,18 @@ def test_settingsacknowledged_repr(self):
+ ),
+ }
+
+- assert repr(e) == (
+- "<SettingsAcknowledged changed_settings:{ChangedSetting("
+- "setting=SettingCodes.INITIAL_WINDOW_SIZE, original_value=65536, "
+- "new_value=32768)}>"
+- )
++ if sys.version_info >= (3, 11):
++ assert repr(e) == (
++ "<SettingsAcknowledged changed_settings:{ChangedSetting("
++ "setting=4, original_value=65536, "
++ "new_value=32768)}>"
++ )
++ else:
++ assert repr(e) == (
++ "<SettingsAcknowledged changed_settings:{ChangedSetting("
++ "setting=SettingCodes.INITIAL_WINDOW_SIZE, original_value=65536, "
++ "new_value=32768)}>"
++ )
+
+ def test_priorityupdated_repr(self):
+ """
+@@ -318,10 +338,16 @@ def test_connectionterminated_repr(self, additional_data, data_repr):
+ e.last_stream_id = 33
+ e.additional_data = additional_data
+
+- assert repr(e) == (
+- "<ConnectionTerminated error_code:ErrorCodes.INADEQUATE_SECURITY, "
+- "last_stream_id:33, additional_data:%s>" % data_repr
+- )
++ if sys.version_info >= (3, 11):
++ assert repr(e) == (
++ "<ConnectionTerminated error_code:12, "
++ "last_stream_id:33, additional_data:%s>" % data_repr
++ )
++ else:
++ assert repr(e) == (
++ "<ConnectionTerminated error_code:ErrorCodes.INADEQUATE_SECURITY, "
++ "last_stream_id:33, additional_data:%s>" % data_repr
++ )
+
+ def test_alternativeserviceavailable_repr(self):
+ """
+
diff --git a/dev-python/h2/h2-4.1.0-r1.ebuild b/dev-python/h2/h2-4.1.0-r1.ebuild
index 1a0978c4353d..982eabe2869f 100644
--- a/dev-python/h2/h2-4.1.0-r1.ebuild
+++ b/dev-python/h2/h2-4.1.0-r1.ebuild
@@ -32,6 +32,10 @@ BDEPEND="
)
"
+PATCHES=(
+ "${FILESDIR}"/${P}-python3.11-tests.patch
+)
+
distutils_enable_tests pytest
python_test() {
diff --git a/dev-python/jaraco-envs/jaraco-envs-2.4.0.ebuild b/dev-python/jaraco-envs/jaraco-envs-2.4.0.ebuild
index 954d34743fc3..2f867b294709 100644
--- a/dev-python/jaraco-envs/jaraco-envs-2.4.0.ebuild
+++ b/dev-python/jaraco-envs/jaraco-envs-2.4.0.ebuild
@@ -11,7 +11,10 @@ PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 )
inherit distutils-r1 pypi
DESCRIPTION="Classes for orchestrating Python (virtual) environments"
-HOMEPAGE="https://github.com/jaraco/jaraco.envs"
+HOMEPAGE="
+ https://github.com/jaraco/jaraco.envs/
+ https://pypi.org/project/jaraco.envs/
+"
LICENSE="MIT"
SLOT="0"
diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest
index 03db32342aab..d616caaf795e 100644
--- a/dev-python/lit/Manifest
+++ b/dev-python/lit/Manifest
@@ -6,4 +6,5 @@ DIST llvm-project-16.0.3.src.tar.xz 117998136 BLAKE2B 6117586a117c30515e9a5623ab
DIST llvm-project-16.0.3.src.tar.xz.sig 566 BLAKE2B bbd96268b006fecffd7402452ae7559bd2ea42c7b771999f58893a48d66b1b056b476a7022c70e2ab8f11dba8318ccc141f97a05ece3b9ed3b4405a6890b0c3a SHA512 cdd5e1c2a252ba58f9b7f8687d6cf9a330c188988707bd72f4632a8158a2db9ac180b3936da99b87e7e99886c39cb8517ebbb04b7d1be198e76964e31ec8dc58
DIST llvm-project-16.0.4.src.tar.xz 117996332 BLAKE2B 2ea3ef25290ce6180d271e42fbf5e02da973a21e3929c1ac8d1e3e7b268d39db97611e15654ca7e6527add24542d0eed0ee2b1b9d85dfd0ba661e55356bac5d3 SHA512 860bcb999005f55bed25691304983d7bf707f8e3246000595b412b9e88f4a1614be0adb43bbff9c30f49b969373fa0becab02a56ac37915a5f83c52ca8ea3f95
DIST llvm-project-16.0.4.src.tar.xz.sig 566 BLAKE2B 43cb2147f12f98f864797158e8efcfed9c6780fae3b5c71c0f1aea19a4131ee91c36bdf5b10e44f478f2370c8d22a9038038ecd607f25a95f2d3e33628eb9ac0 SHA512 c902d1b652e6e144fcf74f550539f56665475b6bdf673ba5bf2f1731c3bb8f5717ed56433d488c54bbf2f429b432da84e0bfb4b5fb5f2b7fa208b4f24f682be7
+DIST llvm-project-a2684acfb61d40f441e240035d7f1ba50da637c8.tar.gz 184900914 BLAKE2B fb1f836738415a640bc84283722f6a7355a06bc8ac05b544dd4ad4ac9552dcf70040b82b0493c5b4485b28610412279ec0adcf467e71915167aa7d010c08216e SHA512 c08ff8abc166399e692d3166ccf65eb4b647893cba8ffc10bcda815bc914a944855bac036d6349f6d820a6ff43d5417170e6ff8620d97a2a144a0898e95d09e3
DIST llvm-project-abbb22cc0c9c33dedb8d53c2bd3e703f92baace7.tar.gz 183193919 BLAKE2B 75c63d39918f7ec0faca0b1d03ba17dbd7d39a6f1d3a031dcb005ae1729933d8481f0bd745ec029ab21779525b2ddaf2989eaca2aed2b0e9b60c50ef71c7fc11 SHA512 f0c1b6fe2e087db202d32de05613b7570bd9a82dfef2e464014c9d4c9ba02c20d423cb783aa40ce5e9c9e074288efb2e5b6d70d55913bd285108e747400f55e7
diff --git a/dev-python/lit/lit-17.0.0_pre20230526.ebuild b/dev-python/lit/lit-17.0.0_pre20230526.ebuild
new file mode 100644
index 000000000000..0e39fac626c6
--- /dev/null
+++ b/dev-python/lit/lit-17.0.0_pre20230526.ebuild
@@ -0,0 +1,42 @@
+# 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_{7,8,9,10,11} )
+
+inherit distutils-r1 llvm.org
+
+DESCRIPTION="A stand-alone install of the LLVM suite testing tool"
+HOMEPAGE="https://llvm.org/"
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+# Tests require 'FileCheck' and 'not' utilities (from llvm)
+BDEPEND="
+ test? (
+ dev-python/psutil[${PYTHON_USEDEP}]
+ sys-devel/llvm
+ )
+"
+
+LLVM_COMPONENTS=( llvm/utils/lit )
+llvm.org_set_globals
+
+# TODO: move the manpage generation here (from sys-devel/llvm)
+
+src_prepare() {
+ cd "${WORKDIR}" || die
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ local -x LIT_PRESERVES_TMP=1
+ local litflags=$(get_lit_flags)
+ ./lit.py ${litflags//;/ } tests || die
+}
diff --git a/dev-python/mautrix/Manifest b/dev-python/mautrix/Manifest
index 53bdfbcb095d..82e86869366c 100644
--- a/dev-python/mautrix/Manifest
+++ b/dev-python/mautrix/Manifest
@@ -1,2 +1,2 @@
-DIST mautrix-0.19.14.tar.gz 244703 BLAKE2B 41c1bc32bca6f700283201ef52fa78a20b87665dbefbe9ad436dd6bb82d5446e744f6db041ba0ace33b13f8afcc8cf6e0e2f5478b6f41cac365320905e3fbe9e SHA512 7319716dd1b03f9677601002e08bf88ae870e283b32499fc38a9c77edf22f5702dbbded0e555de38a43d7b4d1b17bdd4e6579d79d6b22ece476057ebb1a2a62c
DIST mautrix-0.19.15.tar.gz 245166 BLAKE2B e62f12f226095a2485181a861c452e7a916e5ac34f90b3bce1e63c332e8d5acf53559635a087fd0cdfbe4bde4bea1e1f8c3612f1af564c40afe2f524622f437a SHA512 15beb1e2a4492b72ea9ab5d804b6e9d94fb94a264aa2d4962c5f7bdc596217ae03091693d9f0a47e4318081b66234cc4b101711742f1841f639c55f6a82493c3
+DIST mautrix-0.19.16.tar.gz 245202 BLAKE2B 921b51c63991934cabf5d24a26f37205fb3a90ee4a29c8455eda00aeff1fa9311a87f665b1c084a3b994e9122a8c23180735c97141a1a35d8f89c6638dda48ab SHA512 9b827f54e48ccbe98379f4db2fd6fa97698f7695023918aebb80f078c7df495cd4e76e9d226094838c199cacafb91ab4263e5f5a5c9ac9132b9bd39d3cb281b4
diff --git a/dev-python/mautrix/mautrix-0.19.14.ebuild b/dev-python/mautrix/mautrix-0.19.16.ebuild
index 2d0281cd1ed2..2d0281cd1ed2 100644
--- a/dev-python/mautrix/mautrix-0.19.14.ebuild
+++ b/dev-python/mautrix/mautrix-0.19.16.ebuild
diff --git a/dev-python/meson-python/Manifest b/dev-python/meson-python/Manifest
index 071e40299d3d..bce82da4a05e 100644
--- a/dev-python/meson-python/Manifest
+++ b/dev-python/meson-python/Manifest
@@ -1,3 +1 @@
-DIST meson-python-0.12.1.gh.tar.gz 43855 BLAKE2B 96b9ff5ef628bb471f7f79ce30ec6f3f851ce0006327e8b3a6003fdcb768f3280c0ee882d1c0c8ea183b0f2319d7c977c3fbb62742e3127bafb73e9732b3a1a9 SHA512 6f8e840da0155f2dd0e7139387f875cfad79eb042abcfa69b3043f51cbae3222fc2986e13798389909a0b4719513c93af381ec00a69fdfedf14bbe4e100b2f08
-DIST meson-python-0.13.0.gh.tar.gz 69373 BLAKE2B 439ec0fcffa5398ec400c492bc7719030981605c885158fd477e293b62c6e0eeaf3eba0327937817c20b7d23141749ff4bc71d12a67dbf3473168555cef97918 SHA512 2d319090f77daf5c1bd2a922e50e960fb416008ec60f3e8956ba4d2a29c31129e0a0d864982e9e1c0d6b7659d107e5d90d4a540d84f56cb2a8f79f013d4f14ae
DIST meson-python-0.13.1.gh.tar.gz 69434 BLAKE2B c3442eb1c066772b80efe4e41764897df85a3581c94f9d958951af04e9ad7a01c646c7ed7f0104fbe957567e16b80c6e3744ab23b6b66a8df3cc920cb68c852f SHA512 037825eabcaec5bdb73890114ecfcfb05373bcb5e2806a8d38e4afeeecea42aa14f9c8cf0bec151bd231e2984c64608b28a1ec79640485933cd57c8895b6a305
diff --git a/dev-python/meson-python/files/meson-python-0.11.0-defaults.patch b/dev-python/meson-python/files/meson-python-0.11.0-defaults.patch
deleted file mode 100644
index 6bd63f6d132e..000000000000
--- a/dev-python/meson-python/files/meson-python-0.11.0-defaults.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-See https://github.com/mesonbuild/meson-python/blob/main/mesonpy/__init__.py#L452.
-
-(Also: https://github.com/mesonbuild/meson-python/issues/54)
---- a/mesonpy/__init__.py
-+++ b/mesonpy/__init__.py
-@@ -734,7 +734,7 @@ class Project():
- @functools.lru_cache(maxsize=None)
- def build(self) -> None:
- """Trigger the Meson build."""
-- self._meson('compile', *self._meson_args['compile'],)
-+ self._meson('compile', '--verbose', *self._meson_args['compile'],)
- self._meson('install', '--destdir', os.fspath(self._install_dir), *self._meson_args['install'],)
-
- @classmethod
diff --git a/dev-python/meson-python/meson-python-0.12.1.ebuild b/dev-python/meson-python/meson-python-0.12.1.ebuild
deleted file mode 100644
index 912189ae43b1..000000000000
--- a/dev-python/meson-python/meson-python-0.12.1.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=standalone
-PYTHON_COMPAT=( python3_{7,8,9,10,11} )
-
-inherit distutils-r1
-
-DESCRIPTION="Meson PEP 517 Python build backend"
-HOMEPAGE="
- https://pypi.org/project/meson-python/
- https://github.com/mesonbuild/meson-python/
-"
-SRC_URI="
- https://github.com/mesonbuild/meson-python/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-RDEPEND="
- >=dev-python/pyproject-metadata-0.6.1[${PYTHON_USEDEP}]
- >=dev-util/meson-0.63.0[${PYTHON_USEDEP}]
- dev-util/patchelf
- $(python_gen_cond_dep '
- dev-python/typing-extensions[${PYTHON_USEDEP}]
- ' 3.8 3.9)
- $(python_gen_cond_dep '
- >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}]
- ' 3.8 3.9 3.10)
-"
-BDEPEND="
- dev-python/cython[${PYTHON_USEDEP}]
- test? (
- dev-python/GitPython[${PYTHON_USEDEP}]
- dev-python/pytest-mock[${PYTHON_USEDEP}]
- )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.11.0-defaults.patch
-)
-
-distutils_enable_sphinx docs \
- dev-python/furo \
- dev-python/sphinx-autodoc-typehints
-distutils_enable_tests pytest
-
-EPYTEST_DESELECT=(
- # requires network access
- tests/test_pep518.py::test_pep518
-)
-
-python_test() {
- local EPYTEST_DESELECT=(
- # requires network access
- tests/test_pep518.py::test_pep518
- )
- unset NINJA
-
- epytest
-
- rm -rf docs/examples/spam/build/ || die # remove artifacts
-}
diff --git a/dev-python/meson-python/meson-python-0.13.0.ebuild b/dev-python/meson-python/meson-python-0.13.0.ebuild
deleted file mode 100644
index 5d52ee12a3f1..000000000000
--- a/dev-python/meson-python/meson-python-0.13.0.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=standalone
-PYTHON_COMPAT=( python3_{7,8,9,10,11} )
-
-inherit distutils-r1
-
-DESCRIPTION="Meson PEP 517 Python build backend"
-HOMEPAGE="
- https://pypi.org/project/meson-python/
- https://github.com/mesonbuild/meson-python/
-"
-SRC_URI="
- https://github.com/mesonbuild/meson-python/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-
-RDEPEND="
- >=dev-python/pyproject-metadata-0.7.1[${PYTHON_USEDEP}]
- >=dev-util/meson-0.63.0[${PYTHON_USEDEP}]
- dev-util/patchelf
- $(python_gen_cond_dep '
- >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}]
- ' 3.9 3.10)
-"
-BDEPEND="
- >=dev-python/cython-0.29.34[${PYTHON_USEDEP}]
- test? (
- dev-python/GitPython[${PYTHON_USEDEP}]
- dev-python/pytest-mock[${PYTHON_USEDEP}]
- $(python_gen_cond_dep '
- >=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}]
- ' 3.9)
- )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
- local EPYTEST_DESELECT=(
- # requires network access
- tests/test_pep518.py::test_pep518
- # requires git repo
- # https://github.com/mesonbuild/meson-python/issues/397
- tests/test_project.py::test_user_args
- )
- unset NINJA
-
- epytest
-
- rm -rf docs/examples/spam/build/ || die # remove artifacts
-}
diff --git a/dev-python/meson-python/meson-python-0.13.1.ebuild b/dev-python/meson-python/meson-python-0.13.1.ebuild
index 8e53a2f1ce21..0f2115d4c2df 100644
--- a/dev-python/meson-python/meson-python-0.13.1.ebuild
+++ b/dev-python/meson-python/meson-python-0.13.1.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~ia64 ~loong ppc ~ppc64 ~riscv ~s390 ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86"
RDEPEND="
>=dev-python/pyproject-metadata-0.7.1[${PYTHON_USEDEP}]
diff --git a/dev-python/nox/Manifest b/dev-python/nox/Manifest
index 57649a8c2fb8..ed0a28875abd 100644
--- a/dev-python/nox/Manifest
+++ b/dev-python/nox/Manifest
@@ -1,2 +1 @@
-DIST nox-2022.11.21.gh.tar.gz 3983862 BLAKE2B 9c365dae5415de4c43c262a1ec9c9007b686838f8aff92a049b1602efe320b7644677646ee72c0e5754efc79d6e38cd46b59ff2851b39b4bf05d3166625000d4 SHA512 7f725425acd7d1ef55e04c5330c1f4fd2f2f5107c24b4bb7f7e2711cf6a5c1b8f2777a4902ee31d4a56898a953f3da6a9ed340d652fbc63cba33f5f763702b78
DIST nox-2023.04.22.gh.tar.gz 3985377 BLAKE2B 7365141bf1c299f6e560dbf42a2927f98e5bf7121ed0dc1dbdc739de847caafdc0834fdc2f2473f20b97d25a4d1d01aced8400e85ec6c027494b8d93077d9a0b SHA512 7425588b0ae87d66211a4fec1d204122a2adb114ddca866d2e66e1caff930f593af1540e5c88806894400ea8aba92037d3f458a98df05d6ac70662705426ee6e
diff --git a/dev-python/nox/nox-2022.11.21-r1.ebuild b/dev-python/nox/nox-2022.11.21-r1.ebuild
deleted file mode 100644
index c5ab2d7fd30f..000000000000
--- a/dev-python/nox/nox-2022.11.21-r1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Flexible test automation for Python"
-HOMEPAGE="
- https://github.com/wntrblm/nox/
- https://pypi.org/project/nox/
-"
-SRC_URI="
- https://github.com/wntrblm/nox/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
- >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}]
- <dev-python/colorlog-7.0.0[${PYTHON_USEDEP}]
- >=dev-python/colorlog-2.6.1[${PYTHON_USEDEP}]
- >=dev-python/packaging-20.9[${PYTHON_USEDEP}]
- >=dev-python/virtualenv-14[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- dev-python/py[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
- # broken with >=dev-python/tox-4
- # https://github.com/wntrblm/nox/issues/673
- rm nox/tox_to_nox.* tests/test_tox_to_nox.py || die
- sed -i -e '/tox-to-nox/d' pyproject.toml || die
- # remove upper bounds from dependencies
- sed -i -e 's:<[0-9.]*,::' pyproject.toml || die
- distutils-r1_src_prepare
-}
diff --git a/dev-python/pip-run/pip-run-10.1.1.ebuild b/dev-python/pip-run/pip-run-10.1.1.ebuild
index b47278ab67da..d754f56026d7 100644
--- a/dev-python/pip-run/pip-run-10.1.1.ebuild
+++ b/dev-python/pip-run/pip-run-10.1.1.ebuild
@@ -40,7 +40,7 @@ BDEPEND="
dev-python/pygments[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/nbformat[${PYTHON_USEDEP}]
- ' 'python*')
+ ' python3_{10..11})
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
)
diff --git a/dev-python/poetry-core/poetry-core-1.6.0.ebuild b/dev-python/poetry-core/poetry-core-1.6.0.ebuild
index dfb487a8f316..8b095f4d085b 100644
--- a/dev-python/poetry-core/poetry-core-1.6.0.ebuild
+++ b/dev-python/poetry-core/poetry-core-1.6.0.ebuild
@@ -4,7 +4,8 @@
EAPI=8
DISTUTILS_USE_PEP517=standalone
-PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 )
+PYTHON_TESTED=( python3_{7,8,9,10,11} pypy3 )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
inherit distutils-r1
@@ -35,11 +36,13 @@ RDEPEND="
BDEPEND="
${RDEPEND}
test? (
- dev-python/build[${PYTHON_USEDEP}]
- dev-python/pytest-mock[${PYTHON_USEDEP}]
- dev-python/tomli-w[${PYTHON_USEDEP}]
- dev-python/virtualenv[${PYTHON_USEDEP}]
- dev-vcs/git
+ $(python_gen_cond_dep '
+ dev-python/build[${PYTHON_USEDEP}]
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ dev-python/tomli-w[${PYTHON_USEDEP}]
+ dev-python/virtualenv[${PYTHON_USEDEP}]
+ dev-vcs/git
+ ' "${PYTHON_TESTED[@]}")
)
"
@@ -61,6 +64,11 @@ src_prepare() {
}
python_test() {
+ if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then
+ einfo "Skippin tests on ${EPYTHON} (unported deps)"
+ return
+ fi
+
# needed for migration from <1.1
distutils_write_namespace poetry
epytest
diff --git a/dev-python/pyrsistent/pyrsistent-0.19.3.ebuild b/dev-python/pyrsistent/pyrsistent-0.19.3.ebuild
index 0945c14c65ab..8e886d13294a 100644
--- a/dev-python/pyrsistent/pyrsistent-0.19.3.ebuild
+++ b/dev-python/pyrsistent/pyrsistent-0.19.3.ebuild
@@ -26,3 +26,15 @@ BDEPEND="
"
distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_IGNORE=()
+ if [[ ${EPYTHON} == python3.12 ]]; then
+ EPYTEST_IGNORE+=(
+ # probably a bug in python itself or in hypothesis
+ tests/hypothesis_vector_test.py
+ )
+ fi
+
+ epytest
+}
diff --git a/dev-python/pytest-shutil/files/pytest-shutil-1.7.0-py312.patch b/dev-python/pytest-shutil/files/pytest-shutil-1.7.0-py312.patch
new file mode 100644
index 000000000000..905550622fc1
--- /dev/null
+++ b/dev-python/pytest-shutil/files/pytest-shutil-1.7.0-py312.patch
@@ -0,0 +1,39 @@
+From bbb9e5c7cba84fb4665a521569d1cfcca08ee4e5 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Sat, 27 May 2023 18:05:44 +0200
+Subject: [PATCH] pytest-shutil: Replace deprecated imp module
+
+Replace the use of the deprecated `imp` module with `importlib.util',
+as the former has been removed from Python 3.12.
+---
+ pytest-shutil/pytest_shutil/run.py | 7 +++++--
+ 1 file changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/pytest-shutil/pytest_shutil/run.py b/pytest-shutil/pytest_shutil/run.py
+index 7d46aea..08a6a34 100644
+--- a/pytest_shutil/run.py
++++ b/pytest_shutil/run.py
+@@ -3,7 +3,7 @@
+ """
+ import sys
+ import os
+-import imp
++import importlib.util
+ import logging
+ from functools import update_wrapper
+ import inspect
+@@ -112,7 +112,10 @@ def run_module_as_main(module, argv=[]):
+ filename = os.path.splitext(filename)[0] + ".py"
+
+ with patch("sys.argv", new=argv):
+- imp.load_source('__main__', os.path.join(where, filename))
++ spec = importlib.util.spec_from_file_location(
++ "__main__", os.path.join(where, filename))
++ module = importlib.util.module_from_spec(spec)
++ spec.loader.exec_module(module)
+
+
+ def _evaluate_fn_source(src, *args, **kwargs):
+--
+2.40.1
+
diff --git a/dev-python/pytest-shutil/pytest-shutil-1.7.0-r4.ebuild b/dev-python/pytest-shutil/pytest-shutil-1.7.0-r4.ebuild
new file mode 100644
index 000000000000..3069ec5d10fe
--- /dev/null
+++ b/dev-python/pytest-shutil/pytest-shutil-1.7.0-r4.ebuild
@@ -0,0 +1,54 @@
+# 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_{7,8,9,10,11} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A goodie-bag of unix shell and environment tools for py.test"
+HOMEPAGE="
+ https://github.com/man-group/pytest-plugins/
+ https://pypi.org/project/pytest-shutil/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ dev-python/execnet[${PYTHON_USEDEP}]
+ dev-python/path[${PYTHON_USEDEP}]
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/termcolor[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ ${RDEPEND}
+ dev-python/setuptools-git[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+PATCHES=(
+ # https://github.com/man-group/pytest-plugins/pull/219
+ "${FILESDIR}"/${P}-py312.patch
+)
+
+EPYTEST_DESELECT=(
+ # colors no longer happen automagically to non-tty, not important
+ # https://github.com/man-group/pytest-plugins/pull/217
+ tests/unit/test_cmdline.py::test_pretty_formatter
+)
+
+python_prepare_all() {
+ # remove unnecessary deps
+ # (contextlib2 is not used in py3)
+ sed -i -e '/path\.py/d' -e '/contextlib2/d' setup.py || die
+
+ distutils-r1_python_prepare_all
+}
diff --git a/dev-python/pytest-virtualenv/pytest-virtualenv-1.7.0-r2.ebuild b/dev-python/pytest-virtualenv/pytest-virtualenv-1.7.0-r2.ebuild
index a3ed0f53dbe4..0d738a96d4a9 100644
--- a/dev-python/pytest-virtualenv/pytest-virtualenv-1.7.0-r2.ebuild
+++ b/dev-python/pytest-virtualenv/pytest-virtualenv-1.7.0-r2.ebuild
@@ -23,6 +23,7 @@ RDEPEND="
dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
dev-python/pytest-shutil[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/virtualenv[${PYTHON_USEDEP}]
"
BDEPEND="
@@ -33,3 +34,16 @@ BDEPEND="
"
distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=()
+ if [[ ${EPYTHON} == python3.12 ]]; then
+ EPYTEST_DESELECT+=(
+ # assumes setuptools is installed inside virtualenv
+ # https://github.com/man-group/pytest-plugins/issues/220
+ tests/integration/test_tmpvirtualenv.py::test_installed_packages
+ )
+ fi
+
+ epytest
+}
diff --git a/dev-python/setuptools/setuptools-67.8.0.ebuild b/dev-python/setuptools/setuptools-67.8.0.ebuild
index 734c47cced02..f60f1a166f5e 100644
--- a/dev-python/setuptools/setuptools-67.8.0.ebuild
+++ b/dev-python/setuptools/setuptools-67.8.0.ebuild
@@ -87,8 +87,6 @@ src_prepare() {
}
python_test() {
- local -x SETUPTOOLS_USE_DISTUTILS=stdlib
-
if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
return
fi
diff --git a/dev-python/shiboken2/shiboken2-5.15.9.ebuild b/dev-python/shiboken2/shiboken2-5.15.9.ebuild
index 17a7890cac16..de7a436c3082 100644
--- a/dev-python/shiboken2/shiboken2-5.15.9.ebuild
+++ b/dev-python/shiboken2/shiboken2-5.15.9.ebuild
@@ -29,7 +29,7 @@ S="${WORKDIR}/${MY_P}/sources/shiboken2"
# arbitrarily relicensed. (TODO)
LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86"
+KEYWORDS="amd64 ~arm arm64 x86"
IUSE="+docstrings numpy test vulkan"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
diff --git a/dev-python/survey/Manifest b/dev-python/survey/Manifest
index e9bb5a95516d..108c1808435e 100644
--- a/dev-python/survey/Manifest
+++ b/dev-python/survey/Manifest
@@ -1,2 +1,2 @@
DIST survey-3.4.3.tar.gz 21219 BLAKE2B e866addd9233409c603f2b34bbf811209f3f6c2ade1bee00258c4f25d741dc526948d16b2e9e0dc3632e6e20fa7863f573c4c27ed1f48ddaa954c7d53a8c51e3 SHA512 47ff72dd1223a32ec038ccf57709e8fe64806ecc9bb8e54daaced27afaa1c2a45e76fc1b149232a107729c462db7657ad0fd08d8b14bb314e3905aabd23fff4a
-DIST survey-4.2.0_alpha.gh.tar.gz 826841 BLAKE2B 3b434a32429b0c6b9ae175cc4c71d5297c0e81f2698f60412e3cb61fc95f6312a20db9645c2ae8c80d99d600c03279d12095c9bdc756b37418928abb9ea56245 SHA512 08acfc3b891b8400845cc28cc237f36bf6375c5c392ace2aebaa9e218879f434bd8dc01cfe15c67a2b6de9703e06accc8e890f755855dab2aeb549a2e0312c72
+DIST survey-4.2.1_alpha.gh.tar.gz 826833 BLAKE2B d4835ec34f47fff64ab157e2c46fd8755394abbdfc7d7c5aefda685ae43c380cc13932753e54a182302d2b5cd80ff74f4e2d96c50a62a7d50e1b274093772b44 SHA512 174d26c4cd7719cf429399a041dd965155a4cf2135e86944c04d753075fddeb85116e38da09e993874059f4d7e022c61f211efaa94033bc82fb37c46b18a1124
diff --git a/dev-python/survey/survey-4.2.0_alpha.ebuild b/dev-python/survey/survey-4.2.1_alpha.ebuild
index fc808bfc652c..fc808bfc652c 100644
--- a/dev-python/survey/survey-4.2.0_alpha.ebuild
+++ b/dev-python/survey/survey-4.2.1_alpha.ebuild
diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index 825c0fca0309..c1bab91286e0 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1 +1,2 @@
DIST sympy-1.11.1.gh.tar.gz 13462495 BLAKE2B a45320d087057595d3574490c6dc07bcdf7870543e9adcbaca9abe293d84875c123bbc91a7263a87b0b71568dece4e1304b6bf76f60ae64e353520f0ca686b1f SHA512 6cc720b673cf31a2e8f56a5cae24ec15024ea43dee92196adb0a87f28561b5d2404fbbfd3d55a8414930a31d4d0f4a731d458ad528c8cbb03c37555f5c14ce4a
+DIST sympy-1.12.gh.tar.gz 7212937 BLAKE2B 1d37a019e7a6700e69e16d6ca7fdc563711165fc226ac6ec745d20fa6dc689ee9ea01a92549d851aacff763230872c2d1d0cb5bde581c4f960f5de515ffb5f06 SHA512 96a89b88f6912d70c56f5bd1903dd3c518963118ff25d033cdcb7da2f260b8ee209d3ab4a4394dd2b5dc0b4585b71ccd55d55c8e5c6e28024cccbedf07ee4360
diff --git a/dev-python/sympy/sympy-1.12.ebuild b/dev-python/sympy/sympy-1.12.ebuild
new file mode 100644
index 000000000000..8f05349d4946
--- /dev/null
+++ b/dev-python/sympy/sympy-1.12.ebuild
@@ -0,0 +1,66 @@
+# 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_{7,8,9,10,11} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Computer Algebra System in pure Python"
+HOMEPAGE="https://www.sympy.org/"
+SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet symengine test texmacs"
+
+RDEPEND="
+ dev-python/mpmath[${PYTHON_USEDEP}]
+ dev-python/pexpect[${PYTHON_USEDEP}]
+ aesara? ( $(python_gen_cond_dep 'dev-python/aesara[${PYTHON_USEDEP}]' python3_{9..10}) )
+ imaging? ( dev-python/pillow[${PYTHON_USEDEP}] )
+ ipython? ( dev-python/ipython[${PYTHON_USEDEP}] )
+ latex? (
+ virtual/latex-base
+ dev-texlive/texlive-fontsextra
+ png? ( app-text/dvipng )
+ pdf? ( app-text/ghostscript-gpl )
+ )
+ mathml? ( dev-python/lxml[${PYTHON_USEDEP}] )
+ opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
+ pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] )
+ symengine? ( dev-python/symengine[${PYTHON_USEDEP}] )
+ texmacs? ( app-office/texmacs )
+"
+
+distutils_enable_tests pytest
+
+src_test() {
+ virtx distutils-r1_src_test
+}
+
+python_test() {
+ esetup.py test
+}
+
+python_install_all() {
+ local DOCS=( AUTHORS README.md )
+
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ distutils-r1_python_install_all
+
+ if use texmacs; then
+ exeinto /usr/libexec/TeXmacs/bin/
+ doexe data/TeXmacs/bin/tm_sympy
+ insinto /usr/share/TeXmacs/plugins/sympy/
+ doins -r data/TeXmacs/progs
+ fi
+}
diff --git a/dev-python/three-merge/three-merge-0.1.1-r1.ebuild b/dev-python/three-merge/three-merge-0.1.1-r1.ebuild
new file mode 100644
index 000000000000..b7056e3733f8
--- /dev/null
+++ b/dev-python/three-merge/three-merge-0.1.1-r1.ebuild
@@ -0,0 +1,27 @@
+# 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_{7,8,9,10,11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Simple Python library to perform a 3-way merge between strings"
+HOMEPAGE="https://github.com/spyder-ide/three-merge
+ https://pypi.org/project/three-merge/"
+SRC_URI="https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}-gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/diff-match-patch[${PYTHON_USEDEP}]"
+
+BDEPEND="test? (
+ dev-python/flaky[${PYTHON_USEDEP}]
+ dev-python/pytest-timeout[${PYTHON_USEDEP}]
+)"
+
+distutils_enable_tests pytest
diff --git a/dev-python/ukkonen/ukkonen-1.0.1-r1.ebuild b/dev-python/ukkonen/ukkonen-1.0.1-r1.ebuild
index 145eedea8bdf..9c2172cdc321 100644
--- a/dev-python/ukkonen/ukkonen-1.0.1-r1.ebuild
+++ b/dev-python/ukkonen/ukkonen-1.0.1-r1.ebuild
@@ -12,10 +12,12 @@ inherit distutils-r1
DESCRIPTION="Implementation of bounded Levenshtein distance (Ukkonen)"
HOMEPAGE="
https://pypi.org/project/ukkonen/
- https://github.com/asottile/ukkonen/"
+ https://github.com/asottile/ukkonen/
+"
SRC_URI="
https://github.com/asottile/ukkonen/archive/v${PV}.tar.gz
- -> ${P}.gh.tar.gz"
+ -> ${P}.gh.tar.gz
+"
LICENSE="MIT"
SLOT="0"
@@ -24,8 +26,11 @@ KEYWORDS="amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv x86"
RDEPEND="
$(python_gen_cond_dep '
dev-python/cffi[${PYTHON_USEDEP}]
- ' 'python*')"
-BDEPEND="${RDEPEND}"
+ ' 'python*')
+"
+BDEPEND="
+ ${RDEPEND}
+"
PATCHES=(
"${FILESDIR}"/${P}-musl-include.patch
diff --git a/dev-python/versioneer/versioneer-0.28.ebuild b/dev-python/versioneer/versioneer-0.28.ebuild
index 771b30d4d9a0..dec1cb729b7a 100644
--- a/dev-python/versioneer/versioneer-0.28.ebuild
+++ b/dev-python/versioneer/versioneer-0.28.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{7,8,9,10,11} )
+PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 )
inherit distutils-r1
diff --git a/dev-python/virtualenv/virtualenv-20.22.0.ebuild b/dev-python/virtualenv/virtualenv-20.22.0.ebuild
index 74de7d119503..e8c0f89c25f2 100644
--- a/dev-python/virtualenv/virtualenv-20.22.0.ebuild
+++ b/dev-python/virtualenv/virtualenv-20.22.0.ebuild
@@ -89,12 +89,15 @@ python_test() {
'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3-64-bin-]'
'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3--bin-]'
)
- [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=(
+ [[ ${EPYTHON} == python3.1[12] ]] && EPYTEST_DESELECT+=(
# TODO
tests/unit/discovery/py_info/test_py_info.py::test_py_info_setuptools
tests/unit/discovery/py_info/test_py_info.py::test_custom_venv_install_scheme_is_prefered
tests/unit/discovery/py_info/test_py_info.py::test_fallback_existent_system_executable
)
+ [[ ${EPYTHON} == python3.12 ]] && EPYTEST_DESELECT+=(
+ tests/unit/create/via_global_ref/test_build_c_ext.py
+ )
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -p flaky -p freezegun -p pytest_mock
diff --git a/dev-python/virtualenv/virtualenv-20.23.0.ebuild b/dev-python/virtualenv/virtualenv-20.23.0.ebuild
index b85b75dcc4aa..6bb723fd3dbf 100644
--- a/dev-python/virtualenv/virtualenv-20.23.0.ebuild
+++ b/dev-python/virtualenv/virtualenv-20.23.0.ebuild
@@ -95,12 +95,13 @@ python_test() {
'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3-64-bin-]'
'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3--bin-]'
)
- [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=(
+ [[ ${EPYTHON} == python3.1[12] ]] && EPYTEST_DESELECT+=(
# TODO
- tests/unit/discovery/py_info/test_py_info.py::test_py_info_setuptools
- tests/unit/discovery/py_info/test_py_info.py::test_custom_venv_install_scheme_is_prefered
tests/unit/discovery/py_info/test_py_info.py::test_fallback_existent_system_executable
)
+ [[ ${EPYTHON} == python3.12 ]] && EPYTEST_DESELECT+=(
+ tests/unit/create/via_global_ref/test_build_c_ext.py
+ )
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local -x TZ=UTC
diff --git a/dev-python/werkzeug/werkzeug-2.3.4.ebuild b/dev-python/werkzeug/werkzeug-2.3.4.ebuild
index 431373578fd5..b062edcf26a4 100644
--- a/dev-python/werkzeug/werkzeug-2.3.4.ebuild
+++ b/dev-python/werkzeug/werkzeug-2.3.4.ebuild
@@ -41,7 +41,7 @@ BDEPEND="
!hppa? ( !ia64? ( !loong? (
$(python_gen_cond_dep '
dev-python/greenlet[${PYTHON_USEDEP}]
- ' 'python3*')
+ ' python3_{10..11})
) ) )
)
"
diff --git a/dev-python/xarray/xarray-2023.4.2.ebuild b/dev-python/xarray/xarray-2023.4.2.ebuild
index b0d4c39c6ea1..2114df4157d7 100644
--- a/dev-python/xarray/xarray-2023.4.2.ebuild
+++ b/dev-python/xarray/xarray-2023.4.2.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
RDEPEND="
>=dev-python/numpy-1.22[${PYTHON_USEDEP}]
diff --git a/dev-python/yarl/yarl-1.9.2.ebuild b/dev-python/yarl/yarl-1.9.2.ebuild
index 2cc07405742e..6be34850b922 100644
--- a/dev-python/yarl/yarl-1.9.2.ebuild
+++ b/dev-python/yarl/yarl-1.9.2.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~loong ppc ~ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
RDEPEND="
>=dev-python/multidict-4.0[${PYTHON_USEDEP}]