From 40df9d24e078c6d5d4800b3d695a4bb57ef09a02 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Fri, 31 Mar 2023 01:16:35 +0000 Subject: Adding metadata --- dev-python/coverage/Manifest | 2 - dev-python/coverage/coverage-7.1.0.ebuild | 78 ----------- dev-python/coverage/coverage-7.2.1.ebuild | 77 ----------- dev-python/coverage/coverage-7.2.2.ebuild | 2 +- dev-python/django/django-3.2.18-r1.ebuild | 110 +++++++++++++++ dev-python/django/files/django-3.2.18-py311.patch | 153 +++++++++++++++++++++ dev-python/dkimpy/Manifest | 2 - dev-python/dkimpy/dkimpy-1.0.5-r1.ebuild | 37 ----- dev-python/dkimpy/dkimpy-1.1.0.ebuild | 37 ----- dev-python/dkimpy/dkimpy-1.1.1.ebuild | 2 +- dev-python/fastjsonschema/Manifest | 1 - .../fastjsonschema/fastjsonschema-2.16.2.ebuild | 32 ----- .../fastjsonschema/fastjsonschema-2.16.3.ebuild | 2 +- dev-python/genson/Manifest | 1 + dev-python/genson/files/genson-1.2.2-test.patch | 28 ++++ dev-python/genson/genson-1.1.0-r1.ebuild | 33 +++++ dev-python/genson/genson-1.1.0.ebuild | 6 + dev-python/genson/genson-1.2.2.ebuild | 36 +++++ dev-python/genson/metadata.xml | 5 + dev-python/grpcio-tools/Manifest | 2 +- dev-python/grpcio-tools/grpcio-tools-1.51.1.ebuild | 34 ----- dev-python/grpcio-tools/grpcio-tools-1.53.0.ebuild | 34 +++++ dev-python/grpcio/Manifest | 2 +- dev-python/grpcio/grpcio-1.51.1.ebuild | 46 ------- dev-python/grpcio/grpcio-1.53.0.ebuild | 46 +++++++ dev-python/leechcorepyc/Manifest | 1 - .../files/leechcorepyc-2.12.0-respect-CC.patch | 41 ------ dev-python/leechcorepyc/leechcorepyc-2.13.0.ebuild | 34 ----- dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild | 2 +- dev-python/mkdocs-material/Manifest | 1 - .../mkdocs-material/mkdocs-material-9.0.10.ebuild | 53 ------- .../mkdocs-material/mkdocs-material-9.0.15.ebuild | 2 +- dev-python/more-itertools/Manifest | 1 - .../more-itertools/more-itertools-9.0.0.ebuild | 25 ---- .../more-itertools/more-itertools-9.1.0.ebuild | 2 +- dev-python/natsort/Manifest | 2 - dev-python/natsort/natsort-8.2.0.ebuild | 33 ----- dev-python/natsort/natsort-8.3.0.ebuild | 32 ----- dev-python/natsort/natsort-8.3.1.ebuild | 2 +- dev-python/peewee/Manifest | 1 - dev-python/peewee/peewee-3.15.4-r1.ebuild | 47 ------- dev-python/peewee/peewee-3.16.0-r1.ebuild | 2 +- dev-python/pygame/pygame-2.2.0.ebuild | 2 +- dev-python/pypdf/Manifest | 7 - dev-python/pypdf/pypdf-3.3.0.ebuild | 62 --------- dev-python/pypdf/pypdf-3.4.0.ebuild | 62 --------- dev-python/pypdf/pypdf-3.4.1.ebuild | 59 -------- dev-python/pypdf/pypdf-3.5.0.ebuild | 59 -------- dev-python/pypdf/pypdf-3.5.1.ebuild | 60 -------- dev-python/pypdf/pypdf-3.5.2.ebuild | 60 -------- dev-python/pypdf/pypdf-3.6.0.ebuild | 2 +- dev-python/pyspelling/Manifest | 1 - dev-python/pyspelling/pyspelling-2.8.1.ebuild | 63 --------- dev-python/pyspelling/pyspelling-2.8.2.ebuild | 2 +- .../pytz/files/pytz-2023.2-system-tzinfo.patch | 7 +- dev-python/pytz/pytz-2023.2-r1.ebuild | 51 ------- dev-python/pytz/pytz-2023.2-r2.ebuild | 51 +++++++ dev-python/pytz/pytz-2023.3-r1.ebuild | 51 +++++++ dev-python/pytz/pytz-2023.3.ebuild | 51 ------- dev-python/seaborn/Manifest | 1 - dev-python/seaborn/seaborn-0.12.0.ebuild | 33 ----- dev-python/seaborn/seaborn-0.12.2.ebuild | 2 +- dev-python/unasync/Manifest | 1 - dev-python/unasync/unasync-0.5.0-r1.ebuild | 2 +- dev-python/unasync/unasync-0.5.0.ebuild | 27 ---- dev-python/watchdog/Manifest | 2 - dev-python/watchdog/watchdog-2.2.1.ebuild | 52 ------- dev-python/watchdog/watchdog-2.3.0.ebuild | 52 ------- dev-python/watchdog/watchdog-2.3.1.ebuild | 2 +- dev-python/wrapt/Manifest | 1 - dev-python/wrapt/wrapt-1.14.1.ebuild | 31 ----- dev-python/wrapt/wrapt-1.15.0.ebuild | 2 +- 72 files changed, 575 insertions(+), 1372 deletions(-) delete mode 100644 dev-python/coverage/coverage-7.1.0.ebuild delete mode 100644 dev-python/coverage/coverage-7.2.1.ebuild create mode 100644 dev-python/django/django-3.2.18-r1.ebuild create mode 100644 dev-python/django/files/django-3.2.18-py311.patch delete mode 100644 dev-python/dkimpy/dkimpy-1.0.5-r1.ebuild delete mode 100644 dev-python/dkimpy/dkimpy-1.1.0.ebuild delete mode 100644 dev-python/fastjsonschema/fastjsonschema-2.16.2.ebuild create mode 100644 dev-python/genson/files/genson-1.2.2-test.patch create mode 100644 dev-python/genson/genson-1.1.0-r1.ebuild create mode 100644 dev-python/genson/genson-1.2.2.ebuild delete mode 100644 dev-python/grpcio-tools/grpcio-tools-1.51.1.ebuild create mode 100644 dev-python/grpcio-tools/grpcio-tools-1.53.0.ebuild delete mode 100644 dev-python/grpcio/grpcio-1.51.1.ebuild create mode 100644 dev-python/grpcio/grpcio-1.53.0.ebuild delete mode 100644 dev-python/leechcorepyc/files/leechcorepyc-2.12.0-respect-CC.patch delete mode 100644 dev-python/leechcorepyc/leechcorepyc-2.13.0.ebuild delete mode 100644 dev-python/mkdocs-material/mkdocs-material-9.0.10.ebuild delete mode 100644 dev-python/more-itertools/more-itertools-9.0.0.ebuild delete mode 100644 dev-python/natsort/natsort-8.2.0.ebuild delete mode 100644 dev-python/natsort/natsort-8.3.0.ebuild delete mode 100644 dev-python/peewee/peewee-3.15.4-r1.ebuild delete mode 100644 dev-python/pypdf/pypdf-3.3.0.ebuild delete mode 100644 dev-python/pypdf/pypdf-3.4.0.ebuild delete mode 100644 dev-python/pypdf/pypdf-3.4.1.ebuild delete mode 100644 dev-python/pypdf/pypdf-3.5.0.ebuild delete mode 100644 dev-python/pypdf/pypdf-3.5.1.ebuild delete mode 100644 dev-python/pypdf/pypdf-3.5.2.ebuild delete mode 100644 dev-python/pyspelling/pyspelling-2.8.1.ebuild delete mode 100644 dev-python/pytz/pytz-2023.2-r1.ebuild create mode 100644 dev-python/pytz/pytz-2023.2-r2.ebuild create mode 100644 dev-python/pytz/pytz-2023.3-r1.ebuild delete mode 100644 dev-python/pytz/pytz-2023.3.ebuild delete mode 100644 dev-python/seaborn/seaborn-0.12.0.ebuild delete mode 100644 dev-python/unasync/unasync-0.5.0.ebuild delete mode 100644 dev-python/watchdog/watchdog-2.2.1.ebuild delete mode 100644 dev-python/watchdog/watchdog-2.3.0.ebuild delete mode 100644 dev-python/wrapt/wrapt-1.14.1.ebuild (limited to 'dev-python') diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest index f96bc5a40bcd..badc22f4233d 100644 --- a/dev-python/coverage/Manifest +++ b/dev-python/coverage/Manifest @@ -1,3 +1 @@ -DIST coverage-7.1.0.tar.gz 809785 BLAKE2B 3720aee79ecfdd6aa652b5198bad4d6b5827a85f1d58986eec51bab1e72800dac28eb0ebbeb15d547ef03694ca1397bec47c37a9233dc34b2d3d2a6a22a48274 SHA512 80920b337391e47f1e631ba8a892792b6d2c72e753ddf403222c6ad527637699889f29cfee40721949e5eeb6e7977f319635c44d79f58e7e19676d1165dfdde2 -DIST coverage-7.2.1.tar.gz 812219 BLAKE2B bb6b482990b0620d7e264244a9e31ee44b37fe83436c1d7d016d20e36d9ecbea85a614a4142683757bb1284bfbe2a157fc4748b01c76b5495c5eca5834e9a848 SHA512 40a7f1d25c7100b8f2f4ba1f877c241f65e1f560cdad861dab05254a4e177de37615888441d47a6c2ebc525ad2b52b476da7111efe5583708f094dd3a1b39984 DIST coverage-7.2.2.tar.gz 812407 BLAKE2B 901ed01eb8411e01c3386dcecccf975f4ac0e46c14fd2c6086bcf83647ff7e26deccb3926f173a207ef2851c0f8c5f99874659a1ba2e16f85b6eb9a1ac23142c SHA512 7d2ba6540ca42c3a72b65343348a64c58156bac915434249fd8740a6727ebf034590f62a5557f6b2f76e67ed1adc2a153ce61eee71f3bc903538c440e080e3e7 diff --git a/dev-python/coverage/coverage-7.1.0.ebuild b/dev-python/coverage/coverage-7.1.0.ebuild deleted file mode 100644 index 2e83ddde3ed8..000000000000 --- a/dev-python/coverage/coverage-7.1.0.ebuild +++ /dev/null @@ -1,78 +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_{7,8,9,10,11} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite(+)" - -inherit distutils-r1 - -DESCRIPTION="Code coverage measurement for Python" -HOMEPAGE=" - https://coverage.readthedocs.io/en/latest/ - https://github.com/nedbat/coveragepy/ - https://pypi.org/project/coverage/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.{8..10}) -" -BDEPEND=" - test? ( - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/^addopts/s:-q -n auto::' setup.cfg || die - distutils-r1_src_prepare -} - -test_tracer() { - local -x COVERAGE_TEST_TRACER=${1} - einfo " Testing with the ${COVERAGE_TEST_TRACER} tracer ..." - epytest tests -} - -python_test() { - local EPYTEST_IGNORE=( - # pip these days insists on fetching build deps from Internet - tests/test_venv.py - ) - - "${EPYTHON}" igor.py zip_mods || die - - local -x COVERAGE_TESTING=True - # TODO: figure out why they can't be imported inside test env - local -x COVERAGE_NO_CONTRACTS=1 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=_hypothesis_pytestplugin,flaky.flaky_pytest_plugin,xdist.plugin - - local prev_opt=$(shopt -p nullglob) - shopt -s nullglob - local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so ) - ${prev_opt} - - if [[ -n ${c_ext} ]]; then - cp "${c_ext}" \ - coverage/ || die - test_tracer c - rm coverage/*.so || die - else - test_tracer py - fi -} diff --git a/dev-python/coverage/coverage-7.2.1.ebuild b/dev-python/coverage/coverage-7.2.1.ebuild deleted file mode 100644 index 8c640e8c1553..000000000000 --- a/dev-python/coverage/coverage-7.2.1.ebuild +++ /dev/null @@ -1,77 +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_{7,8,9,10,11} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="Code coverage measurement for Python" -HOMEPAGE=" - https://coverage.readthedocs.io/en/latest/ - https://github.com/nedbat/coveragepy/ - https://pypi.org/project/coverage/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.{8..10}) -" -BDEPEND=" - test? ( - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/^addopts/s:-q -n auto::' setup.cfg || die - distutils-r1_src_prepare -} - -test_tracer() { - local -x COVERAGE_TEST_TRACER=${1} - einfo " Testing with the ${COVERAGE_TEST_TRACER} tracer ..." - epytest tests -} - -python_test() { - local EPYTEST_IGNORE=( - # pip these days insists on fetching build deps from Internet - tests/test_venv.py - ) - - "${EPYTHON}" igor.py zip_mods || die - - local -x COVERAGE_TESTING=True - # TODO: figure out why they can't be imported inside test env - local -x COVERAGE_NO_CONTRACTS=1 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=_hypothesis_pytestplugin,flaky.flaky_pytest_plugin,xdist.plugin - - local prev_opt=$(shopt -p nullglob) - shopt -s nullglob - local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so ) - ${prev_opt} - - if [[ -n ${c_ext} ]]; then - cp "${c_ext}" \ - coverage/ || die - test_tracer c - rm coverage/*.so || die - else - test_tracer py - fi -} diff --git a/dev-python/coverage/coverage-7.2.2.ebuild b/dev-python/coverage/coverage-7.2.2.ebuild index 8c640e8c1553..f88f51079fcd 100644 --- a/dev-python/coverage/coverage-7.2.2.ebuild +++ b/dev-python/coverage/coverage-7.2.2.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/django/django-3.2.18-r1.ebuild b/dev-python/django/django-3.2.18-r1.ebuild new file mode 100644 index 000000000000..0e16abb5565f --- /dev/null +++ b/dev-python/django/django-3.2.18-r1.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +PYTHON_REQ_USE='sqlite?,threads(+)' + +inherit bash-completion-r1 distutils-r1 optfeature verify-sig + +DESCRIPTION="High-level Python web framework" +HOMEPAGE=" + https://www.djangoproject.com/ + https://github.com/django/django/ + https://pypi.org/project/Django/ +" +SRC_URI=" + https://media.djangoproject.com/releases/$(ver_cut 1-2)/${P^}.tar.gz + verify-sig? ( https://media.djangoproject.com/pgp/${P^}.checksum.txt ) +" +S="${WORKDIR}/${P^}" + +LICENSE="BSD" +# admin fonts: Roboto (media-fonts/roboto) +LICENSE+=" Apache-2.0" +# admin icons, jquery, xregexp.js +LICENSE+=" MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +IUSE="doc sqlite test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/asgiref-3.3.4[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ${RDEPEND} + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[webp,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/selenium[${PYTHON_USEDEP}] + dev-python/tblib[${PYTHON_USEDEP}] + sys-devel/gettext + !!=sec-keys/openpgp-keys-django-20201201 ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-3.1-bashcomp.patch + "${FILESDIR}"/django-3.2.18-py311.patch +) + +distutils_enable_sphinx docs --no-autodoc + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/django.asc + +src_unpack() { + if use verify-sig; then + cd "${DISTDIR}" || die + verify-sig_verify_signed_checksums \ + "${P^}.checksum.txt" sha256 "${P^}.tar.gz" + cd "${WORKDIR}" || die + fi + + default +} + +python_prepare_all() { + # Fails because of warnings + sed -i 's/test_dumpdata_proxy_with_concrete/_&/' tests/fixtures/tests.py || die + # TODO: this suddenly started failing + sed -i -e 's:test_custom_fields:_&:' tests/inspectdb/tests.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + # Tests have non-standard assumptions about PYTHONPATH, + # and don't work with ${BUILD_DIR}/lib. + PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || + die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + newbashcomp extras/django_bash_completion ${PN}-admin + bashcomp_alias ${PN}-admin django-admin.py + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature_header "Additional Backend support can be enabled via:" + optfeature "MySQL backend support" dev-python/mysqlclient + optfeature "PostgreSQL backend support" dev-python/psycopg:2 + optfeature_header + optfeature "GEO Django" "sci-libs/gdal[geos]" + optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached + optfeature "ImageField Support" dev-python/pillow + optfeature "Password encryption" dev-python/bcrypt + optfeature "High-level abstractions for Django forms" dev-python/django-formtools +} diff --git a/dev-python/django/files/django-3.2.18-py311.patch b/dev-python/django/files/django-3.2.18-py311.patch new file mode 100644 index 000000000000..2cebb8cc817b --- /dev/null +++ b/dev-python/django/files/django-3.2.18-py311.patch @@ -0,0 +1,153 @@ +From 2882cf6f184c7578219e2b5266623e82c0e9b8a2 Mon Sep 17 00:00:00 2001 +From: Mariusz Felisiak +Date: Thu, 7 Apr 2022 07:02:21 +0200 +Subject: [PATCH] Refs #33173 -- Fixed test_runner/test_utils tests on Python + 3.11+. +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Python 3.11 uses fully qualified test name in unittest output. See +https://github.com/python/cpython/commit/755be9b1505af591b9f2ee424a6525b6c2b65ce9 + +(rebased by Michał Górny) +--- + django/utils/version.py | 1 + + tests/test_runner/test_debug_sql.py | 30 ++++++++++++++++++----------- + tests/test_runner/test_parallel.py | 11 ++++++++--- + tests/test_utils/tests.py | 9 +++++++-- + 4 files changed, 35 insertions(+), 16 deletions(-) + +diff --git a/django/utils/version.py b/django/utils/version.py +index 74c327525e..0c2bfc626e 100644 +--- a/django/utils/version.py ++++ b/django/utils/version.py +@@ -15,6 +15,7 @@ PY37 = sys.version_info >= (3, 7) + PY38 = sys.version_info >= (3, 8) + PY39 = sys.version_info >= (3, 9) + PY310 = sys.version_info >= (3, 10) ++PY311 = sys.version_info >= (3, 11) + + + def get_version(version=None): +diff --git a/tests/test_runner/test_debug_sql.py b/tests/test_runner/test_debug_sql.py +index 0e8e4207d6..2b5fed7a76 100644 +--- a/tests/test_runner/test_debug_sql.py ++++ b/tests/test_runner/test_debug_sql.py +@@ -4,6 +4,7 @@ from io import StringIO + from django.db import connection + from django.test import TestCase + from django.test.runner import DiscoverRunner ++from django.utils.version import PY311 + + from .models import Person + +@@ -100,20 +101,27 @@ class TestDebugSQL(unittest.TestCase): + '''"test_runner_person"."first_name" = 'subtest-fail';'''), + ] + ++ # Python 3.11 uses fully qualified test name in the output. ++ method_name = ".runTest" if PY311 else "" ++ test_class_path = "test_runner.test_debug_sql.TestDebugSQL" + verbose_expected_outputs = [ +- 'runTest (test_runner.test_debug_sql.TestDebugSQL.FailingTest) ... FAIL', +- 'runTest (test_runner.test_debug_sql.TestDebugSQL.ErrorTest) ... ERROR', +- 'runTest (test_runner.test_debug_sql.TestDebugSQL.PassingTest) ... ok', ++ f"runTest ({test_class_path}.FailingTest{method_name}) ... FAIL", ++ f"runTest ({test_class_path}.ErrorTest{method_name}) ... ERROR", ++ f"runTest ({test_class_path}.PassingTest{method_name}) ... ok", + # If there are errors/failures in subtests but not in test itself, + # the status is not written. That behavior comes from Python. +- 'runTest (test_runner.test_debug_sql.TestDebugSQL.FailingSubTest) ...', +- 'runTest (test_runner.test_debug_sql.TestDebugSQL.ErrorSubTest) ...', +- ('''SELECT COUNT(*) AS "__count" ''' +- '''FROM "test_runner_person" WHERE ''' +- '''"test_runner_person"."first_name" = 'pass';'''), +- ('''SELECT COUNT(*) AS "__count" ''' +- '''FROM "test_runner_person" WHERE ''' +- '''"test_runner_person"."first_name" = 'subtest-pass';'''), ++ f"runTest ({test_class_path}.FailingSubTest{method_name}) ...", ++ f"runTest ({test_class_path}.ErrorSubTest{method_name}) ...", ++ ( ++ """SELECT COUNT(*) AS "__count" """ ++ """FROM "test_runner_person" WHERE """ ++ """"test_runner_person"."first_name" = 'pass';""" ++ ), ++ ( ++ """SELECT COUNT(*) AS "__count" """ ++ """FROM "test_runner_person" WHERE """ ++ """"test_runner_person"."first_name" = 'subtest-pass';""" ++ ), + ] + + def test_setupclass_exception(self): +diff --git a/tests/test_runner/test_parallel.py b/tests/test_runner/test_parallel.py +index c1a89bd0f0..0f1adcf208 100644 +--- a/tests/test_runner/test_parallel.py ++++ b/tests/test_runner/test_parallel.py +@@ -2,7 +2,7 @@ import unittest + + from django.test import SimpleTestCase + from django.test.runner import RemoteTestResult +-from django.utils.version import PY37 ++from django.utils.version import PY37, PY311 + + try: + import tblib +@@ -78,8 +78,13 @@ class RemoteTestResultTest(SimpleTestCase): + self.assertEqual(len(events), 4) + + event = events[1] +- self.assertEqual(event[0], 'addSubTest') +- self.assertEqual(str(event[2]), 'dummy_test (test_runner.test_parallel.SampleFailingSubtest) (index=0)') ++ self.assertEqual(event[0], "addSubTest") ++ self.assertEqual( ++ str(event[2]), ++ "dummy_test (test_runner.test_parallel.SampleFailingSubtest%s) (index=0)" ++ # Python 3.11 uses fully qualified test name in the output. ++ % (".dummy_test" if PY311 else ""), ++ ) + trailing_comma = '' if PY37 else ',' + self.assertEqual(repr(event[3][1]), "AssertionError('0 != 1'%s)" % trailing_comma) + +diff --git a/tests/test_utils/tests.py b/tests/test_utils/tests.py +index 9255315e98..8f72057afe 100644 +--- a/tests/test_utils/tests.py ++++ b/tests/test_utils/tests.py +@@ -26,6 +26,7 @@ from django.test.utils import ( + ) + from django.urls import NoReverseMatch, path, reverse, reverse_lazy + from django.utils.deprecation import RemovedInDjango41Warning ++from django.utils.version import PY311 + + from .models import Car, Person, PossessedCar + from .views import empty_response +@@ -78,9 +79,11 @@ class SkippingTestCase(SimpleTestCase): + SkipTestCase('test_foo').test_foo, + ValueError, + "skipUnlessDBFeature cannot be used on test_foo (test_utils.tests." +- "SkippingTestCase.test_skip_unless_db_feature..SkipTestCase) " ++ "SkippingTestCase.test_skip_unless_db_feature..SkipTestCase%s) " + "as SkippingTestCase.test_skip_unless_db_feature..SkipTestCase " + "doesn't allow queries against the 'default' database." ++ # Python 3.11 uses fully qualified test name in the output. ++ % (".test_foo" if PY311 else ""), + ) + + def test_skip_if_db_feature(self): +@@ -122,9 +125,11 @@ class SkippingTestCase(SimpleTestCase): + SkipTestCase('test_foo').test_foo, + ValueError, + "skipIfDBFeature cannot be used on test_foo (test_utils.tests." +- "SkippingTestCase.test_skip_if_db_feature..SkipTestCase) " ++ "SkippingTestCase.test_skip_if_db_feature..SkipTestCase%s) " + "as SkippingTestCase.test_skip_if_db_feature..SkipTestCase " + "doesn't allow queries against the 'default' database." ++ # Python 3.11 uses fully qualified test name in the output. ++ % (".test_foo" if PY311 else ""), + ) + + +-- +2.40.0 + diff --git a/dev-python/dkimpy/Manifest b/dev-python/dkimpy/Manifest index 65475cc937a3..adc8a6b6e0cb 100644 --- a/dev-python/dkimpy/Manifest +++ b/dev-python/dkimpy/Manifest @@ -1,3 +1 @@ -DIST dkimpy-1.0.5.tar.gz 59799 BLAKE2B 317e7a9e7ad1efdbbc7f4f1ce7efca70f3be4272ead3761d8bbde14d19e9f3a90af96d7bff5fba5b612cecaa166b58da4617e39a13276d0982ea38809f808b4d SHA512 af72a56a777b23318af8f8014bad03cadb93cc39f0b8c2062e15f3e5ca77a13be6f49664c9745f1fe97c592be5a63c4b0a3942da2c2c6eaa486137fdbb96528f -DIST dkimpy-1.1.0.tar.gz 66326 BLAKE2B 3af2ab63351c117b7fa0fd2c7a2f2a98b2177511af61734d171fb69e25c5a3d629d95f8ba2832b66f57607ff447a4093ab8ebd58c931975e9ca0c1bab9469590 SHA512 d8c656d1adabbf8ef2121a36a848818ee9ce5ac9fe42c4b16ef50588870478989159f4ff3aa422ba0556a82763a9e78fde5e19195fe0b95176f2f4ff1d60c70e DIST dkimpy-1.1.1.tar.gz 66368 BLAKE2B 6b9107129a0857a384d90b9c7d3970177aa32edaaeb41d62dd4edc6fdf7e8c16e3160162aaed074f865d476dc3f7f20ad299f7034858c0fc59ef88c651552ae4 SHA512 46db739f48f5b3aa1605f12822bef61286767b8770685d5056fcebf8475f9cbc78265c792a0371226ffaa97a55703acc6f6ae63c44944cf29a392c8bf51d49b9 diff --git a/dev-python/dkimpy/dkimpy-1.0.5-r1.ebuild b/dev-python/dkimpy/dkimpy-1.0.5-r1.ebuild deleted file mode 100644 index 39f81e150807..000000000000 --- a/dev-python/dkimpy/dkimpy-1.0.5-r1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="DKIM and ARC email signing and verification library" -HOMEPAGE=" - https://launchpad.net/dkimpy/ - https://pypi.org/project/dkimpy/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm64 x86" - -RDEPEND=" - dev-python/dnspython[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/authres[${PYTHON_USEDEP}] - dev-python/pynacl[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -pkg_postinst() { - optfeature "ARC support" dev-python/authres - optfeature "ed25519 capability" dev-python/pynacl - optfeature "asyncio support" dev-python/aiodns -} diff --git a/dev-python/dkimpy/dkimpy-1.1.0.ebuild b/dev-python/dkimpy/dkimpy-1.1.0.ebuild deleted file mode 100644 index d79133359238..000000000000 --- a/dev-python/dkimpy/dkimpy-1.1.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="DKIM and ARC email signing and verification library" -HOMEPAGE=" - https://launchpad.net/dkimpy/ - https://pypi.org/project/dkimpy/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - dev-python/dnspython[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/authres[${PYTHON_USEDEP}] - dev-python/pynacl[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -pkg_postinst() { - optfeature "ARC support" dev-python/authres - optfeature "ed25519 capability" dev-python/pynacl - optfeature "asyncio support" dev-python/aiodns -} diff --git a/dev-python/dkimpy/dkimpy-1.1.1.ebuild b/dev-python/dkimpy/dkimpy-1.1.1.ebuild index d79133359238..39f81e150807 100644 --- a/dev-python/dkimpy/dkimpy-1.1.1.ebuild +++ b/dev-python/dkimpy/dkimpy-1.1.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" RDEPEND=" dev-python/dnspython[${PYTHON_USEDEP}] diff --git a/dev-python/fastjsonschema/Manifest b/dev-python/fastjsonschema/Manifest index 1819519283b3..1d41f24ea5cf 100644 --- a/dev-python/fastjsonschema/Manifest +++ b/dev-python/fastjsonschema/Manifest @@ -1,2 +1 @@ -DIST python-fastjsonschema-2.16.2.gh.tar.gz 391619 BLAKE2B ea8da31d16ec7c9a897de0b2a91832ce26798d2dc048e70e862ce7a4e75787cd25ee4b9e14fac9f85599e050338b6306a2549a0a8bab9abcbfbd12c246d10697 SHA512 17fce033e6d334e82813af7366006ade29433efe291a1567ae494c2273b9ab87b8fa4ccf1bae0b7062f9f70fe492449c87a5d07075d79037ac2c755ed9278a23 DIST python-fastjsonschema-2.16.3.gh.tar.gz 392011 BLAKE2B 04990592a2bf6e1309bf725361ef7c2e253c4765c5b9d60805c5e6189f14885a3b0bae98945c2fe228adc335ca8c8c0a243b283b24fa447238d6415d439288e2 SHA512 2e26f31f9c6966e77f70b8ca584e672d554219b6bbb4811e3ac8dff1c693b2638ef08b8b9011e0db6f739be02e2f41a35d15bcfc42a9cb06ddb4521e51f37d8a diff --git a/dev-python/fastjsonschema/fastjsonschema-2.16.2.ebuild b/dev-python/fastjsonschema/fastjsonschema-2.16.2.ebuild deleted file mode 100644 index 5717fe895d06..000000000000 --- a/dev-python/fastjsonschema/fastjsonschema-2.16.2.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -MY_P=python-${P} -DESCRIPTION="Fast JSON schema validator for Python" -HOMEPAGE=" - https://github.com/horejsek/python-fastjsonschema/ - https://pypi.org/project/fastjsonschema/ -" -SRC_URI=" - https://github.com/horejsek/python-fastjsonschema/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - rm -r tests/benchmarks || die -} diff --git a/dev-python/fastjsonschema/fastjsonschema-2.16.3.ebuild b/dev-python/fastjsonschema/fastjsonschema-2.16.3.ebuild index 74b93c1c7c44..5717fe895d06 100644 --- a/dev-python/fastjsonschema/fastjsonschema-2.16.3.ebuild +++ b/dev-python/fastjsonschema/fastjsonschema-2.16.3.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" distutils_enable_tests pytest diff --git a/dev-python/genson/Manifest b/dev-python/genson/Manifest index f6fed66f63fd..ca6859ba679d 100644 --- a/dev-python/genson/Manifest +++ b/dev-python/genson/Manifest @@ -1 +1,2 @@ DIST genson-1.1.0.tar.gz 26662 BLAKE2B 726b0467edca9ca503d73c914d35392f0784ae8be01a8287b84da3cd5ae4b4cd6e12a46b1a7baf73db40377b915ddb3c4b53f4a135e3923fa775af5b51a5261c SHA512 54264dcc51cd5ece9bd428079fcd5cf833f32ef36afbb7987de9982d33253834c5c8c35d18b21ad4003fc2ffac4da02965a00844457b7d8ca6c6bf3d3facb8d6 +DIST genson-1.2.2.tar.gz 34387 BLAKE2B 2e3c3b0fd96d93fe1e7244c11828dfb42d8e9bd97058a1b76d983e02094b2e62560e00b08e2ce1d21abf7e858f481a9e2a5678d51b27162fde1d60535031f54e SHA512 9caf1936518db5ffb412c6b1f1d28b33e9aef2e6f9b2fe50bcc2932a75522dcbc57bf7bc6b3df41244ee470060295a92fb6ba0be9f6fcf512950a81615f85f87 diff --git a/dev-python/genson/files/genson-1.2.2-test.patch b/dev-python/genson/files/genson-1.2.2-test.patch new file mode 100644 index 000000000000..1fb14ea900b0 --- /dev/null +++ b/dev-python/genson/files/genson-1.2.2-test.patch @@ -0,0 +1,28 @@ +From 48cb6895f1a4b3320d9ae210debd0befe06bec43 Mon Sep 17 00:00:00 2001 +From: Jon Wolverton +Date: Mon, 19 Apr 2021 14:27:42 -0400 +Subject: [PATCH] use python -m genson for test_bin + +--- + test/test_bin.py | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/test/test_bin.py b/test/test_bin.py +index cd16d38..acee10f 100644 +--- a/test/test_bin.py ++++ b/test/test_bin.py +@@ -25,8 +25,9 @@ def run(args=[], stdin_data=None): + Run the ``genson`` executable as a subprocess and return + (stdout, stderr). + """ +- genson_process = Popen(['genson'] + args, stdout=PIPE, stderr=PIPE, +- stdin=PIPE if stdin_data is not None else None) ++ genson_process = Popen( ++ ['python', '-m', 'genson'] + args, stdout=PIPE, stderr=PIPE, ++ stdin=PIPE if stdin_data is not None else None) + if stdin_data is not None: + stdin_data = stdin_data.encode('utf-8') + (stdout, stderr) = genson_process.communicate(stdin_data) +-- +2.40.0 + diff --git a/dev-python/genson/genson-1.1.0-r1.ebuild b/dev-python/genson/genson-1.1.0-r1.ebuild new file mode 100644 index 000000000000..af5f397fda37 --- /dev/null +++ b/dev-python/genson/genson-1.1.0-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="GenSON is a powerful, user-friendly JSON Schema generator built in Python" +HOMEPAGE=" + https://github.com/wolverdude/GenSON/ + https://pypi.org/project/genson/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + distutils-r1_src_prepare + # https://github.com/wolverdude/GenSON/pull/70 + sed -i -e 's@TEST_URI@test://@' test/test_builder.py || die +} diff --git a/dev-python/genson/genson-1.1.0.ebuild b/dev-python/genson/genson-1.1.0.ebuild index 7e26383222ac..c15d96a1e323 100644 --- a/dev-python/genson/genson-1.1.0.ebuild +++ b/dev-python/genson/genson-1.1.0.ebuild @@ -16,3 +16,9 @@ KEYWORDS="~amd64 ~x86" BDEPEND="test? ( dev-python/jsonschema[${PYTHON_USEDEP}] )" distutils_enable_tests unittest + +src_prepare() { + distutils-r1_src_prepare + # https://github.com/wolverdude/GenSON/pull/70 + sed -i -e 's@TEST_URI@test://@' test/test_builder.py || die +} diff --git a/dev-python/genson/genson-1.2.2.ebuild b/dev-python/genson/genson-1.2.2.ebuild new file mode 100644 index 000000000000..c1aa359caa2f --- /dev/null +++ b/dev-python/genson/genson-1.2.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="GenSON is a powerful, user-friendly JSON Schema generator built in Python" +HOMEPAGE=" + https://github.com/wolverdude/GenSON/ + https://pypi.org/project/genson/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + distutils-r1_src_prepare + # https://github.com/wolverdude/GenSON/pull/70 + sed -i -e 's@TEST_URI@test://@' test/test_builder.py || die + # known broken in this release + [[ ${PV} != 1.2.2 ]] && die "Restore test_bin.py!" + rm test/test_bin.py || die +} diff --git a/dev-python/genson/metadata.xml b/dev-python/genson/metadata.xml index 841d0e2c422c..072ebbc73685 100644 --- a/dev-python/genson/metadata.xml +++ b/dev-python/genson/metadata.xml @@ -5,6 +5,11 @@ alexxy@gentoo.org Alexey Shvetsov + + python@gentoo.org + Python + gentoo-staging + \ No newline at end of file diff --git a/dev-python/grpcio-tools/Manifest b/dev-python/grpcio-tools/Manifest index 8439d0ab7798..943e64fff808 100644 --- a/dev-python/grpcio-tools/Manifest +++ b/dev-python/grpcio-tools/Manifest @@ -1,2 +1,2 @@ -DIST grpcio-tools-1.51.1.tar.gz 2254429 BLAKE2B 7b2379f8695cd34abcce2f24acfd79b609a91c0757716bf56aa695c756689c4f2c9424a4c1321fed96a916bbf5471803d806a83103362aabf6f95d8ad4af8fe7 SHA512 d8477b015f7b1d78d15c9cb116d296a2576f400e1c18d3fca6e4364cf412aa95d87b43eb4e6e82a2ece98da33d3a7f030227134349fc4450e58a1b265824e789 DIST grpcio-tools-1.51.3.tar.gz 2254586 BLAKE2B 11695b2cd7b04425465b638b47f8857f6780cff4e7d3f94218e0f15d6817d5de6157cca345b6478ff819b17845477773d7e5be0474f9bb67aef68f9a056c9f56 SHA512 d1b73c4ddb90bc71d2b8b6a1ca32b48fc2aa92842beaf0352a15d9954cee59686a33cfd681e44d51590c5fe232faec2dfd961b4dcae00f0a45b589462272673f +DIST grpcio-tools-1.53.0.tar.gz 2257165 BLAKE2B 963fbc46f26476b0842a411f96c79807d431b3389012f82aba7d612d41fa238c1d93aac8edfec0a6edad4f1f62b308d070703a147e3413ca417f2aa8a71608d7 SHA512 0df41e26f4f5b435f1825055c0608f4b8d34c0f40e7618e62d11d0a1d6418c6daac03647b379e783c37793ddeb1ddec37026740826aacb53bb62281bf9e4b82d diff --git a/dev-python/grpcio-tools/grpcio-tools-1.51.1.ebuild b/dev-python/grpcio-tools/grpcio-tools-1.51.1.ebuild deleted file mode 100644 index ffd8f3f8e1ed..000000000000 --- a/dev-python/grpcio-tools/grpcio-tools-1.51.1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2022 LiGurOs Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 multiprocessing prefix - -DESCRIPTION="Protobuf code generator for gRPC" -HOMEPAGE="https://grpc.io https://pypi.org/project/grpcio-tools/" -SRC_URI="https://files.pythonhosted.org/packages/94/84/1b8ca4b8fafeee182564a353580cb69da02db5f35ced4404f4cc5a404f3c/grpcio-tools-1.51.1.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" - -RDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - ~dev-python/grpcio-${PV}[${PYTHON_USEDEP}] - dev-python/protobuf-python[${PYTHON_USEDEP}] -" - -DEPEND="${RDEPEND}" - -python_prepare_all() { - distutils-r1_python_prepare_all - hprefixify setup.py -} - -python_configure_all() { - export GRPC_PYTHON_BUILD_WITH_CYTHON=1 - export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" -} diff --git a/dev-python/grpcio-tools/grpcio-tools-1.53.0.ebuild b/dev-python/grpcio-tools/grpcio-tools-1.53.0.ebuild new file mode 100644 index 000000000000..376320a1788f --- /dev/null +++ b/dev-python/grpcio-tools/grpcio-tools-1.53.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022-2023 LiGurOs Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 multiprocessing prefix + +DESCRIPTION="Protobuf code generator for gRPC" +HOMEPAGE="https://grpc.io https://pypi.org/project/grpcio-tools/" +SRC_URI="https://files.pythonhosted.org/packages/81/dc/71fb99bc79deb2cbf2007337b946e463d8a1996d15177db245164f389bc9/grpcio-tools-1.53.0.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + ~dev-python/grpcio-${PV}[${PYTHON_USEDEP}] + dev-python/protobuf-python[${PYTHON_USEDEP}] +" + +DEPEND="${RDEPEND}" + +python_prepare_all() { + distutils-r1_python_prepare_all + hprefixify setup.py +} + +python_configure_all() { + export GRPC_PYTHON_BUILD_WITH_CYTHON=1 + export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" +} diff --git a/dev-python/grpcio/Manifest b/dev-python/grpcio/Manifest index e14982ea89b2..62d1e5f2d03e 100644 --- a/dev-python/grpcio/Manifest +++ b/dev-python/grpcio/Manifest @@ -1,2 +1,2 @@ -DIST grpcio-1.51.1.tar.gz 22137648 BLAKE2B 71793a916bf5f1967ca2b74742d9cc5f4c65dd3fb153bcbab9ec760eff78addb1a84ac158638fa53e8ac25c505008c27101b2b0422c0ddceaebc78793cabe44d SHA512 6133ac7518477a2c0bb4aa95d3631dfb1f2c2526e853e056a47dc567211905dc2a31714481b97596253cd72dbbb8a34af3c644909ffe7b87b8ba71ec726c04a0 DIST grpcio-1.51.3.tar.gz 22147992 BLAKE2B 1048a08500f24744711474bccceb7e79ea985dde574937143b685b4f2096f761eaef2fb943ce1b608bc8bce72535b821ab5598f9033f119c0674a1c0444b0135 SHA512 4c19cc1ffbd9184807c26a3270568059316eb52e79c0d824106ecc32fa03b0a3520e89601cb752c14cc51958d4d5ff33fad7d00cbb8de680c506fe8dc0c35e9b +DIST grpcio-1.53.0.tar.gz 22407809 BLAKE2B 832bbf5c991b454c1425ab9d6da720aca662e71ed041fd60de87857e947b5d0af5509852bbcb4bfc0d311b22f5091184a61a7c4b670fff487557c3eaf49d201b SHA512 e920adaea9fda28eeb79365e18710d22efc69b0de6297577e1bc37fc6dc3e8f9aaf90e2432024e00e8add473ffd96302b9099361596623ce671a1409a50d8be0 diff --git a/dev-python/grpcio/grpcio-1.51.1.ebuild b/dev-python/grpcio/grpcio-1.51.1.ebuild deleted file mode 100644 index 50b3992f61b9..000000000000 --- a/dev-python/grpcio/grpcio-1.51.1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2022 LiGurOs Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 multiprocessing prefix - -DESCRIPTION="High-performance RPC framework (python libraries)" -HOMEPAGE="https://grpc.io https://pypi.org/project/grpcio/" -SRC_URI="https://files.pythonhosted.org/packages/c4/8a/61f84aa2f061395a1aa9faaf325fa200da44191c9631082f33d46602efff/grpcio-1.51.1.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86" -IUSE="libressl" - -RDEPEND=" - !libressl? ( >=dev-libs/openssl-1.1.1:0=[-bindist(-)] ) - libressl? ( dev-libs/libressl ) - >=dev-libs/re2-0.2021.11.01:= - >=dev-python/cython-0.28.3[${PYTHON_USEDEP}] - dev-python/protobuf-python[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - net-dns/c-ares:= - sys-libs/zlib:= -" - -DEPEND="${RDEPEND}" - -python_prepare_all() { - distutils-r1_python_prepare_all - hprefixify setup.py -} - -python_configure_all() { - # os.environ.get('GRPC_BUILD_WITH_BORING_SSL_ASM', True) - export GRPC_BUILD_WITH_BORING_SSL_ASM= - export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=1 - export GRPC_PYTHON_BUILD_SYSTEM_CARES=1 - export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 - export GRPC_PYTHON_BUILD_WITH_SYSTEM_RE2=1 - export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 - export GRPC_PYTHON_BUILD_WITH_CYTHON=1 - export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" -} diff --git a/dev-python/grpcio/grpcio-1.53.0.ebuild b/dev-python/grpcio/grpcio-1.53.0.ebuild new file mode 100644 index 000000000000..eb4af3eddb54 --- /dev/null +++ b/dev-python/grpcio/grpcio-1.53.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022-2023 LiGurOs Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 multiprocessing prefix + +DESCRIPTION="High-performance RPC framework (python libraries)" +HOMEPAGE="https://grpc.io https://pypi.org/project/grpcio/" +SRC_URI="https://files.pythonhosted.org/packages/9d/13/f7e3834ba272c0058c66de57272fb3b20dde69003032fdb6b4d7c36eebed/grpcio-1.53.0.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86" +IUSE="libressl" + +RDEPEND=" + !libressl? ( >=dev-libs/openssl-1.1.1:0=[-bindist(-)] ) + libressl? ( dev-libs/libressl ) + >=dev-libs/re2-0.2021.11.01:= + >=dev-python/cython-0.28.3[${PYTHON_USEDEP}] + dev-python/protobuf-python[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + net-dns/c-ares:= + sys-libs/zlib:= +" + +DEPEND="${RDEPEND}" + +python_prepare_all() { + distutils-r1_python_prepare_all + hprefixify setup.py +} + +python_configure_all() { + # os.environ.get('GRPC_BUILD_WITH_BORING_SSL_ASM', True) + export GRPC_BUILD_WITH_BORING_SSL_ASM= + export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=1 + export GRPC_PYTHON_BUILD_SYSTEM_CARES=1 + export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 + export GRPC_PYTHON_BUILD_WITH_SYSTEM_RE2=1 + export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 + export GRPC_PYTHON_BUILD_WITH_CYTHON=1 + export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" +} diff --git a/dev-python/leechcorepyc/Manifest b/dev-python/leechcorepyc/Manifest index b5f44afbfdd1..9aa35022f4a4 100644 --- a/dev-python/leechcorepyc/Manifest +++ b/dev-python/leechcorepyc/Manifest @@ -1,2 +1 @@ -DIST leechcorepyc-2.13.0.tar.gz 123152 BLAKE2B 8a3ae5b0f0d52296ef71bbbea5140f9dec6abd379ae2a1b0e3a418090a11e5196731b1c4cba5320d4058c562911366cc9dd84f3a30f58ddc7c66362a9b39af8f SHA512 1420f635bebafe1e07cb5f0ade3e6b141433d4a72ec165713f959dc19e05f42a86440c5c99dd5d759aee221ee478e91e7161541cebe11be6dfa286fad79843ae DIST leechcorepyc-2.14.0.tar.gz 124463 BLAKE2B 26b7581da76ab3f8981e956ab2f64de2094cc906788455e38784fb50dbad31b8b14de2f510cb49b9c1e842e2a66effd44a2db94cb6ef9e7ec9f11c3af0d9434c SHA512 c7d1d50727023f6b34bbc9682dba9bc70ae69962dcd5c326612a0dcd48a2a90ecfe674391559271d65d7720d755edde02342fb999e53ad54f8095c589060b901 diff --git a/dev-python/leechcorepyc/files/leechcorepyc-2.12.0-respect-CC.patch b/dev-python/leechcorepyc/files/leechcorepyc-2.12.0-respect-CC.patch deleted file mode 100644 index 6bf48b0c6bcd..000000000000 --- a/dev-python/leechcorepyc/files/leechcorepyc-2.12.0-respect-CC.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- a/leechcore/Makefile -+++ b/leechcore/Makefile -@@ -1,7 +1,8 @@ --CC=gcc --CFLAGS += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden -pthread `pkg-config libusb-1.0 --libs --cflags` -+CC?=gcc -+PKG_CONFIG ?= pkg-config -+CFLAGS += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden -pthread `$(PKG_CONFIG) libusb-1.0 --libs --cflags` - #CFLAGS += -g -O0 -Wextra -Wno-unused-parameter --CFLAGS += -fPIE -fPIC -pie -fstack-protector -D_FORTIFY_SOURCE=2 -O1 -Wl,-z,noexecstack -+CFLAGS += -fPIE -fPIC -pie -D_FORTIFY_SOURCE=2 -Wl,-z,noexecstack - CFLAGS += -Wall -Wno-unused-result -Wno-unused-variable -Wno-unused-value -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast - LDFLAGS += -g -ldl -shared - DEPS = leechcore.h ---- a/leechcore_device_rawtcp/Makefile -+++ b/leechcore_device_rawtcp/Makefile -@@ -1,4 +1,4 @@ --CC=gcc -+CC?=gcc - CFLAGS += -I. -I../includes -D LINUX -shared -fPIC -fvisibility=hidden - LDFLAGS += -g -shared - DEPS = ---- a/leechcore_device_sp605tcp/Makefile -+++ b/leechcore_device_sp605tcp/Makefile -@@ -1,4 +1,4 @@ --CC=gcc -+CC?=gcc - CFLAGS += -I. -I../includes -D LINUX -shared -fPIC -fvisibility=hidden - LDFLAGS += -g -shared - DEPS = ---- a/leechcore_ft601_driver_linux/Makefile -+++ b/leechcore_ft601_driver_linux/Makefile -@@ -1,5 +1,6 @@ --CC=gcc --CFLAGS += -I. -D LINUX -shared -fPIC -fvisibility=hidden `pkg-config libusb-1.0 --libs --cflags` -+CC?=gcc -+PKG_CONFIG ?= pkg-config -+CFLAGS += -I. -D LINUX -shared -fPIC -fvisibility=hidden `$(PKG_CONFIG) libusb-1.0 --libs --cflags` - LDFLAGS += -g -shared - DEPS = leechcore_ft601_driver_linux.h - OBJ = fpga_libusb.o leechcore_ft601_driver_linux.o diff --git a/dev-python/leechcorepyc/leechcorepyc-2.13.0.ebuild b/dev-python/leechcorepyc/leechcorepyc-2.13.0.ebuild deleted file mode 100644 index f1264869a7d6..000000000000 --- a/dev-python/leechcorepyc/leechcorepyc-2.13.0.ebuild +++ /dev/null @@ -1,34 +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_{7,8,9,10,11} ) - -inherit distutils-r1 toolchain-funcs - -DESCRIPTION="Python binding for LeechCore Physical Memory Acquisition Library" -HOMEPAGE="https://github.com/ufrisk/LeechCore" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" - -# leechcorepyc ships with a bundled version of the LeechCore library. So we -# don't depend on the library here. But we must be aware this module doesn't -# use the system library. -DEPEND="virtual/libusb:=" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${PN}-2.12.0-respect-CC.patch -) - -src_configure() { - tc-export CC - - distutils-r1_src_configure -} diff --git a/dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild b/dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild index 686020272b47..6b2c8380b926 100644 --- a/dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild +++ b/dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://github.com/ufrisk/LeechCore" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" # leechcorepyc ships with a bundled version of the LeechCore library. So we # don't depend on the library here. But we must be aware this module doesn't diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index bf4b06a5a4b7..8e9f5f3cfd8a 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -1,4 +1,3 @@ -DIST mkdocs-material-9.0.10.gh.tar.gz 10933071 BLAKE2B 702db94a8c91a856ffcf30402fe9a913ebb9f76ab1cf92afd83ee75733a233366e039ab08d376b543112b892dd7641c164f87b641938c6974a9205e80d249b7b SHA512 33c11dec5e90055ce773686b3301313f2744bb190078019973bde84a7530aeb3dd8de08946f0aa1a64aa7b100055a99aaa716f96d4a862638a7134ffa120d56e DIST mkdocs-material-9.0.15.gh.tar.gz 10923424 BLAKE2B d2980f058001f0246be4ad34496a066b962e9fed8239415dd54dff0287211d97a640a2aca808aea1daec2f445b548153f6efd229bba515c968d50bd609936b4d SHA512 39b4a6d5d50ea27c7cdd2d23cf2d41a79d6dc0e1949346bd8d7c0e9a0792f7a9a9ae15594ff83017211d858d94240a09b0314a6294f268cf43e7337868ba5e69 DIST mkdocs-material-9.1.1.gh.tar.gz 10874113 BLAKE2B 24da8a9c93b46afaf7d2faf3becc3735c72e831b8ed5f3153f493178feffd9ee720b9a394814d8a151a337343065f664c0978fc8b02d357523d62c94c80a1f52 SHA512 e7c023027c9d970fde94a9bbd20e9b22a4f9666f3778660b759937ad855514720b710d8d32fa71802e3455bb1d3545b0451c055edd428098916acb980f465a7f DIST mkdocs-material-9.1.2.gh.tar.gz 10883294 BLAKE2B bc84f9af96fcdd8a6704723d8c004bd3f201e906e7b1a46ab48253f7d7468e5219f14258713183c6e64c43f073cf499e3f1c03a76e6be77bf732acc832fe86ed SHA512 7f711792beaefe87a5843df6f8f67b6f2aaf92de36ac9c9b6d2c05aca3bd5760c5e306b5d6f7c57e1414bd77e2453800970e37af46cd78eb8095c6e2b19072bc diff --git a/dev-python/mkdocs-material/mkdocs-material-9.0.10.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.0.10.ebuild deleted file mode 100644 index e5e61dd0e5c8..000000000000 --- a/dev-python/mkdocs-material/mkdocs-material-9.0.10.ebuild +++ /dev/null @@ -1,53 +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_{7,8,9,10,11} ) - -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 ~ppc ~riscv x86" - -RDEPEND=" - >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}] - >=dev-python/markdown-3.2[${PYTHON_USEDEP}] - >=dev-python/mkdocs-1.4.2[${PYTHON_USEDEP}] - >=dev-python/pygments-2.14[${PYTHON_USEDEP}] - >=dev-python/pymdown-extensions-9.9.1[${PYTHON_USEDEP}] -" - -# mkdocs-material-extensions depends on mkdocs-material creating a circular dep -PDEPEND=" - >=dev-python/mkdocs-material-extensions-1.1.0[${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.0.15.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.0.15.ebuild index 4de43bd469bc..fca6dd5da8fa 100644 --- a/dev-python/mkdocs-material/mkdocs-material-9.0.15.ebuild +++ b/dev-python/mkdocs-material/mkdocs-material-9.0.15.ebuild @@ -27,7 +27,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~riscv ~x86" +KEYWORDS="amd64 ~arm ~ppc ~riscv x86" RDEPEND=" >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}] diff --git a/dev-python/more-itertools/Manifest b/dev-python/more-itertools/Manifest index 60e327affb80..0efcd3527e2d 100644 --- a/dev-python/more-itertools/Manifest +++ b/dev-python/more-itertools/Manifest @@ -1,2 +1 @@ -DIST more-itertools-9.0.0.tar.gz 104237 BLAKE2B 523fe14889862edc2f05da79156914e12984d62168df46630fbe3169ebbe48ba66e018a65bd17dfad54676e5334335dbcda5c442556970442ccc2a792940bcc4 SHA512 a1e73a7a3e4530d070d639baa01c08d91ca11cdab6fec36131764001c2b78f1649e19ddf78ee3c1295f2f9d9951ea7483a4fd1f7c12d5655c3b696db7de35c1e DIST more-itertools-9.1.0.tar.gz 107389 BLAKE2B e2f5ba6daf5ee2dbb01a9f2c07f8595418285e8472960054681a551a42e39200e40a2799c644d37a0d8654307c9119b05364e47d590c933e6082fa5be390579c SHA512 635a97caa457ede1b7ea12fd1ee75bd8722e97a089a2d35f143dc77bcbaa2e3793338513af87408476a8a1443367b270ec0d239d652fc8f96f102308e1f3e937 diff --git a/dev-python/more-itertools/more-itertools-9.0.0.ebuild b/dev-python/more-itertools/more-itertools-9.0.0.ebuild deleted file mode 100644 index a17cbf5a9479..000000000000 --- a/dev-python/more-itertools/more-itertools-9.0.0.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep -EAPI=7 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="More routines for operating on iterables, beyond itertools" -HOMEPAGE=" - https://github.com/more-itertools/more-itertools/ - https://pypi.org/project/more-itertools/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -distutils_enable_sphinx docs \ - dev-python/sphinx-rtd-theme -distutils_enable_tests unittest diff --git a/dev-python/more-itertools/more-itertools-9.1.0.ebuild b/dev-python/more-itertools/more-itertools-9.1.0.ebuild index 6e429896b2ef..bf0a9a1fe8b5 100644 --- a/dev-python/more-itertools/more-itertools-9.1.0.ebuild +++ b/dev-python/more-itertools/more-itertools-9.1.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" 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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" distutils_enable_sphinx docs \ dev-python/sphinx-rtd-theme diff --git a/dev-python/natsort/Manifest b/dev-python/natsort/Manifest index 6474a013c2e1..02d3026a050c 100644 --- a/dev-python/natsort/Manifest +++ b/dev-python/natsort/Manifest @@ -1,3 +1 @@ -DIST natsort-8.2.0.tar.gz 145643 BLAKE2B d101ae2fa1cb009892e9712ece87d3825f3fca7970475e46176e5acbc29481ac79d491f1bae0721d85d3e67ecf39e5f54e2a984f0398356f32a5f0ec18a3e98d SHA512 d7e35c48ee36e69812c26b2cd333c57f1ec70c54017c4f51ed06dbb7619afc11cd1d589035faee700e1adf1e6b759b43ee497685fc88518be62c41957e15884e -DIST natsort-8.3.0.tar.gz 123448 BLAKE2B 7fd480c8bfaceaca7431716e7721acac89d4a5c87a951ecf2754d80062437776eee823d7b94c58e2b9bc6864d9c0f595ee8667c538609c296694a548c126ab58 SHA512 63a65a99c9475e8ae96d722ae4c093cc73034c0dfdd254b24ae02904dd81cc8be36038c8a3fc514080f436d4124847f0f331d06a87c435f0b7b7d1d72313ae0d DIST natsort-8.3.1.tar.gz 123736 BLAKE2B 3ad4d8884b463fa792f7930f6d92dda146c96cd929a58a1d418c59f8b3c5fc06329e2cf0341963c820fb8d2fc67b287ce69083a2cba9f20bd8abc06c0fca6a44 SHA512 98ee9bfed9307487b9ae9ced5ce723b6840c6f882d06702f205986430572b767f3ac0930ffdf0663d99256f6feed704394b2b7e11f4b01f4f0241cd8639df622 diff --git a/dev-python/natsort/natsort-8.2.0.ebuild b/dev-python/natsort/natsort-8.2.0.ebuild deleted file mode 100644 index 3a9109cda7ef..000000000000 --- a/dev-python/natsort/natsort-8.2.0.ebuild +++ /dev/null @@ -1,33 +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_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Natural sorting for Python" -HOMEPAGE=" - https://github.com/SethMMorton/natsort/ - https://pypi.org/project/natsort/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -pkg_postinst() { - optfeature "sorting results that match most file browsers" "dev-python/pyicu" -} diff --git a/dev-python/natsort/natsort-8.3.0.ebuild b/dev-python/natsort/natsort-8.3.0.ebuild deleted file mode 100644 index 9a89bfcc7cb5..000000000000 --- a/dev-python/natsort/natsort-8.3.0.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_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="Natural sorting for Python" -HOMEPAGE=" - https://github.com/SethMMorton/natsort/ - https://pypi.org/project/natsort/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -pkg_postinst() { - optfeature "sorting results that match most file browsers" "dev-python/pyicu" -} diff --git a/dev-python/natsort/natsort-8.3.1.ebuild b/dev-python/natsort/natsort-8.3.1.ebuild index 9a89bfcc7cb5..7c1c59599bea 100644 --- a/dev-python/natsort/natsort-8.3.1.ebuild +++ b/dev-python/natsort/natsort-8.3.1.ebuild @@ -16,7 +16,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" BDEPEND=" test? ( diff --git a/dev-python/peewee/Manifest b/dev-python/peewee/Manifest index d9cecd3dc380..8a20a15706cf 100644 --- a/dev-python/peewee/Manifest +++ b/dev-python/peewee/Manifest @@ -1,2 +1 @@ -DIST peewee-3.15.4.gh.tar.gz 908759 BLAKE2B 5bb53598f44c75f4b819d7aa032a2bc812f1e6de415b4cc01e22e521e4881dd409ceaf26435ddfcf08167c5193594917f23b15ae91f037fa4216d78752e77247 SHA512 9042e1c4fffac0c395500597981ab4732383c273e2b7f2b129b2b7702d9762772a219bb848a1f0aff802c468f38327f629df1c49028858451578115cf0811a13 DIST peewee-3.16.0.gh.tar.gz 1085430 BLAKE2B 3acfbbc9d8cce7e4bd1c0027905f4ca44431f376a243adffbfadd4d3f15b4e729c4736076e8ec72c40261ca269c66d811afb6c25b9d075d5913a13869da4f4dd SHA512 f77a040831bd3189135196ede9748c92af9db21127839dfacd7712586273bdd22c688ca22bfa373805fa1b64f770b7cea850cba53e73f324f25ced1305830409 diff --git a/dev-python/peewee/peewee-3.15.4-r1.ebuild b/dev-python/peewee/peewee-3.15.4-r1.ebuild deleted file mode 100644 index 43c2a7437311..000000000000 --- a/dev-python/peewee/peewee-3.15.4-r1.ebuild +++ /dev/null @@ -1,47 +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_{7,8,9,10,11} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 - -DESCRIPTION="Small Python ORM" -HOMEPAGE=" - https://github.com/coleifer/peewee/ - https://pypi.org/project/peewee/ -" -SRC_URI=" - https://github.com/coleifer/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~riscv x86" -IUSE="examples test" -RESTRICT="!test? ( test )" - -DEPEND=" - dev-db/sqlite -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] -" - -distutils_enable_sphinx docs - -python_test() { - "${EPYTHON}" runtests.py -v 2 || die "tests failed under ${EPYTHON}" -} - -python_install_all() { - use examples && DOCS=( examples/ ) - distutils-r1_python_install_all -} diff --git a/dev-python/peewee/peewee-3.16.0-r1.ebuild b/dev-python/peewee/peewee-3.16.0-r1.ebuild index ef546bdad51e..43c2a7437311 100644 --- a/dev-python/peewee/peewee-3.16.0-r1.ebuild +++ b/dev-python/peewee/peewee-3.16.0-r1.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="amd64 ~riscv x86" IUSE="examples test" RESTRICT="!test? ( test )" diff --git a/dev-python/pygame/pygame-2.2.0.ebuild b/dev-python/pygame/pygame-2.2.0.ebuild index 303edb79d795..8e39c41de6ee 100644 --- a/dev-python/pygame/pygame-2.2.0.ebuild +++ b/dev-python/pygame/pygame-2.2.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86" IUSE="examples opengl test X" RESTRICT="!test? ( test )" diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 1e65d2460b6d..03b78d2ce10f 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,10 +1,3 @@ -DIST pypdf-3.3.0.gh.tar.gz 6803536 BLAKE2B ff70995882581c816fbf7410232c68e9649632161b4927543924a11b1a0a816f1178be399079e32078fe8d89a2aa9cd0eb1562409dc8e7bd388cad3afde37198 SHA512 5db25d6c4b41a1d19b45fa907f53e0106e01c93eb4152079dc4ffbd7bf28fbf8915bf0e3bf1af4a371e805657884fe2c42de4856944085ca7bc07a477f3ba588 -DIST pypdf-3.4.0.gh.tar.gz 6931831 BLAKE2B 037ac998cc1e3d078281b64183197678a80345731f6d4691b00f9e546eb61eaa34c4d7f4b704191c887975517da73359983f1b7405776e99257f79b1604dafc0 SHA512 9bee70a039c42533b600f1e95e28a4889d7df212bae18deca7d88501008d3a3e2b4d7fe36134e947cb14b0acc650126688c358ce2b662917a4c6df46241db1ab -DIST pypdf-3.4.1.gh.tar.gz 6930245 BLAKE2B 9e8a5a1ebe95b64c9274ce6b0ea252d65f41d4b6791d6c6acf87f810794892337aed13ddc9b77f05a404fe94b3d9c2444f2a06c4feea9661204e71684bbbbfd5 SHA512 e2e3fa74bc6e96afc5999429e7603dd3ab8e6443b6259e456bc6d90cb2d7a15a484b226e218478c1e92cfd7fe23c93247f212568c6fcd51d80afde32b83460ba -DIST pypdf-3.5.0.gh.tar.gz 7181507 BLAKE2B 8f5c129613ed12a9eaa90cf0e6fa189b0fc5bf109f26b8cc35ff1550e916b0635715359b2ece9c3c0243095c2e802474e99fe4c59d16b0f75b4375fb2ce07e5d SHA512 a8a0fad3fd08d88738088a06df4f1cbf419571e9e817c6097ce8bdcf7b1dd32f478ac712879cabceb7034f4e9a421f887ff117a1812782eadb670c8043aff86c -DIST pypdf-3.5.1.gh.tar.gz 7183874 BLAKE2B 29ce7d052f0c466e72974ec051e149c2383136cc0097e2e104c4c1e5c37836f7908b25bfaa32e5fd85082f860b06ad88adbfbb5bbff95bc7a735e127b26d7964 SHA512 4f28cc0822f472087f096b4b2ee553b87e458009b29c43d41bbba53de9862292c78f4b31a860d4c783a6af4f92fdf32612bab7a42190373d9d9ceae39080bb35 -DIST pypdf-3.5.2.gh.tar.gz 7185283 BLAKE2B b92af14da7fed1cecda4cb0088efaa7031e9a44daa7c81ee0450bbb0f7630129b6e09e4044b3592e4333c466c73f16d033ee32f428c2866d163fc250a15516e9 SHA512 f257f05ddbd0a0195e0ec075b88fd4077bf0c44490311eee6fe1f4d3715c6d29abc681df53d22c2e7a08c2a545f5151d48f1bec2e436031c3b8e599204eb0f5a DIST pypdf-3.6.0.gh.tar.gz 7174931 BLAKE2B 2d9260ecccc03e6039d288d1fb16f8d1deffcd8daf83e4bb25ff7f2c49b3c6c979ebca2f04458964999d29fb5979b21a0087b02ac66c0bf387cce2be50a308be SHA512 43286f7c9c68048d763a87b02eb932ba597a7aa778153e8abd96d7d496da0d910199dab1e985d21c625daae225dde69936fff56accd52102353e6a03e30db4c7 DIST pypdf-3.7.0.gh.tar.gz 7505675 BLAKE2B 68491e9d144717a5f92a00c01ae0cbdd1713c94f65ad44bb9ad1de556a80caac674c164d7c7a2d9738f68afdfb36ad3cde7791016856d0e8ddc1ff2c2d7335b3 SHA512 4d1d7d47ca20970174bf938af19813f5e2738ea6658fe3023b64e93575e3e73eef84327def6eb8868f4bbba01030a24252032a16cd89c6b79e3390b9ee9ecbb8 -DIST pypdf-sample-files-0fe84b30ed33ff3daa9293e44349b8618f135699.gh.tar.gz 9027166 BLAKE2B 912bb9fbd632bd0ad2cc2e865a1e6870ad7064aa2cf4d6f96217f63ac685e9a511f0bb20c22d48ae970a2eb171b27a0fa680fa42892425531f69735840cf741b SHA512 07a71a3566dabcea5dc8a549949d0f0c0f9483d5d9f85851d6e4e702dd374b348469a80e5300d18983e560ee9a44d0639b55eb338023b9ebbdb26c6f8c455e07 DIST pypdf-sample-files-fb7a080b35b3553bd10221282beeda7847959e83.gh.tar.gz 9027029 BLAKE2B 8f8797263b86f08efd9708d5812000efd08708abf66a0e95f50f5a147102e555dd7f8c465ae73cae842d86efdb52cabba5f8962626f56cb1b98409bfa108e150 SHA512 3a9cdab964a14cf6b14d80d917441a4e5effe2b7647163b666781ecabd189624dbbe5039111f6b1d753ff73e013665a1b86d87ca7806580fda58ec5810f88e94 diff --git a/dev-python/pypdf/pypdf-3.3.0.ebuild b/dev-python/pypdf/pypdf-3.3.0.ebuild deleted file mode 100644 index d8ea571138e4..000000000000 --- a/dev-python/pypdf/pypdf-3.3.0.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=0fe84b30ed33ff3daa9293e44349b8618f135699 -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" -S=${WORKDIR}/pypdf-${PV} - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" -RESTRICT="test" -# 150+ tests require network, too many to deselect -PROPERTIES="test_network" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' 3.8 3.9) -" -BDEPEND=" - dev-python/pillow[${PYTHON_USEDEP}] - test? ( - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # rely on -Werror - tests/test_utils.py::test_deprecate_no_replacement - tests/test_workflows.py::test_orientations - # dead URL - # https://github.com/py-pdf/pypdf/issues/1526 - tests/test_xmp.py::test_issue585 -) - -src_unpack() { - default - if use test; then - mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die - fi -} diff --git a/dev-python/pypdf/pypdf-3.4.0.ebuild b/dev-python/pypdf/pypdf-3.4.0.ebuild deleted file mode 100644 index d8ea571138e4..000000000000 --- a/dev-python/pypdf/pypdf-3.4.0.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=0fe84b30ed33ff3daa9293e44349b8618f135699 -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" -S=${WORKDIR}/pypdf-${PV} - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" -RESTRICT="test" -# 150+ tests require network, too many to deselect -PROPERTIES="test_network" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' 3.8 3.9) -" -BDEPEND=" - dev-python/pillow[${PYTHON_USEDEP}] - test? ( - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # rely on -Werror - tests/test_utils.py::test_deprecate_no_replacement - tests/test_workflows.py::test_orientations - # dead URL - # https://github.com/py-pdf/pypdf/issues/1526 - tests/test_xmp.py::test_issue585 -) - -src_unpack() { - default - if use test; then - mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die - fi -} diff --git a/dev-python/pypdf/pypdf-3.4.1.ebuild b/dev-python/pypdf/pypdf-3.4.1.ebuild deleted file mode 100644 index 1a8ed924288f..000000000000 --- a/dev-python/pypdf/pypdf-3.4.1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=0fe84b30ed33ff3daa9293e44349b8618f135699 -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" -S=${WORKDIR}/pypdf-${PV} - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 x86" -RESTRICT="test" -# 150+ tests require network, too many to deselect -PROPERTIES="test_network" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' 3.8 3.9) -" -BDEPEND=" - dev-python/pillow[${PYTHON_USEDEP}] - test? ( - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # rely on -Werror - tests/test_utils.py::test_deprecate_no_replacement - tests/test_workflows.py::test_orientations -) - -src_unpack() { - default - if use test; then - mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die - fi -} diff --git a/dev-python/pypdf/pypdf-3.5.0.ebuild b/dev-python/pypdf/pypdf-3.5.0.ebuild deleted file mode 100644 index d621f2e6f144..000000000000 --- a/dev-python/pypdf/pypdf-3.5.0.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=0fe84b30ed33ff3daa9293e44349b8618f135699 -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" -S=${WORKDIR}/pypdf-${PV} - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" -RESTRICT="test" -# 150+ tests require network, too many to deselect -PROPERTIES="test_network" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' 3.8 3.9) -" -BDEPEND=" - dev-python/pillow[${PYTHON_USEDEP}] - test? ( - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # rely on -Werror - tests/test_utils.py::test_deprecate_no_replacement - tests/test_workflows.py::test_orientations -) - -src_unpack() { - default - if use test; then - mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die - fi -} diff --git a/dev-python/pypdf/pypdf-3.5.1.ebuild b/dev-python/pypdf/pypdf-3.5.1.ebuild deleted file mode 100644 index 688053dcdece..000000000000 --- a/dev-python/pypdf/pypdf-3.5.1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=fb7a080b35b3553bd10221282beeda7847959e83 -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" -S=${WORKDIR}/pypdf-${PV} - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' 3.8 3.9) -" -BDEPEND=" - dev-python/pillow[${PYTHON_USEDEP}] - test? ( - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # rely on -Werror - tests/test_utils.py::test_deprecate_no_replacement - tests/test_workflows.py::test_orientations -) - -src_unpack() { - default - if use test; then - mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die - fi -} - -python_test() { - epytest -o addopts= -m "not enable_socket" -} diff --git a/dev-python/pypdf/pypdf-3.5.2.ebuild b/dev-python/pypdf/pypdf-3.5.2.ebuild deleted file mode 100644 index 688053dcdece..000000000000 --- a/dev-python/pypdf/pypdf-3.5.2.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=fb7a080b35b3553bd10221282beeda7847959e83 -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" -S=${WORKDIR}/pypdf-${PV} - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' 3.8 3.9) -" -BDEPEND=" - dev-python/pillow[${PYTHON_USEDEP}] - test? ( - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # rely on -Werror - tests/test_utils.py::test_deprecate_no_replacement - tests/test_workflows.py::test_orientations -) - -src_unpack() { - default - if use test; then - mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die - fi -} - -python_test() { - epytest -o addopts= -m "not enable_socket" -} diff --git a/dev-python/pypdf/pypdf-3.6.0.ebuild b/dev-python/pypdf/pypdf-3.6.0.ebuild index 688053dcdece..06de45d14435 100644 --- a/dev-python/pypdf/pypdf-3.6.0.ebuild +++ b/dev-python/pypdf/pypdf-3.6.0.ebuild @@ -26,7 +26,7 @@ S=${WORKDIR}/pypdf-${PV} LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm64 ~ppc64 x86" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/pyspelling/Manifest b/dev-python/pyspelling/Manifest index 200c80125eff..c59be4962736 100644 --- a/dev-python/pyspelling/Manifest +++ b/dev-python/pyspelling/Manifest @@ -1,2 +1 @@ -DIST pyspelling-2.8.1.gh.tar.gz 150813 BLAKE2B 53df7ae453180007af08fe3928274f9a468f7d24cc5f00b85efbda0febe9532f7b57805b54c2e28c3580e34de383a249bb293b1f89905d2b09c1a70853d12fd3 SHA512 24e9b03b3f5c911e2cd32a5594813fad5fce3fe5cc8c570fdaf4a025aebe8d02d2b77542d6e940cb03350df3203f1a9961a3f446fd60d66250a3cff7c54534de DIST pyspelling-2.8.2.gh.tar.gz 150733 BLAKE2B 1bb96679ce54d48967ee57a7dde00131884e2801a8a4f4e016f9a552b92d435650314ae66a356c90e3e4c585d2701bfc5e63f19b92347c8fada4de64e9a982b6 SHA512 0bb4fbacbc72935d4fb2fa0608d675fd0eec85f178c0994d341bc8635b53f39a4c82a1d50e43446cd39873a877e75b1530eafc36450f37d8f08cc174ba39e440 diff --git a/dev-python/pyspelling/pyspelling-2.8.1.ebuild b/dev-python/pyspelling/pyspelling-2.8.1.ebuild deleted file mode 100644 index 7c848696031b..000000000000 --- a/dev-python/pyspelling/pyspelling-2.8.1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -DISTUTILS_USE_PEP517=hatchling - -DOCS_BUILDER="mkdocs" -DOCS_DEPEND=" - >=dev-python/mkdocs_pymdownx_material_extras-2.1 - dev-python/mkdocs-git-revision-date-localized-plugin - dev-python/mkdocs-minify-plugin -" - -inherit distutils-r1 docs - -DESCRIPTION="Spell checker automation tool" -HOMEPAGE=" - https://github.com/facelessuser/pyspelling/ - https://pypi.org/project/pyspelling/ -" -SRC_URI=" - https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~ppc ~riscv x86" - -RDEPEND=" - || ( app-text/aspell app-text/hunspell ) - - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - dev-python/html5lib[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/markdown[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - >=dev-python/soupsieve-1.8[${PYTHON_USEDEP}] - >=dev-python/wcmatch-6.0.3[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-vcs/git - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # mkdocs-git-revision-date-localized-plugin needs git repo - if use doc; then - git init || die - git config --global user.email "you@example.com" || die - git config --global user.name "Your Name" || die - git add . || die - git commit -m 'init' || die - fi - - distutils-r1_python_prepare_all -} diff --git a/dev-python/pyspelling/pyspelling-2.8.2.ebuild b/dev-python/pyspelling/pyspelling-2.8.2.ebuild index 8faf90e5f35a..7891b882b546 100644 --- a/dev-python/pyspelling/pyspelling-2.8.2.ebuild +++ b/dev-python/pyspelling/pyspelling-2.8.2.ebuild @@ -27,7 +27,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~riscv ~x86" +KEYWORDS="amd64 ~arm ~ppc ~riscv x86" RDEPEND=" || ( app-text/aspell app-text/hunspell ) diff --git a/dev-python/pytz/files/pytz-2023.2-system-tzinfo.patch b/dev-python/pytz/files/pytz-2023.2-system-tzinfo.patch index 1e64f1bd2fa4..85b639f0e615 100644 --- a/dev-python/pytz/files/pytz-2023.2-system-tzinfo.patch +++ b/dev-python/pytz/files/pytz-2023.2-system-tzinfo.patch @@ -7,7 +7,7 @@ diff --git a/pytz/__init__.py b/pytz/__init__.py index f89d0eb..d00f3bb 100644 --- a/pytz/__init__.py +++ b/pytz/__init__.py -@@ -75,6 +75,20 @@ else: # Python 2.x +@@ -75,6 +75,21 @@ else: # Python 2.x return s.encode('ASCII') @@ -15,8 +15,9 @@ index f89d0eb..d00f3bb 100644 + for dirpath, dirnames, filenames in os.walk(_PYTZ_TZDATADIR): + for f in filenames: + p = os.path.join(dirpath, f) -+ if open(p, 'rb').read(4) == b'TZif': -+ yield os.path.relpath(p, _PYTZ_TZDATADIR) ++ with open(p, 'rb') as tzfile: ++ if tzfile.read(4) == b'TZif': ++ yield os.path.relpath(p, _PYTZ_TZDATADIR) + + +_PYTZ_TZDATADIR = os.environ.get('PYTZ_TZDATADIR', '/usr/share/zoneinfo') diff --git a/dev-python/pytz/pytz-2023.2-r1.ebuild b/dev-python/pytz/pytz-2023.2-r1.ebuild deleted file mode 100644 index 2f4a0773264a..000000000000 --- a/dev-python/pytz/pytz-2023.2-r1.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_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="World timezone definitions for Python" -HOMEPAGE=" - https://pythonhosted.org/pytz/ - https://github.com/stub42/pytz/ - https://pypi.org/project/pytz/ -" - -LICENSE="MIT" -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" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - || ( - >=sys-libs/timezone-data-2023b - sys-libs/glibc[vanilla] - ) -" -BDEPEND=" - test? ( - ${RDEPEND} - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # unbundle timezone-data - rm -r pytz/zoneinfo || die - # remove hardcoded list of all timezones but leave subjective set - # of "common timezones" - sed -i -e '/^_all_timezones_unchecked/,/^all_timezones_set/d' pytz/__init__.py || die - eapply "${FILESDIR}"/pytz-2023.2-system-tzinfo.patch -} - -python_test() { - "${EPYTHON}" pytz/tests/test_tzinfo.py -v || - die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/pytz/pytz-2023.2-r2.ebuild b/dev-python/pytz/pytz-2023.2-r2.ebuild new file mode 100644 index 000000000000..2f4a0773264a --- /dev/null +++ b/dev-python/pytz/pytz-2023.2-r2.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_{7,8,9,10,11} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="World timezone definitions for Python" +HOMEPAGE=" + https://pythonhosted.org/pytz/ + https://github.com/stub42/pytz/ + https://pypi.org/project/pytz/ +" + +LICENSE="MIT" +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" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + || ( + >=sys-libs/timezone-data-2023b + sys-libs/glibc[vanilla] + ) +" +BDEPEND=" + test? ( + ${RDEPEND} + ) +" + +src_prepare() { + distutils-r1_src_prepare + + # unbundle timezone-data + rm -r pytz/zoneinfo || die + # remove hardcoded list of all timezones but leave subjective set + # of "common timezones" + sed -i -e '/^_all_timezones_unchecked/,/^all_timezones_set/d' pytz/__init__.py || die + eapply "${FILESDIR}"/pytz-2023.2-system-tzinfo.patch +} + +python_test() { + "${EPYTHON}" pytz/tests/test_tzinfo.py -v || + die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/pytz/pytz-2023.3-r1.ebuild b/dev-python/pytz/pytz-2023.3-r1.ebuild new file mode 100644 index 000000000000..2f4a0773264a --- /dev/null +++ b/dev-python/pytz/pytz-2023.3-r1.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_{7,8,9,10,11} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="World timezone definitions for Python" +HOMEPAGE=" + https://pythonhosted.org/pytz/ + https://github.com/stub42/pytz/ + https://pypi.org/project/pytz/ +" + +LICENSE="MIT" +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" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + || ( + >=sys-libs/timezone-data-2023b + sys-libs/glibc[vanilla] + ) +" +BDEPEND=" + test? ( + ${RDEPEND} + ) +" + +src_prepare() { + distutils-r1_src_prepare + + # unbundle timezone-data + rm -r pytz/zoneinfo || die + # remove hardcoded list of all timezones but leave subjective set + # of "common timezones" + sed -i -e '/^_all_timezones_unchecked/,/^all_timezones_set/d' pytz/__init__.py || die + eapply "${FILESDIR}"/pytz-2023.2-system-tzinfo.patch +} + +python_test() { + "${EPYTHON}" pytz/tests/test_tzinfo.py -v || + die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/pytz/pytz-2023.3.ebuild b/dev-python/pytz/pytz-2023.3.ebuild deleted file mode 100644 index 2f4a0773264a..000000000000 --- a/dev-python/pytz/pytz-2023.3.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_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="World timezone definitions for Python" -HOMEPAGE=" - https://pythonhosted.org/pytz/ - https://github.com/stub42/pytz/ - https://pypi.org/project/pytz/ -" - -LICENSE="MIT" -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" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - || ( - >=sys-libs/timezone-data-2023b - sys-libs/glibc[vanilla] - ) -" -BDEPEND=" - test? ( - ${RDEPEND} - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # unbundle timezone-data - rm -r pytz/zoneinfo || die - # remove hardcoded list of all timezones but leave subjective set - # of "common timezones" - sed -i -e '/^_all_timezones_unchecked/,/^all_timezones_set/d' pytz/__init__.py || die - eapply "${FILESDIR}"/pytz-2023.2-system-tzinfo.patch -} - -python_test() { - "${EPYTHON}" pytz/tests/test_tzinfo.py -v || - die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/seaborn/Manifest b/dev-python/seaborn/Manifest index 0fa6e8e28578..766f8abaca3c 100644 --- a/dev-python/seaborn/Manifest +++ b/dev-python/seaborn/Manifest @@ -1,2 +1 @@ -DIST seaborn-0.12.0.tar.gz 1407601 BLAKE2B 3da8db0a0c08a40a3969a2ffce248f5521b4c7c93ecf0f014850093ef48331326454572ceea6ee1133805bf92540b0d2acecdfb7cb789d238f743b30e6a28947 SHA512 b2b06a22d48f19ace2448f465ca5e700f3486971d9fb86e85a1a8c9e2956b904e5f4c2c8075f848299b182cf8f69b2fac22366fedbd8012b9c44adc0bcb7e060 DIST seaborn-0.12.2.tar.gz 1439798 BLAKE2B cf6903b1a2d27516bcafe46cabc81ea9fac80666394a6a82516630f9ac60afc7e9d31817e029cda9a08da04c0a37ce0244ad23acda16bca3283532ddb0fbdb71 SHA512 988a9922ee301b655911efa38905674b7dd15e7f7b157ad67f5befaeb02db492553f8bd6133b54d2dd7970b8dbbfd92d81d1faea3fa618247ebcaeb98620a060 diff --git a/dev-python/seaborn/seaborn-0.12.0.ebuild b/dev-python/seaborn/seaborn-0.12.0.ebuild deleted file mode 100644 index 25ae8347a346..000000000000 --- a/dev-python/seaborn/seaborn-0.12.0.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -inherit distutils-r1 - -DESCRIPTION="Statistical data visualization" -HOMEPAGE="https://seaborn.pydata.org https://github.com/mwaskom/seaborn" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/statsmodels[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_test() { - cat > matplotlibrc <<- EOF || die - backend : Agg - EOF - distutils-r1_src_test -} diff --git a/dev-python/seaborn/seaborn-0.12.2.ebuild b/dev-python/seaborn/seaborn-0.12.2.ebuild index 7505b641a78c..9d388f1a377e 100644 --- a/dev-python/seaborn/seaborn-0.12.2.ebuild +++ b/dev-python/seaborn/seaborn-0.12.2.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://seaborn.pydata.org https://github.com/mwaskom/seaborn" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/matplotlib[${PYTHON_USEDEP}] diff --git a/dev-python/unasync/Manifest b/dev-python/unasync/Manifest index 45e9733f8b18..81e568623b8a 100644 --- a/dev-python/unasync/Manifest +++ b/dev-python/unasync/Manifest @@ -1,2 +1 @@ DIST unasync-0.5.0.gh.tar.gz 19060 BLAKE2B aa7a955aed98ab33cc1a12aa88a02ab38ef90f9494f04c3e032b66e56e033404e9b59a89834a1e07b224fb865af5d139c27ff91ae5fec8ad01b1e407d9c5c181 SHA512 5b68e9a70f487b2b0fcaf9a5c4240b366428154fda99d53120315382dc29d2cffbbed72e277cee1764f7b91158db3d8b394d4f4969cec1fd7e49f27f01c39440 -DIST unasync-0.5.0.tar.gz 19060 BLAKE2B aa7a955aed98ab33cc1a12aa88a02ab38ef90f9494f04c3e032b66e56e033404e9b59a89834a1e07b224fb865af5d139c27ff91ae5fec8ad01b1e407d9c5c181 SHA512 5b68e9a70f487b2b0fcaf9a5c4240b366428154fda99d53120315382dc29d2cffbbed72e277cee1764f7b91158db3d8b394d4f4969cec1fd7e49f27f01c39440 diff --git a/dev-python/unasync/unasync-0.5.0-r1.ebuild b/dev-python/unasync/unasync-0.5.0-r1.ebuild index 70abf908a3a5..28dbbe47d2c6 100644 --- a/dev-python/unasync/unasync-0.5.0-r1.ebuild +++ b/dev-python/unasync/unasync-0.5.0-r1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/python-trio/unasync/archive/refs/tags/v${PV}.tar.gz LICENSE="|| ( Apache-2.0 MIT )" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" distutils_enable_sphinx docs/source \ dev-python/sphinxcontrib-trio \ diff --git a/dev-python/unasync/unasync-0.5.0.ebuild b/dev-python/unasync/unasync-0.5.0.ebuild deleted file mode 100644 index 80d91bbce20c..000000000000 --- a/dev-python/unasync/unasync-0.5.0.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -inherit distutils-r1 - -DESCRIPTION="The async transformation code" -HOMEPAGE="https://github.com/python-trio/unasync" -SRC_URI="https://github.com/python-trio/unasync/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="amd64 x86" - -src_prepare() { - # Stop test from breaking itself - sed -i '/env\["PYTHONPATH"\]/d' "${S}/tests/test_unasync.py" || die - default_src_prepare -} - -distutils_enable_sphinx docs/source \ - dev-python/sphinxcontrib-trio \ - dev-python/sphinx-rtd-theme - -distutils_enable_tests --install pytest diff --git a/dev-python/watchdog/Manifest b/dev-python/watchdog/Manifest index b3e6470c3f86..516ac47d30f9 100644 --- a/dev-python/watchdog/Manifest +++ b/dev-python/watchdog/Manifest @@ -1,4 +1,2 @@ -DIST watchdog-2.2.1.gh.tar.gz 101485 BLAKE2B 4ec0a2c14d0dcb8d39ed4dea48c1318474768298b4eade4f7c08f811282ffdbf5871c7d55d71681863c38d1f0603c46aaadda73bf38a20ef263fa3b4cf76c354 SHA512 bbd6e3e3fdc7ee5df21b78241922c0050aeb0c01e394fa7d025465f04f3307d190af4cf6e822826975a3b095fb479dfd103be0675f12782e8899f556797baed4 -DIST watchdog-2.3.0.gh.tar.gz 103265 BLAKE2B 0817b64e6fc4b31b922f2f73091cc39f702605fa31041a75312635e5500dfeeeab749f0bfd95f3e27900be8f017c4a1b0c07aab40989a9000d1970a2b1e06c1f SHA512 733d408e74a81ce834075472d7488e8d767f80ef92a2a13cc986c1f5d879b0353f0cb85c1996168ae6b8b82d135bcb26c6c18b51a01a8d75915bdec94acd607d DIST watchdog-2.3.1.tar.gz 123140 BLAKE2B a49307b890b9f69eda760c6285d325fddc7281347740b36d7c840a5e28ef496498420c21424f1553bf1dc0d47a928194720ef1ae542e7c0f6f58085760c2e8f5 SHA512 a492c818fcc8b21ca4052fecafdf6b4d00f441034d73b10464fc9c09a89d539acd8304e591ded96e5d992e2c9455be018373ba4f06a33b047e606c083f9061e8 DIST watchdog-3.0.0.tar.gz 124593 BLAKE2B bc8135dcbe9b1000fb7befc85ebf62518222b0470676cf94aabbe8f871bb05064a46ae4d11ce34f8030d35268c073fe82757b911e3983a8b683ffbd09227395c SHA512 fa1421b01af99d7fa676c9077b2330ead17c004d9bb9e9edd78d4bbf87cf41624ecd669ca48613d99be2109373bbab4e004b69665d2ca42e082573e4740c13d0 diff --git a/dev-python/watchdog/watchdog-2.2.1.ebuild b/dev-python/watchdog/watchdog-2.2.1.ebuild deleted file mode 100644 index 66f16451e2cc..000000000000 --- a/dev-python/watchdog/watchdog-2.2.1.ebuild +++ /dev/null @@ -1,52 +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_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Python API and shell utilities to monitor file system events" -HOMEPAGE=" - https://github.com/gorakhargosh/watchdog/ - https://pypi.org/project/watchdog/ -" -SRC_URI=" - https://github.com/gorakhargosh/${PN}/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/pyyaml[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/pytest-timeout-0.3[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/--cov/d' setup.cfg || die - default -} - -python_test() { - local EPYTEST_DESELECT=( - # requires root powers via sudo (yes, seriously) - tests/test_inotify_buffer.py::test_unmount_watched_directory_filesystem - ) - - epytest -p no:django -} - -pkg_postinst() { - optfeature "Bash completion" dev-python/argcomplete -} diff --git a/dev-python/watchdog/watchdog-2.3.0.ebuild b/dev-python/watchdog/watchdog-2.3.0.ebuild deleted file mode 100644 index af9225aeb74e..000000000000 --- a/dev-python/watchdog/watchdog-2.3.0.ebuild +++ /dev/null @@ -1,52 +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_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Python API and shell utilities to monitor file system events" -HOMEPAGE=" - https://github.com/gorakhargosh/watchdog/ - https://pypi.org/project/watchdog/ -" -SRC_URI=" - https://github.com/gorakhargosh/${PN}/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - dev-python/pyyaml[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/pytest-timeout-0.3[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/--cov/d' setup.cfg || die - default -} - -python_test() { - local EPYTEST_DESELECT=( - # requires root powers via sudo (yes, seriously) - tests/test_inotify_buffer.py::test_unmount_watched_directory_filesystem - ) - - epytest -p no:django -} - -pkg_postinst() { - optfeature "Bash completion" dev-python/argcomplete -} diff --git a/dev-python/watchdog/watchdog-2.3.1.ebuild b/dev-python/watchdog/watchdog-2.3.1.ebuild index a6d4bb5589d2..8fab7d6edec5 100644 --- a/dev-python/watchdog/watchdog-2.3.1.ebuild +++ b/dev-python/watchdog/watchdog-2.3.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/pyyaml[${PYTHON_USEDEP}] diff --git a/dev-python/wrapt/Manifest b/dev-python/wrapt/Manifest index 139040ecc8fd..87d06d5c2675 100644 --- a/dev-python/wrapt/Manifest +++ b/dev-python/wrapt/Manifest @@ -1,2 +1 @@ -DIST wrapt-1.14.1.gh.tar.gz 133767 BLAKE2B 407a9531f581b034be7fe4392dcbf94803aa9c3a82d7c392750dfef62a5cbb84582e292819bf749356fad2b6e98cc89777df0f3b0f4ca70422e75b72ad256711 SHA512 c67e99eb29afeefb2512fb545cd180b8e96f69235d6281edebe62ea5e411188a904a7e683afdda2d6a86cf8b7fd74f79a3c3bec04e19a7c5ef347729bb43f94c DIST wrapt-1.15.0.gh.tar.gz 137402 BLAKE2B 8c4764251a89f7795fef71dd71d9c36611d896d2e2791a5e7ce4f665f7b477e683f21aa05251a6ceb96644221a7ff9b01dfe98a7f4d278987dedc17ead39b343 SHA512 6be3fc6380e6bb11a26e35fb093ca54d2e851ab384682f6b1201599980c0429c1e2f23089540b66dd80985baaaf3fb93ce29034758e062e2cfb2f52e3b362779 diff --git a/dev-python/wrapt/wrapt-1.14.1.ebuild b/dev-python/wrapt/wrapt-1.14.1.ebuild deleted file mode 100644 index 18981faf04c4..000000000000 --- a/dev-python/wrapt/wrapt-1.14.1.ebuild +++ /dev/null @@ -1,31 +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_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Module for decorators, wrappers and monkey patching" -HOMEPAGE=" - https://github.com/GrahamDumpleton/wrapt/ - https://pypi.org/project/wrapt/ -" -SRC_URI=" - https://github.com/GrahamDumpleton/wrapt/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" - -distutils_enable_tests pytest -distutils_enable_sphinx docs dev-python/sphinx-rtd-theme - -python_compile() { - local -x WRAPT_INSTALL_EXTENSIONS=true - distutils-r1_python_compile -} diff --git a/dev-python/wrapt/wrapt-1.15.0.ebuild b/dev-python/wrapt/wrapt-1.15.0.ebuild index 35db4fabd47a..721cc5a55535 100644 --- a/dev-python/wrapt/wrapt-1.15.0.ebuild +++ b/dev-python/wrapt/wrapt-1.15.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" distutils_enable_tests pytest distutils_enable_sphinx docs dev-python/sphinx-rtd-theme -- cgit v1.3