diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-04-01 01:09:56 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-04-01 01:09:56 +0000 |
| commit | d1ce6e81b74316f4ee8bf59eec1785698c1c18be (patch) | |
| tree | 1f5f286f96595072d879b7eb1211bda5a4300b6d /dev-python | |
| parent | 56a408938ac562b792194ce040b5d75bfb491bad (diff) | |
| download | baldeagleos-repo-d1ce6e81b74316f4ee8bf59eec1785698c1c18be.tar.gz baldeagleos-repo-d1ce6e81b74316f4ee8bf59eec1785698c1c18be.tar.xz baldeagleos-repo-d1ce6e81b74316f4ee8bf59eec1785698c1c18be.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
29 files changed, 314 insertions, 328 deletions
diff --git a/dev-python/accessible-pygments/accessible-pygments-0.0.4.ebuild b/dev-python/accessible-pygments/accessible-pygments-0.0.4.ebuild index 3f7ac40ae35d..ff94f06b12e7 100644 --- a/dev-python/accessible-pygments/accessible-pygments-0.0.4.ebuild +++ b/dev-python/accessible-pygments/accessible-pygments-0.0.4.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/pygments-1.5[${PYTHON_USEDEP}] diff --git a/dev-python/bareos/Manifest b/dev-python/bareos/Manifest index b115a7aeee94..863f9eb70c3b 100644 --- a/dev-python/bareos/Manifest +++ b/dev-python/bareos/Manifest @@ -1 +1,2 @@ DIST bareos-21.1.6.tar.gz 11654525 BLAKE2B 9b023a07e28098fd93aca57aead5b2bf993b85c52dc8f76870dc53ee88ec5995bcc908397173c7d3504c78214e37311442dd96bb563fa4382ae35904fef69e0a SHA512 e9ccafd379ea2a7ede2b6852fa544e7d4b63b23e9d91e8b747c1aecf5d764b06991a57f658842d48fbbe49335a92f29eea90e56b613a3123246a9cd9e8273f36 +DIST bareos-22.0.2.tar.gz 14442217 BLAKE2B 34b8a506b608765f803cb788a203b7556dda67ae8bdd2cb82e1c8ea1ea8a07759f381c33b25e743d296417bef1072ccfcfecf536096cc1babdf20c57767cc369 SHA512 924e07aafa44829730f367a29f0a17356d06d5e44bcbe511936ebfe582912439010d8376370530982dfdfe54d8a722ff257648634cea429cbfbd566d2c25e464 diff --git a/dev-python/bareos/bareos-22.0.2.ebuild b/dev-python/bareos/bareos-22.0.2.ebuild new file mode 100644 index 000000000000..2fbff33684c8 --- /dev/null +++ b/dev-python/bareos/bareos-22.0.2.ebuild @@ -0,0 +1,18 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="python bindings for bareos network backup suite" +HOMEPAGE="https://www.bareos.com/" +SRC_URI="https://github.com/${PN}/${PN}/archive/Release/${PV}.tar.gz -> ${P}.tar.gz" +S=${WORKDIR}/${PN}-Release-${PV}/python-bareos + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="mirror test" diff --git a/dev-python/cheetah3/Manifest b/dev-python/cheetah3/Manifest index e848f2352855..ed709b024c0c 100644 --- a/dev-python/cheetah3/Manifest +++ b/dev-python/cheetah3/Manifest @@ -1 +1,2 @@ DIST cheetah3-3.2.6.post2.tar.gz 316291 BLAKE2B d5dfaa958bc0cc41097d4a75abfe092d51379efd644daa01caac6ba1b789c21334a662904166b6069a0204e302c1d9e7bea74aa9f11082b9c8fce1c1c509f888 SHA512 b10d2569ce92181029b8f95d23602ec7b002400c8fdf4f6bb095ff40201154b97418fec19c9920f2f212f545633571aa32dc50a16a9ba81a9427303ca7938f29 +DIST cheetah3-3.3.1.gh.tar.gz 315007 BLAKE2B 627cb435db1cf274861a29b993f49457c1ba4147b6e1514b5d5961a2fd565c39ff9cae3bcd9665379c5206dc2cef98a6bf159781e664d75d87fa8c4244ec4e43 SHA512 057d3772390076157a0e09e6b5e60ad0ec3b1669aa62741bcfd314f846bba091884d361382d6399e73bce06aaf49366ee3cbeb040c6f5b3e00423eefd440c300 diff --git a/dev-python/cheetah3/cheetah3-3.3.1.ebuild b/dev-python/cheetah3/cheetah3-3.3.1.ebuild new file mode 100644 index 000000000000..462c455f0b66 --- /dev/null +++ b/dev-python/cheetah3/cheetah3-3.3.1.ebuild @@ -0,0 +1,43 @@ +# 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 + +MY_P=${P/_p/.post} +DESCRIPTION="Python-powered template engine and code generator" +HOMEPAGE=" + https://cheetahtemplate.org/ + https://github.com/CheetahTemplate3/Cheetah3/ + https://pypi.org/project/Cheetah3/ +" +SRC_URI=" + https://github.com/CheetahTemplate3/Cheetah3/archive/${PV/_p/.post}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +SLOT="0" + +RDEPEND=" + dev-python/markdown[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} +" + +DOCS=( ANNOUNCE.rst README.rst TODO ) + +python_test() { + # the package can't handle TMPDIR with hyphens + # https://github.com/CheetahTemplate3/cheetah3/issues/53 + local -x TMPDIR=/tmp + + "${EPYTHON}" Cheetah/Tests/Test.py || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/crispy-bootstrap5/Manifest b/dev-python/crispy-bootstrap5/Manifest new file mode 100644 index 000000000000..f709b3c7df14 --- /dev/null +++ b/dev-python/crispy-bootstrap5/Manifest @@ -0,0 +1 @@ +DIST crispy-bootstrap5-0.7.gh.tar.gz 29728 BLAKE2B 1209ab7d8340e30c71050ed60a86d8233f454c49d2f6d4fcf4f1d6be4a7d1c470c3f907211c1ee352fc3eba9a74e8152d41162e4d6f8113538eccbb3522409a5 SHA512 c73305c6661719cd45989679c33751f44b318b39f895e0328257eaffcdd52b726be9be624ebecb6bcba35635f0f615bb83e48c775e0f05c40f8f1e6e80ab737c diff --git a/dev-python/crispy-bootstrap5/crispy-bootstrap5-0.7.ebuild b/dev-python/crispy-bootstrap5/crispy-bootstrap5-0.7.ebuild new file mode 100644 index 000000000000..8964542943d4 --- /dev/null +++ b/dev-python/crispy-bootstrap5/crispy-bootstrap5-0.7.ebuild @@ -0,0 +1,25 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +inherit distutils-r1 + +DESCRIPTION="Bootstrap5 template pack for django-crispy-forms" +HOMEPAGE=" + https://pypi.org/project/crispy-bootstrap5/ +" +SRC_URI="https://github.com/django-crispy-forms/${PN}/archive/refs/tags/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/django-crispy-forms[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +PATCHES=( "${FILESDIR}"/${P}-test.patch ) diff --git a/dev-python/crispy-bootstrap5/files/crispy-bootstrap5-0.7-test.patch b/dev-python/crispy-bootstrap5/files/crispy-bootstrap5-0.7-test.patch new file mode 100644 index 000000000000..914b48385437 --- /dev/null +++ b/dev-python/crispy-bootstrap5/files/crispy-bootstrap5-0.7-test.patch @@ -0,0 +1,172 @@ +From 69ff88bed286a76e6216a54ecf93a0b27d87bc8d Mon Sep 17 00:00:00 2001 +From: David Smith <39445562+smithdc1@users.noreply.github.com> +Date: Thu, 15 Dec 2022 08:01:04 +0000 +Subject: [PATCH] Fixed tests for crispy-forms 2.x (#133) + +--- + tests/templates/custom_field_template.html | 2 +- + tests/templates/custom_form_template.html | 2 +- + .../custom_form_template_with_context.html | 2 +- + tests/test_layout.py | 14 ++++++++++++-- + tests/test_layout_objects.py | 12 ++++++++++++ + tox.ini | 2 -- + 6 files changed, 27 insertions(+), 7 deletions(-) + +diff --git a/tests/templates/custom_field_template.html b/tests/templates/custom_field_template.html +index 4724226..04f0274 100644 +--- a/tests/templates/custom_field_template.html ++++ b/tests/templates/custom_field_template.html +@@ -1,2 +1,2 @@ + <h1>Special custom field</h1> +-{% include 'bootstrap/field.html' %} ++{% include 'bootstrap5/field.html' %} +diff --git a/tests/templates/custom_form_template.html b/tests/templates/custom_form_template.html +index f2da757..c09b4c7 100644 +--- a/tests/templates/custom_form_template.html ++++ b/tests/templates/custom_form_template.html +@@ -1,2 +1,2 @@ + <h1>Special custom form</h1> +-{% include "bootstrap/whole_uni_form.html" %} ++{% include "bootstrap5/whole_uni_form.html" %} +diff --git a/tests/templates/custom_form_template_with_context.html b/tests/templates/custom_form_template_with_context.html +index 2378296..477997a 100644 +--- a/tests/templates/custom_form_template_with_context.html ++++ b/tests/templates/custom_form_template_with_context.html +@@ -1,4 +1,4 @@ + <h1>Special custom form with context passthrough</h1> + Got prefix: {{ prefix }}. +-{% include "bootstrap/whole_uni_form.html" %} ++{% include "bootstrap5/whole_uni_form.html" %} + Got suffix: {{ suffix }}. +diff --git a/tests/test_layout.py b/tests/test_layout.py +index 512facf..a2a72e8 100644 +--- a/tests/test_layout.py ++++ b/tests/test_layout.py +@@ -16,6 +16,7 @@ + from django.middleware.csrf import _get_new_csrf_string + from django.shortcuts import render + from django.template import Context, Template ++from django.test import override_settings + from django.urls import reverse + from django.utils.translation import gettext_lazy as _ + +@@ -36,6 +37,12 @@ + ) + from .utils import contains_partial, parse_expected, parse_form + ++CONVERTERS = { ++ "textinput": "inputtext textinput textInput", ++ "fileinput": "fileinput fileUpload", ++ "passwordinput": "textinput textInput", ++} ++ + + def test_invalid_unicode_characters(settings): + # Adds a BooleanField that uses non valid unicode characters "ñ" +@@ -331,6 +338,7 @@ def test_bs5_field_with_buttons_css_classes(): + assert parse_form(form) == parse_expected("field_with_buttons_failing.html") + + ++@override_settings(CRISPY_CLASS_CONVERTERS=CONVERTERS) + def test_formset_layout(): + SampleFormSet = formset_factory(SampleForm, extra=3) + formset = SampleFormSet() +@@ -523,6 +531,7 @@ def test_keepcontext_context_manager(): + assert response.content.count(b"form-check-input") > 0 + + ++@override_settings(CRISPY_CLASS_CONVERTERS=CONVERTERS) + def test_bootstrap5_form_inline(): + form = SampleForm() + form.helper = FormHelper() +@@ -557,7 +566,7 @@ def test_update_attributes_class(): + form.helper.layout = Layout("email", Field("password1"), "password2") + form.helper["password1"].update_attributes(css_class="hello") + html = render_crispy_form(form) +- assert html.count(' class="hello textinput') == 1 ++ assert html.count(' class="hello') == 1 + form.helper = FormHelper() + form.helper.layout = Layout( + "email", +@@ -566,7 +575,7 @@ def test_update_attributes_class(): + ) + form.helper["password1"].update_attributes(css_class="hello2") + html = render_crispy_form(form) +- assert html.count(' class="hello hello2 textinput') == 1 ++ assert html.count(' class="hello hello2') == 1 + + + def test_file_field(): +@@ -611,6 +620,7 @@ def test_html_label_escape(): + assert "<>&" in html + + ++@override_settings(CRISPY_CLASS_CONVERTERS=CONVERTERS) + def test_tabular_formset_layout(): + SampleFormSet = formset_factory(SampleForm, extra=3) + formset = SampleFormSet() +diff --git a/tests/test_layout_objects.py b/tests/test_layout_objects.py +index b386c0b..0e3dde7 100644 +--- a/tests/test_layout_objects.py ++++ b/tests/test_layout_objects.py +@@ -21,6 +21,7 @@ + from crispy_forms.utils import render_crispy_form + from django import forms + from django.template import Context, Template ++from django.test import override_settings + from django.utils.translation import activate, deactivate + from django.utils.translation import gettext as _ + +@@ -37,6 +38,12 @@ + ) + from .utils import parse_expected, parse_form + ++CONVERTERS = { ++ "textinput": "inputtext textinput textInput", ++ "fileinput": "fileinput fileUpload", ++ "passwordinput": "textinput textInput", ++} ++ + + def test_field_with_custom_template(): + test_form = SampleForm() +@@ -202,6 +209,7 @@ def test_custom_django_widget(self): + html = render_crispy_form(form) + assert 'class="form-check-input"' in html + ++ @override_settings(CRISPY_CLASS_CONVERTERS=CONVERTERS) + def test_prepended_appended_text(self): + test_form = SampleForm() + test_form.helper = FormHelper() +@@ -223,6 +231,7 @@ def test_inline_radios(self): + html = render_crispy_form(test_form) + assert html.count('form-check-inline"') == 2 + ++ @override_settings(CRISPY_CLASS_CONVERTERS=CONVERTERS) + def test_accordion_and_accordiongroup(self): + random.seed(0) + form = SampleForm() +@@ -269,6 +278,7 @@ def test_accordion_active_false_not_rendered(self): + == 0 + ) + ++ @override_settings(CRISPY_CLASS_CONVERTERS=CONVERTERS) + def test_bs5accordion(self): + random.seed(0) + form = SampleForm() +@@ -315,6 +325,7 @@ def test_bs5accordion_active_false_not_rendered(self): + == 0 + ) + ++ @override_settings(CRISPY_CLASS_CONVERTERS=CONVERTERS) + def test_bs5accordion_flush(self): + random.seed(0) + test_form = SampleForm() +@@ -329,6 +340,7 @@ def test_bs5accordion_flush(self): + ) + assert parse_form(test_form) == parse_expected("accordion_flush.html") + ++ @override_settings(CRISPY_CLASS_CONVERTERS=CONVERTERS) + def test_bs5accordion_always_open(self): + random.seed(0) + test_form = SampleForm() diff --git a/dev-python/crispy-bootstrap5/metadata.xml b/dev-python/crispy-bootstrap5/metadata.xml new file mode 100644 index 000000000000..a6b256295160 --- /dev/null +++ b/dev-python/crispy-bootstrap5/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>tupone@gentoo.org</email> + <name>Tupone Alfredo</name> + </maintainer> + + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest index d259e75b16fa..9bb8e6d68aa3 100644 --- a/dev-python/cython/Manifest +++ b/dev-python/cython/Manifest @@ -1,4 +1,2 @@ -DIST cython-0.29.32.gh.tar.gz 2110417 BLAKE2B 008ffe325c87d165bf45afb2ff92db5286f611bbe425d0e9f18b530202135ca21f5f5ab564a4d0c6251ec2479ea0fd19207274a255fb1faf8863d3b067d17ae9 SHA512 55462792fa70d8edf60aa470627ab494918d7297fd7d282a7a54da76ee5a180233108404a1c8f3d79f6408f19b6e4f46b36e59fd47c38ede24f061f374437b6f DIST cython-0.29.33.gh.tar.gz 2113910 BLAKE2B 9212edfa36680a3243632d28c4f5616a7336e82ee1f96df7d5e29711056619639c9a8fe9bbf9aea0a86aed39e836dc6eaa112ad35080f530add6309ccd09c53c SHA512 85f5ba7159d8793dbda980140b26086727f356a71d78f8522419657841d07b865d09c2f0a0f77d398669d071c1d261060235321a19eb7808e35d24f8ac71560d -DIST cython-3.0.0b1.gh.tar.gz 2659132 BLAKE2B 7ed252d90f71521f24817e064f1b55f671185053cdd46214fb14f2b6e16dbfbc46e87659681ead40a32bb0506150ae6b8cdbaceae7667811aa81f97a39b5efcc SHA512 a7b2e9c22d19eab9e4ad551895e5c8882a7098a52865e341fd84d902124b4599d193d202333d9f1ffd5354fff62637c65d124820e6721905edaed46b5881b14c DIST cython-3.0.0b2.gh.tar.gz 2669448 BLAKE2B 87602a43f77f8005adfc71ec0598a12212db917071dd2ae9a7d0d909411e38525290d860a8606600a5e1b07b014da65d2398f04818837fb15f66bcdba0cad965 SHA512 2095a556bc83669a89902a71da2164fbfab2b75cec2de95c91f95b6b3639bc5802b09808059896ed564b0d6e0539e497051614572bc8ba5d678d0410ccc3914f diff --git a/dev-python/cython/cython-0.29.32.ebuild b/dev-python/cython/cython-0.29.32.ebuild deleted file mode 100644 index c7788161329a..000000000000 --- a/dev-python/cython/cython-0.29.32.ebuild +++ /dev/null @@ -1,90 +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 toolchain-funcs elisp-common - -DESCRIPTION="A Python to C compiler" -HOMEPAGE=" - https://cython.org/ - https://github.com/cython/cython/ - https://pypi.org/project/Cython/ -" -SRC_URI=" - https://github.com/cython/cython/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" -IUSE="emacs test" -RESTRICT="!test? ( test )" - -RDEPEND=" - emacs? ( >=app-editors/emacs-23.1:* ) -" -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' python3_{8..10}) - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.29.22-spawn-multiprocessing.patch" - "${FILESDIR}/${PN}-0.29.23-test_exceptions-py310.patch" -) - -SITEFILE=50cython-gentoo.el - -distutils_enable_sphinx docs - -python_compile() { - # Python gets confused when it is in sys.path before build. - local -x PYTHONPATH= - - distutils-r1_python_compile -} - -python_compile_all() { - use emacs && elisp-compile Tools/cython-mode.el -} - -python_test() { - if has "${EPYTHON}" pypy3 python3.11; then - einfo "Skipping tests on ${EPYTHON} (xfail)" - return - fi - - tc-export CC - # https://github.com/cython/cython/issues/1911 - local -x CFLAGS="${CFLAGS} -fno-strict-overflow" - "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests || - die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) - distutils-r1_python_install_all - - if use emacs; then - elisp-install ${PN} Tools/cython-mode.* - elisp-site-file-install "${FILESDIR}/${SITEFILE}" - fi -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/dev-python/cython/cython-3.0.0_beta1-r2.ebuild b/dev-python/cython/cython-3.0.0_beta1-r2.ebuild deleted file mode 100644 index 7c6c04cf932c..000000000000 --- a/dev-python/cython/cython-3.0.0_beta1-r2.ebuild +++ /dev/null @@ -1,74 +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 toolchain-funcs elisp-common - -MY_P=${P/_beta/b} -DESCRIPTION="A Python to C compiler" -HOMEPAGE=" - https://cython.org/ - https://github.com/cython/cython/ - https://pypi.org/project/Cython/ -" -SRC_URI=" - https://github.com/cython/cython/archive/${PV/_beta/b}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' python3_{8..10}) - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.29.22-spawn-multiprocessing.patch" - "${FILESDIR}/${PN}-0.29.23-test_exceptions-py310.patch" - "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" -) - -distutils_enable_sphinx docs \ - dev-python/jinja \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs - -python_compile() { - # Python gets confused when it is in sys.path before build. - local -x PYTHONPATH= - - distutils-r1_python_compile -} - -python_test() { - if has "${EPYTHON}" pypy3 python3.11; then - einfo "Skipping tests on ${EPYTHON} (xfail)" - return - fi - - tc-export CC - # https://github.com/cython/cython/issues/1911 - local -x CFLAGS="${CFLAGS} -fno-strict-overflow" - "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests || - die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) - distutils-r1_python_install_all -} diff --git a/dev-python/libsass-python/files/libsass-0.20.0_rename_sassc.patch b/dev-python/libsass-python/files/libsass-0.20.0_rename_sassc.patch deleted file mode 100644 index 46efe8700328..000000000000 --- a/dev-python/libsass-python/files/libsass-0.20.0_rename_sassc.patch +++ /dev/null @@ -1,64 +0,0 @@ -diff --git a/sassc.py b/sassc.py -deleted file mode 100644 -index 2415342..0000000 ---- a/sassc.py -+++ /dev/null -@@ -1,15 +0,0 @@ --import warnings -- --import pysassc -- -- --def main(*args, **kwargs): -- warnings.warn( -- 'The `sassc` entrypoint is deprecated, please use `pysassc`', -- FutureWarning, -- ), -- return pysassc.main(*args, **kwargs) -- -- --if __name__ == '__main__': -- exit(main()) -diff --git a/sasstests.py b/sasstests.py -index 1f40a97..7547ab3 100644 ---- a/sasstests.py -+++ b/sasstests.py -@@ -24,7 +24,6 @@ from werkzeug.wrappers import Response - - import pysassc - import sass --import sassc - from sassutils._compat import collections_abc - from sassutils.builder import Manifest, build_directory - from sassutils.wsgi import SassMiddleware -@@ -976,7 +975,7 @@ class SasscTestCase(BaseTestCase): - - def test_sassc_stdout(self): - with pytest.warns(FutureWarning) as warninfo: -- exit_code = sassc.main( -+ exit_code = pysassc.main( - ['sassc', 'test/a.scss'], - self.out, self.err, - ) -diff --git a/setup.py b/setup.py -index e2a0c85..5905162 100644 ---- a/setup.py -+++ b/setup.py -@@ -218,7 +218,7 @@ setup( - version=version(), - ext_modules=[sass_extension], - packages=['sassutils'], -- py_modules=['pysassc', 'sass', 'sassc', 'sasstests'], -+ py_modules=['pysassc', 'sass', 'sasstests'], - package_data={ - '': [ - 'README.rst', -@@ -239,8 +239,6 @@ setup( - ], - 'console_scripts': [ - ['pysassc = pysassc:main'], -- # TODO: remove `sassc` entry (#134) -- ['sassc = sassc:main'], - ], - }, - install_requires=['six'], diff --git a/dev-python/libsass-python/libsass-python-0.21.0-r1.ebuild b/dev-python/libsass-python/libsass-python-0.21.0-r1.ebuild deleted file mode 100644 index c92b90457098..000000000000 --- a/dev-python/libsass-python/libsass-python-0.21.0-r1.ebuild +++ /dev/null @@ -1,58 +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=setuptools -inherit distutils-r1 toolchain-funcs - -MY_P="libsass-python-${PV}" -DESCRIPTION="A straightforward binding of libsass for Python" -HOMEPAGE="https://github.com/sass/libsass-python/" -SRC_URI=" - https://github.com/sass/libsass-python/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=">=dev-libs/libsass-3.6.5" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - test? ( - dev-python/PyQt5[testlib,${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - )" - -# Remove sassc, in favour of pysassc, see: https://github.com/sass/libsass-python/issues/134 -# This avoids a file collision with dev-lang/sassc -PATCHES=( "${FILESDIR}"/libsass-0.20.0_rename_sassc.patch ) - -distutils_enable_tests pytest - -src_prepare() { - echo "${PV}" > .libsass-upstream-version || die - distutils-r1_src_prepare - export SYSTEM_SASS=1 - # https://bugs.gentoo.org/730244 - if tc-is-clang; then - sed -i -e 's/-std=gnu++0x//g' setup.py || die - fi -} - -python_test() { - local deselect=( - # probably broken by removal of sassc - sasstests.py::SasscTestCase::test_sassc_stdout - # skip the pip tests because they need an internet connection - # not relevant for gentoo anyway - sasstests.py::DistutilsTestCase::test_build_sass - sasstests.py::DistutilsTestCase::test_output_style - ) - - epytest sasstests.py ${deselect[@]/#/--deselect } -} diff --git a/dev-python/libsass-python/Manifest b/dev-python/libsass/Manifest index ce06c29ba660..1e50ee28909d 100644 --- a/dev-python/libsass-python/Manifest +++ b/dev-python/libsass/Manifest @@ -1,2 +1 @@ -DIST libsass-python-0.21.0.gh.tar.gz 55774 BLAKE2B 3c584ff3b6c09bc768554a3a4f7ef28ecea0726f59206da8540f9c1b4db74ab1235695074dd6b95db74f174066bb856c9854026525da82e7763f341920f0bd53 SHA512 d5b7a1bf0dc736a6a38e2e609f0a213306de31d5ad84cfdcd96f9ff72a1c38f15bad3cf25a1cec6dca5a9f3b00a8509afff2b4ea5e4db80e218e3ae603d55856 DIST libsass-python-0.22.0.gh.tar.gz 55135 BLAKE2B 8495462fa8e6a68bf73ecdf68771c577bad1affa1121c1781dac41c912aae731df88c2b1d1a4ef363e50a98ff1b471e7c45562faa6f2425e8ec5f47f9cf76c6c SHA512 13914b60fe19fc70d197a948a2bc83f7646e4acaa45caed6df68bf2eb10e0a7ef811cdbbcc7a4338f9c1433cba8e316146c20072dc4ff34f51e094ead1bfdcd7 diff --git a/dev-python/libsass-python/libsass-python-0.22.0-r1.ebuild b/dev-python/libsass/libsass-0.22.0-r1.ebuild index e5515ca76e21..7881d96ef0f0 100644 --- a/dev-python/libsass-python/libsass-python-0.22.0-r1.ebuild +++ b/dev-python/libsass/libsass-0.22.0-r1.ebuild @@ -8,6 +8,7 @@ DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 +MY_P=libsass-python-${PV} DESCRIPTION="A straightforward binding of libsass for Python" HOMEPAGE=" https://github.com/sass/libsass-python/ @@ -15,8 +16,9 @@ HOMEPAGE=" " SRC_URI=" https://github.com/sass/libsass-python/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz + -> ${MY_P}.gh.tar.gz " +S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" diff --git a/dev-python/libsass-python/metadata.xml b/dev-python/libsass/metadata.xml index 2cf20ca47fb4..2cf20ca47fb4 100644 --- a/dev-python/libsass-python/metadata.xml +++ b/dev-python/libsass/metadata.xml diff --git a/dev-python/nbclassic/nbclassic-0.5.3-r1.ebuild b/dev-python/nbclassic/nbclassic-0.5.3-r1.ebuild index 8ffb8eb6cd66..8b9b14fe64c6 100644 --- a/dev-python/nbclassic/nbclassic-0.5.3-r1.ebuild +++ b/dev-python/nbclassic/nbclassic-0.5.3-r1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~riscv" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~riscv ~x86" RDEPEND=" dev-python/argon2-cffi[${PYTHON_USEDEP}] diff --git a/dev-python/nbconvert/nbconvert-7.2.10-r1.ebuild b/dev-python/nbconvert/nbconvert-7.2.10-r1.ebuild index c4948d4ca9c7..99efd7d328ae 100644 --- a/dev-python/nbconvert/nbconvert-7.2.10-r1.ebuild +++ b/dev-python/nbconvert/nbconvert-7.2.10-r1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~riscv" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~riscv ~x86" RDEPEND=" dev-python/beautifulsoup4[${PYTHON_USEDEP}] diff --git a/dev-python/notebook_shim/notebook_shim-0.2.2-r1.ebuild b/dev-python/notebook_shim/notebook_shim-0.2.2-r1.ebuild index e09478f16c70..8fed7d9cd88f 100644 --- a/dev-python/notebook_shim/notebook_shim-0.2.2-r1.ebuild +++ b/dev-python/notebook_shim/notebook_shim-0.2.2-r1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~riscv ~x86" RDEPEND=" <dev-python/jupyter-server-3[${PYTHON_USEDEP}] diff --git a/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.13.3.ebuild b/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.13.3.ebuild index 9dd24a4f6ad8..a7ce1ca28ca1 100644 --- a/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.13.3.ebuild +++ b/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.13.3.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD-with-disclosure" SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" dev-python/accessible-pygments[${PYTHON_USEDEP}] diff --git a/dev-python/pyroute2/Manifest b/dev-python/pyroute2/Manifest index 9c0c7f5f9b46..3d024f66c709 100644 --- a/dev-python/pyroute2/Manifest +++ b/dev-python/pyroute2/Manifest @@ -1 +1,2 @@ DIST pyroute2-0.7.4.gh.tar.gz 493191 BLAKE2B 3587b391658e7ebf48637a0f03afa36213530d93954f6118ebf5a19fffebc9c22eb2ab9a5db90903dba3e502d91f3f2f7854575c515f314236bf2fe563295314 SHA512 1223bff64625915b11f5fabfe467a469ee33ad63c2daaaaaceaa9f4bf1acb812a93f2b6ff4c6e4d596cefafb1b309a0fed5b5853b44bff62a06cf806b1a681b6 +DIST pyroute2-0.7.6.tar.gz 416681 BLAKE2B f04fc27bafa1b7083d222df315449a51c56dee29993e9f03b18653f938ef50d66dc831e68d13b3115c392283397f2deae6bdda37791253913dadc77a73a9810d SHA512 3e4cbba59c08e52201557dc2814b98f7a1e6e2a567aa1c28ddfbb7da228c01a72eaa6ab42049f1f53b688f9627b7b77a95ab44b5a909ede24d83870d13dfa293 diff --git a/dev-python/pyroute2/pyroute2-0.7.6.ebuild b/dev-python/pyroute2/pyroute2-0.7.6.ebuild new file mode 100644 index 000000000000..7b4c3e95ac3f --- /dev/null +++ b/dev-python/pyroute2/pyroute2-0.7.6.ebuild @@ -0,0 +1,29 @@ +# 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="sqlite" + +inherit distutils-r1 pypi + +DESCRIPTION="A pure Python netlink and Linux network configuration library" +HOMEPAGE=" + https://github.com/svinota/pyroute2 + https://pypi.org/project/pyroute2/ +" + +LICENSE="|| ( GPL-2+ Apache-2.0 )" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +# tests need root access +RESTRICT="test" + +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" diff --git a/dev-python/python-gnupg/python-gnupg-0.5.0.ebuild b/dev-python/python-gnupg/python-gnupg-0.5.0.ebuild index 96e02f5bf95a..e9afee78eb83 100644 --- a/dev-python/python-gnupg/python-gnupg-0.5.0.ebuild +++ b/dev-python/python-gnupg/python-gnupg-0.5.0.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://docs.red-dove.com/python-gnupg/" SRC_URI="https://github.com/vsajip/python-gnupg/releases/download/${PV}/${P}.tar.gz" SRC_URI+=" verify-sig? ( https://github.com/vsajip/python-gnupg/releases/download/${PV}/${P}.tar.gz.asc )" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86" LICENSE="BSD" SLOT="0" diff --git a/dev-python/qtsass/qtsass-0.3.2.ebuild b/dev-python/qtsass/qtsass-0.3.2.ebuild index b11554739ce1..1661ce952b54 100644 --- a/dev-python/qtsass/qtsass-0.3.2.ebuild +++ b/dev-python/qtsass/qtsass-0.3.2.ebuild @@ -16,7 +16,7 @@ SLOT="0" KEYWORDS="amd64 x86" RDEPEND=" - dev-python/libsass-python[${PYTHON_USEDEP}] + dev-python/libsass[${PYTHON_USEDEP}] " BDEPEND=" diff --git a/dev-python/qtsass/qtsass-0.4.0.ebuild b/dev-python/qtsass/qtsass-0.4.0.ebuild index 4c6de8cd6bb4..9a48b109dc97 100644 --- a/dev-python/qtsass/qtsass-0.4.0.ebuild +++ b/dev-python/qtsass/qtsass-0.4.0.ebuild @@ -23,7 +23,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86" RDEPEND=" - >=dev-python/libsass-python-0.22.0[${PYTHON_USEDEP}] + >=dev-python/libsass-0.22.0[${PYTHON_USEDEP}] " BDEPEND=" diff --git a/dev-python/selenium/selenium-4.8.3.ebuild b/dev-python/selenium/selenium-4.8.3.ebuild index 4346d4e90835..56e0e23f9ad9 100644 --- a/dev-python/selenium/selenium-4.8.3.ebuild +++ b/dev-python/selenium/selenium-4.8.3.ebuild @@ -25,7 +25,7 @@ SRC_URI+=" ) " -KEYWORDS="~amd64 ~ppc ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~sparc ~x86" LICENSE="Apache-2.0" SLOT="0" diff --git a/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild index 77ae0e01a147..6d94b2ae26c8 100644 --- a/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild +++ b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~ppc ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~sparc ~x86" RDEPEND=" dev-python/exceptiongroup[${PYTHON_USEDEP}] diff --git a/dev-python/typing-extensions/files/typing-extensions-4.4.0-pypy-tests.patch b/dev-python/typing-extensions/files/typing-extensions-4.4.0-pypy-tests.patch deleted file mode 100644 index 479e11a7657b..000000000000 --- a/dev-python/typing-extensions/files/typing-extensions-4.4.0-pypy-tests.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 3a54ef1ff6cab8c2946a78b066fd5bba6529945a Mon Sep 17 00:00:00 2001 -From: Sebastian Rittau <srittau@rittau.biz> -Date: Fri, 7 Oct 2022 14:47:24 +0200 -Subject: [PATCH] Fix tests when running pypy (#84) - -Also run CI against pypy and update actions. - -Closes: #83 ---- - .github/workflows/ci.yml | 14 +++++++------- - src/test_typing_extensions.py | 4 ++++ - 2 files changed, 11 insertions(+), 7 deletions(-) - -diff --git a/src/test_typing_extensions.py b/src/test_typing_extensions.py -index 15b2147..7110f96 100644 ---- a/src/test_typing_extensions.py -+++ b/src/test_typing_extensions.py -@@ -509,6 +509,10 @@ def blah(): - - blah() - -+ @skipIf( -+ sys.implementation.name == "pypy", -+ "sum() and print() are not compiled in pypy" -+ ) - @patch( - f"{registry_holder.__name__}._overload_registry", - defaultdict(lambda: defaultdict(dict)) |
