diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-11-06 18:35:47 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-11-06 18:35:47 +0000 |
| commit | 23402ef6b570ec9c48a546dd68c217e8e4567036 (patch) | |
| tree | 818f1bd06c0272d1eeaead568914d95891591998 /dev-python | |
| parent | 49e13196e5c8c8d6ceb4a0b79a50ef280bf4fffc (diff) | |
| download | baldeagleos-repo-23402ef6b570ec9c48a546dd68c217e8e4567036.tar.gz baldeagleos-repo-23402ef6b570ec9c48a546dd68c217e8e4567036.tar.xz baldeagleos-repo-23402ef6b570ec9c48a546dd68c217e8e4567036.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
72 files changed, 743 insertions, 790 deletions
diff --git a/dev-python/Faker/Faker-19.13.0.ebuild b/dev-python/Faker/Faker-19.13.0.ebuild index eefcf36cb4ef..603aa3e616fe 100644 --- a/dev-python/Faker/Faker-19.13.0.ebuild +++ b/dev-python/Faker/Faker-19.13.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/py-amqp/Manifest b/dev-python/amqp/Manifest index 413eb5b7b2d1..3d1bc0936b51 100644 --- a/dev-python/py-amqp/Manifest +++ b/dev-python/amqp/Manifest @@ -1 +1,2 @@ DIST amqp-5.1.1.tar.gz 127869 BLAKE2B 3ba95874a45f6fce163cf95b0b1fae57e636bc2bec8311f64fc9597025ba36f35daf8d0457af3bc10fa1f1dae604b262ebf205d7b89d4f1745bf3480b542278d SHA512 f549a85e4f04543dd8e844edb68350ca185de9259aa896af31ae5ee5dfdfe73f904d95821c403dc797c7f3ada17ce6bff4e0fd9fcdf2abc1b33a94d079f99179 +DIST amqp-5.2.0.tar.gz 128754 BLAKE2B 4d5c281c1d9691e41da452f07f81a0c8bf901cb12f7a43082f1a8cd46cb848195df7415036e42b0fdf76c621019334df50af1382b571fae38ec4796154fa3797 SHA512 923eae80721ec35e329085e680950db7167c401fac396c74d401331ef7efe369e1cf4420bfde9a1d9005052f49cedef6d2ee621e795b9127614fd5742aa5e0db diff --git a/dev-python/py-amqp/py-amqp-5.1.1-r1.ebuild b/dev-python/amqp/amqp-5.1.1-r1.ebuild index d7fc797c0b27..d7fc797c0b27 100644 --- a/dev-python/py-amqp/py-amqp-5.1.1-r1.ebuild +++ b/dev-python/amqp/amqp-5.1.1-r1.ebuild diff --git a/dev-python/amqp/amqp-5.2.0.ebuild b/dev-python/amqp/amqp-5.2.0.ebuild new file mode 100644 index 000000000000..06286353206a --- /dev/null +++ b/dev-python/amqp/amqp-5.2.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Low-level AMQP client for Python (fork of amqplib)" +HOMEPAGE=" + https://github.com/celery/py-amqp/ + https://pypi.org/project/amqp/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="extras" + +RDEPEND=" + >=dev-python/vine-5.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/pytest-rerunfailures-6.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-celery +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # rmq tests require a rabbitmq instance + t/integration/test_rmq.py +) + +EPYTEST_DESELECT=( + # fails when gssapi is installed (how does that test make sense?!) + t/unit/test_sasl.py::test_SASL::test_gssapi_missing +) + +python_install_all() { + if use extras; then + insinto /usr/share/${PF}/extras + doins -r extra + fi + distutils-r1_python_install_all +} diff --git a/dev-python/py-amqp/metadata.xml b/dev-python/amqp/metadata.xml index ff3161ae2097..ff3161ae2097 100644 --- a/dev-python/py-amqp/metadata.xml +++ b/dev-python/amqp/metadata.xml diff --git a/dev-python/astroid/astroid-3.0.1.ebuild b/dev-python/astroid/astroid-3.0.1.ebuild index 5c1cb5f7a1ba..d42255464e34 100644 --- a/dev-python/astroid/astroid-3.0.1.ebuild +++ b/dev-python/astroid/astroid-3.0.1.ebuild @@ -47,19 +47,10 @@ python_test() { # no clue why they're broken tests/test_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part tests/test_regrtest.py::NonRegressionTests::test_numpy_distutils -# tests/brain/test_regex.py::TestRegexBrain::test_regex_pattern_and_match_subscriptable -# # some problem with warnings (our options?) -# tests/test_decorators.py::TestDeprecationDecorators::test_deprecated_default_argument_values_one_arg -# tests/test_decorators.py::TestDeprecationDecorators::test_deprecated_default_argument_values_two_args -# tests/test_scoped_nodes.py::test_deprecation_of_doc_attribute -# # requires six bundled in urllib3, sigh -# tests/test_modutils.py::test_file_info_from_modpath__SixMetaPathImporter -# # requires pip, and looks suspicious anyway -# tests/test_manager.py::IsolatedAstroidManagerTest::test_no_user_warning # pydantic-2? tests/brain/test_dataclasses.py::test_pydantic_field -# # TODO -# tests/test_manager.py::ClearCacheTest::test_clear_cache_clears_other_lru_caches + # requires urllib3 with bundled six (skipped with urllib3>=2) + tests/test_modutils.py::test_file_info_from_modpath__SixMetaPathImporter ) local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 diff --git a/dev-python/autopep8/Manifest b/dev-python/autopep8/Manifest index 3679f01d9e26..e787dafcbf50 100644 --- a/dev-python/autopep8/Manifest +++ b/dev-python/autopep8/Manifest @@ -1 +1,2 @@ DIST autopep8-2.0.4.tar.gz 116472 BLAKE2B c6e6d207e9e27db450b74fe63fc3c8dce1e6729e0c86046e3efb2a7e749ff402e4cb33062a10c49db7a5f158b12df35088686425a9d822a32b8a4fb6185aae7c SHA512 2c3731d328d0128b4e93c9cb05d730cdf4e08cb18b73ca0de3ac24462feb3e1e61c805ce4cef67f0df2db04773657d0efae70cbca9a67fa5d2790b07daeafeac +DIST autopep8-2.0.4_p20231027.gh.tar.gz 146180 BLAKE2B 3818423c9683157df0c3ed905a225228da7ca44a361247aecbc84b70bd5476a148c6ceb38598b84ff337bf66b1fadcbec47c79738954d90fe1f04f31a467441a SHA512 28c88acd0863d7f6a7333150ce9b916e4776eefacc7eeb7c4de14a3c823c9331fb15fef03f2288ae921ddef37c19191a6550b152df6331d075217908ab1b3a7f diff --git a/dev-python/autopep8/autopep8-2.0.4_p20231027.ebuild b/dev-python/autopep8/autopep8-2.0.4_p20231027.ebuild new file mode 100644 index 000000000000..651d967bb32a --- /dev/null +++ b/dev-python/autopep8/autopep8-2.0.4_p20231027.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Automatically formats Python code to conform to the PEP 8 style guide" +HOMEPAGE=" + https://github.com/hhatto/autopep8/ + https://pypi.org/project/autopep8/ +" +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/hhatto/${PN}.git" + inherit git-r3 +else + KEYWORDS="~alpha ~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" + COMMIT="af7399d90926f2fe99a71f15197a08fa197f73a1" + SRC_URI=" + https://github.com/hhatto/autopep8/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz + " + S="${WORKDIR}/${PN}-${COMMIT}" +fi + +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + >=dev-python/pycodestyle-2.10[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( + # fails due to deprecation warnings + test/test_autopep8.py::CommandLineTests::test_in_place_no_modifications_no_writes + test/test_autopep8.py::CommandLineTests::test_in_place_no_modifications_no_writes_with_empty_file + ) + + epytest +} diff --git a/dev-python/autopep8/autopep8-9999.ebuild b/dev-python/autopep8/autopep8-9999.ebuild index cfd3f15779c1..4ccf6207369a 100644 --- a/dev-python/autopep8/autopep8-9999.ebuild +++ b/dev-python/autopep8/autopep8-9999.ebuild @@ -29,7 +29,7 @@ RDEPEND=" >=dev-python/pycodestyle-2.10[${PYTHON_USEDEP}] $(python_gen_cond_dep ' dev-python/tomli[${PYTHON_USEDEP}] - ' 3.{8..10}) + ' 3.10) " distutils_enable_tests pytest diff --git a/dev-python/dirty-equals/dirty-equals-0.6.0-r2.ebuild b/dev-python/dirty-equals/dirty-equals-0.6.0-r3.ebuild index 2cdd1eb56929..e927986c421f 100644 --- a/dev-python/dirty-equals/dirty-equals-0.6.0-r2.ebuild +++ b/dev-python/dirty-equals/dirty-equals-0.6.0-r3.ebuild @@ -24,7 +24,6 @@ SLOT="0" KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" - <dev-python/pydantic-2[${PYTHON_USEDEP}] >=dev-python/pytz-2021.3[${PYTHON_USEDEP}] " BDEPEND=" @@ -36,12 +35,31 @@ BDEPEND=" distutils_enable_tests pytest +src_prepare() { + # hackaround IsUrl use in global scope (for parametrize) + if ! has_version "dev-python/pydantic[${PYTHON_USEDEP}]"; then + sed -i -e 's:IsUrl([^)]*):IsUrl:g' tests/test_other.py || die + fi + + distutils-r1_src_prepare +} + python_test() { local EPYTEST_IGNORE=( # require unpackaged pytest-examples tests/test_docs.py ) + local args=() + + if ! has_version "<dev-python/pydantic-2[${PYTHON_USEDEP}]"; then + args+=( + # IsUrl is not used in any revdeps, and it's broken + # with pydantic-2 + # https://github.com/samuelcolvin/dirty-equals/issues/72 + -k "not is_url" + ) + fi local -x TZ=UTC - epytest + epytest "${args[@]}" } diff --git a/dev-python/fb-re2/Manifest b/dev-python/fb-re2/Manifest new file mode 100644 index 000000000000..c0cdb49aee40 --- /dev/null +++ b/dev-python/fb-re2/Manifest @@ -0,0 +1 @@ +DIST pyre2-1.0.7.gh.tar.gz 11684 BLAKE2B 748a409aa56dab0e088961bdd0b8659dfe0ed817ed1f6fe1dce15fd03e32b30472776c4e21a4f39e66aa5b3539650a657c36acf8b857332b255a139ef0f890a9 SHA512 c4579bf73af2f0a5ccbb6a28b87ce777ef08199947c1bdf740b426960f41b3530c97a7158fac7768b51c92b8a3797f8e66de61e0c942f239920bd5397d63e2c4 diff --git a/dev-python/fb-re2/fb-re2-1.0.7-r1.ebuild b/dev-python/fb-re2/fb-re2-1.0.7-r1.ebuild new file mode 100644 index 000000000000..0b7fea4bc87a --- /dev/null +++ b/dev-python/fb-re2/fb-re2-1.0.7-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +MY_P=pyre2-${PV} +DESCRIPTION="Python bindings for dev-libs/re2" +HOMEPAGE=" + https://github.com/facebook/pyre2/ + https://pypi.org/project/fb-re2/ +" +SRC_URI=" + https://github.com/facebook/pyre2/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + dev-libs/re2:= +" +RDEPEND=" + ${DEPEND} +" + +distutils_enable_tests unittest + +src_prepare() { + # py3.12 + # https://github.com/facebook/pyre2/pull/26 + sed -e 's:assertRaisesRegexp:assertRaisesRegex:' \ + -i tests/test_match.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/pyre2/metadata.xml b/dev-python/fb-re2/metadata.xml index 4b844481d3ba..4b844481d3ba 100644 --- a/dev-python/pyre2/metadata.xml +++ b/dev-python/fb-re2/metadata.xml diff --git a/dev-python/imageio/Manifest b/dev-python/imageio/Manifest index 16e97ba37998..5a5d08f6b00b 100644 --- a/dev-python/imageio/Manifest +++ b/dev-python/imageio/Manifest @@ -1,3 +1,4 @@ DIST imageio-2.31.6.gh.tar.gz 412220 BLAKE2B b8eb95d8bf4fd1f8a0873581f401667e5ad4bb1a4cc43527e163e292cac6177e095c140857e8acdd483029f8d155a7e7bde33b41fc53d5945ff42e2685f74d03 SHA512 10f9fc7ac7ef1c3352659ec29c66684133c51350e33f16c617806f75b6137aeb8a580975ae430afab16f06843efa3e41b7e4ab042fb183d44f1a3e5c1d68efeb +DIST imageio-2.32.0.gh.tar.gz 412403 BLAKE2B 7e29d7e8008caeecbc4c76293da77fe85b0d3d4e6cd12b7ab8f5d0ab895bb22ff6d29bf70469ff848a8bc8449d5211d96f5a2fd9a31ec88beb93d1568ab78f50 SHA512 b2a1accdf48e23f1b3813fae5f68afa4501fad47968e20f91af2ba433c629748d6cec5a914c4b2288ce527c81aadea296bf1b2d877ef39b3ac99f85a60aa854d DIST imageio-chelsea.png 221294 BLAKE2B 58537d7a1678fa5be4cc899e5bacd925bfc180eb4ae691330a53749a49ff544e979609b529ed27e5c1fc9efe4bc050ca1ce49b777f4016fb1d66affd926ef9d3 SHA512 48470cdb843eed4dfa6673811c09c5aac9869ee23dd36be0c6b653d9f108d61d21b148c2a4435aaa6604887ba030e5bbc5e35d378da876366445dfc2d0ba4e27 DIST imageio-cockatoo.mp4 728751 BLAKE2B 45b22cd517c1cb7c0cd12f8865facaca6a847047aea716e49633cf2b1dc13826f94787c8a8f9dd5f48c6a896f5d37794c0058da1bde9e1469f196916476dbfa2 SHA512 e9cb7c25de8019c59ba4090cf10ab29f2b5d62ada37a877081ca07d2ecfe010036222ae843b41bbcc843130d97fa5e14421de252639e9481df1d1c27b19add49 diff --git a/dev-python/imageio/imageio-2.32.0.ebuild b/dev-python/imageio/imageio-2.32.0.ebuild new file mode 100644 index 000000000000..cbdc053f793b --- /dev/null +++ b/dev-python/imageio/imageio-2.32.0.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +BIN_COMMIT=224074bca448815e421a59266864c23041531a42 +DESCRIPTION="Python library for reading and writing image data" +HOMEPAGE=" + https://imageio.readthedocs.io/en/stable/ + https://github.com/imageio/imageio/ + https://pypi.org/project/imageio/ +" +SRC_URI=" + https://github.com/imageio/imageio/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/imageio/imageio-binaries/raw/${BIN_COMMIT}/images/chelsea.png + -> ${PN}-chelsea.png + https://github.com/imageio/imageio-binaries/raw/${BIN_COMMIT}/images/cockatoo.mp4 + -> ${PN}-cockatoo.mp4 + ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +# over 50% of tests rely on Internet +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + >=dev-python/numpy-1.20.0[${PYTHON_USEDEP}] + <dev-python/pillow-10.1[${PYTHON_USEDEP}] + >=dev-python/pillow-8.3.2[${PYTHON_USEDEP}] + media-libs/freeimage +" +# requests for fsspec[github] +BDEPEND=" + test? ( + dev-python/fsspec[${PYTHON_USEDEP}] + dev-python/imageio-ffmpeg[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tifffile[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + local PATCHES=( + # block silently downloading vulnerable libraries from the Internet + "${FILESDIR}"/imageio-2.22.0-block-download.patch + ) + + if use test; then + mkdir -p "${HOME}"/.imageio/images || die + local i + for i in chelsea.png cockatoo.mp4; do + cp "${DISTDIR}/${PN}-${i}" "${HOME}/.imageio/images/${i}" || die + done + fi + + distutils-r1_src_prepare +} + +EPYTEST_DESELECT=( + # Fails because of system installed freeimage + tests/test_core.py::test_findlib2 + # Tries to download ffmpeg binary ?! + tests/test_ffmpeg.py::test_get_exe_installed + # blocked by our patch + tests/test_core.py::test_fetching + tests/test_core.py::test_request + # known broken + # https://github.com/imageio/imageio/issues/890 + tests/test_freeimage.py::test_exr_write + # requires pillow-heif, also possibly Internet + tests/test_pillow.py::test_heif_remote +) diff --git a/dev-python/isort/files/isort-5.12.0-py312.patch b/dev-python/isort/files/isort-5.12.0-py312.patch new file mode 100644 index 000000000000..a6de4a75311b --- /dev/null +++ b/dev-python/isort/files/isort-5.12.0-py312.patch @@ -0,0 +1,40 @@ +From abfb91fd7da34111828d81a20fe7aeaaab7a58c7 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Mon, 6 Nov 2023 13:29:21 +0100 +Subject: [PATCH] Fix assertions in `test_git_hook` + +Fix `called_once()` assertions in `test_git_hook` to use the correct +`assert_called_once()` method. The former does not exist, so it +evaluates to a mocked method in Python < 3.12, making the assert +meaningless, and it triggers an error in Python 3.12+. + +While at it, split the mock into two because otherwise the test would +fail because two `hooks.git_hook()` calls imply two mock calls. +--- + tests/unit/test_hooks.py | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/tests/unit/test_hooks.py b/tests/unit/test_hooks.py +index 2757f414f..29685f503 100644 +--- a/tests/unit/test_hooks.py ++++ b/tests/unit/test_hooks.py +@@ -11,7 +11,7 @@ def test_git_hook(src_dir): + # Ensure correct subprocess command is called + with patch("subprocess.run", MagicMock()) as run_mock: + hooks.git_hook() +- assert run_mock.called_once() ++ run_mock.assert_called_once() + assert run_mock.call_args[0][0] == [ + "git", + "diff-index", +@@ -21,8 +21,9 @@ def test_git_hook(src_dir): + "HEAD", + ] + ++ with patch("subprocess.run", MagicMock()) as run_mock: + hooks.git_hook(lazy=True) +- assert run_mock.called_once() ++ run_mock.assert_called_once() + assert run_mock.call_args[0][0] == [ + "git", + "diff-index", diff --git a/dev-python/isort/isort-5.12.0.ebuild b/dev-python/isort/isort-5.12.0.ebuild index 3ff19e4597e0..1eeba940cbe2 100644 --- a/dev-python/isort/isort-5.12.0.ebuild +++ b/dev-python/isort/isort-5.12.0.ebuild @@ -31,7 +31,6 @@ BDEPEND=" dev-python/colorama[${PYTHON_USEDEP}] dev-python/hypothesis[${PYTHON_USEDEP}] dev-python/natsort[${PYTHON_USEDEP}] - dev-python/pylama[${PYTHON_USEDEP}] dev-python/pytest-mock[${PYTHON_USEDEP}] dev-vcs/git ) @@ -40,6 +39,11 @@ BDEPEND=" distutils_enable_tests pytest src_prepare() { + local PATCHES=( + # https://github.com/PyCQA/isort/pull/2196 + "${FILESDIR}/${P}-py312.patch" + ) + # unbundle tomli sed -i -e 's:from ._vendored ::' isort/settings.py || die rm -r isort/_vendored || die @@ -63,5 +67,13 @@ python_test() { # Excluded from upstream's test script tests/unit/test_deprecated_finders.py ) + + if ! has_version "dev-python/pylama[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/unit/test_importable.py + tests/unit/test_pylama_isort.py + ) + fi + epytest tests/unit } diff --git a/dev-python/joblib/files/joblib-1.3.2-py3.12-avoid-ast.num-and-node.n.patch b/dev-python/joblib/files/joblib-1.3.2-py3.12-avoid-ast.num-and-node.n.patch new file mode 100644 index 000000000000..a9865e00380e --- /dev/null +++ b/dev-python/joblib/files/joblib-1.3.2-py3.12-avoid-ast.num-and-node.n.patch @@ -0,0 +1,15 @@ +diff --git a/joblib/_utils.py b/joblib/_utils.py +index 7693310e0..6cd99ad31 100644 +--- a/joblib/_utils.py ++++ b/joblib/_utils.py +@@ -35,8 +35,8 @@ def eval_expr(expr): + + + def eval_(node): +- if isinstance(node, ast.Num): # <number> +- return node.n ++ if isinstance(node, ast.Constant): # <constant> ++ return node.value + elif isinstance(node, ast.BinOp): # <left> <operator> <right> + return operators[type(node.op)](eval_(node.left), eval_(node.right)) + elif isinstance(node, ast.UnaryOp): # <operator> <operand> e.g., -1 diff --git a/dev-python/joblib/files/joblib-1.3.2-py3.12-no-depr-warn.patch b/dev-python/joblib/files/joblib-1.3.2-py3.12-no-depr-warn.patch new file mode 100644 index 000000000000..4d5a28815e4a --- /dev/null +++ b/dev-python/joblib/files/joblib-1.3.2-py3.12-no-depr-warn.patch @@ -0,0 +1,15 @@ +diff --git a/joblib/test/test_parallel.py b/joblib/test/test_parallel.py +index 906d436..c4a727c 100644 +--- a/joblib/test/test_parallel.py ++++ b/joblib/test/test_parallel.py +@@ -189,6 +189,10 @@ def test_main_thread_renamed_no_warning(backend, monkeypatch): + # warninfo catches Warnings from worker timeouts. We remove it if it exists + warninfo = [w for w in warninfo if "worker timeout" not in str(w.message)] + ++ # We don't want to count DeprecationWarnings ++ warninfo = [w for w in warninfo ++ if not isinstance(w.message, DeprecationWarning)] ++ + # The multiprocessing backend will raise a warning when detecting that is + # started from the non-main thread. Let's check that there is no false + # positive because of the name change. diff --git a/dev-python/joblib/joblib-1.3.2.ebuild b/dev-python/joblib/joblib-1.3.2.ebuild index 6ef5f87442b6..180513172510 100644 --- a/dev-python/joblib/joblib-1.3.2.ebuild +++ b/dev-python/joblib/joblib-1.3.2.ebuild @@ -31,6 +31,13 @@ BDEPEND=" ) " +PATCHES=( + # Borrowed from Fedora: https://github.com/joblib/joblib/issues/1478 + "${FILESDIR}/${P}-py3.12-no-depr-warn.patch" + # https://github.com/joblib/joblib/pull/1518 + "${FILESDIR}/${P}-py3.12-avoid-ast.num-and-node.n.patch" +) + distutils_enable_tests pytest EPYTEST_DESELECT=( diff --git a/dev-python/kombu/Manifest b/dev-python/kombu/Manifest index 6d592afbb61a..24291f2d4cce 100644 --- a/dev-python/kombu/Manifest +++ b/dev-python/kombu/Manifest @@ -1,2 +1 @@ -DIST kombu-5.3.1.tar.gz 434284 BLAKE2B 8df6d441d1229fe188584a34cab6d40250dc119a189215ab8ae8ec6660dc25e85166f48786b6b4c2abd56b4eb9e6fdc15a92372078d6f412b728ce45be0a81e5 SHA512 608e70cc66dc19915fd2b40c3b908f3147f60a7c971be1d8bf04f3a18f78999a7a140073ecc9f38ec9aec49c1ef0a6f01fb5f2d27d68fc68bd64aade1924edfa DIST kombu-5.3.2.tar.gz 431102 BLAKE2B d617868a851382055acb44313f928aa2f1458700c29ee008f6eb7226010537bfbda6b306907e4901db1e51300abee969d574842a65f049f50507376103dbc670 SHA512 2960b3a2c8ef067d2cd82c8930ff00ffa8ce17d40a3b73597d274a289dec4ea24a2f250b19f4f02198be8cb5da067b9b45b7d07f4b15632ef96e9919bab739ea diff --git a/dev-python/kombu/kombu-5.3.1.ebuild b/dev-python/kombu/kombu-5.3.1.ebuild deleted file mode 100644 index 2e19d4986b7a..000000000000 --- a/dev-python/kombu/kombu-5.3.1.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="AMQP Messaging Framework for Python" -HOMEPAGE=" - https://github.com/celery/kombu/ - https://pypi.org/project/kombu/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="examples" - -RDEPEND=" - >=dev-python/py-amqp-5.1.1[${PYTHON_USEDEP}] - <dev-python/py-amqp-6.0.0[${PYTHON_USEDEP}] - dev-python/vine[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - app-arch/brotli[python,${PYTHON_USEDEP}] - >=dev-python/boto3-1.22.2[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - >=dev-python/msgpack-0.3.0[${PYTHON_USEDEP}] - dev-python/pycurl[${PYTHON_USEDEP}] - >=dev-python/pymongo-4.1.1[${PYTHON_USEDEP}] - dev-python/pytest-freezegun[${PYTHON_USEDEP}] - dev-python/zstandard[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] - >=dev-python/redis-4.2.2[${PYTHON_USEDEP}] - dev-python/sqlalchemy[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs \ - dev-python/sphinx-celery - -python_test() { - local EPYTEST_DESELECT=( - # TODO - t/unit/transport/test_redis.py::test_Channel::test_connparams_health_check_interval_supported - ) - local EPYTEST_IGNORE=( - # obsolete Pyro4 - t/unit/transport/test_pyro.py - # unpackaged azure - t/unit/transport/test_azurestoragequeues.py - ) - - epytest -} - -python_install_all() { - if use examples; then - docompress -x "/usr/share/doc/${PF}/examples" - docinto examples - dodoc -r examples/. - fi - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "Amazon SQS backend" "dev-python/boto3 dev-python/pycurl" - optfeature "Etcd backend" dev-python/python-etcd - optfeature "MongoDB backend" dev-python/pymongo - optfeature "Redis backend" dev-python/redis - optfeature "sqlalchemy backend" dev-python/sqlalchemy - optfeature "yaml backend" dev-python/pyyaml - optfeature "MessagePack (de)serializer for Python" dev-python/msgpack - optfeature "brotli compression" "app-arch/brotli[python]" - optfeature "zstd compression" dev-python/zstandard -} diff --git a/dev-python/kombu/kombu-5.3.2.ebuild b/dev-python/kombu/kombu-5.3.2.ebuild index 2e19d4986b7a..2c0a88451dd0 100644 --- a/dev-python/kombu/kombu-5.3.2.ebuild +++ b/dev-python/kombu/kombu-5.3.2.ebuild @@ -20,8 +20,8 @@ KEYWORDS="~amd64 ~arm64 ~x86" IUSE="examples" RDEPEND=" - >=dev-python/py-amqp-5.1.1[${PYTHON_USEDEP}] - <dev-python/py-amqp-6.0.0[${PYTHON_USEDEP}] + >=dev-python/amqp-5.1.1[${PYTHON_USEDEP}] + <dev-python/amqp-6.0.0[${PYTHON_USEDEP}] dev-python/vine[${PYTHON_USEDEP}] " BDEPEND=" diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index e9da2ac43cac..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 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..736a1167c898 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -1,12 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> - </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/lazy_loader/Manifest b/dev-python/lazy_loader/Manifest new file mode 100644 index 000000000000..d48894649f58 --- /dev/null +++ b/dev-python/lazy_loader/Manifest @@ -0,0 +1 @@ +DIST lazy_loader-0.3.tar.gz 12268 BLAKE2B b4b38202fa5c4558934dc6e2090b0585d9245a69824fb9548f5f24c3538232ce35fc1096978c4bb385bbc19b1008487cbe5b2e5a81f672acc790bfc1ac4b1bd7 SHA512 282efef8a20321bda07be382871fa3314ebf6c59f2451b33e613a72dd5b875fe7a7b8ea1336c879d79bf78cb808e1220a68ba30cd4e948d8c10ab0ca9ec23938 diff --git a/dev-python/lazy_loader/lazy_loader-0.3.ebuild b/dev-python/lazy_loader/lazy_loader-0.3.ebuild new file mode 100644 index 000000000000..765e08eb6398 --- /dev/null +++ b/dev-python/lazy_loader/lazy_loader-0.3.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Populate library namespace without incurring immediate import costs" +HOMEPAGE=" + https://github.com/scientific-python/lazy_loader + https://pypi.org/project/lazy_loader/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +distutils_enable_tests pytest diff --git a/dev-python/lazy_loader/metadata.xml b/dev-python/lazy_loader/metadata.xml new file mode 100644 index 000000000000..66ee50826efd --- /dev/null +++ b/dev-python/lazy_loader/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/loky/loky-3.4.1.ebuild b/dev-python/loky/loky-3.4.1.ebuild index b3a5108b7909..bd894b816556 100644 --- a/dev-python/loky/loky-3.4.1.ebuild +++ b/dev-python/loky/loky-3.4.1.ebuild @@ -40,9 +40,16 @@ python_test() { EPYTEST_DESELECT=( # docker, seriously? tests/test_loky_module.py::test_cpu_count_cfs_limit + tests/test_loky_module.py::test_cpu_count_cgroup_limit # hangs, and even pytest-timeout does not help tests/test_reusable_executor.py::TestExecutorDeadLock::test_deadlock_kill tests/test_reusable_executor.py::TestResizeExecutor::test_reusable_executor_resize + # Python 3.12 raises an additional warning due to the use of fork() + # in a multithreaded process, the additional warning breaks this test + # since the expected warning is no longer the first. + # This is harmless, skip test for now + tests/test_worker_timeout.py::TestTimeoutExecutor::test_worker_timeout_shutdown_no_deadlock + tests/test_reusable_executor.py::TestResizeExecutor::test_resize_after_timeout ) local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index 9bde4579d797..53e2127a3e5a 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -1,5 +1,2 @@ -DIST mkdocs-material-9.4.2.gh.tar.gz 14501913 BLAKE2B a822b1bb54ffffccca7d3f41b10b2e76e2ada99b0a113c18695753558421049425a2eaf5be79fd3433861b746be303ca6a87e6c45de596038680a3e3974114d8 SHA512 f837f20de15415473f6e260330a8189b252e176a8a3dceebc9536fbad51662ade8e1760149f97ce3b95f9b9c0c2b0902600c33219accd0b3efaf1fec51c23efa -DIST mkdocs-material-9.4.4.gh.tar.gz 14508575 BLAKE2B a7c3440cfa26d6654d56a3cfe39ba1b301b2f3166b6b5f26518ef568d5bdafce45f791539d2f1e7518a73fd94cc105b88745c054dbc1c82769346aa07cbdf525 SHA512 7241680a3bccd22d355993e4d23af384ec6304722430560311ce74c5786566c64cd9cfd65d80b515b4795e550e9b165e8f207a62468b3a0eb35c7fa7ca8e85e4 -DIST mkdocs-material-9.4.5.gh.tar.gz 14526442 BLAKE2B 40ec29db7d072ee11ff8468c4780548c26dab59baa1616cf0f4ae260d1feefa2764e895cde83c7e66e27ec758991f518633a0f743dd9996acddff795099f5fc2 SHA512 69f0f019ba0de019e5f0d895ed4adb07bd4d9c57d64e54bbe055be98571755b94d3fcaed8bd0c5dc1e025deb0e5620c096a1250aeebf5443f6a26ba1d8e5eed6 -DIST mkdocs-material-9.4.6.gh.tar.gz 14534310 BLAKE2B 0d3c5d09c13840c4e7aff328b4545e8d84a8903fb43590de3e9b8527f16d9deaef2bd899542f29d950d0ee38e6b8e54b35313d0a5b3481194f0c0cf41245bdf1 SHA512 184d765163b19806e2018997878cd1212b288030464b1e418e5b6e2849400a81be6bdc3bac24ca34b63b521d63a650f8541e85caa8131d11246c26c4ff07bb4a DIST mkdocs-material-9.4.7.gh.tar.gz 14556029 BLAKE2B a3f0289afcd38dc9af2bb18205e19e78565fbe4230ed5a730736945d6b12edbcf598b337ad0715b96184059d434b6589d133bc93cec7624a72bc89ce4c30c352 SHA512 31feb4bdb5ad54fdfbe0cc054fce76e2af3b2c87424c1f3ffbda7500852074994a09de94c51b87fa40145afce6e82911b3e7399691a6c736e8c0858cc094107b +DIST mkdocs-material-9.4.8.gh.tar.gz 14556346 BLAKE2B 21cdf8e9c4d0e236db1d3bc34510be57ea273ec8b8761d896b82f32e1001313f4e00716a9b90c956ef81b522370e622bc6ad83c342a5c29cdd83e3006aae0bdf SHA512 d6f89071b60f1259f34e96e5ff3562c80096a1b3ac2b5ff44f1bf20818bdff32067d125c24d15c3b8e794e3649c42f6681417dbf1b72f0c0bd10e345e20b5be9 diff --git a/dev-python/mkdocs-material/mkdocs-material-9.4.2.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.4.2.ebuild deleted file mode 100644 index 43db1808b09a..000000000000 --- a/dev-python/mkdocs-material/mkdocs-material-9.4.2.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -DOCS_BUILDER="mkdocs" -DOCS_DEPEND=" - dev-python/mkdocs-material-extensions - dev-python/mkdocs-minify-plugin - dev-python/mkdocs-redirects -" - -inherit distutils-r1 docs - -DESCRIPTION="A Material Design theme for MkDocs" -HOMEPAGE=" - https://github.com/squidfunk/mkdocs-material/ - https://pypi.org/project/mkdocs-material/ -" -SRC_URI=" - https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86" -IUSE="social" - -RDEPEND=" - >=dev-python/Babel-2.10.3[${PYTHON_USEDEP}] - >=dev-python/colorama-0.4[${PYTHON_USEDEP}] - >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}] - >=dev-python/lxml-4.6[${PYTHON_USEDEP}] - >=dev-python/markdown-3.2[${PYTHON_USEDEP}] - >=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}] - >=dev-python/paginate-0.5.6[${PYTHON_USEDEP}] - >=dev-python/pygments-2.16[${PYTHON_USEDEP}] - >=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}] - >=dev-python/readtime-2.0[${PYTHON_USEDEP}] - >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] - >=dev-python/requests-2.26[${PYTHON_USEDEP}] - social? ( - >=dev-python/pillow-9.0[${PYTHON_USEDEP}] - >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}] - ) -" - -# mkdocs-material-extensions depends on mkdocs-material creating a circular dep -PDEPEND=" - >=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}] -" - -PATCHES=( - # simplify pyproject to remove extra deps for metadata - "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" -) - -src_prepare() { - echo "__version__ = '${PV}'" > gentoo_version.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/mkdocs-material/mkdocs-material-9.4.4.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.4.4.ebuild deleted file mode 100644 index 97996c492255..000000000000 --- a/dev-python/mkdocs-material/mkdocs-material-9.4.4.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -DOCS_BUILDER="mkdocs" -DOCS_DEPEND=" - dev-python/mkdocs-material-extensions - dev-python/mkdocs-minify-plugin - dev-python/mkdocs-redirects -" - -inherit distutils-r1 docs - -DESCRIPTION="A Material Design theme for MkDocs" -HOMEPAGE=" - https://github.com/squidfunk/mkdocs-material/ - https://pypi.org/project/mkdocs-material/ -" -SRC_URI=" - https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="social" - -RDEPEND=" - >=dev-python/Babel-2.10.3[${PYTHON_USEDEP}] - >=dev-python/colorama-0.4[${PYTHON_USEDEP}] - >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}] - >=dev-python/lxml-4.6[${PYTHON_USEDEP}] - >=dev-python/markdown-3.2[${PYTHON_USEDEP}] - >=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}] - >=dev-python/paginate-0.5.6[${PYTHON_USEDEP}] - >=dev-python/pygments-2.16[${PYTHON_USEDEP}] - >=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}] - >=dev-python/readtime-2.0[${PYTHON_USEDEP}] - >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] - >=dev-python/requests-2.26[${PYTHON_USEDEP}] - social? ( - >=dev-python/pillow-9.0[${PYTHON_USEDEP}] - >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}] - ) -" - -# mkdocs-material-extensions depends on mkdocs-material creating a circular dep -PDEPEND=" - >=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}] -" - -PATCHES=( - # simplify pyproject to remove extra deps for metadata - "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" -) - -src_prepare() { - echo "__version__ = '${PV}'" > gentoo_version.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/mkdocs-material/mkdocs-material-9.4.5.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.4.5.ebuild deleted file mode 100644 index 97996c492255..000000000000 --- a/dev-python/mkdocs-material/mkdocs-material-9.4.5.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -DOCS_BUILDER="mkdocs" -DOCS_DEPEND=" - dev-python/mkdocs-material-extensions - dev-python/mkdocs-minify-plugin - dev-python/mkdocs-redirects -" - -inherit distutils-r1 docs - -DESCRIPTION="A Material Design theme for MkDocs" -HOMEPAGE=" - https://github.com/squidfunk/mkdocs-material/ - https://pypi.org/project/mkdocs-material/ -" -SRC_URI=" - https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="social" - -RDEPEND=" - >=dev-python/Babel-2.10.3[${PYTHON_USEDEP}] - >=dev-python/colorama-0.4[${PYTHON_USEDEP}] - >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}] - >=dev-python/lxml-4.6[${PYTHON_USEDEP}] - >=dev-python/markdown-3.2[${PYTHON_USEDEP}] - >=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}] - >=dev-python/paginate-0.5.6[${PYTHON_USEDEP}] - >=dev-python/pygments-2.16[${PYTHON_USEDEP}] - >=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}] - >=dev-python/readtime-2.0[${PYTHON_USEDEP}] - >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] - >=dev-python/requests-2.26[${PYTHON_USEDEP}] - social? ( - >=dev-python/pillow-9.0[${PYTHON_USEDEP}] - >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}] - ) -" - -# mkdocs-material-extensions depends on mkdocs-material creating a circular dep -PDEPEND=" - >=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}] -" - -PATCHES=( - # simplify pyproject to remove extra deps for metadata - "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" -) - -src_prepare() { - echo "__version__ = '${PV}'" > gentoo_version.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/mkdocs-material/mkdocs-material-9.4.6.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.4.8.ebuild index 97996c492255..31c55fa06872 100644 --- a/dev-python/mkdocs-material/mkdocs-material-9.4.6.ebuild +++ b/dev-python/mkdocs-material/mkdocs-material-9.4.8.ebuild @@ -48,7 +48,9 @@ RDEPEND=" >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}] ) " - +BDEPEND=" + >=dev-python/trove-classifiers-2023.10.18[${PYTHON_USEDEP}] +" # mkdocs-material-extensions depends on mkdocs-material creating a circular dep PDEPEND=" >=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}] diff --git a/dev-python/pocketlint/Manifest b/dev-python/pocketlint/Manifest index 04cc4273f1ac..c7f40bfeab45 100644 --- a/dev-python/pocketlint/Manifest +++ b/dev-python/pocketlint/Manifest @@ -1,2 +1 @@ -DIST pocketlint-0.24.gh.tar.gz 23875 BLAKE2B b4699d1f0633ed6a3f84b97db972818c00a1d382a48648fd4fe6870f4c54f983fd36366f85a409a99b860f385902a9a05adec63199e35d1264a522a7a3086e31 SHA512 21c4055dd42c244760950b64ec4cd9359fc589014953be6f9296e0265101f098fbe34351e87f92630751fa0055de20281974a04b425f691acc4608cf929d4bf4 DIST pocketlint-0.25.gh.tar.gz 23931 BLAKE2B e8254477223ea0e631129778cc760ef57d34adb78f783258c8c097f7eac1acfe4cb00d21bc9aff576fbfab2bb3f7b687de33b3bc1f02c8d083d690a2e392bbac SHA512 dcb21ee147839a606520370f948594fc695c779a03d9edfb054dd6c07f4dd1c4ad0b64ccaad504da01e3b6c572ce27db8813ac8b61468d43e3745b5053a4edb7 diff --git a/dev-python/pocketlint/pocketlint-0.24.ebuild b/dev-python/pocketlint/pocketlint-0.24.ebuild deleted file mode 100644 index 9c97d4a986f4..000000000000 --- a/dev-python/pocketlint/pocketlint-0.24.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Shared code for running pylint against rhinstaller projects" -HOMEPAGE=" - https://github.com/rhinstaller/pocketlint/ - https://pypi.org/project/pocketlint/ -" -SRC_URI=" - https://github.com/rhinstaller/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86" - -RDEPEND=" - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pylint[${PYTHON_USEDEP}] -" - -python_test() { - "${EPYTHON}" tests/pylint/runpylint.py || die "test failed with ${EPYTHON}" -} diff --git a/dev-python/pocketlint/pocketlint-0.25.ebuild b/dev-python/pocketlint/pocketlint-0.25.ebuild index 2ecd61f2ba05..9c97d4a986f4 100644 --- a/dev-python/pocketlint/pocketlint-0.25.ebuild +++ b/dev-python/pocketlint/pocketlint-0.25.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ~ppc ppc64 ~riscv sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86" RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] diff --git a/dev-python/pydantic-core/pydantic-core-2.10.1.ebuild b/dev-python/pydantic-core/pydantic-core-2.10.1.ebuild index 9b07a469293a..88a69f4bcc81 100644 --- a/dev-python/pydantic-core/pydantic-core-2.10.1.ebuild +++ b/dev-python/pydantic-core/pydantic-core-2.10.1.ebuild @@ -5,8 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=maturin -# pypy3 is waiting for new pyo3 release -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) CRATES=" ahash@0.8.3 diff --git a/dev-python/pydantic-core/pydantic-core-2.11.0.ebuild b/dev-python/pydantic-core/pydantic-core-2.11.0.ebuild index e74c6f69b2ce..38d54425764e 100644 --- a/dev-python/pydantic-core/pydantic-core-2.11.0.ebuild +++ b/dev-python/pydantic-core/pydantic-core-2.11.0.ebuild @@ -5,8 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=maturin -# pypy3 is waiting for new pyo3 release -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) CRATES=" ahash@0.8.3 diff --git a/dev-python/pydantic/pydantic-2.4.2.ebuild b/dev-python/pydantic/pydantic-2.4.2.ebuild index f7230eb565b9..6069a366f57f 100644 --- a/dev-python/pydantic/pydantic-2.4.2.ebuild +++ b/dev-python/pydantic/pydantic-2.4.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/pyre2/Manifest b/dev-python/pyre2/Manifest deleted file mode 100644 index bb8cbe40825f..000000000000 --- a/dev-python/pyre2/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pyre2-1.0.7.tar.gz 11684 BLAKE2B 748a409aa56dab0e088961bdd0b8659dfe0ed817ed1f6fe1dce15fd03e32b30472776c4e21a4f39e66aa5b3539650a657c36acf8b857332b255a139ef0f890a9 SHA512 c4579bf73af2f0a5ccbb6a28b87ce777ef08199947c1bdf740b426960f41b3530c97a7158fac7768b51c92b8a3797f8e66de61e0c942f239920bd5397d63e2c4 diff --git a/dev-python/pyre2/pyre2-1.0.7.ebuild b/dev-python/pyre2/pyre2-1.0.7.ebuild deleted file mode 100644 index 47f6b5797050..000000000000 --- a/dev-python/pyre2/pyre2-1.0.7.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -inherit distutils-r1 - -DESCRIPTION="Python bindings for dev-libs/re2" -HOMEPAGE="https://github.com/facebook/pyre2/" -SRC_URI="https://github.com/facebook/pyre2/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND="dev-libs/re2:=" -RDEPEND="${DEPEND}" - -distutils_enable_tests setup.py diff --git a/dev-python/pyside2-tools/pyside2-tools-5.15.11-r1.ebuild b/dev-python/pyside2-tools/pyside2-tools-5.15.11-r1.ebuild index b95967aad0ea..9363b5f88694 100644 --- a/dev-python/pyside2-tools/pyside2-tools-5.15.11-r1.ebuild +++ b/dev-python/pyside2-tools/pyside2-tools-5.15.11-r1.ebuild @@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}/sources/${PN}" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="amd64 arm64 ~riscv x86" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND="${PYTHON_DEPS} diff --git a/dev-python/pyside2/pyside2-5.15.11-r1.ebuild b/dev-python/pyside2/pyside2-5.15.11-r1.ebuild index 2248e4af791e..f2864bea629a 100644 --- a/dev-python/pyside2/pyside2-5.15.11-r1.ebuild +++ b/dev-python/pyside2/pyside2-5.15.11-r1.ebuild @@ -37,7 +37,7 @@ S="${WORKDIR}/${MY_P}/sources/pyside2" # x11extras (for X) LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 )" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" IUSE=" 3d charts +concurrent datavis designer gles2-only +gui help location multimedia +network positioning +printsupport qml quick diff --git a/dev-python/python-lsp-server/python-lsp-server-1.8.2-r1.ebuild b/dev-python/python-lsp-server/python-lsp-server-1.8.2-r1.ebuild new file mode 100644 index 000000000000..e35ad2257bf0 --- /dev/null +++ b/dev-python/python-lsp-server/python-lsp-server-1.8.2-r1.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Python Language Server for the Language Server Protocol" +HOMEPAGE=" + https://github.com/python-lsp/python-lsp-server/ + https://pypi.org/project/python-lsp-server/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="all-plugins" + +RDEPEND=" + dev-python/docstring-to-markdown[${PYTHON_USEDEP}] + >=dev-python/jedi-0.17.2[${PYTHON_USEDEP}] + >=dev-python/python-lsp-jsonrpc-1.1.0[${PYTHON_USEDEP}] + dev-python/pluggy[${PYTHON_USEDEP}] + all-plugins? ( + >=dev-python/autopep8-2.0.4[${PYTHON_USEDEP}] + >=dev-python/flake8-5.0.0[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] + >=dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] + >=dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] + >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] + >=dev-python/rope-1.2.0[${PYTHON_USEDEP}] + >=dev-python/yapf-0.33.0[${PYTHON_USEDEP}] + >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + test? ( + >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + >=dev-python/flake8-5.0.0[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + >=dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] + >=dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] + >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] + dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}] + >=dev-python/rope-1.2.0[${PYTHON_USEDEP}] + >=dev-python/yapf-0.33.0[${PYTHON_USEDEP}] + >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # remove pytest-cov dep + sed -i -e '/addopts =/d' pyproject.toml || die + # unpin all the deps + sed -i -e 's:,<[0-9.]*::' pyproject.toml || die + distutils-r1_python_prepare_all +} + +python_test() { + local EPYTEST_DESELECT=( + # broken by presence of pathlib2 + 'test/plugins/test_autoimport.py' + ) + local EPYTEST_IGNORE=( + # pydocstyle is archived upstream and broken with py3.12 + test/plugins/test_pydocstyle_lint.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +pkg_postinst() { + optfeature "Automatically format Python code to conform to the PEP 8 style guide" dev-python/autopep8 + optfeature "A wrapper around PyFlakes, pep8 & mccabe" dev-python/flake8 + optfeature "flake8 plugin: McCabe complexity checker" dev-python/mccabe + optfeature "Python style guide checker (fka pep8)" dev-python/pycodestyle + optfeature "Python docstring style checker" dev-python/pydocstyle + optfeature "Passive checker for Python programs" dev-python/pyflakes + optfeature "Python code static checker" dev-python/pylint + optfeature "Python refactoring library" dev-python/rope + optfeature "A formatter for Python files" dev-python/yapf +} diff --git a/dev-python/qtconsole/Manifest b/dev-python/qtconsole/Manifest index c15dc441bb26..2f7fdfd60ec0 100644 --- a/dev-python/qtconsole/Manifest +++ b/dev-python/qtconsole/Manifest @@ -1,2 +1,3 @@ DIST qtconsole-5.4.3.tar.gz 437303 BLAKE2B ead6676dabf342a74c30ecba1f280e697c7e58fb970813a572bcacf4adbc71e525df4323b50c30100433373e89eeea464dc382844066416e121a0f1c140487db SHA512 9c2061441775daa3045c1788ed57048de9197938a927647197d29a0b7cada836d5fe4e3329b5126c984064070a275cccbe0341622c3b8591f63842a619b859e8 DIST qtconsole-5.4.4.tar.gz 437213 BLAKE2B 2def481c7ceb29c8ce92dfb96055310a8ee3a664a77c76da0eac672c6fd036326402a47cdaab25d504a855172067ae73e7f94b874545951674395d82f18374b5 SHA512 95d00a7896579eeba75896dd96efe9f07a54a687eca4ec2c4d9c7cf05029570788cd23267682ee4bce9943cf4d6cb36d7bd1d77be66f6bfd0f37e7d15e0d8f0f +DIST qtconsole-5.5.0.tar.gz 438967 BLAKE2B f9833f18ecb0ddadd55793d3dc38b9f421add4ac22cd98849f8770b5762df01c9e4e0e6f5c42baf8e3715e87aa0b6ca5a207f5d2d954b1f6b2a5f9e2664f7669 SHA512 8e128ae3988b29398eb4b0cde4f18668c6ad22718c6f8d1c0feec09eb632f5b3c2bdf004932b8e2931eb4553f70c4a6d73104dcb611b09a41a744f0f8036a7eb diff --git a/dev-python/qtconsole/qtconsole-5.5.0.ebuild b/dev-python/qtconsole/qtconsole-5.5.0.ebuild new file mode 100644 index 000000000000..18dacf3abb74 --- /dev/null +++ b/dev-python/qtconsole/qtconsole-5.5.0.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_{8,9,10,11,12} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi virtualx + +DESCRIPTION="Qt-based console for Jupyter with support for rich media output" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter/qtconsole/ + https://pypi.org/project/qtconsole/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~x86" + +RDEPEND=" + >=dev-python/ipykernel-4.1[${PYTHON_USEDEP}] + dev-python/jupyter-core[${PYTHON_USEDEP}] + >=dev-python/jupyter-client-4.1.1[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + >=dev-python/pyzmq-17.1[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.2.2_p1[${PYTHON_USEDEP}] + >=dev-python/QtPy-2.4.0[${PYTHON_USEDEP},gui,printsupport,svg] +" +BDEPEND=" + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/pytest-qt[${PYTHON_USEDEP}] + dev-python/QtPy[${PYTHON_USEDEP},svg,testlib] + ) +" + +PDEPEND=" + dev-python/ipython[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO; expects exact HTML, so perhaps fragile + qtconsole/tests/test_jupyter_widget.py::TestJupyterWidget::test_other_output + ) + local -x QT_API + for QT_API in pyqt5 pyqt6 pyside2 pyside6; do + if has_version "dev-python/QtPy[${QT_API}]"; then + local -x PYTEST_QT_API=${QT_API} + einfo "Testing with ${QT_API}" + nonfatal epytest || + die "Tests failed with ${EPYTHON} / ${QT_API}" + fi + done +} diff --git a/dev-python/rapidfuzz/rapidfuzz-3.4.0.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.4.0.ebuild index 77b6b412042d..f129e3823cde 100644 --- a/dev-python/rapidfuzz/rapidfuzz-3.4.0.ebuild +++ b/dev-python/rapidfuzz/rapidfuzz-3.4.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" # all these are header-only libraries DEPEND=" diff --git a/dev-python/rope/Manifest b/dev-python/rope/Manifest index 753aa1aa7730..6abdecfe322f 100644 --- a/dev-python/rope/Manifest +++ b/dev-python/rope/Manifest @@ -1 +1,2 @@ DIST rope-1.10.0.tar.gz 299732 BLAKE2B bc8b276eb1e69730536d947ffb167bef3dd2dfa453c1834349e78ceb1dda56aa51cff556687bbebaca4e0cad1055da0db5294e029be59d525bc170564bfe3870 SHA512 3a8c31a89f14a78f9a0931e87e21b0a617891382e879b50a6fa846ad576ad6bf62f81ccd8c00bd237b77807832a760120256655ac4d6a73626c0b0f1b5c61100 +DIST rope-1.11.0.tar.gz 287210 BLAKE2B 64aebaf2a52f84d6e92ba0ccbaf5421b46a52de92675c03922167e2d363d5916675856795b0adaa70d54d4e8249870348ee002648244537dc1acb123fc8c6350 SHA512 e5c382325a900c1b5870aae0b7ef60528da6c73a27834b557f5245e6a6bf3412451c730cac0d5fb12f1a668dd7a8d8d0c814826babce59eb00198cd6706c016d diff --git a/dev-python/rope/rope-1.11.0.ebuild b/dev-python/rope/rope-1.11.0.ebuild new file mode 100644 index 000000000000..c2355b0562e9 --- /dev/null +++ b/dev-python/rope/rope-1.11.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python refactoring library" +HOMEPAGE=" + https://pypi.org/project/rope/ + https://github.com/python-rope/rope/ +" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="doc" + +RDEPEND=" + >=dev-python/pytoolconfig-1.2.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/build[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # our venv style confuses this comparison + ropetest/contrib/autoimport/utilstest.py::test_get_package_source_typing + ropetest/contrib/autoimport/utilstest.py::test_get_package_tuple_typing + ropetest/contrib/autoimport/utilstest.py::test_get_package_tuple_compiled +) diff --git a/dev-python/rpds-py/rpds-py-0.10.6.ebuild b/dev-python/rpds-py/rpds-py-0.10.6.ebuild index 0ace4a476ec4..e5a8ff1ea3e3 100644 --- a/dev-python/rpds-py/rpds-py-0.10.6.ebuild +++ b/dev-python/rpds-py/rpds-py-0.10.6.ebuild @@ -63,7 +63,7 @@ LICENSE+=" Unicode-DFS-2016 " SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm ~arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rpds/rpds.*.so" diff --git a/dev-python/rstcheck/rstcheck-6.2.0.ebuild b/dev-python/rstcheck/rstcheck-6.2.0.ebuild index 55863b2c505e..a38b6d2b33e0 100644 --- a/dev-python/rstcheck/rstcheck-6.2.0.ebuild +++ b/dev-python/rstcheck/rstcheck-6.2.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -DISTUTILS_USE_PEP517=poetry +DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8,9,10,11,12} ) inherit distutils-r1 pypi diff --git a/dev-python/shiboken2/shiboken2-5.15.11.ebuild b/dev-python/shiboken2/shiboken2-5.15.11.ebuild index ee6bc1bd312a..778cfa1302ed 100644 --- a/dev-python/shiboken2/shiboken2-5.15.11.ebuild +++ b/dev-python/shiboken2/shiboken2-5.15.11.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 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" IUSE="+docstrings numpy test vulkan" REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/dev-python/simplejson/Manifest b/dev-python/simplejson/Manifest index ebbafe66cb22..070b48b4c162 100644 --- a/dev-python/simplejson/Manifest +++ b/dev-python/simplejson/Manifest @@ -1,2 +1 @@ -DIST simplejson-3.19.1.tar.gz 85207 BLAKE2B 4c3d1d5de4292404e44977777332fe57327ece1afcd9890b605d52a248764612da351b7c5afb36d4e1cdcb530f07b99b8d971124899b86e4b2f4005a66afcbb5 SHA512 a2239a932f43abe59da84fc3ba95eeaa6a720c929da79d8f4447603b8c770403c9cba0f008a66c20c5c8aa3255891b687336eef1db071171a2c8435563bbb1bd DIST simplejson-3.19.2.tar.gz 85311 BLAKE2B eecbe77c9612468a0ce52b165be9b4fc4b3d8bcca99621a2723c50fc0c89cdce981421ba71b85535f1c66b48b7178da37f117f9dec8a66cb6f3fe83e3d2d033e SHA512 d92bf617e27b66d93a5d176d38c0c6ae2777728d1e43fdb8054cc9c2b50e3f340079c82dd3ec1af36c8d6380833d16e8eecdc8dd950bba953c195256b44b46c5 diff --git a/dev-python/simplejson/simplejson-3.19.1.ebuild b/dev-python/simplejson/simplejson-3.19.1.ebuild deleted file mode 100644 index c4d097da628d..000000000000 --- a/dev-python/simplejson/simplejson-3.19.1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Simple, fast, extensible JSON encoder/decoder for Python" -HOMEPAGE=" - https://github.com/simplejson/simplejson/ - https://pypi.org/project/simplejson/ -" - -LICENSE="|| ( MIT AFL-2.1 )" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="+native-extensions" - -DOCS=( README.rst CHANGES.txt ) - -distutils_enable_tests unittest - -src_configure() { - # native-extensions are always disabled on PyPy - # https://github.com/simplejson/simplejson/blob/master/setup.py#L121 - export DISABLE_SPEEDUPS=$(usex native-extensions 0 1) - use native-extensions && export REQUIRE_SPEEDUPS=1 -} - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - eunittest -} diff --git a/dev-python/simplejson/simplejson-3.19.2.ebuild b/dev-python/simplejson/simplejson-3.19.2.ebuild index 9689f623015b..c4d097da628d 100644 --- a/dev-python/simplejson/simplejson-3.19.2.ebuild +++ b/dev-python/simplejson/simplejson-3.19.2.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="|| ( MIT AFL-2.1 )" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="+native-extensions" DOCS=( README.rst CHANGES.txt ) diff --git a/dev-python/simpy/Manifest b/dev-python/simpy/Manifest index 04e6e78df471..9aa4ce4c470a 100644 --- a/dev-python/simpy/Manifest +++ b/dev-python/simpy/Manifest @@ -1 +1,2 @@ DIST simpy-4.0.2.tar.gz 410706 BLAKE2B 787da43fe29135ef3f70f286074e5b6dba50c26f50910674a290a4e9e95fe68dffca5e5308e629f8359181f9e7200938b980bdbd9d7b2c09beb30dd49069fdce SHA512 a1f9e10928930817a07ee851f3190c4aefb9c4f0538557b7cc5b0f8950ed2234878f29d1790cbf6991b78bbd73e989d7df0ed1997847eedf129fc9d1c4d1fc23 +DIST simpy-4.1.0.tar.gz 407835 BLAKE2B 840815663c65e22cd8fbdf74d70fba6c5badb38e33c8506a52e163cfea2fa4f72370c4c3d53c106017c74a10a83ac15fd204f35dcffd70b29a4eb9bb4647049d SHA512 8d54e332ffd6c3ae32904a75c599b0bc33f2ac5f294c89f76632b3b2867de561169504870c89cf6f091a6674d9b9c6168f88887c628bba59e4ef2985176c8586 diff --git a/dev-python/simpy/simpy-4.1.0.ebuild b/dev-python/simpy/simpy-4.1.0.ebuild new file mode 100644 index 000000000000..833dddaac3e4 --- /dev/null +++ b/dev-python/simpy/simpy-4.1.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_REQ_USE="tk" + +inherit distutils-r1 pypi + +DESCRIPTION="Object-oriented, process-based discrete-event simulation language" +HOMEPAGE=" + https://simpy.readthedocs.io/ + https://gitlab.com/team-simpy/simpy/ + https://pypi.org/project/simpy/ +" + +SLOT="0" +LICENSE="LGPL-2.1" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +# Could not import extension sphinx.builders.epub3 (exception: cannot import +# name 'StandaloneHTMLBuilder' from partially initialized module +# 'sphinx.builders.html' (most likely due to a circular import) +# (/usr/lib/python3.10/site-packages/sphinx/builders/html/__init__.py)) +#distutils_enable_sphinx docs dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/tekore/Manifest b/dev-python/tekore/Manifest index 75611da06c69..0535cc86beb5 100644 --- a/dev-python/tekore/Manifest +++ b/dev-python/tekore/Manifest @@ -1,2 +1,3 @@ DIST tekore-5.1.0.gh.tar.gz 261207 BLAKE2B 7c52fe1bd0a29da10d846d04543ccca5770e2e5682e5f816fd6ac56c0f351ba2374662187ab71350cf2e8c298175c045c1d35b4512f529b67aef11a4a80a8f15 SHA512 13c8853c707ee2234632e8f051b22df67935afa26c5f4c684728031a78ded88b9d71fff44093d9765a2287ecb5613b8b6b792727d632bce234d89a8668d86ca4 DIST tekore-5.1.1.gh.tar.gz 261257 BLAKE2B d0ba6a3564f0be269ea3dab8ec2860cc17cff52949f0781fb368a82611b2b9bfd37a018ef9446e078003def5e89de8e5c4219a4c0154baf37cb6e453b7369d0e SHA512 0eb53cf242619a4646407c375a752877e82b231d187ffb3095eff33bdb3869a75c1194833487b7d377fbe9af6d9cb975714ea293a015743b7377a6eb0fd68424 +DIST tekore-5.2.0.gh.tar.gz 262281 BLAKE2B 84f759ed5856f9fdab2f4ef115cad11e021ac0c0c4006e7d07c23a413778d1c45e68d0b4bdb8234688c99f026daf519047e4ce7760a58c71e75aa30009472117 SHA512 9151d6d83420c8f80b420535b344063814ca2dc0ca5681c196e7c920844ad6b6305562e59a8d4e23c694eab2b47029cc735a4b0a079a98828252a09e75236a73 diff --git a/dev-python/tekore/tekore-5.2.0.ebuild b/dev-python/tekore/tekore-5.2.0.ebuild new file mode 100644 index 000000000000..e6ebf1ba4135 --- /dev/null +++ b/dev-python/tekore/tekore-5.2.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Spotify Web API client" +HOMEPAGE=" + https://tekore.readthedocs.io/ + https://github.com/felix-hilden/tekore/ + https://pypi.org/project/tekore/ +" +SRC_URI=" + https://github.com/felix-hilden/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +KEYWORDS="~amd64" +SLOT="0" + +RDEPEND=" + <dev-python/httpx-0.26[${PYTHON_USEDEP}] + >=dev-python/pydantic-1.8[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + >=dev-python/pydantic-2[${PYTHON_USEDEP}] + >=dev-python/pytest-asyncio-0.17[${PYTHON_USEDEP}] + dev-python/pytest-httpx[${PYTHON_USEDEP}] + ) +" + +DOCS=( readme.rst ) + +distutils_enable_tests pytest +# TODO: package sphinx_codeautolink +# distutils_enable_sphinx docs/src \ +# dev-python/sphinx-rtd-theme \ +# dev-python/sphinx-tabs \ +# dev-python/sphinx-autodoc-typehints + +EPYTEST_DESELECT=( + # Internet + tests/auth/expiring.py::TestCredentialsOnline::test_bad_arguments_raises_error + # these tests use calls specific to pydantic-2 + # TODO: reselect when we can depend on >=pydantic-2 + tests/model.py::TestModel::test_enum_in_model + tests/model.py::TestModel::test_unknown_attribute_ignored +) diff --git a/dev-python/tifffile/Manifest b/dev-python/tifffile/Manifest index 2e4374f40da9..54918cb3c554 100644 --- a/dev-python/tifffile/Manifest +++ b/dev-python/tifffile/Manifest @@ -1,6 +1 @@ -DIST tifffile-2023.7.18.gh.tar.gz 336236 BLAKE2B ac4fef74c21aa2c32a21b5e34a716a4a859f41f33d07ced607a8634ca469bf09c264a4d3d170b82596bb61968ca4f480c1abf9d2a4584f2a2de44f44ea1c0acf SHA512 3c3f03b921723da91e07b153f69961c321fa6d3ba2006cd21debba16c4bd0041de457d2df0d6e1b30d089260a2620d7bd27b53fbcf9d88e675d271883b6a60b5 -DIST tifffile-2023.8.12.gh.tar.gz 336657 BLAKE2B 8dfc2403cfa451209f8892326012273b23584c1e50f4172fe7770b850bb591013ef89bdc249976ba0946b4a7065dc603c5817d3f9f201e837b32d8471c4acf16 SHA512 2c14bb5b6ab89f2973ef10b511a2d12568312e1963c227e2ea152197c4e27610eb7e4fc533d47932c45d1fc32bb0aa25d09d0608cd752fd7be8b8ec26ed13eef -DIST tifffile-2023.8.25.gh.tar.gz 338185 BLAKE2B cc5658548b41b693f2048dde767e2ab7851401b0aec723adfbf05f335e02659a62f8f34ca125e1e337f4d8b4ac9e65351c23d0426d885cb02299f23c007f70c0 SHA512 d0df54b6b5b4a347e84a8900dbd8c63c1f7cf27e29646dfcfbd3eadd1f0ace295b3503b4a5bb66742026a1ce1c0f278d396d83b0912aab44595dedec6b6f3112 -DIST tifffile-2023.8.30.gh.tar.gz 338928 BLAKE2B 64b40c360bba6684ef9311d4e8ce00fa0ae118d02f244b5e6fe3f13e93b684c25999fae0a10c2fe497fc4f23d7845adb6fc6a4b8a76f5fbf784f9e85db24fde4 SHA512 3f6bd713c702e165822794949a38b76f31a257feff476beb5aed77b99deaaff673e33c74400baa50699020417508655f4bdc356c12689d45379111a2ceef1270 -DIST tifffile-2023.9.18.gh.tar.gz 340736 BLAKE2B 806e98c90f60209d43c052cc4c9c635a901eee2aaedbcb0f20f33443c0661d2889d40156b468e1584fb4e10b42dee079f9be05d8a489b88456ae59fd7f4cb0ff SHA512 749deea26baf06a09369eccfb45d850a33d74f44d72022759f3c4e02ce9f56ce75c88fd496a38ef1b8ac27c669464fda9ee2aa014e14f2c0d235a0b896c31a34 DIST tifffile-2023.9.26.gh.tar.gz 342486 BLAKE2B 034013769c67b3e90bcfdf8b054419d00d35601603d716fa8cc37974cc37a4eabd773983047ad2cfbebfe4b15d7268defcad8f8d69f780af3a47299a52cbadf1 SHA512 ec59c408731143b60cc7664ab038ae885c21400771b0673828bbd07a46c7faafd503c1cedafbd08aaabfde554d2e42664a6f8f2ae753fc4405a9c98f8c2b8e1b diff --git a/dev-python/tifffile/tifffile-2023.7.18.ebuild b/dev-python/tifffile/tifffile-2023.7.18.ebuild deleted file mode 100644 index 1f5953c75445..000000000000 --- a/dev-python/tifffile/tifffile-2023.7.18.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Read and write TIFF files" -HOMEPAGE=" - https://pypi.org/project/tifffile/ - https://github.com/cgohlke/tifffile/ - https://www.cgohlke.com/ -" -SRC_URI=" - https://github.com/cgohlke/tifffile/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - >=dev-python/numpy-1.19.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/dask[${PYTHON_USEDEP}] - dev-python/defusedxml[${PYTHON_USEDEP}] - >=dev-python/fsspec-2021.5.0[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/xarray[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # Internet - tests/test_tifffile.py::test_class_omexml - tests/test_tifffile.py::test_class_omexml_fail - tests/test_tifffile.py::test_class_omexml_modulo - tests/test_tifffile.py::test_class_omexml_attributes - tests/test_tifffile.py::test_class_omexml_multiimage - tests/test_tifffile.py::test_write_ome - tests/test_tifffile.py::test_write_ome_manual - # requires tons of free space - tests/test_tifffile.py::test_write_3gb - tests/test_tifffile.py::test_write_5GB_bigtiff - tests/test_tifffile.py::test_write_5GB_fails - tests/test_tifffile.py::test_write_6gb - tests/test_tifffile.py::test_write_bigtiff - 'tests/test_tifffile.py::test_write_imagej_raw' - # TODO - tests/test_tifffile.py::test_issue_imagej_hyperstack_arg - tests/test_tifffile.py::test_issue_description_overwrite - # missing private marker - # https://github.com/cgohlke/tifffile/pull/195 - tests/test_tifffile.py::test_issue_invalid_predictor -) diff --git a/dev-python/tifffile/tifffile-2023.8.12.ebuild b/dev-python/tifffile/tifffile-2023.8.12.ebuild deleted file mode 100644 index 1f5953c75445..000000000000 --- a/dev-python/tifffile/tifffile-2023.8.12.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Read and write TIFF files" -HOMEPAGE=" - https://pypi.org/project/tifffile/ - https://github.com/cgohlke/tifffile/ - https://www.cgohlke.com/ -" -SRC_URI=" - https://github.com/cgohlke/tifffile/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - >=dev-python/numpy-1.19.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/dask[${PYTHON_USEDEP}] - dev-python/defusedxml[${PYTHON_USEDEP}] - >=dev-python/fsspec-2021.5.0[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/xarray[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # Internet - tests/test_tifffile.py::test_class_omexml - tests/test_tifffile.py::test_class_omexml_fail - tests/test_tifffile.py::test_class_omexml_modulo - tests/test_tifffile.py::test_class_omexml_attributes - tests/test_tifffile.py::test_class_omexml_multiimage - tests/test_tifffile.py::test_write_ome - tests/test_tifffile.py::test_write_ome_manual - # requires tons of free space - tests/test_tifffile.py::test_write_3gb - tests/test_tifffile.py::test_write_5GB_bigtiff - tests/test_tifffile.py::test_write_5GB_fails - tests/test_tifffile.py::test_write_6gb - tests/test_tifffile.py::test_write_bigtiff - 'tests/test_tifffile.py::test_write_imagej_raw' - # TODO - tests/test_tifffile.py::test_issue_imagej_hyperstack_arg - tests/test_tifffile.py::test_issue_description_overwrite - # missing private marker - # https://github.com/cgohlke/tifffile/pull/195 - tests/test_tifffile.py::test_issue_invalid_predictor -) diff --git a/dev-python/tifffile/tifffile-2023.8.25.ebuild b/dev-python/tifffile/tifffile-2023.8.25.ebuild deleted file mode 100644 index 1f5953c75445..000000000000 --- a/dev-python/tifffile/tifffile-2023.8.25.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Read and write TIFF files" -HOMEPAGE=" - https://pypi.org/project/tifffile/ - https://github.com/cgohlke/tifffile/ - https://www.cgohlke.com/ -" -SRC_URI=" - https://github.com/cgohlke/tifffile/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - >=dev-python/numpy-1.19.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/dask[${PYTHON_USEDEP}] - dev-python/defusedxml[${PYTHON_USEDEP}] - >=dev-python/fsspec-2021.5.0[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/xarray[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # Internet - tests/test_tifffile.py::test_class_omexml - tests/test_tifffile.py::test_class_omexml_fail - tests/test_tifffile.py::test_class_omexml_modulo - tests/test_tifffile.py::test_class_omexml_attributes - tests/test_tifffile.py::test_class_omexml_multiimage - tests/test_tifffile.py::test_write_ome - tests/test_tifffile.py::test_write_ome_manual - # requires tons of free space - tests/test_tifffile.py::test_write_3gb - tests/test_tifffile.py::test_write_5GB_bigtiff - tests/test_tifffile.py::test_write_5GB_fails - tests/test_tifffile.py::test_write_6gb - tests/test_tifffile.py::test_write_bigtiff - 'tests/test_tifffile.py::test_write_imagej_raw' - # TODO - tests/test_tifffile.py::test_issue_imagej_hyperstack_arg - tests/test_tifffile.py::test_issue_description_overwrite - # missing private marker - # https://github.com/cgohlke/tifffile/pull/195 - tests/test_tifffile.py::test_issue_invalid_predictor -) diff --git a/dev-python/tifffile/tifffile-2023.8.30.ebuild b/dev-python/tifffile/tifffile-2023.8.30.ebuild deleted file mode 100644 index 1f5953c75445..000000000000 --- a/dev-python/tifffile/tifffile-2023.8.30.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Read and write TIFF files" -HOMEPAGE=" - https://pypi.org/project/tifffile/ - https://github.com/cgohlke/tifffile/ - https://www.cgohlke.com/ -" -SRC_URI=" - https://github.com/cgohlke/tifffile/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - >=dev-python/numpy-1.19.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/dask[${PYTHON_USEDEP}] - dev-python/defusedxml[${PYTHON_USEDEP}] - >=dev-python/fsspec-2021.5.0[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/xarray[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # Internet - tests/test_tifffile.py::test_class_omexml - tests/test_tifffile.py::test_class_omexml_fail - tests/test_tifffile.py::test_class_omexml_modulo - tests/test_tifffile.py::test_class_omexml_attributes - tests/test_tifffile.py::test_class_omexml_multiimage - tests/test_tifffile.py::test_write_ome - tests/test_tifffile.py::test_write_ome_manual - # requires tons of free space - tests/test_tifffile.py::test_write_3gb - tests/test_tifffile.py::test_write_5GB_bigtiff - tests/test_tifffile.py::test_write_5GB_fails - tests/test_tifffile.py::test_write_6gb - tests/test_tifffile.py::test_write_bigtiff - 'tests/test_tifffile.py::test_write_imagej_raw' - # TODO - tests/test_tifffile.py::test_issue_imagej_hyperstack_arg - tests/test_tifffile.py::test_issue_description_overwrite - # missing private marker - # https://github.com/cgohlke/tifffile/pull/195 - tests/test_tifffile.py::test_issue_invalid_predictor -) diff --git a/dev-python/tifffile/tifffile-2023.9.18.ebuild b/dev-python/tifffile/tifffile-2023.9.18.ebuild deleted file mode 100644 index 1f5953c75445..000000000000 --- a/dev-python/tifffile/tifffile-2023.9.18.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Read and write TIFF files" -HOMEPAGE=" - https://pypi.org/project/tifffile/ - https://github.com/cgohlke/tifffile/ - https://www.cgohlke.com/ -" -SRC_URI=" - https://github.com/cgohlke/tifffile/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - >=dev-python/numpy-1.19.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/dask[${PYTHON_USEDEP}] - dev-python/defusedxml[${PYTHON_USEDEP}] - >=dev-python/fsspec-2021.5.0[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/xarray[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # Internet - tests/test_tifffile.py::test_class_omexml - tests/test_tifffile.py::test_class_omexml_fail - tests/test_tifffile.py::test_class_omexml_modulo - tests/test_tifffile.py::test_class_omexml_attributes - tests/test_tifffile.py::test_class_omexml_multiimage - tests/test_tifffile.py::test_write_ome - tests/test_tifffile.py::test_write_ome_manual - # requires tons of free space - tests/test_tifffile.py::test_write_3gb - tests/test_tifffile.py::test_write_5GB_bigtiff - tests/test_tifffile.py::test_write_5GB_fails - tests/test_tifffile.py::test_write_6gb - tests/test_tifffile.py::test_write_bigtiff - 'tests/test_tifffile.py::test_write_imagej_raw' - # TODO - tests/test_tifffile.py::test_issue_imagej_hyperstack_arg - tests/test_tifffile.py::test_issue_description_overwrite - # missing private marker - # https://github.com/cgohlke/tifffile/pull/195 - tests/test_tifffile.py::test_issue_invalid_predictor -) diff --git a/dev-python/tiny-proxy/Manifest b/dev-python/tiny-proxy/Manifest index f0cb38f143f3..7f4d00472cac 100644 --- a/dev-python/tiny-proxy/Manifest +++ b/dev-python/tiny-proxy/Manifest @@ -1 +1,2 @@ DIST tiny-proxy-0.2.0.gh.tar.gz 15017 BLAKE2B 46c98d7d4fff2af85464a7c280d212b9be4eb263b8ca643013166b6a81d8783b3078d1551fba0d40417a0cbab795564dbd457bfc037e6c2d40612eabb45fef01 SHA512 748de443ab337f159b1bce852de7f3f10ca32a5580f99bf1e3448c86f49cba26a6ed2855d06b91da7457b3185f99755efd65714a4db3804309cc931e16bdd8b5 +DIST tiny-proxy-0.2.1.gh.tar.gz 17090 BLAKE2B 971c0f6d4c1624f89ccf0753adf375f34e35be7108251b8acd54fe724989d8e9799ba933c8dc2e53ba9a3b5d603c873ae9556b74d403883627ff51591b0d8111 SHA512 26dcf470fa0d59b4d1abc7ddf8eddc40df7d599ae5e82c8ce788141410f07e94427eb8282a9c9ccb99f39ec19914280849dd86841d92f25f109abf28557449fc diff --git a/dev-python/tiny-proxy/tiny-proxy-0.2.1.ebuild b/dev-python/tiny-proxy/tiny-proxy-0.2.1.ebuild new file mode 100644 index 000000000000..34fb0ed13d03 --- /dev/null +++ b/dev-python/tiny-proxy/tiny-proxy-0.2.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Simple proxy server (SOCKS4(a), SOCKS5(h), HTTP tunnel)" +HOMEPAGE=" + https://github.com/romis2012/tiny-proxy/ + https://pypi.org/project/tiny-proxy/ +" +SRC_URI=" + https://github.com/romis2012/tiny-proxy/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + <dev-python/anyio-5.0.0[${PYTHON_USEDEP}] + >=dev-python/anyio-3.6.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/aiohttp-3.8.1[${PYTHON_USEDEP}] + >=dev-python/httpx-0.23.0[${PYTHON_USEDEP}] + >=dev-python/httpx-socks-0.7.4[${PYTHON_USEDEP}] + >=dev-python/pytest-asyncio-0.18.3[${PYTHON_USEDEP}] + >=dev-python/trustme-0.9.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/validators/validators-0.22.0.ebuild b/dev-python/validators/validators-0.22.0.ebuild index f6aac07bbd9d..8842eb9d6b3e 100644 --- a/dev-python/validators/validators-0.22.0.ebuild +++ b/dev-python/validators/validators-0.22.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/zope-interface/Manifest b/dev-python/zope-interface/Manifest index f642bd0237b4..d399f6b078bf 100644 --- a/dev-python/zope-interface/Manifest +++ b/dev-python/zope-interface/Manifest @@ -1,2 +1 @@ -DIST zope.interface-6.0.tar.gz 246297 BLAKE2B e1aac8346d639527808f0f54a9a81a68ca9474d5169f6a07599b3e345ff50fc5e9379df62591cbcdc781e73d151f7c7d993b9e392ea11b21e609030fb805ab70 SHA512 ed6bc98a61c91c34cfd8e24a8545e462fdffab13bc77a8144714a9cdd3bc7f4b873a50597a64f50b3c811f57218e1f2c78ceb267e52ae0ab5c136f082caa0612 DIST zope.interface-6.1.tar.gz 293914 BLAKE2B e0285c381bbd241be24aef60a59a70d268852dd99113e890d67f6e371792d2c8d19b3bf42d60b04f2a94259c144ec191c1baaca171ece1adf49d0558574152cc SHA512 04305eaf98fb40269d417c6894a6e154340669b66033c50e130d58bf6166cabc0a8979e1ba80dda47cb2bc508dde01ea2175628f89cbfd44cc2f59ac3cdce2c0 diff --git a/dev-python/zope-interface/zope-interface-6.0.ebuild b/dev-python/zope-interface/zope-interface-6.0.ebuild deleted file mode 100644 index 9a5c2eff85b8..000000000000 --- a/dev-python/zope-interface/zope-interface-6.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Interfaces for Python" -HOMEPAGE=" - https://github.com/zopefoundation/zope.interface/ - https://pypi.org/project/zope.interface/ -" - -LICENSE="ZPL" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -RDEPEND=" - !dev-python/namespace-zope -" -BDEPEND=" - test? ( - dev-python/zope-event[${PYTHON_USEDEP}] - dev-python/zope-testing[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -src_prepare() { - # strip rdep specific to namespaces - sed -e "/'setuptools'/d" -i setup.py || die - distutils-r1_src_prepare -} - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - distutils_write_namespace zope - eunittest -} diff --git a/dev-python/zope-interface/zope-interface-6.1.ebuild b/dev-python/zope-interface/zope-interface-6.1.ebuild index bde005bd481e..9a5c2eff85b8 100644 --- a/dev-python/zope-interface/zope-interface-6.1.ebuild +++ b/dev-python/zope-interface/zope-interface-6.1.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="ZPL" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +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" RDEPEND=" !dev-python/namespace-zope |
