diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-10-13 20:10:28 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-10-13 20:10:28 +0000 |
| commit | 77a2665e1856f8fc8b8f9a90515c15d91d53402f (patch) | |
| tree | 8d3ca65a1bfd51cf5486b2ce83695dbc273aca91 /dev-python | |
| parent | 8833c27bf8cd03e7dac435cb469553c1e5b03df4 (diff) | |
| download | baldeagleos-repo-77a2665e1856f8fc8b8f9a90515c15d91d53402f.tar.gz baldeagleos-repo-77a2665e1856f8fc8b8f9a90515c15d91d53402f.tar.xz baldeagleos-repo-77a2665e1856f8fc8b8f9a90515c15d91d53402f.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
35 files changed, 495 insertions, 374 deletions
diff --git a/dev-python/fonttools/fonttools-4.54.1.ebuild b/dev-python/fonttools/fonttools-4.54.1.ebuild index 23e75164fdaf..0e0e3ecf8c58 100644 --- a/dev-python/fonttools/fonttools-4.54.1.ebuild +++ b/dev-python/fonttools/fonttools-4.54.1.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" IUSE="+native-extensions" RDEPEND=" diff --git a/dev-python/greenlet/Manifest b/dev-python/greenlet/Manifest index f0aec4deb955..76df4ed386a1 100644 --- a/dev-python/greenlet/Manifest +++ b/dev-python/greenlet/Manifest @@ -1,2 +1 @@ -DIST greenlet-3.0.3.tar.gz 182013 BLAKE2B 34ba9f13dd01f5bacedb69952b4d3d08e55eba82d94c5d95cf8bfeb0f1ce94dbde9d62f5e56c33cbf2467d82f6ffd8d05a37048d0292102b1dbb68c67e9398f4 SHA512 20d8818376a200332cbc2c85968317ddf828d2adf3fcc3c53623cd1504ec9a4e4e987e841bd2fe65e934e2b8a5e73a7205847526f0bd196e7afcdf3ae40e9d9b DIST greenlet-3.1.1.tar.gz 186022 BLAKE2B 1d73f63d3bf881534bd64eca6510f32d1596261bd42176d396c7a0442494c73f8b03e57621bd11fc1bc67db550514c26a94926eaba8c53e08eecb3f999c9ba16 SHA512 915a6e22c20b235de472c61c7bc4cb60a08b79e29127c4fb817c362cee37f589bc362f12ed31bdc7dda91f49976d4e2784c8d13202bf598156a0aacacdb7f6fb diff --git a/dev-python/greenlet/files/greenlet-3.0.3-py313.patch b/dev-python/greenlet/files/greenlet-3.0.3-py313.patch deleted file mode 100644 index 195acae3fa6d..000000000000 --- a/dev-python/greenlet/files/greenlet-3.0.3-py313.patch +++ /dev/null @@ -1,225 +0,0 @@ -diff --git a/src/greenlet/TPythonState.cpp b/src/greenlet/TPythonState.cpp -index 465d4174..82eb34f0 100644 ---- a/src/greenlet/TPythonState.cpp -+++ b/src/greenlet/TPythonState.cpp -@@ -18,7 +18,11 @@ PythonState::PythonState() - #else - ,recursion_depth(0) - #endif -+#if GREENLET_PY313 -+ ,delete_later(nullptr) -+#else - ,trash_delete_nesting(0) -+#endif - #if GREENLET_PY311 - ,current_frame(nullptr) - ,datastack_chunk(nullptr) -@@ -130,11 +134,15 @@ void PythonState::operator<<(const PyThreadState *const tstate) noexcept - #if GREENLET_PY311 - #if GREENLET_PY312 - this->py_recursion_depth = tstate->py_recursion_limit - tstate->py_recursion_remaining; -- this->c_recursion_depth = C_RECURSION_LIMIT - tstate->c_recursion_remaining; -+ this->c_recursion_depth = Py_C_RECURSION_LIMIT - tstate->c_recursion_remaining; - #else // not 312 - this->recursion_depth = tstate->recursion_limit - tstate->recursion_remaining; - #endif // GREENLET_PY312 -+ #if GREENLET_PY313 -+ this->current_frame = tstate->current_frame; -+ #elif GREENLET_USE_CFRAME - this->current_frame = tstate->cframe->current_frame; -+ #endif - this->datastack_chunk = tstate->datastack_chunk; - this->datastack_top = tstate->datastack_top; - this->datastack_limit = tstate->datastack_limit; -@@ -143,7 +151,9 @@ void PythonState::operator<<(const PyThreadState *const tstate) noexcept - Py_XDECREF(frame); // PyThreadState_GetFrame gives us a new - // reference. - this->_top_frame.steal(frame); -- #if GREENLET_PY312 -+ #if GREENLET_PY313 -+ this->delete_later = Py_XNewRef(tstate->delete_later); -+ #elif GREENLET_PY312 - this->trash_delete_nesting = tstate->trash.delete_nesting; - #else // not 312 - this->trash_delete_nesting = tstate->trash_delete_nesting; -@@ -199,17 +209,25 @@ void PythonState::operator>>(PyThreadState *const tstate) noexcept - #if GREENLET_PY311 - #if GREENLET_PY312 - tstate->py_recursion_remaining = tstate->py_recursion_limit - this->py_recursion_depth; -- tstate->c_recursion_remaining = C_RECURSION_LIMIT - this->c_recursion_depth; -+ tstate->c_recursion_remaining = Py_C_RECURSION_LIMIT - this->c_recursion_depth; - this->unexpose_frames(); - #else // \/ 3.11 - tstate->recursion_remaining = tstate->recursion_limit - this->recursion_depth; - #endif // GREENLET_PY312 -+ #if GREENLET_PY313 -+ tstate->current_frame = this->current_frame; -+ #elif GREENLET_USE_CFRAME - tstate->cframe->current_frame = this->current_frame; -+ #endif - tstate->datastack_chunk = this->datastack_chunk; - tstate->datastack_top = this->datastack_top; - tstate->datastack_limit = this->datastack_limit; - this->_top_frame.relinquish_ownership(); -- #if GREENLET_PY312 -+ #if GREENLET_PY313 -+ Py_XDECREF(tstate->delete_later); -+ tstate->delete_later = this->delete_later; -+ Py_CLEAR(this->delete_later); -+ #elif GREENLET_PY312 - tstate->trash.delete_nesting = this->trash_delete_nesting; - #else // not 3.12 - tstate->trash_delete_nesting = this->trash_delete_nesting; -@@ -238,7 +256,7 @@ void PythonState::set_initial_state(const PyThreadState* const tstate) noexcept - #if GREENLET_PY312 - this->py_recursion_depth = tstate->py_recursion_limit - tstate->py_recursion_remaining; - // XXX: TODO: Comment from a reviewer: -- // Should this be ``C_RECURSION_LIMIT - tstate->c_recursion_remaining``? -+ // Should this be ``Py_C_RECURSION_LIMIT - tstate->c_recursion_remaining``? - // But to me it looks more like that might not be the right - // initialization either? - this->c_recursion_depth = tstate->py_recursion_limit - tstate->py_recursion_remaining; -diff --git a/src/greenlet/greenlet.cpp b/src/greenlet/greenlet.cpp -index 5a9818e8..dfc748a8 100644 ---- a/src/greenlet/greenlet.cpp -+++ b/src/greenlet/greenlet.cpp -@@ -1328,6 +1328,7 @@ mod_enable_optional_cleanup(PyObject* UNUSED(module), PyObject* flag) - Py_RETURN_NONE; - } - -+#if !GREENLET_PY313 - PyDoc_STRVAR(mod_get_tstate_trash_delete_nesting_doc, - "get_tstate_trash_delete_nesting() -> Integer\n" - "\n" -@@ -1343,6 +1344,7 @@ mod_get_tstate_trash_delete_nesting(PyObject* UNUSED(module)) - return PyLong_FromLong(tstate->trash_delete_nesting); - #endif - } -+#endif - - static PyMethodDef GreenMethods[] = { - {"getcurrent", -@@ -1356,7 +1358,9 @@ static PyMethodDef GreenMethods[] = { - {"get_total_main_greenlets", (PyCFunction)mod_get_total_main_greenlets, METH_NOARGS, mod_get_total_main_greenlets_doc}, - {"get_clocks_used_doing_optional_cleanup", (PyCFunction)mod_get_clocks_used_doing_optional_cleanup, METH_NOARGS, mod_get_clocks_used_doing_optional_cleanup_doc}, - {"enable_optional_cleanup", (PyCFunction)mod_enable_optional_cleanup, METH_O, mod_enable_optional_cleanup_doc}, -+#if !GREENLET_PY313 - {"get_tstate_trash_delete_nesting", (PyCFunction)mod_get_tstate_trash_delete_nesting, METH_NOARGS, mod_get_tstate_trash_delete_nesting_doc}, -+#endif - {NULL, NULL} /* Sentinel */ - }; - -diff --git a/src/greenlet/greenlet_cpython_compat.hpp b/src/greenlet/greenlet_cpython_compat.hpp -index cdc1617f..ce5fd882 100644 ---- a/src/greenlet/greenlet_cpython_compat.hpp -+++ b/src/greenlet/greenlet_cpython_compat.hpp -@@ -12,19 +12,24 @@ - - #if PY_VERSION_HEX >= 0x30A00B1 - # define GREENLET_PY310 1 -+#else -+# define GREENLET_PY310 0 -+#endif -+ - /* - Python 3.10 beta 1 changed tstate->use_tracing to a nested cframe member. - See https://github.com/python/cpython/pull/25276 - We have to save and restore this as well. -+ -+Python 3.13 removed PyThreadState.cframe (GH-108035). - */ -+#if GREENLET_PY310 && PY_VERSION_HEX < 0x30D0000 - # define GREENLET_USE_CFRAME 1 - #else - # define GREENLET_USE_CFRAME 0 --# define GREENLET_PY310 0 - #endif - - -- - #if PY_VERSION_HEX >= 0x30B00A4 - /* - Greenlet won't compile on anything older than Python 3.11 alpha 4 (see -@@ -50,6 +55,12 @@ Greenlet won't compile on anything older than Python 3.11 alpha 4 (see - # define GREENLET_PY312 0 - #endif - -+#if PY_VERSION_HEX >= 0x30D0000 -+# define GREENLET_PY313 1 -+#else -+# define GREENLET_PY313 0 -+#endif -+ - #ifndef Py_SET_REFCNT - /* Py_REFCNT and Py_SIZE macros are converted to functions - https://bugs.python.org/issue39573 */ -@@ -124,4 +135,8 @@ static inline void PyThreadState_LeaveTracing(PyThreadState *tstate) - } - #endif - -+#if !defined(Py_C_RECURSION_LIMIT) && defined(C_RECURSION_LIMIT) -+# define Py_C_RECURSION_LIMIT C_RECURSION_LIMIT -+#endif -+ - #endif /* GREENLET_CPYTHON_COMPAT_H */ -diff --git a/src/greenlet/greenlet_greenlet.hpp b/src/greenlet/greenlet_greenlet.hpp -index d52ce1fd..fbfdfbfc 100644 ---- a/src/greenlet/greenlet_greenlet.hpp -+++ b/src/greenlet/greenlet_greenlet.hpp -@@ -23,6 +23,7 @@ using greenlet::refs::BorrowedGreenlet; - #endif - - #if GREENLET_PY312 -+# define Py_BUILD_CORE - # include "internal/pycore_frame.h" - #endif - -@@ -110,7 +111,11 @@ namespace greenlet - #else - int recursion_depth; - #endif -+#if GREENLET_PY313 -+ PyObject *delete_later; -+#else - int trash_delete_nesting; -+#endif - #if GREENLET_PY311 - _PyInterpreterFrame* current_frame; - _PyStackChunk* datastack_chunk; -diff --git a/src/greenlet/tests/test_greenlet.py b/src/greenlet/tests/test_greenlet.py -index 51849cd6..259707ae 100644 ---- a/src/greenlet/tests/test_greenlet.py -+++ b/src/greenlet/tests/test_greenlet.py -@@ -471,7 +471,9 @@ def creator(): - # Unfortunately, this doesn't actually clear the references, they're in the - # fast local array. - if not wait_for_cleanup: -- result[0].gr_frame.f_locals.clear() -+ # f_locals has no clear method in Python 3.13 -+ if hasattr(result[0].gr_frame.f_locals, 'clear'): -+ result[0].gr_frame.f_locals.clear() - else: - self.assertIsNone(result[0].gr_frame) - -diff --git a/src/greenlet/tests/test_greenlet_trash.py b/src/greenlet/tests/test_greenlet_trash.py -index 8d9716e9..2bce8fd0 100644 ---- a/src/greenlet/tests/test_greenlet_trash.py -+++ b/src/greenlet/tests/test_greenlet_trash.py -@@ -29,8 +29,17 @@ - - import unittest - -+try: -+ from greenlet._greenlet import get_tstate_trash_delete_nesting -+except ImportError: -+ get_tstate_trash_delete_nesting = None -+ -+ - class TestTrashCanReEnter(unittest.TestCase): - -+ # Python 3.13 has not "trash delete nesting" anymore (but "delete later") -+ @unittest.skipIf(get_tstate_trash_delete_nesting is None, -+ 'need get_tstate_trash_delete_nesting()') - def test_it(self): - # Try several times to trigger it, because it isn't 100% - # reliable. diff --git a/dev-python/greenlet/greenlet-3.0.3-r1.ebuild b/dev-python/greenlet/greenlet-3.0.3-r1.ebuild deleted file mode 100644 index b6b0d4454820..000000000000 --- a/dev-python/greenlet/greenlet-3.0.3-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -# Note: greenlet is built-in in pypy -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Lightweight in-process concurrent programming" -HOMEPAGE=" - https://greenlet.readthedocs.io/en/latest/ - https://github.com/python-greenlet/greenlet/ - https://pypi.org/project/greenlet/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 -hppa ~m68k ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" - -BDEPEND=" - test? ( - dev-python/objgraph[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs \ - dev-python/furo -distutils_enable_tests unittest - -src_prepare() { - local PATCHES=( - # https://github.com/python-greenlet/greenlet/pull/396 - "${FILESDIR}/${P}-py313.patch" - ) - - distutils-r1_src_prepare - - # patch cflag manipulations out - sed -i -e 's:global_compile_args[.]append.*:pass:' setup.py || die - # broken assertions on py3.12+ - # https://github.com/python-greenlet/greenlet/issues/368 - sed -e 's:test_trace_events_multiple_greenlets_switching:_&: ' \ - -i src/greenlet/tests/test_tracing.py || die -} - -python_test() { - eunittest greenlet.tests -} diff --git a/dev-python/greenlet/greenlet-3.1.1.ebuild b/dev-python/greenlet/greenlet-3.1.1.ebuild index 5d7df3a441c2..7bb01ed65897 100644 --- a/dev-python/greenlet/greenlet-3.1.1.ebuild +++ b/dev-python/greenlet/greenlet-3.1.1.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 -hppa ~m68k ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 -hppa ~m68k ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" BDEPEND=" test? ( diff --git a/dev-python/icalendar/Manifest b/dev-python/icalendar/Manifest index fb7ca1bb5883..6e743c2efa4f 100644 --- a/dev-python/icalendar/Manifest +++ b/dev-python/icalendar/Manifest @@ -1,2 +1,3 @@ DIST icalendar-5.0.13.tar.gz 119371 BLAKE2B ab0673af636b76682f1b0409df4333511c9cb19623dbdc639d84f46dcb9c14580ebfc1ea0465aa22b729852d5eaf76b12aa76041d189bcb3099f205caf43fac4 SHA512 df688298acc0bf3cf25aa08b16e149abab696e44540f11695a654065b90316189460481bde17d68e7c6760c1c4bfbbc74e9d7c7e3e640b5a1978d2c6faafbb78 DIST icalendar-6.0.0a0.tar.gz 133899 BLAKE2B 33cc480e4c5422223837094f341b4057b374c0ec54ff56a27f9ade09a9dfe4f9c8c0ba295a811a9e2c457229183d5b4e335eff1fdd2f70d323664c4ba7203967 SHA512 79d7e4a634bbb68fbac1eccfb208f11bcf1ecfc061fd764e7370c0a33f8ae660e82d5d729404e87e6b1f8c5b3b35f1dbd1c2d22eb27ae5305efdd20177791fec +DIST icalendar-6.0.1.tar.gz 98425 BLAKE2B 7f528b4f4be9ddbc3b3de5ed6f34c074d8dd43647e0d229941ed9f2fd7bbfd5ed4e44685b0ad9657c61aaa018153ebc370f2ca8fd56cb22e3b36a31d6671b696 SHA512 cc9806dd16f3b1fef875ffaac8e1d543e5ee6b133f4399d5ae8644500f63076a10f0e2fd7703c37b84bf0369e1a57b616b0c9b3f24559e4be944d821c83f1200 diff --git a/dev-python/icalendar/icalendar-6.0.1.ebuild b/dev-python/icalendar/icalendar-6.0.1.ebuild new file mode 100644 index 000000000000..1bfb5f0a7b6a --- /dev/null +++ b/dev-python/icalendar/icalendar-6.0.1.ebuild @@ -0,0 +1,43 @@ +# 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_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Package used for parsing and generating iCalendar files (RFC 2445)" +HOMEPAGE=" + https://github.com/collective/icalendar/ + https://pypi.org/project/icalendar/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/tzdata[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-copybutton \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +python_prepare_all() { + # reset conf.py to not read version from an installed instance + sed -e "s:pkg_resources.get_distribution('icalendar').version:'${PV}':" \ + -i docs/conf.py || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/kiwisolver/Manifest b/dev-python/kiwisolver/Manifest index 4f5d8eb1a23a..cf714307aafa 100644 --- a/dev-python/kiwisolver/Manifest +++ b/dev-python/kiwisolver/Manifest @@ -1,2 +1 @@ -DIST kiwi-1.4.5.gh.tar.gz 91741 BLAKE2B cebdf8269b063d10f85a303cf5fa850f87c911aff9be37ae2b6762f021ea25b8b8cb3759e7e4292bc8c2fdbdf5d73ef6295263f541adb283969509cc11d8428a SHA512 889e106c27915cb773bc13969605812c1ca01a139e992d2b3517eb20989ae41392bfdcdd63184a7777b13eff5109d167869087ea09149b1527e56a3455213b14 DIST kiwi-1.4.7.gh.tar.gz 91607 BLAKE2B 560b811ad16e7063581c6a448460035a8b880a9ed11e0be0da8f587dfc88d9f8c8341aca9fa26920be8d7478a0920cd0597f045b5d2efa80982b56800ddbcf35 SHA512 74e9b78980a348314b569cc8f922e7bddbafc3798c23526eb1746d4a5d0ae17681cd291c8ebeedbe9e7af25b4d0b32980e0c63c40a070f617cca9dd5915ea668 diff --git a/dev-python/kiwisolver/kiwisolver-1.4.5.ebuild b/dev-python/kiwisolver/kiwisolver-1.4.5.ebuild deleted file mode 100644 index 3182bb31a759..000000000000 --- a/dev-python/kiwisolver/kiwisolver-1.4.5.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 - -MY_P=kiwi-${PV} -DESCRIPTION="An efficient C++ implementation of the Cassowary constraint solving algorithm" -HOMEPAGE=" - https://github.com/nucleic/kiwi/ - https://pypi.org/project/kiwisolver/ -" -SRC_URI=" - https://github.com/nucleic/kiwi/archive/${PV}.tar.gz -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Clear-BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" - -COMMON_DEPEND=" - >=dev-python/cppy-1.2.0[${PYTHON_USEDEP}] -" - -RDEPEND=" - ${COMMON_DEPEND} -" -BDEPEND=" - ${COMMON_DEPEND} - >=dev-python/setuptools-scm-3.4.3[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/kiwisolver/kiwisolver-1.4.7.ebuild b/dev-python/kiwisolver/kiwisolver-1.4.7.ebuild index 4d8b6c822426..3182bb31a759 100644 --- a/dev-python/kiwisolver/kiwisolver-1.4.7.ebuild +++ b/dev-python/kiwisolver/kiwisolver-1.4.7.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Clear-BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" COMMON_DEPEND=" >=dev-python/cppy-1.2.0[${PYTHON_USEDEP}] diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index 37a64204a00a..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9b3521c5721afa49a58e0c35267f7d82bb56bd7e1d6d3152be0d36cd220180a526cb20b90b1113fbf0fff4a512137570f0b3bcf864498b7b7cc00403cb61ca27 SHA512 16d311400bf84a5f04e15f3da4b68b2810e4b005009f4d03dc8a487176dfc294403c976c412c83dcfa8084a49ef7b7d5389b43fb2ba446ce107ce4595e3558c6 -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setup( + author_email='michal.danilak@gmail.com', + url='https://github.com/Mimino666/langdetect', + keywords='language detection library', +- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], ++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], + include_package_data=True, + install_requires=['six'], + license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 56733bbffc48..eb2586280d80 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,4 +19,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) + distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..c0f74ac187e2 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>pastalian46@gmail.com</email> + <name>Takuya Wakazono</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/lxml/lxml-5.3.0.ebuild b/dev-python/lxml/lxml-5.3.0.ebuild index 2d7ec20bb3b7..c3808e47ee9c 100644 --- a/dev-python/lxml/lxml-5.3.0.ebuild +++ b/dev-python/lxml/lxml-5.3.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/lxml-${P} LICENSE="BSD ElementTree GPL-2 PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="doc examples +threads test" RESTRICT="!test? ( test )" diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest index 94df0b8288f8..6b854303acfc 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -1,3 +1,4 @@ DIST moto-4.2.14.tar.gz 4933741 BLAKE2B 4c50a808dc8f27cfbcd0ba234d268084ee9a32f36cb5d6af61aacc4ee79f7bf5cf1045147c4642472129eee37bef8bc2c1953d140260d39d7f333ae0f5e5cf95 SHA512 d4079118ed1d2eef9134575e33dc0ed749bff0293d753baa63a630dbb987914b9933445027abdc344bb93fa1d6e483baf8a337a444c9dd055dda50b095ff9937 DIST moto-5.0.15.tar.gz 5465282 BLAKE2B c043b0cf5ce42d0633f25ab874e787315367836d54c59ceedc3e85a161b01974671eb6dd42916e45ccaaaab9a48bfa217c0b8f22fbd817da3d2a9b4ee4522a03 SHA512 95c20146d6d5dcb6b49c3bb90e23bc6b656f6773267263bfd6a4f069a572311ef47cde3e1797dce78cfa38a28894b5deaf5e1bbe4bfcde3b49cfeea90cc63b25 DIST moto-5.0.16.tar.gz 5483357 BLAKE2B 7486a17627451494d09dcad8987da1ab456a9a8ad8fa6bca4650cf1c582e3babb39b502aec0b8c389415181af7e3c8f91ddde16715432a69ade0eb65c0e84ea2 SHA512 2201fe7b74eec9b2896afa5d7eba814c41ffae73b7becfc5e6c80523d51bf19d1de6713a5713758909c8d2343cc0ca1e0e238655153d91da161d043336c1e313 +DIST moto-5.0.17.tar.gz 5500632 BLAKE2B 9807388c0318a99635b0972f7d4d24489ddd37b0ec5272965d895c101ee924ef3915d8ef7546b6eab7574e87a5b3c650abce5dc07dda389a1fd9a0fc55d75cfb SHA512 8f17b4f0367f7068c0896d1db8766a2133dab027f107d742027ca936c3a2aaf13e4255ddc4801958e53197e3dd618bd6db7a7b21fef057662ba98e895c2e6bfc diff --git a/dev-python/moto/moto-5.0.17.ebuild b/dev-python/moto/moto-5.0.17.ebuild new file mode 100644 index 000000000000..782ea246d809 --- /dev/null +++ b/dev-python/moto/moto-5.0.17.ebuild @@ -0,0 +1,136 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi toolchain-funcs + +DESCRIPTION="Mock library for boto" +HOMEPAGE=" + https://github.com/getmoto/moto/ + https://pypi.org/project/moto/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] + dev-python/boto3[${PYTHON_USEDEP}] + >=dev-python/botocore-1.14.0[${PYTHON_USEDEP}] + >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] + >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] + dev-python/cookies[${PYTHON_USEDEP}] + >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${PYTHON_USEDEP}] + >=dev-python/idna-2.5[${PYTHON_USEDEP}] + >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] + >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] + dev-python/jsonpath-ng[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] + >=dev-python/openapi-spec-validator-0.5.0[${PYTHON_USEDEP}] + dev-python/pyaml[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + >=dev-python/responses-0.15.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.5[${PYTHON_USEDEP}] + dev-python/sshpubkeys[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zipp[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/antlr4-python3-runtime[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + ) +" + +: "${EPYTEST_TIMEOUT:=180}" +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Needs network (or docker?) but not marked as such, bug #807031 + # TODO: report upstream + tests/test_core/test_request_passthrough.py + tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_aws_and_http_requests + tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_http_requests + # broken code? (local variable used referenced before definition) + tests/test_appsync/test_appsync_schema.py + # require py_partiql_parser + tests/test_s3/test_s3_select.py + tests/test_dynamodb/test_dynamodb_statements.py + # require joserfc + tests/test_apigateway/test_apigateway.py::test_update_authorizer_configuration + tests/test_apigateway/test_apigateway.py::test_create_authorizer + tests/test_apigateway/test_apigateway.py::test_delete_authorizer + tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserDeleter::test_authenticate_with_signed_out_user + tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserPoolDuplidateEmails::test_use_existing_email__when_email_is_ + tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserPoolDuplidateEmails::test_use_existing_email__when_username_ + tests/test_cognitoidp/test_cognitoidp_replay.py::TestCreateUserPoolWithPredeterminedID::test_different_seed + tests/test_cognitoidp/test_cognitoidp_replay.py::TestCreateUserPoolWithPredeterminedID::test_same_seed + tests/test_cognitoidp/test_server.py::test_sign_up_user_without_authentication + tests/test_cognitoidp/test_server.py::test_admin_create_user_without_authentication + # TODO + tests/test_dynamodb/test_dynamodb_import_table.py + tests/test_firehose/test_firehose_put.py::test_put_record_http_destination + tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination + tests/test_stepfunctions/parser/test_stepfunctions_dynamodb_integration.py::test_zero_retry + ) + local EPYTEST_IGNORE=( + # require joserfc + tests/test_cognitoidp/test_cognitoidp.py + ) + + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # suddenly started crashing, *shrug* + tests/test_xray/test_xray_client.py::test_xray_context_patched + tests/test_xray/test_xray_client.py::test_xray_dynamo_request_id + tests/test_xray/test_xray_client.py::test_xray_dynamo_request_id_with_context_mgr + tests/test_xray/test_xray_client.py::test_xray_udp_emitter_patched + ) + ;; + esac + + # test for 32-bit time_t + "$(tc-getCC)" ${CFLAGS} ${CPPFLAGS} -c -x c - -o /dev/null <<-EOF &>/dev/null + #include <sys/types.h> + int test[sizeof(time_t) >= 8 ? 1 : -1]; + EOF + + if [[ ${?} -eq 0 ]]; then + einfo "time_t is at least 64-bit long" + else + einfo "time_t is smaller than 64 bits, will skip broken tests" + EPYTEST_DESELECT+=( + tests/test_acm/test_acm.py::test_request_certificate_with_optional_arguments + tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header + tests/test_s3/test_server.py::test_s3_server_post_cors_multiple_origins + ) + EPYTEST_IGNORE+=( + tests/test_route53domains/test_route53domains_domain.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x TZ=UTC + + rm -rf moto || die + epytest -m 'not network and not requires_docker' \ + -p rerunfailures --reruns=5 +} diff --git a/dev-python/msgpack/msgpack-1.1.0.ebuild b/dev-python/msgpack/msgpack-1.1.0.ebuild index 0ea116c6b4e2..799b584388b0 100644 --- a/dev-python/msgpack/msgpack-1.1.0.ebuild +++ b/dev-python/msgpack/msgpack-1.1.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" IUSE="+native-extensions" # extension code is relying on CPython implementation details diff --git a/dev-python/pybind11/files/pybind11-2.13.1-gcc14-fix.patch b/dev-python/pybind11/files/pybind11-2.13.1-gcc14-fix.patch deleted file mode 100644 index 878ede4a14f6..000000000000 --- a/dev-python/pybind11/files/pybind11-2.13.1-gcc14-fix.patch +++ /dev/null @@ -1,23 +0,0 @@ -Patch source: https://github.com/pybind/pybind11/commit/51c2aa16de5b50fe4be6a0016d6090d4a831899e -From 51c2aa16de5b50fe4be6a0016d6090d4a831899e Mon Sep 17 00:00:00 2001 -From: wenqing <wenqing.wang@ufz.de> -Date: Fri, 28 Jun 2024 16:12:32 +0200 -Subject: [PATCH] Fixed a compilation error with gcc 14 (#5208) - ---- - include/pybind11/typing.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/include/pybind11/typing.h b/include/pybind11/typing.h -index c8ba18d499..b0feb9464a 100644 ---- a/include/pybind11/typing.h -+++ b/include/pybind11/typing.h -@@ -14,6 +14,8 @@ - #include "cast.h" - #include "pytypes.h" - -+#include <algorithm> -+ - PYBIND11_NAMESPACE_BEGIN(PYBIND11_NAMESPACE) - PYBIND11_NAMESPACE_BEGIN(typing) - diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest index 14db4cdcd62f..8545e29dfbba 100644 --- a/dev-python/pyfakefs/Manifest +++ b/dev-python/pyfakefs/Manifest @@ -1,3 +1,4 @@ DIST pyfakefs-5.3.5.gh.tar.gz 227359 BLAKE2B 635e41cb9892e1707555559769c01d5b575e44c5f1dd412acc05c3bed3b2dad2724ba32341b59cdecdfb658c94008e09396970349d8c1ffdcb90bf89ea82aca0 SHA512 342dc9cc0378af8cd8a9b0783fb6a1415207505ec8d4992f8fdd7e8d2bc4aada26d0803ed3b74d30b42a50dffb793c70acdeb3f28f199c0918783e1ea0a5e0d8 DIST pyfakefs-5.6.0.gh.tar.gz 242557 BLAKE2B d29e83d5ad6c7e313d28484754d2064d820856429c0e48e3b5851ecc1ae8cdfdc632f5855548229bc362b5323a7166b8d3776f2a2ccfb7472938362695a9f6f7 SHA512 7f3d8798088c66aaf57e238ee8f4693164508d23ff59fcde4a546af26da850a8c33cf0c552cb312ccfebbbbfc463db78ac80a356ce55634afc276124064ee210 DIST pyfakefs-5.7.0.gh.tar.gz 245747 BLAKE2B 08d3962cb801970b5b684e2f650f0b7db2679ff78a05a0cecf955c22420f3039f333c595bea01eb9a8235c22f45997494fe1a7cfbae2af61407448cc9d71ee1d SHA512 015d2e7007d6c7c72056f290fce150b107903620d616d2eed8de9fee601cf9d0719553cab0ad583f4444bf724279386c08b87c4585fb970266b359d7a2684f5a +DIST pyfakefs-5.7.1.gh.tar.gz 245977 BLAKE2B 8d675ddeecdf2ebde938509da68e76b67773f490c65f99f67c25e781147fd0743e3ccd2f8083d36e29fd293ffb8a77182055abec4f03a10b64a39787b4b4330a SHA512 78a5e754fbc4a47f4816296cd7045cb9001924f3185297ba166d332e2a938eb3109684cd4b63761c7d56e5461a298405f4d20059a8806d059bc940a7e8443d77 diff --git a/dev-python/pyfakefs/pyfakefs-5.7.1.ebuild b/dev-python/pyfakefs/pyfakefs-5.7.1.ebuild new file mode 100644 index 000000000000..a323d4442571 --- /dev/null +++ b/dev-python/pyfakefs/pyfakefs-5.7.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A fake file system that mocks the Python file system modules" +HOMEPAGE=" + https://github.com/pytest-dev/pyfakefs/ + https://pypi.org/project/pyfakefs/ +" +SRC_URI=" + https://github.com/pytest-dev/pyfakefs/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + local EPYTEST_IGNORE=( + # test for regression with opentimelineio package + pyfakefs/pytest_tests/segfault_test.py + # test for regression with undefined package + pyfakefs/pytest_tests/pytest_fixture_test.py + ) + + if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + pyfakefs/pytest_tests/pytest_reload_pandas_test.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pyfakefs.pytest_plugin +} diff --git a/dev-python/pyparsing/Manifest b/dev-python/pyparsing/Manifest index 814771af06ea..4fbdc43e6832 100644 --- a/dev-python/pyparsing/Manifest +++ b/dev-python/pyparsing/Manifest @@ -1,3 +1,4 @@ DIST pyparsing-3.1.4.tar.gz 900231 BLAKE2B 121092316528a69f79a8fac5e903de513c4193bd00d5ef7e98dfcb09f3a48eb3384217ede39b0f954f58bdade8644931ce8cef41729539fc1be3dfb910b90be7 SHA512 b475e5571510cd7b07fecbc8ae583b1e75a6308b64018d2884570dfa461e0529b96d02d11403cecac41f92b5d802a5dd4bbf9f8321d58ffa2d24cb89b86652e1 +DIST pyparsing-3.2.0.tar.gz 920984 BLAKE2B 417dc6f21f0f16e21422531c729efa4948eba458a28b38347cb665148b4fc438c8e420e4084d79c41386a959a8929f05a80c9b6323f1282b41e8cc1b85f1165d SHA512 0a3096f07c41d3ff954c9aba8bd259a1c8af7ecb391add863e5743262b34778d32f05a617736295dcadbda80d94ca9af2e395a2077f616ac4d1557459a0b7cff DIST pyparsing-3.2.0b3.tar.gz 914295 BLAKE2B d542366991972641d5bda7b2d7c1df7de9239d4f8cfdae5ce68d6e763cbc8d5fe87d0bfea18d2b13a6b53d15fa1e97f0d0a9f73735fcb7599f1514f4e1c0e4a6 SHA512 8d743d79f5b099330c186a8a5671d284254db314648ce4f59ce28795122561489d1015419a8ad14dae46d62d1c0c7ffd72b366320ea1e84d4a13655bc8d62e95 DIST pyparsing-3.2.0rc1.tar.gz 915074 BLAKE2B fd610f3bbbe4a7e775b028a66fea60457629d9a8e518cf03ad26efe77cd9dcae71a3e8d9406d23d1185c13777298ae42ea84b8f41ab238d30904c84e9a07806b SHA512 9832190566327684390e485d1ce2392e39bcc31f72ab31f0868b9a17c53b5ccafdb6195e985db32180f8e14be18644f5dfb139aea1b23cc4f0ced09168245e4c diff --git a/dev-python/pyparsing/pyparsing-3.2.0.ebuild b/dev-python/pyparsing/pyparsing-3.2.0.ebuild new file mode 100644 index 000000000000..4ba7381cc264 --- /dev/null +++ b/dev-python/pyparsing/pyparsing-3.2.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 2004-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Easy-to-use Python module for text parsing" +HOMEPAGE=" + https://github.com/pyparsing/pyparsing/ + https://pypi.org/project/pyparsing/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="examples" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # railroad-diagrams not packaged (and not suitable for packaging yet) + tests/test_diagram.py + ) + local EPYTEST_DESELECT=( + # also railroad-diagrams + tests/test_examples.py::TestExamples::test_range_check + tests/test_examples.py::TestExamples::test_rosettacode + tests/test_unit.py::Test02_WithoutPackrat::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test04_WithPackrat::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test06_WithBoundedPackrat::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test08_WithUnboundedPackrat::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test09_WithLeftRecursionParsing::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test10_WithLeftRecursionParsingBoundedMemo::testEmptyExpressionsAreHandledProperly + ) + + if ! has_version "dev-python/matplotlib[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/test_matplotlib_cases.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +python_install_all() { + if use examples; then + docompress -x /usr/share/doc/${PF}/examples + dodoc -r examples + fi + distutils-r1_python_install_all +} diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest index 3efc301f8f4f..a5319de25a0a 100644 --- a/dev-python/pysnmp/Manifest +++ b/dev-python/pysnmp/Manifest @@ -1,2 +1,3 @@ DIST pysnmp-7.0.3.tar.gz 427830 BLAKE2B 5855095c40ca63bfb705293d33d061d94ad0958ab854863fb73468d6aee846ea2fd843f4444eb93a29cb8c1ec3043e1d90445628e66392b04d43d2c027c4ce79 SHA512 9c23ab7073b40ae43a6c56b81c05ef6639f99f44153dcb2f97a455402495cfb5dc8f70025331d5461e6e18a66e1de8246506947bc80465df67cba2381d0d891d DIST pysnmp-7.1.5.tar.gz 329154 BLAKE2B e4befd3a4e9dcbd777feff76af4df474952c7c91e787b43247e15ab32da162c9ea6ea4c56d059af811872b0119e6acc912a8c44c5efb96181db861589abaa2df SHA512 61a462c62c27a65c62a33ebb8d1f92efc1dd3284785ab8cdc3b0073d92d2aada2a0dea55629a7ea99ca181a30585cb729d994169fc2b6d4d029630cefff2648d +DIST pysnmp-7.1.6.tar.gz 345379 BLAKE2B e2baae9150561634a0408ffd8d4173106aff18f59f165ee178cd20359b070561debc5706da2092e38aee1772f8c035b0156625234d96596028ac7f0644dc76f5 SHA512 40fe86942e44586c3192ca0e99b8970011e3d573765e8b301a2fedece64acc99cadc5d47e389dab3341d8d26825df524484401509bbdc1e55a1835e6fee15290 diff --git a/dev-python/pysnmp/pysnmp-7.1.6.ebuild b/dev-python/pysnmp/pysnmp-7.1.6.ebuild new file mode 100644 index 000000000000..1b2c79735dfa --- /dev/null +++ b/dev-python/pysnmp/pysnmp-7.1.6.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +inherit distutils-r1 pypi + +DESCRIPTION="Python SNMP library" +HOMEPAGE=" + https://pypi.org/project/pysnmp/ + https://github.com/lextudio/pysnmp/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86" +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + >=dev-python/cryptography-43.0.1[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.4.8[${PYTHON_USEDEP}] + >=dev-python/pysmi-1.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +# TODO +# distutils_enable_sphinx docs/source dev-python/furo dev-python/sphinx-copybutton dev-python/sphinx-sitemap + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + mibdump NET-SNMP-EXAMPLES-MIB || die + mibdump IF-MIB || die + epytest -p asyncio +} diff --git a/dev-python/rq/rq-1.16.2.ebuild b/dev-python/rq/rq-1.16.2.ebuild index c29cab69bd9e..2d03bcd89751 100644 --- a/dev-python/rq/rq-1.16.2.ebuild +++ b/dev-python/rq/rq-1.16.2.ebuild @@ -27,7 +27,6 @@ BDEPEND=" test? ( dev-db/redis dev-python/psutil[${PYTHON_USEDEP}] - <dev-python/sentry-sdk-2[${PYTHON_USEDEP}] ) " @@ -55,3 +54,13 @@ src_test() { # Clean up afterwards kill "$(<"${redis_pid}")" || die } + +python_test() { + local EPYTEST_DESELECT=( + # requires <sentry-sdk-2 + tests/test_sentry.py::TestSentry::test_failure_capture + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/simple-websocket/Manifest b/dev-python/simple-websocket/Manifest index 31f5a525b29c..ee18d0806c7e 100644 --- a/dev-python/simple-websocket/Manifest +++ b/dev-python/simple-websocket/Manifest @@ -1 +1,2 @@ DIST simple-websocket-1.0.0.gh.tar.gz 19082 BLAKE2B d1ac2d0838e22de023f44e1a12780166b00a0dc39707e8953c8783c98f2fc4fc1ad5701401117cc45b7596d95acbb734fae82a27e50be48f684ad2caeafd428f SHA512 63ccc19fe09f675e098f33d32659d1314b573893014bc203abb285c3ff6c04916fd6b592bcf50cc9d65d40d4ebe739e686ac53257ff8407de60312d6e21ca1b5 +DIST simple-websocket-1.1.0.gh.tar.gz 19589 BLAKE2B 293fa26af7ea929b4b2acdfe8e63598ac171a6b628f6a72aa1694c880b3db48b20fc7b76854e17cf1896e29a95982fba54c47a6baad3589ffa85d1fe93d6be6f SHA512 89c2c580902af77e8708bf2ae5c40358f3f9fe3052ee58d42bc518a68042c8b0bda1ad0cf3e304b67189590e75ee1bfe085d12f9d18755c443731c0884b1cb92 diff --git a/dev-python/simple-websocket/simple-websocket-1.1.0.ebuild b/dev-python/simple-websocket/simple-websocket-1.1.0.ebuild new file mode 100644 index 000000000000..13ecfaeb5c4b --- /dev/null +++ b/dev-python/simple-websocket/simple-websocket-1.1.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Simple WebSocket server and client for Python" +HOMEPAGE=" + https://github.com/miguelgrinberg/simple-websocket/ + https://pypi.org/project/simple-websocket/ +" +# upstream refuses to provide working tests in sdist +# https://github.com/miguelgrinberg/simple-websocket/issues/31 +SRC_URI=" + https://github.com/miguelgrinberg/simple-websocket/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/wsproto[${PYTHON_USEDEP}] +" + +src_prepare() { + distutils-r1_src_prepare + + # fix tests to work offline + # https://github.com/miguelgrinberg/simple-websocket/commit/159e030c7c23060de989cebec6d98d776c75bcbd + sed -i -e 's:example\.com:localhost:g' tests/test_client.py || die +} + +distutils_enable_tests pytest diff --git a/dev-python/spyder/files/spyder-5.2.0-doc-theme-renamed.patch b/dev-python/spyder/files/spyder-5.2.0-doc-theme-renamed.patch deleted file mode 100644 index 08403d90fd9d..000000000000 --- a/dev-python/spyder/files/spyder-5.2.0-doc-theme-renamed.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/docs/doc/conf.py b/docs/doc/conf.py -index 92a4b65..412fd39 100644 ---- a/docs/doc/conf.py -+++ b/docs/doc/conf.py -@@ -145,7 +145,7 @@ - # - # CI = True - # TRAVIS_BRANCH = 'master' --html_theme = "pandas_sphinx_theme" -+html_theme = "pydata_sphinx_theme" - html_logo = "_static/images/spyder_logo.png" - html_theme_options = { - "external_links": [ diff --git a/dev-python/trove-classifiers/Manifest b/dev-python/trove-classifiers/Manifest index f4013ac05cf6..0a1609566881 100644 --- a/dev-python/trove-classifiers/Manifest +++ b/dev-python/trove-classifiers/Manifest @@ -1,2 +1,3 @@ DIST trove_classifiers-2024.10.12.tar.gz 16100 BLAKE2B 56c8b409874370ec3861b61c2e5ef3f19469781196b71d3e674f9d95fd1e8df32445158f12ba54679dc21cb64194d98b7bd6ce2d3f1fbad20b11a29db64bfcf4 SHA512 fb848b4f46979887ae0ca426ec18bcc72689bdf46d4cd19353b2650acd98a9e74179f9df43a5fac27a2ef37078a8312267f3e1b08241f6ed73b6dc6c0bb08c61 +DIST trove_classifiers-2024.10.13.tar.gz 16103 BLAKE2B 7cebc0848dd1692ee7115690e1d4299955f7e1a5a3819f06ae27569c75f2efe4d242dffca081ba2ef3c835ebf52a0ef3b5e9324b08f76e328ea3e050fe2eeb07 SHA512 9253cbd0b36071e8cd3fd0c3e6e2544915f79aa8fb6d31fbb1fea05dcdd9b8770fc99f0e90047dc211c8d223f37642941c363d4536d53dddfc5662d5a44fc3d6 DIST trove_classifiers-2024.9.12.tar.gz 16058 BLAKE2B 6cac2247910e95bf1f0b9a37b0f0e59062652526a45c4097c743a5f0665a5d8b5042bb7eb02741f2bf9b7d669a1be238940ab2b498281ef3ce6f3fa4c0c2961c SHA512 4fc6efc514638dfb2aee4fbd06f258bb9d5d9d54269e6d33f3739a63d61d6d3caa9a7124f9e5ad601714253c27b97bc9a60f3a9369f2f358ed19fbdfcefcbb10 diff --git a/dev-python/trove-classifiers/trove-classifiers-2024.10.13.ebuild b/dev-python/trove-classifiers/trove-classifiers-2024.10.13.ebuild new file mode 100644 index 000000000000..d3efb3b1e483 --- /dev/null +++ b/dev-python/trove-classifiers/trove-classifiers-2024.10.13.ebuild @@ -0,0 +1,42 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Canonical source for classifiers on PyPI (pypi.org)" +HOMEPAGE=" + https://github.com/pypa/trove-classifiers/ + https://pypi.org/project/trove-classifiers/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "setuptools' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease hatchling bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "trove-classifiers" + version = "${PV}" + description = "Canonical source for classifiers on PyPI (pypi.org)." + EOF +} + +python_test() { + epytest + "${EPYTHON}" -m tests.lib || die +} diff --git a/dev-python/watchdog/watchdog-5.0.2.ebuild b/dev-python/watchdog/watchdog-5.0.2.ebuild index aa4eb059d2dc..769c365e2406 100644 --- a/dev-python/watchdog/watchdog-5.0.2.ebuild +++ b/dev-python/watchdog/watchdog-5.0.2.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/pyyaml[${PYTHON_USEDEP}] diff --git a/dev-python/websockets/websockets-13.1.ebuild b/dev-python/websockets/websockets-13.1.ebuild index 8c40cdbd6d63..dee07218d610 100644 --- a/dev-python/websockets/websockets-13.1.ebuild +++ b/dev-python/websockets/websockets-13.1.ebuild @@ -24,7 +24,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86" IUSE="+native-extensions" BDEPEND=" diff --git a/dev-python/zeep/Manifest b/dev-python/zeep/Manifest index c03ab549db08..a1008ccedbb7 100644 --- a/dev-python/zeep/Manifest +++ b/dev-python/zeep/Manifest @@ -1 +1,2 @@ DIST zeep-4.2.1.tar.gz 161072 BLAKE2B 01e3ec848bc4a98b301b7d091a0740f4a69057f3bb56e884a31b1d73ed51b0c62b4e0e148b2a59ebb6f01469aa949cb4079c0147dae7b3d8e7c8a2f66e5b31f8 SHA512 08de88c1e4cd1787137ea18f12bf343c5c9bb7b353ecd8781c58c7c1acf1b6ee8a0483b47d9a78eb24c79d8ecc347eb8595d460d9f75ca0428963f36a76dff5d +DIST zeep-4.3.0.tar.gz 166417 BLAKE2B 81c2b17b05fef0c543be0fd4fc454735d769587b1a7d8135f71ef94f7d325f5fa95fc0163bed4c6ed2e104fc26fb12b9bb153425c412d23437ccd299338b0784 SHA512 cd0b17f89ba31b075588d36813fc6af87d162688c6680ec67421e0e871b93201a6e830250a3ce93acdc95fa9c1ec59c75807fd8338d88f12ca2d8bd0e59b1924 diff --git a/dev-python/zeep/zeep-4.3.0.ebuild b/dev-python/zeep/zeep-4.3.0.ebuild new file mode 100644 index 000000000000..5756f16d433b --- /dev/null +++ b/dev-python/zeep/zeep-4.3.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A modern/fast Python SOAP client based on lxml / requests" +HOMEPAGE=" + https://docs.python-zeep.org/ + https://github.com/mvantellingen/python-zeep/ + https://pypi.org/project/zeep/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="async" + +RDEPEND=" + >=dev-python/attrs-17.2.0[${PYTHON_USEDEP}] + >=dev-python/isodate-0.5.4[${PYTHON_USEDEP}] + >=dev-python/lxml-4.6.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-1.4.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.7.0[${PYTHON_USEDEP}] + >=dev-python/requests-file-1.5.1[${PYTHON_USEDEP}] + >=dev-python/requests-toolbelt-0.7.1[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + async? ( >=dev-python/httpx-0.15.0[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + >=dev-python/httpx-0.15.0[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-httpx[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/xmlsec[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest |
