diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-06-30 20:34:53 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-06-30 20:34:53 +0000 |
| commit | 18f52fea684ac9ef56acdc2063c179401eaf7a40 (patch) | |
| tree | c627f50dfe66fbf3453b2bf4dd36f624e31fdb47 /dev-python | |
| parent | 0958420ce00af4f18ffa7eede862d5deddbd2122 (diff) | |
| download | baldeagleos-repo-18f52fea684ac9ef56acdc2063c179401eaf7a40.tar.gz baldeagleos-repo-18f52fea684ac9ef56acdc2063c179401eaf7a40.tar.xz baldeagleos-repo-18f52fea684ac9ef56acdc2063c179401eaf7a40.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
48 files changed, 534 insertions, 235 deletions
diff --git a/dev-python/capturer/capturer-3.0-r1.ebuild b/dev-python/capturer/capturer-3.0-r1.ebuild index 2c3ad6201dac..9bebca33a2fb 100644 --- a/dev-python/capturer/capturer-3.0-r1.ebuild +++ b/dev-python/capturer/capturer-3.0-r1.ebuild @@ -12,8 +12,8 @@ HOMEPAGE="https://capturer.readthedocs.io/en/latest/ https://pypi.org/project/capturer/ https://github.com/xolox/python-capturer" -SLOT="0" LICENSE="MIT" +SLOT="0" KEYWORDS="amd64 ~arm ~x86 ~amd64-linux ~x86-linux" RDEPEND="dev-python/humanfriendly[${PYTHON_USEDEP}]" diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index 438399ced46d..190a94518940 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -1,3 +1,4 @@ +DIST llvm-project-022d15c0039fc1cfaa3cc2eb1a45b71bbb21fadd.tar.gz 215902891 BLAKE2B ecd87b84a4e5f87c91b6df0a2d6849f385bdb7b26b14a2836f1e1fc5a69f9f5b441e47b9251174019f62eabe39a243092cd1a175b5da7d7576cdcfd63083cff0 SHA512 7726e253179bfd9e0b93236e3ce1133b421329b0b3496b10c0a0eecde372fb5e55cce737b6b78db13f2d0833bbc92023d95efa54cb2918b12ce9af166bd90ff4 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5 SHA512 4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d SHA512 89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7 diff --git a/dev-python/clang-python/clang-python-19.0.0_pre20240630.ebuild b/dev-python/clang-python/clang-python-19.0.0_pre20240630.ebuild new file mode 100644 index 000000000000..82c18f7c0f95 --- /dev/null +++ b/dev-python/clang-python/clang-python-19.0.0_pre20240630.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for sys-devel/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +DEPEND=" + >=sys-devel/clang-${PV}:* + !sys-devel/llvm:0[clang(-),python(-)] + !sys-devel/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + sys-devel/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/bindings/python ) +llvm.org_set_globals + +python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) + local -x CLANG_NO_DEFAULT_CONFIG=1 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/coloredlogs/coloredlogs-15.0.1-r2.ebuild b/dev-python/coloredlogs/coloredlogs-15.0.1-r2.ebuild new file mode 100644 index 000000000000..c3833390c9a3 --- /dev/null +++ b/dev-python/coloredlogs/coloredlogs-15.0.1-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 pypi + +DESCRIPTION="Colored stream handler for the logging module" +HOMEPAGE=" + https://pypi.org/project/coloredlogs/ + https://github.com/xolox/python-coloredlogs + https://coloredlogs.readthedocs.io/en/latest/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/humanfriendly-9.1[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/capturer[${PYTHON_USEDEP}] + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/verboselogs[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-14.0-fix-install-prefix.patch" + "${FILESDIR}/${PN}-15.0.1-py3.13.patch" +) + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # test_auto_install fails because the pth file isn't being loaded + coloredlogs/tests.py::ColoredLogsTestCase::test_auto_install +) + +python_test() { + epytest coloredlogs/tests.py +} diff --git a/dev-python/coloredlogs/files/coloredlogs-15.0.1-py3.13.patch b/dev-python/coloredlogs/files/coloredlogs-15.0.1-py3.13.patch new file mode 100644 index 000000000000..649683b4944e --- /dev/null +++ b/dev-python/coloredlogs/files/coloredlogs-15.0.1-py3.13.patch @@ -0,0 +1,43 @@ +From 9d4f4020897fcf48d381de8e099dc29b53fc9531 Mon Sep 17 00:00:00 2001 +From: "Benjamin A. Beasley" <code@musicinmybrain.net> +Date: Wed, 12 Jun 2024 14:00:28 -0400 +Subject: [PATCH] Replace pipes.quote with shlex.quote on Python 3 + +The shlex.quote() API is available from Python 3.3 on; pipes.quote() was +never documented, and is removed in Python 3.13. + +Fixes #119. + +Upstream-PR: https://github.com/xolox/python-coloredlogs/pull/120 +Upstream-Issue: https://github.com/xolox/python-coloredlogs/issues/119 + +diff --git a/coloredlogs/converter/__init__.py b/coloredlogs/converter/__init__.py +index a424469..96817a0 100644 +--- a/coloredlogs/converter/__init__.py ++++ b/coloredlogs/converter/__init__.py +@@ -9,11 +9,15 @@ + # Standard library modules. + import codecs + import os +-import pipes + import re + import subprocess + import tempfile + ++try: ++ from shlex import quote # Python 3 ++except ImportError: ++ from pipes import quote # Python 2 (removed in 3.13) ++ + # External dependencies. + from humanfriendly.terminal import ( + ANSI_CSI, +@@ -75,7 +79,7 @@ def capture(command, encoding='UTF-8'): + # + # [1] http://man7.org/linux/man-pages/man1/script.1.html + # [2] https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man1/script.1.html +- command_line = ['script', '-qc', ' '.join(map(pipes.quote, command)), '/dev/null'] ++ command_line = ['script', '-qc', ' '.join(map(quote, command)), '/dev/null'] + script = subprocess.Popen(command_line, stdout=subprocess.PIPE, stderr=dev_null) + stdout, stderr = script.communicate() + if script.returncode == 0: diff --git a/dev-python/cramjam/cramjam-2.8.3.ebuild b/dev-python/cramjam/cramjam-2.8.3.ebuild index 21abfdcf1ca0..e58c2ebc48fe 100644 --- a/dev-python/cramjam/cramjam-2.8.3.ebuild +++ b/dev-python/cramjam/cramjam-2.8.3.ebuild @@ -175,7 +175,7 @@ LICENSE+=" Unicode-DFS-2016 " SLOT="0" -KEYWORDS="amd64 arm arm64 ~riscv x86" +KEYWORDS="amd64 arm arm64 ~riscv ~sparc x86" BDEPEND=" test? ( @@ -192,6 +192,7 @@ QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/cramjam/cramjam.*.so" src_prepare() { sed -i -e '/strip/d' pyproject.toml || die distutils-r1_src_prepare + export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 } src_test() { diff --git a/dev-python/crc32c/crc32c-2.4.ebuild b/dev-python/crc32c/crc32c-2.4.ebuild index 5d68b591c36c..1fbac4912349 100644 --- a/dev-python/crc32c/crc32c-2.4.ebuild +++ b/dev-python/crc32c/crc32c-2.4.ebuild @@ -17,12 +17,17 @@ HOMEPAGE=" LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~sparc ~x86" # NB: these don't affect the build, they are only used for tests IUSE="cpu_flags_arm_crc32 cpu_flags_x86_sse4_2" distutils_enable_tests pytest +PATCHES=( + # https://github.com/ICRAR/crc32c/pull/44 + "${FILESDIR}/${P}-sparc.patch" +) + python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 local -x CRC32C_SW_MODE diff --git a/dev-python/crc32c/files/crc32c-2.4-sparc.patch b/dev-python/crc32c/files/crc32c-2.4-sparc.patch new file mode 100644 index 000000000000..f2e96638d51b --- /dev/null +++ b/dev-python/crc32c/files/crc32c-2.4-sparc.patch @@ -0,0 +1,34 @@ +From 9d94ecbfe2363c7adf49bddbf31871764faf4f41 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Sun, 30 Jun 2024 16:00:34 +0200 +Subject: [PATCH] Fix char signedness issue in _crc32c_sw_slicing_by_8() + +Fix `_crc32c_sw_slicing_by_8()` to use `unsigned char` for `p_buf`, +to fix incorrect results on platforms with signed `char` such as SPARC. +The code has been casting `unsigned char *` to `char *` for no apparent +reason, and this broke the bitshifts in the big endian blocks. + +Particularly, + + crc ^= *(p_buf++) << 16 + +would be XOR-ed against `0xffee0000` rather than `0x00ee0000`. + +Fixes #43 +--- + crc32c_sw.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/crc32c_sw.c b/crc32c_sw.c +index 8382749..67409c9 100644 +--- a/crc32c_sw.c ++++ b/crc32c_sw.c +@@ -490,7 +490,7 @@ const uint32_t crc_tableil8_o88[256] = + + uint32_t _crc32c_sw_slicing_by_8(uint32_t crc, unsigned const char* data, unsigned long length) + { +- const char* p_buf = (const char*) data; ++ unsigned const char* p_buf = data; + size_t initial_bytes = (sizeof(uint32_t) - (intptr_t)p_buf) & (sizeof(uint32_t) - 1); + size_t li; + size_t running_length; diff --git a/dev-python/humanfriendly/files/humanfriendly-10.0-py3.13.patch b/dev-python/humanfriendly/files/humanfriendly-10.0-py3.13.patch new file mode 100644 index 000000000000..467d3862d331 --- /dev/null +++ b/dev-python/humanfriendly/files/humanfriendly-10.0-py3.13.patch @@ -0,0 +1,74 @@ +From 13d05b8057010121acd2a402a337ef4ee5834062 Mon Sep 17 00:00:00 2001 +From: "Benjamin A. Beasley" <code@musicinmybrain.net> +Date: Thu, 30 May 2024 23:05:14 -0400 +Subject: [PATCH] Replace pipes.quote with shlex.quote on Python 3 + +The shlex.quote() API is available from Python 3.3 on; pipes.quote() was +never documented, and is removed in Python 3.13. + +Fixes #73. + +Upstream-PR: https://github.com/xolox/python-humanfriendly/pull/75 +Upstream-Issue: https://github.com/xolox/python-humanfriendly/issues/73 + +diff --git a/humanfriendly/cli.py b/humanfriendly/cli.py +index eb81db1..5dfc14a 100644 +--- a/humanfriendly/cli.py ++++ b/humanfriendly/cli.py +@@ -79,10 +79,14 @@ + # Standard library modules. + import functools + import getopt +-import pipes + import subprocess + import sys + ++try: ++ from shlex import quote # Python 3 ++except ImportError: ++ from pipes import quote # Python 2 (removed in 3.13) ++ + # Modules included in our package. + from humanfriendly import ( + Timer, +@@ -176,7 +180,7 @@ def main(): + def run_command(command_line): + """Run an external command and show a spinner while the command is running.""" + timer = Timer() +- spinner_label = "Waiting for command: %s" % " ".join(map(pipes.quote, command_line)) ++ spinner_label = "Waiting for command: %s" % " ".join(map(quote, command_line)) + with Spinner(label=spinner_label, timer=timer) as spinner: + process = subprocess.Popen(command_line) + while True: +diff --git a/humanfriendly/testing.py b/humanfriendly/testing.py +index f6abddf..f9d66e4 100644 +--- a/humanfriendly/testing.py ++++ b/humanfriendly/testing.py +@@ -25,13 +25,17 @@ + import functools + import logging + import os +-import pipes + import shutil + import sys + import tempfile + import time + import unittest + ++try: ++ from shlex import quote # Python 3 ++except ImportError: ++ from pipes import quote # Python 2 (removed in 3.13) ++ + # Modules included in our package. + from humanfriendly.compat import StringIO + from humanfriendly.text import random_string +@@ -521,7 +525,7 @@ def __enter__(self): + pathname = os.path.join(directory, self.program_name) + with open(pathname, 'w') as handle: + handle.write('#!/bin/sh\n') +- handle.write('echo > %s\n' % pipes.quote(self.program_signal_file)) ++ handle.write('echo > %s\n' % quote(self.program_signal_file)) + if self.program_script: + handle.write('%s\n' % self.program_script.strip()) + handle.write('exit %i\n' % self.program_returncode) diff --git a/dev-python/humanfriendly/humanfriendly-10.0-r1.ebuild b/dev-python/humanfriendly/humanfriendly-10.0-r1.ebuild index 755c7fad81fa..78769e47fa81 100644 --- a/dev-python/humanfriendly/humanfriendly-10.0-r1.ebuild +++ b/dev-python/humanfriendly/humanfriendly-10.0-r1.ebuild @@ -13,8 +13,8 @@ HOMEPAGE="https://pypi.org/project/humanfriendly/ https://github.com/xolox/python-humanfriendly/ https://humanfriendly.readthedocs.io/" -SLOT="0" LICENSE="MIT" +SLOT="0" KEYWORDS="amd64 ~arm ~x86 ~amd64-linux ~x86-linux" # This is completely broken diff --git a/dev-python/humanfriendly/humanfriendly-10.0-r2.ebuild b/dev-python/humanfriendly/humanfriendly-10.0-r2.ebuild new file mode 100644 index 000000000000..077fe72c41bc --- /dev/null +++ b/dev-python/humanfriendly/humanfriendly-10.0-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) +PYTHON_REQ_USE="threads(+)" +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 pypi + +DESCRIPTION="Human friendly output for text interfaces using Python" +HOMEPAGE="https://pypi.org/project/humanfriendly/ + https://github.com/xolox/python-humanfriendly/ + https://humanfriendly.readthedocs.io/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + test? ( + dev-python/capturer[${PYTHON_USEDEP}] + >=dev-python/coloredlogs-15.0.1[${PYTHON_USEDEP}] + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-10.0-py3.13.patch" +) + +distutils_enable_tests pytest +distutils_enable_sphinx docs + +python_test() { + epytest humanfriendly/tests.py +} diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 438399ced46d..190a94518940 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -1,3 +1,4 @@ +DIST llvm-project-022d15c0039fc1cfaa3cc2eb1a45b71bbb21fadd.tar.gz 215902891 BLAKE2B ecd87b84a4e5f87c91b6df0a2d6849f385bdb7b26b14a2836f1e1fc5a69f9f5b441e47b9251174019f62eabe39a243092cd1a175b5da7d7576cdcfd63083cff0 SHA512 7726e253179bfd9e0b93236e3ce1133b421329b0b3496b10c0a0eecde372fb5e55cce737b6b78db13f2d0833bbc92023d95efa54cb2918b12ce9af166bd90ff4 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5 SHA512 4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d SHA512 89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7 diff --git a/dev-python/lit/lit-19.0.0_pre20240630.ebuild b/dev-python/lit/lit-19.0.0_pre20240630.ebuild new file mode 100644 index 000000000000..5ed5b5bd096e --- /dev/null +++ b/dev-python/lit/lit-19.0.0_pre20240630.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 llvm.org + +DESCRIPTION="A stand-alone install of the LLVM suite testing tool" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +# Tests require 'FileCheck' and 'not' utilities (from llvm) +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + sys-devel/llvm + ) +" + +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals + +# TODO: move the manpage generation here (from sys-devel/llvm) + +src_prepare() { + # flaky test + # https://github.com/llvm/llvm-project/issues/72022 + rm tests/progress-bar.py || die + + cd "${WORKDIR}" || die + distutils-r1_src_prepare +} + +python_test() { + local -x LIT_PRESERVES_TMP=1 + local litflags=$(get_lit_flags) + ./lit.py ${litflags//;/ } tests || die +} diff --git a/dev-python/mkdocs/mkdocs-1.6.0.ebuild b/dev-python/mkdocs/mkdocs-1.6.0.ebuild index 377dd96607ef..c4edf8eb68ca 100644 --- a/dev-python/mkdocs/mkdocs-1.6.0.ebuild +++ b/dev-python/mkdocs/mkdocs-1.6.0.ebuild @@ -47,7 +47,7 @@ RDEPEND=" >=dev-python/ghp-import-1.0[${PYTHON_USEDEP}] >=dev-python/pathspec-0.11.1[${PYTHON_USEDEP}] >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] - >=dev-python/pyyaml_env_tag-0.1[${PYTHON_USEDEP}] + >=dev-python/pyyaml-env-tag-0.1[${PYTHON_USEDEP}] >=dev-python/packaging-20.5[${PYTHON_USEDEP}] >=dev-python/mergedeep-1.3.4[${PYTHON_USEDEP}] >=dev-python/mkdocs-get-deps-0.2.0[${PYTHON_USEDEP}] diff --git a/dev-python/py-ubjson/py-ubjson-0.16.1-r1.ebuild b/dev-python/py-ubjson/py-ubjson-0.16.1-r1.ebuild index 1e223a81e050..a994621ffe4a 100644 --- a/dev-python/py-ubjson/py-ubjson-0.16.1-r1.ebuild +++ b/dev-python/py-ubjson/py-ubjson-0.16.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,7 +20,7 @@ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="amd64 arm arm64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" -distutils_enable_tests unittest +distutils_enable_tests pytest PATCHES=( # https://github.com/Iotic-Labs/py-ubjson/pull/19 @@ -28,5 +28,12 @@ PATCHES=( ) python_test() { - eunittest -s test + local EPYTEST_DESELECT=( + # the usual problem with random packages increasing recursion limit + test/test.py::TestEncodeDecodePlainExt::test_recursion + test/test.py::TestEncodeDecodeFpExt::test_recursion + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest test/test.py } diff --git a/dev-python/pytest-golden/pytest-golden-0.2.2-r1.ebuild b/dev-python/pytest-golden/pytest-golden-0.2.2-r1.ebuild index 5ee3845e9a3b..278cf4bde4c6 100644 --- a/dev-python/pytest-golden/pytest-golden-0.2.2-r1.ebuild +++ b/dev-python/pytest-golden/pytest-golden-0.2.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/pytest-recording/pytest-recording-0.13.1.ebuild b/dev-python/pytest-recording/pytest-recording-0.13.1.ebuild index 276f59a1e7ec..700030ea88d0 100644 --- a/dev-python/pytest-recording/pytest-recording-0.13.1.ebuild +++ b/dev-python/pytest-recording/pytest-recording-0.13.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/pytest-tornasync/pytest-tornasync-0.6.0_p2-r1.ebuild b/dev-python/pytest-tornasync/pytest-tornasync-0.6.0_p2-r1.ebuild index 9a3f7acb2d4c..3b9324f30694 100644 --- a/dev-python/pytest-tornasync/pytest-tornasync-0.6.0_p2-r1.ebuild +++ b/dev-python/pytest-tornasync/pytest-tornasync-0.6.0_p2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/python-engineio/Manifest b/dev-python/python-engineio/Manifest index f345ac410628..9d3e26218dd2 100644 --- a/dev-python/python-engineio/Manifest +++ b/dev-python/python-engineio/Manifest @@ -1,2 +1 @@ -DIST python-engineio-4.9.0.gh.tar.gz 314185 BLAKE2B e14bb11f5762c42a77d782b0e1ce20c30f0f5599ba0c4577699d53f085464ce588660805d1b8c18a147b3bf01a2e255980f21e36003127e17351c28bd42f433e SHA512 24838cb71ca3beda6a28deaa37208fae0e673bb0a00696594aa638af95e49af479b0088809f093ace9b2a8f5f7a4dcc95bbd2aa5c97938137b6e594ac1a7950d DIST python-engineio-4.9.1.gh.tar.gz 317721 BLAKE2B b776a56993f6dafe1778be93dbc507eb5ae96e44f0635b17fb3592fb9fca49c0a338393a128e05089a846b43f41328d788066f0b7a0edad78c88e3b14d6adec9 SHA512 1414d30fa3073124936909e1395e27579eea2b27862a9770b78c8d91b5568aff869e84f9477c7225cbe35462849445ce9ab17b8ca7b6e8aadeafcdebcb26df0b diff --git a/dev-python/python-engineio/python-engineio-4.9.0.ebuild b/dev-python/python-engineio/python-engineio-4.9.0.ebuild deleted file mode 100644 index 5e8de490bfe9..000000000000 --- a/dev-python/python-engineio/python-engineio-4.9.0.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Python implementation of the Engine.IO realtime server" -HOMEPAGE=" - https://python-engineio.readthedocs.io/ - https://github.com/miguelgrinberg/python-engineio/ - https://pypi.org/project/python-engineio/" -SRC_URI=" - https://github.com/miguelgrinberg/python-engineio/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - >=dev-python/simple-websocket-0.10.0[${PYTHON_USEDEP}] - dev-python/websocket-client[${PYTHON_USEDEP}] -" -# Can use eventlet, werkzeug, or gevent, but no tests for werkzeug -BDEPEND=" - test? ( - dev-python/tornado[${PYTHON_USEDEP}] - dev-python/websockets[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs \ - dev-python/alabaster - -python_test() { - local EPYTEST_IGNORE=( - # eventlet is masked for removal - tests/common/test_async_eventlet.py - ) - - local EPYTEST_DESELECT=( - # also eventlet - tests/common/test_server.py::TestServer::test_async_mode_eventlet - tests/common/test_server.py::TestServer::test_connect - tests/common/test_server.py::TestServer::test_service_task_started - tests/common/test_server.py::TestServer::test_upgrades - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/python-jose/files/python-jose-3.3.0-test.patch b/dev-python/python-jose/files/python-jose-3.3.0-test.patch new file mode 100644 index 000000000000..7f87069853d7 --- /dev/null +++ b/dev-python/python-jose/files/python-jose-3.3.0-test.patch @@ -0,0 +1,119 @@ +From 19677540e74eba4392be53ae434b561cf74ad9a6 Mon Sep 17 00:00:00 2001 +From: Todd Wildey <twwildey@amazon.com> +Date: Thu, 30 May 2024 16:02:09 -0700 +Subject: [PATCH] Adding `get_pem_for_key` and `normalize_pem` methods to + normalize PEM formatting of keys in `tests/algorithms/test_EC.py` and + updating `tests/algorithms/test_EC_compat.py` to use these methods + +Test failures were occurring due to differences of line lengths generated by the `cryptography` vs `ecdsa` PIP libraries for PEM formatting of cryptographic keys. This method removes newlines from the bodies of PEM-formated keys so that test comparisons will not fail on differentiated line lengths between PEM formattings. +--- + tests/algorithms/test_EC.py | 28 +++++++++++++++++++++++++++- + tests/algorithms/test_EC_compat.py | 14 +++++++------- + 2 files changed, 34 insertions(+), 8 deletions(-) + +diff --git a/tests/algorithms/test_EC.py b/tests/algorithms/test_EC.py +index 6c167d29..b9028a77 100644 +--- a/tests/algorithms/test_EC.py ++++ b/tests/algorithms/test_EC.py +@@ -1,4 +1,5 @@ + import json ++import re + + from jose.backends import ECKey + from jose.constants import ALGORITHMS +@@ -48,6 +49,31 @@ + b"\xfeMO\x04\xb2[\x86A\xbd\xc6hu\x953X\x1e" + ) + ++# Define the regex pattern to capture the header, body, and footer of the PEM file ++PEM_REGEX = re.compile(r"(-----BEGIN [A-Z ]+-----)(.*?)(-----END [A-Z ]+-----)", re.DOTALL) ++WHITE_SPACE_REGEX = re.compile(r"\s+") ++ ++ ++def get_pem_for_key(key): ++ return key.to_pem().strip().decode("utf-8") ++ ++ ++def normalize_pem(key_pem_str): ++ # Search for the PEM sections ++ pem_match = PEM_REGEX.search(key_pem_str) ++ if not pem_match: ++ raise ValueError("The provided string does not contain a valid PEM formatted data.") ++ ++ header = pem_match.group(1) ++ body = pem_match.group(2) ++ footer = pem_match.group(3) ++ ++ # Remove all newlines and spaces from the body ++ clean_body = WHITE_SPACE_REGEX.sub("", body) ++ ++ # Reassemble the PEM string ++ return f"{header}\n{clean_body}\n{footer}" ++ + + def _backend_exception_types(): + """Build the backend exception types based on available backends.""" +@@ -104,7 +130,7 @@ def test_key_from_pem(self): + def test_to_pem(self): + key = ECKey(private_key, ALGORITHMS.ES256) + assert not key.is_public() +- assert key.to_pem().strip() == private_key.strip().encode("utf-8") ++ assert normalize_pem(get_pem_for_key(key)) == normalize_pem(private_key.strip()) + + public_pem = key.public_key().to_pem() + assert ECKey(public_pem, ALGORITHMS.ES256).is_public() +diff --git a/tests/algorithms/test_EC_compat.py b/tests/algorithms/test_EC_compat.py +index 05d033cc..1bb7373a 100644 +--- a/tests/algorithms/test_EC_compat.py ++++ b/tests/algorithms/test_EC_compat.py +@@ -7,7 +7,7 @@ + ECDSAECKey = CryptographyECKey = None + from jose.constants import ALGORITHMS + +-from .test_EC import private_key ++from .test_EC import get_pem_for_key, normalize_pem, private_key + + + @pytest.mark.backend_compatibility +@@ -37,7 +37,7 @@ def test_public_key_to_pem(self, BackendFrom, BackendTo): + key = BackendFrom(private_key, ALGORITHMS.ES256) + key2 = BackendTo(private_key, ALGORITHMS.ES256) + +- assert key.public_key().to_pem().strip() == key2.public_key().to_pem().strip() ++ assert normalize_pem(get_pem_for_key(key.public_key())) == normalize_pem(get_pem_for_key(key2.public_key())) + + @pytest.mark.parametrize("BackendFrom", [ECDSAECKey, CryptographyECKey]) + @pytest.mark.parametrize("BackendTo", [ECDSAECKey, CryptographyECKey]) +@@ -45,7 +45,7 @@ def test_private_key_to_pem(self, BackendFrom, BackendTo): + key = BackendFrom(private_key, ALGORITHMS.ES256) + key2 = BackendTo(private_key, ALGORITHMS.ES256) + +- assert key.to_pem().strip() == key2.to_pem().strip() ++ assert normalize_pem(get_pem_for_key(key)) == normalize_pem(get_pem_for_key(key2)) + + @pytest.mark.parametrize("BackendFrom", [ECDSAECKey, CryptographyECKey]) + @pytest.mark.parametrize("BackendTo", [ECDSAECKey, CryptographyECKey]) +@@ -53,19 +53,19 @@ def test_public_key_load_cycle(self, BackendFrom, BackendTo): + key = BackendFrom(private_key, ALGORITHMS.ES256) + pubkey = key.public_key() + +- pub_pem_source = pubkey.to_pem().strip() ++ pub_pem_source = normalize_pem(get_pem_for_key(pubkey)) + + pub_target = BackendTo(pub_pem_source, ALGORITHMS.ES256) + +- assert pub_pem_source == pub_target.to_pem().strip() ++ assert pub_pem_source == normalize_pem(get_pem_for_key(pub_target)) + + @pytest.mark.parametrize("BackendFrom", [ECDSAECKey, CryptographyECKey]) + @pytest.mark.parametrize("BackendTo", [ECDSAECKey, CryptographyECKey]) + def test_private_key_load_cycle(self, BackendFrom, BackendTo): + key = BackendFrom(private_key, ALGORITHMS.ES256) + +- pem_source = key.to_pem().strip() ++ pem_source = normalize_pem(get_pem_for_key(key)) + + target = BackendTo(pem_source, ALGORITHMS.ES256) + +- assert pem_source == target.to_pem().strip() ++ assert pem_source == normalize_pem(get_pem_for_key(target)) diff --git a/dev-python/python-jose/python-jose-3.3.0-r1.ebuild b/dev-python/python-jose/python-jose-3.3.0-r1.ebuild index 8c03682747c1..4e5f538c7fde 100644 --- a/dev-python/python-jose/python-jose-3.3.0-r1.ebuild +++ b/dev-python/python-jose/python-jose-3.3.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -37,8 +37,12 @@ distutils_enable_tests pytest distutils_enable_sphinx docs python_prepare_all() { - sed -e '/pytest-runner/d' \ - -i setup.py || die - sed -e '/addopts/d' -i setup.cfg || die + local PATCHES=( + # https://github.com/mpdavis/python-jose/commit/19677540e74eba4392be53ae434b561cf74ad9a6 + "${FILESDIR}/${P}-test.patch" + ) + distutils-r1_python_prepare_all + sed -e '/pytest-runner/d' -i setup.py || die + sed -e '/addopts/d' -i setup.cfg || die } diff --git a/dev-python/python-mpd2/python-mpd2-3.1.1.ebuild b/dev-python/python-mpd2/python-mpd2-3.1.1.ebuild index f146e3a84c2a..8d6a909d663f 100644 --- a/dev-python/python-mpd2/python-mpd2-3.1.1.ebuild +++ b/dev-python/python-mpd2/python-mpd2-3.1.1.ebuild @@ -20,8 +20,8 @@ SRC_URI=" " LICENSE="LGPL-3+" -KEYWORDS="amd64 arm64 ppc ppc64 x86" SLOT="0" +KEYWORDS="amd64 arm64 ppc ppc64 x86" IUSE="examples +twisted" RDEPEND=" diff --git a/dev-python/python-snappy/python-snappy-0.7.2.ebuild b/dev-python/python-snappy/python-snappy-0.7.2.ebuild index 2ae06a41eb72..6b1edf6a5595 100644 --- a/dev-python/python-snappy/python-snappy-0.7.2.ebuild +++ b/dev-python/python-snappy/python-snappy-0.7.2.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~sparc ~x86" RDEPEND=" >=dev-python/cramjam-2.6.0[${PYTHON_USEDEP}] diff --git a/dev-python/pywavelets/Manifest b/dev-python/pywavelets/Manifest index 2339ca655489..162a9502dc7c 100644 --- a/dev-python/pywavelets/Manifest +++ b/dev-python/pywavelets/Manifest @@ -1,2 +1 @@ -DIST pywavelets-1.5.0.tar.gz 3937269 BLAKE2B 787d59a23d0de94783f55b7fa65bddc58c2d2040c2eb36ebc95a53ba95c52a765d4d2e1ad78d4f06015f339150a100525336836e71a9f8b94b92da89885f3f3f SHA512 a70435392cd2c0fed470c0093e8b838e233462e6f595f5d40396b1186cbea1654b2f671f45a9731bfc393a693221a0907cee48b2209944e7cda6f40e268fb34c DIST pywavelets-1.6.0.tar.gz 3939946 BLAKE2B 6b008079a05431d3a52b6c42239b8ef188a3d4a416c77af18da970d8a1c7fa82e4ba2cddf9003c843f05cca5eb168ff28ed0ff1c341e948e3599894ac5490838 SHA512 2b2a0b5f649ed374e1c2d46c185afbe221018e37d1461f1a34f0a9a9b0d06d8d8e9b6afc5c28a4a109df6ec783531a481b7caf3c4dea913b98800fd774b89fab diff --git a/dev-python/pywavelets/pywavelets-1.5.0.ebuild b/dev-python/pywavelets/pywavelets-1.5.0.ebuild deleted file mode 100644 index c9415590d8c9..000000000000 --- a/dev-python/pywavelets/pywavelets-1.5.0.ebuild +++ /dev/null @@ -1,49 +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=meson-python -PYPI_PN="PyWavelets" -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Discrete Wavelet Transforms in Python" -HOMEPAGE=" - https://pywavelets.readthedocs.io/en/latest/ - https://github.com/PyWavelets/pywt/ - https://pypi.org/project/PyWavelets/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" -IUSE="examples" - -RDEPEND=" - dev-python/matplotlib[${PYTHON_USEDEP}] - <dev-python/numpy-2[${PYTHON_USEDEP}] - >=dev-python/numpy-1.22.4[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - >=dev-python/cython-0.29.35[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - rm -rf pywt || die - epytest --pyargs pywt -} - -python_install_all() { - distutils-r1_python_install_all - if use examples; then - docinto examples - dodoc -r demo - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/dev-python/pyyaml_env_tag/Manifest b/dev-python/pyyaml-env-tag/Manifest index f164431c4296..f164431c4296 100644 --- a/dev-python/pyyaml_env_tag/Manifest +++ b/dev-python/pyyaml-env-tag/Manifest diff --git a/dev-python/pyyaml_env_tag/metadata.xml b/dev-python/pyyaml-env-tag/metadata.xml index f4c4fc90a218..f4c4fc90a218 100644 --- a/dev-python/pyyaml_env_tag/metadata.xml +++ b/dev-python/pyyaml-env-tag/metadata.xml diff --git a/dev-python/pyyaml_env_tag/pyyaml_env_tag-0.1-r1.ebuild b/dev-python/pyyaml-env-tag/pyyaml-env-tag-0.1-r1.ebuild index 1dbe2608255a..bed8ef3673e4 100644 --- a/dev-python/pyyaml_env_tag/pyyaml_env_tag-0.1-r1.ebuild +++ b/dev-python/pyyaml-env-tag/pyyaml-env-tag-0.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -9,7 +9,10 @@ PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 pypi DESCRIPTION="A custom YAML tag for referencing environment variables in YAML files" -HOMEPAGE="https://github.com/waylan/pyyaml-env-tag" +HOMEPAGE=" + https://github.com/waylan/pyyaml-env-tag/ + https://pypi.org/project/pyyaml_env_tag/ +" LICENSE="MIT" SLOT="0" diff --git a/dev-python/qtsass/qtsass-0.4.0.ebuild b/dev-python/qtsass/qtsass-0.4.0.ebuild index acb484cedeba..8b016e4ca590 100644 --- a/dev-python/qtsass/qtsass-0.4.0.ebuild +++ b/dev-python/qtsass/qtsass-0.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/rply/rply-0.7.8-r1.ebuild b/dev-python/rply/rply-0.7.8-r1.ebuild index b70825906c06..4750d1547f46 100644 --- a/dev-python/rply/rply-0.7.8-r1.ebuild +++ b/dev-python/rply/rply-0.7.8-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/smbus2/smbus2-0.4.3.ebuild b/dev-python/smbus2/smbus2-0.4.3.ebuild index 3fdbbb2bc89a..b30368c93362 100644 --- a/dev-python/smbus2/smbus2-0.4.3.ebuild +++ b/dev-python/smbus2/smbus2-0.4.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/snapshottest/snapshottest-0.6.0.ebuild b/dev-python/snapshottest/snapshottest-0.6.0.ebuild index 572d2522af7a..53e3c8dc015b 100644 --- a/dev-python/snapshottest/snapshottest-0.6.0.ebuild +++ b/dev-python/snapshottest/snapshottest-0.6.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2023 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/sphinx-multiversion/sphinx-multiversion-0.2.4-r1.ebuild b/dev-python/sphinx-multiversion/sphinx-multiversion-0.2.4-r1.ebuild index 67cf7be6740c..25ce343847b5 100644 --- a/dev-python/sphinx-multiversion/sphinx-multiversion-0.2.4-r1.ebuild +++ b/dev-python/sphinx-multiversion/sphinx-multiversion-0.2.4-r1.ebuild @@ -1,15 +1,22 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + inherit distutils-r1 DESCRIPTION="Add support for multiple versions to sphinx" -HOMEPAGE="https://github.com/Holzhaus/sphinx-multiversion" -SRC_URI="https://github.com/Holzhaus/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" +HOMEPAGE=" + https://github.com/Holzhaus/sphinx-multiversion/ + https://pypi.org/project/sphinx-multiversion/ +" +SRC_URI=" + https://github.com/Holzhaus/sphinx-multiversion/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" LICENSE="BSD-2" SLOT="0" diff --git a/dev-python/sphinxcontrib-httpdomain/sphinxcontrib-httpdomain-1.8.1.ebuild b/dev-python/sphinxcontrib-httpdomain/sphinxcontrib-httpdomain-1.8.1.ebuild index 47b062efa14a..87392aa625a4 100644 --- a/dev-python/sphinxcontrib-httpdomain/sphinxcontrib-httpdomain-1.8.1.ebuild +++ b/dev-python/sphinxcontrib-httpdomain/sphinxcontrib-httpdomain-1.8.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/sphinxcontrib-trio/sphinxcontrib-trio-1.1.2-r1.ebuild b/dev-python/sphinxcontrib-trio/sphinxcontrib-trio-1.1.2-r1.ebuild index 1eeadf355d77..8285c0f1da3f 100644 --- a/dev-python/sphinxcontrib-trio/sphinxcontrib-trio-1.1.2-r1.ebuild +++ b/dev-python/sphinxcontrib-trio/sphinxcontrib-trio-1.1.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,8 +16,8 @@ HOMEPAGE=" " LICENSE="|| ( Apache-2.0 MIT )" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/sphinx[${PYTHON_USEDEP}] diff --git a/dev-python/sphinxygen/Manifest b/dev-python/sphinxygen/Manifest index 03bc9c9524d9..8a610b47e5d2 100644 --- a/dev-python/sphinxygen/Manifest +++ b/dev-python/sphinxygen/Manifest @@ -1 +1 @@ -DIST sphinxygen-1.0.4.gh.tar.gz 17706 BLAKE2B 48c99ba80ebdc9f2ed9ef147d8d7c4f0deb7d4e1118ff6969cf510a0a10bc2335fa9ba91fb38caf60b8770a023e7a0730efa0a5606726dd1d0292650374d9271 SHA512 38ac258850fe6ab38e88c7b59d41e1400b89b13443862a0a9e7c7d1a2e3b887660f1cb17ce94737bc6366025172b40a50da0107d970120610fc9410f41c3250c +DIST sphinxygen-v1.0.4.tar.bz2 16224 BLAKE2B 6b06e015bc04a445b2f1983be193b2a17296c263efccb7a67a06e73c4f06d312d3cd103e6493c428d1ee5fb3058309b50cb066e8f988145edf3705181ab3c658 SHA512 54872ead6725aa41057347b5cf45285411db90266266f8805d34dc846d0a0a69c013f894958721238b1eb7f7c9d13e105bbd4e7d5afe50eaaf17bad6d4f46662 diff --git a/dev-python/sphinxygen/sphinxygen-1.0.4-r1.ebuild b/dev-python/sphinxygen/sphinxygen-1.0.4-r1.ebuild index 5dbf0b2d151a..9af5950becef 100644 --- a/dev-python/sphinxygen/sphinxygen-1.0.4-r1.ebuild +++ b/dev-python/sphinxygen/sphinxygen-1.0.4-r1.ebuild @@ -10,23 +10,26 @@ inherit distutils-r1 pypi DESCRIPTION="Python module/script that generates Sphinx markup to describe a C API" HOMEPAGE=" - https://gitlab.com/drobilla/sphinxygen + https://gitlab.com/drobilla/sphinxygen/ https://pypi.org/project/sphinxygen/ " -SRC_URI="https://gitlab.com/drobilla/sphinxygen/-/archive/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.gh.tar.gz" +SRC_URI=" + https://gitlab.com/drobilla/sphinxygen/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 +" +S="${WORKDIR}/${PN}-v${PV}" -SLOT="0" LICENSE="ISC" +SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" -S="${WORKDIR}/${PN}-v${PV}" -DEPEND=" +RDEPEND=" app-text/doxygen dev-python/sphinx[${PYTHON_USEDEP}] " -RDEPEND="${DEPEND}" -BDEPEND="test? ( dev-python/html5lib[${PYTHON_USEDEP}] )" +BDEPEND=" + test? ( + dev-python/html5lib[${PYTHON_USEDEP}] + ) +" distutils_enable_tests pytest diff --git a/dev-python/taskgroup/taskgroup-0.0.0_alpha4.ebuild b/dev-python/taskgroup/taskgroup-0.0.0_alpha4.ebuild index ceb99a7be520..1898f5cd672f 100644 --- a/dev-python/taskgroup/taskgroup-0.0.0_alpha4.ebuild +++ b/dev-python/taskgroup/taskgroup-0.0.0_alpha4.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/exceptiongroup[${PYTHON_USEDEP}] diff --git a/dev-python/tblib/tblib-3.0.0.ebuild b/dev-python/tblib/tblib-3.0.0.ebuild index 26405cc02537..94255cae7c3c 100644 --- a/dev-python/tblib/tblib-3.0.0.ebuild +++ b/dev-python/tblib/tblib-3.0.0.ebuild @@ -23,9 +23,7 @@ RDEPEND=" " BDEPEND=" test? ( - $(python_gen_cond_dep ' - dev-python/twisted[${PYTHON_USEDEP}] - ' 3.{10..12}) + dev-python/twisted[${PYTHON_USEDEP}] ) " diff --git a/dev-python/testfixtures/testfixtures-8.3.0.ebuild b/dev-python/testfixtures/testfixtures-8.3.0.ebuild index a50cfa91b206..b2f89f112fdd 100644 --- a/dev-python/testfixtures/testfixtures-8.3.0.ebuild +++ b/dev-python/testfixtures/testfixtures-8.3.0.ebuild @@ -24,9 +24,7 @@ BDEPEND=" dev-python/django[${PYTHON_USEDEP}] dev-python/pytest-django[${PYTHON_USEDEP}] >=dev-python/sybil-6[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/twisted-18[${PYTHON_USEDEP}] - ' 3.{10..12}) + >=dev-python/twisted-18[${PYTHON_USEDEP}] sys-libs/timezone-data ) " diff --git a/dev-python/towncrier/towncrier-23.11.0.ebuild b/dev-python/towncrier/towncrier-23.11.0.ebuild index 865cebfa90b7..9ffb838a2d34 100644 --- a/dev-python/towncrier/towncrier-23.11.0.ebuild +++ b/dev-python/towncrier/towncrier-23.11.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -36,6 +36,7 @@ RDEPEND=" BDEPEND=" dev-python/incremental[${PYTHON_USEDEP}] test? ( + ${RDEPEND} dev-vcs/git >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}] ) diff --git a/dev-python/treq/treq-23.11.0.ebuild b/dev-python/treq/treq-23.11.0.ebuild index d31d56d0233f..30ad6f2fb8e9 100644 --- a/dev-python/treq/treq-23.11.0.ebuild +++ b/dev-python/treq/treq-23.11.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -25,10 +25,7 @@ RDEPEND=" >=dev-python/hyperlink-21.0.0[${PYTHON_USEDEP}] dev-python/incremental[${PYTHON_USEDEP}] >=dev-python/requests-2.1.0[${PYTHON_USEDEP}] - || ( - >=dev-python/twisted-18.7.0[ssl(-),${PYTHON_USEDEP}] - >=dev-python/twisted-18.7.0[crypt(-),${PYTHON_USEDEP}] - ) + >=dev-python/twisted-18.7.0[ssl(-),${PYTHON_USEDEP}] " BDEPEND=" dev-python/incremental[${PYTHON_USEDEP}] diff --git a/dev-python/vecrec/vecrec-0.3.1-r1.ebuild b/dev-python/vecrec/vecrec-0.3.1-r1.ebuild index 8f02170b97bb..3a51fbe0f013 100644 --- a/dev-python/vecrec/vecrec-0.3.1-r1.ebuild +++ b/dev-python/vecrec/vecrec-0.3.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,8 +15,8 @@ HOMEPAGE=" " LICENSE="MIT" -KEYWORDS="~amd64 ~arm64" SLOT="0" +KEYWORDS="~amd64 ~arm64" RDEPEND=" dev-python/autoprop[${PYTHON_USEDEP}] diff --git a/dev-python/yfinance/Manifest b/dev-python/yfinance/Manifest deleted file mode 100644 index 53c8b774bb31..000000000000 --- a/dev-python/yfinance/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST yfinance-0.2.38.tar.gz 103001 BLAKE2B b317e178cdb612c8833784bc522e24134a156654d47b46225bd4fa771f6e57fd635493c7a21841de87afead0719ef8e2f711d42b704aa02a16ef6ecd461e895d SHA512 8f4ca86c18d0748accef332a5e03f7b499c5947bb6dda838091b5d52a64cd3914bbe187ccda8c3e20c6f8ade4cd67685fb713759ad3c1b3da21797d2f3517159 -DIST yfinance-0.2.40.tar.gz 103647 BLAKE2B 4e724bd21b226808a0fd4dc883c062fd72ec7d070ff79a7c22a59ec9df38f5ee1ed0613f274bf900629ce3cee6616d915d95a0dde65835fef0d2deb5d47c6803 SHA512 c2fd451b1d8c2e64be471610e42aab22d792221e93adc1815f0231156eba9c24416c180410367e930f04043a25c5cc75ce3aecd319bbae58ff0561c30818c56d diff --git a/dev-python/yfinance/metadata.xml b/dev-python/yfinance/metadata.xml deleted file mode 100644 index 36acccda7221..000000000000 --- a/dev-python/yfinance/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>dev@liguros.net</email> - <name>Development</name> - </maintainer> - - <origin>ports</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/yfinance/yfinance-0.2.38.ebuild b/dev-python/yfinance/yfinance-0.2.38.ebuild deleted file mode 100644 index 6b282989eb68..000000000000 --- a/dev-python/yfinance/yfinance-0.2.38.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2023-2024 Liguros 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="Download market data from Yahoo! Finance's API" -HOMEPAGE="https://aroussi.com/post/python-yahoo-finance" -SRC_URI="https://github.com/ranaroussi/yfinance/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/pandas-1.3.0 - >=dev-python/numpy-1.16.5 - >=dev-python/requests-2.31 - >=dev-python/lxml-4.9.1 - >=dev-python/appdirs-1.4.4 - >=dev-python/pytz-2022.5 - >=dev-python/frozendict-2.3.4 - >=dev-python/beautifulsoup4-4.11.1 - >=dev-python/html5lib-1.1 - >=dev-python/peewee-3.16.2 -" diff --git a/dev-python/yfinance/yfinance-0.2.40.ebuild b/dev-python/yfinance/yfinance-0.2.40.ebuild deleted file mode 100644 index 6b282989eb68..000000000000 --- a/dev-python/yfinance/yfinance-0.2.40.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2023-2024 Liguros 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="Download market data from Yahoo! Finance's API" -HOMEPAGE="https://aroussi.com/post/python-yahoo-finance" -SRC_URI="https://github.com/ranaroussi/yfinance/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/pandas-1.3.0 - >=dev-python/numpy-1.16.5 - >=dev-python/requests-2.31 - >=dev-python/lxml-4.9.1 - >=dev-python/appdirs-1.4.4 - >=dev-python/pytz-2022.5 - >=dev-python/frozendict-2.3.4 - >=dev-python/beautifulsoup4-4.11.1 - >=dev-python/html5lib-1.1 - >=dev-python/peewee-3.16.2 -" |
