diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-01-12 00:46:02 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-01-12 00:46:02 +0000 |
| commit | f92946d2f15a8c4f38e5ea199beade818593e2ad (patch) | |
| tree | df119d09de42a8f827647817f288078fdece15fb /dev-python | |
| parent | 6aa2bfa39225b95de78ae7a4043881dfe8bc77cd (diff) | |
| download | baldeagleos-repo-f92946d2f15a8c4f38e5ea199beade818593e2ad.tar.gz baldeagleos-repo-f92946d2f15a8c4f38e5ea199beade818593e2ad.tar.xz baldeagleos-repo-f92946d2f15a8c4f38e5ea199beade818593e2ad.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
37 files changed, 716 insertions, 115 deletions
diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest index 040634807a17..98b798700bfb 100644 --- a/dev-python/Nuitka/Manifest +++ b/dev-python/Nuitka/Manifest @@ -1,3 +1,4 @@ DIST Nuitka-1.3.4.tar.gz 4028710 BLAKE2B 5cf02644524f612cd4403147323ce0e4d121efd91d8a9da3f55e81117e088337ce9d56f801691b52236bb17bb7ffc3987e98c8d23bad1c84b4bae61fae41b5cd SHA512 7c3562a264833ba2b5ed09a43d91113f59ece8a088480ac03517fe66b380d354faf465845fb7218d34f328114d8bdee92d4374651182f85f50593ce9294e8796 DIST Nuitka-1.3.5.tar.gz 4019765 BLAKE2B dc169a318400e23021a2712f41c49e8d045352c2b6ab946a289d479ee3aeb887456cb0218e762ea091885ce4204d1c3d59e6d228a58b596a70387400e5f31c35 SHA512 edc603b3b38e68473d3002641e61d969cd1fe9626aaa45023c017b2c2ed288d61ee5e537e9b96ca53efc5e052e689df37849bb0b1da65d0b31d38152645ced25 DIST Nuitka-1.3.6.tar.gz 4029420 BLAKE2B 2c4f9daeb8532287e0e1ff65bcb6da77a048ea4638b74c4f7fe86bcc2d2a2746357af264bf0659ce3a582f270dda049d750050482eb65c4582387ffcd788a9f5 SHA512 c8ec015b9cdf2a49b5cc31103ff14d47654c7df3f003fc045a6b41df11b48597975427cc38c5f03b7b2e9f57e7838ccbc2def168943069be4bafe28a2e1c921e +DIST Nuitka-1.3.7.tar.gz 4029412 BLAKE2B daa123ff224d442bc5afe251cf2658945a8cf7ca2c173307da81a72cf915c7110958bb7650b9bc2d3ff98f6867530554125b37d3f1e30d5bd784f648e8da785d SHA512 afff1e77bdce22ce41ca0d9824392f2319ab7b9754d26a00f6001bab09402d8f8665a921077d4e08958e4508fb922c833e4c16d25a04da6925a84a96cee0a87c diff --git a/dev-python/Nuitka/Nuitka-1.3.7.ebuild b/dev-python/Nuitka/Nuitka-1.3.7.ebuild new file mode 100644 index 000000000000..643e80898bd5 --- /dev/null +++ b/dev-python/Nuitka/Nuitka-1.3.7.ebuild @@ -0,0 +1,54 @@ +# 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 flag-o-matic optfeature + +DESCRIPTION="Python to native compiler" +HOMEPAGE=" + https://www.nuitka.net/ + https://github.com/Nuitka/Nuitka/ + https://pypi.org/project/Nuitka/ +" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~loong ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-util/scons[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( dev-util/ccache ) +" + +DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf ) + +distutils-r1_src_prepare() { + # remove vendored version of SCons that is Python2 only + # this should be removed when upstream removes support for Python2 + rm -vR "nuitka/build/inline_copy/lib/scons-2.3.2/SCons" || die + eapply_user +} + +python_install() { + distutils-r1_python_install + doman doc/nuitka3.1 doc/nuitka3-run.1 +} + +python_test() { + append-ldflags -Wl,--no-warn-search-mismatch + ./tests/basics/run_all.py search || die +} + +pkg_postinst() { + optfeature "support for stand-alone executables" app-admin/chrpath +} diff --git a/dev-python/absl-py/Manifest b/dev-python/absl-py/Manifest index 2f2f43c42910..3560f7fcedae 100644 --- a/dev-python/absl-py/Manifest +++ b/dev-python/absl-py/Manifest @@ -1 +1,2 @@ DIST abseil-py-1.3.0.gh.tar.gz 224655 BLAKE2B 7f5c329c159a3b8d3fd7fc37ab36649d7711120ab41a2c052deb383aeae115b8ffe22e0f9c933e6cfe83e19013a2733d037954411f0f6d4acde1a7ecb3131973 SHA512 5631368b1f86dbc73d5261dc07a2693c8effb2534745fe4f19db26f908c7afff9f440a1545f16d1356092ac9a9fda2fdde97fc8977100e162765d9c224d7a66d +DIST abseil-py-1.4.0.gh.tar.gz 228096 BLAKE2B c34e6319d69976631a4b674d4f23eb0a11705c69fc1ce740eb2b570c61cc3507634d73699eb023b94fe6042c2f49eba3ec134c9c08958aca904eea3bfb8f84e7 SHA512 45cbf6f90a14a3d6e07ee0a6407d4521cac8d15340885c6ae790180c255dfea54e862ee2d806c166a28b5ce238720a7e3af25d6ffe054820588d4a0f20e1f124 diff --git a/dev-python/absl-py/absl-py-1.4.0.ebuild b/dev-python/absl-py/absl-py-1.4.0.ebuild new file mode 100644 index 000000000000..d912d8e63598 --- /dev/null +++ b/dev-python/absl-py/absl-py-1.4.0.ebuild @@ -0,0 +1,79 @@ +# 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=abseil-py-${PV} +DESCRIPTION="Abseil Python Common Libraries" +HOMEPAGE=" + https://github.com/abseil/abseil-py/ + https://pypi.org/project/absl-py/ +" +SRC_URI=" + https://github.com/abseil/abseil-py/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] +" + +src_prepare() { + # what a nightmare... well, we could have called bazel but that would + # even worse + local helpers=( + absl/flags/tests/argparse_flags_test_helper.py:absl/flags/tests/argparse_flags_test_helper + absl/logging/tests/logging_functional_test_helper.py:absl/logging/tests/logging_functional_test_helper + absl/testing/tests/absltest_fail_fast_test_helper.py:absl/testing/tests/absltest_fail_fast_test_helper + absl/testing/tests/absltest_filtering_test_helper.py:absl/testing/tests/absltest_filtering_test_helper + absl/testing/tests/absltest_randomization_testcase.py:absl/testing/tests/absltest_randomization_testcase + absl/testing/tests/absltest_sharding_test_helper.py:absl/testing/tests/absltest_sharding_test_helper + absl/testing/tests/absltest_test_helper.py:absl/testing/tests/absltest_test_helper + absl/testing/tests/xml_reporter_helper_test.py:absl/testing/tests/xml_reporter_helper_test + absl/tests/app_test_helper.py:absl/tests/app_test_helper_pure_python + ) + + local x + for x in "${helpers[@]}"; do + local script=${x%:*} + local sym=${x#*:} + sed -i -e "1i#!/usr/bin/env python" "${script}" || die + chmod +x "${script}" || die + ln -s "${script##*/}" "${sym}" || die + done + + # i don't wanna know how these pass for upstream with wrong helper names + sed -i -e 's:\(app_test_helper\)\.py:\1_pure_python:' \ + absl/tests/app_test.py || die + sed -i -e 's:\(logging_functional_test_helper\)\.py:\1:' \ + absl/logging/tests/logging_functional_test.py || die + + distutils-r1_src_prepare +} + +python_test() { + local -x PYTHONPATH=. + local fails=0 + while read -r -d '' x; do + ebegin "${x}" + "${EPYTHON}" "${x}" + eend ${?} || : "$(( fails += 1 ))" + done < <(find -name '*_test.py' -print0) + + [[ ${fails} -ne 0 ]] && die "${fails} tests failed on ${EPYTHON}" + + # we actually need to clean this up manually before running the test + # suite again... + chmod -R u+rwX "${T}"/absl_testing || die + rm -rf "${T}"/absl_testing || die +} diff --git a/dev-python/black/black-22.12.0.ebuild b/dev-python/black/black-22.12.0.ebuild index e574b3e95037..481b7d88543e 100644 --- a/dev-python/black/black-22.12.0.ebuild +++ b/dev-python/black/black-22.12.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2022 Gentoo Authors +# Copyright 2020-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" RDEPEND=" >=dev-python/click-8.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/dj-database-url/dj-database-url-1.1.0.ebuild b/dev-python/dj-database-url/dj-database-url-1.1.0.ebuild index 6ab7aa2f2437..ae76ed81ddf8 100644 --- a/dev-python/dj-database-url/dj-database-url-1.1.0.ebuild +++ b/dev-python/dj-database-url/dj-database-url-1.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,7 +20,7 @@ SRC_URI=" SLOT="0" LICENSE="BSD" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/django[${PYTHON_USEDEP}] diff --git a/dev-python/django-cache-url/django-cache-url-3.4.4.ebuild b/dev-python/django-cache-url/django-cache-url-3.4.4.ebuild index cee95a69d24c..ac9a303f7400 100644 --- a/dev-python/django-cache-url/django-cache-url-3.4.4.ebuild +++ b/dev-python/django-cache-url/django-cache-url-3.4.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2022 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" RDEPEND=" dev-python/django[${PYTHON_USEDEP}] diff --git a/dev-python/gpep517/gpep517-13.ebuild b/dev-python/gpep517/gpep517-13.ebuild index db087ffd4c29..4578213b99e2 100644 --- a/dev-python/gpep517/gpep517-13.ebuild +++ b/dev-python/gpep517/gpep517-13.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-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 @@ -21,7 +21,7 @@ SRC_URI=" 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" RDEPEND=" >=dev-python/installer-0.5.0[${PYTHON_USEDEP}] diff --git a/dev-python/hypothesis/hypothesis-6.61.0.ebuild b/dev-python/hypothesis/hypothesis-6.61.0.ebuild index 2ade964b48e2..50dd0d67dcf9 100644 --- a/dev-python/hypothesis/hypothesis-6.61.0.ebuild +++ b/dev-python/hypothesis/hypothesis-6.61.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -25,7 +25,7 @@ S="${WORKDIR}/${MY_P}/hypothesis-python" LICENSE="MPL-2.0" 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" IUSE="cli" RDEPEND=" diff --git a/dev-python/ipykernel/ipykernel-6.19.2.ebuild b/dev-python/ipykernel/ipykernel-6.19.2.ebuild index caf88dc23796..23881e54f3b8 100644 --- a/dev-python/ipykernel/ipykernel-6.19.2.ebuild +++ b/dev-python/ipykernel/ipykernel-6.19.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/comm-0.1.1[${PYTHON_USEDEP}] diff --git a/dev-python/mapbox_earcut/mapbox_earcut-1.0.1.ebuild b/dev-python/mapbox_earcut/mapbox_earcut-1.0.1.ebuild index ca320389180d..7729ea9cce29 100644 --- a/dev-python/mapbox_earcut/mapbox_earcut-1.0.1.ebuild +++ b/dev-python/mapbox_earcut/mapbox_earcut-1.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,7 +19,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" RDEPEND=" dev-python/numpy[${PYTHON_USEDEP}] diff --git a/dev-python/nbformat/Manifest b/dev-python/nbformat/Manifest index a6975294fa3b..879b40935401 100644 --- a/dev-python/nbformat/Manifest +++ b/dev-python/nbformat/Manifest @@ -1,2 +1,3 @@ DIST nbformat-5.4.0.gh.tar.gz 134574 BLAKE2B f61275ad501381f05dc22a79f24c175fa71610f09cf125a40aaa90d0e02d3b27d82d918c1036b0516d4f879609f65c1ce62de86b033012e25d353af453828b2e SHA512 f601438193bfcb11f1ceed74995ab6862ff8c916f9bddabe38fd70bb997f4407bede4318ae7034d75424b20b75846010ddda2a45b8fe8de6dd9310617b00fb9d DIST nbformat-5.7.1.tar.gz 139291 BLAKE2B 680952ef35235021b36357babd98c94656d96888e1e5e01ecf35ce3233d51f751a60c964f0675fbad18242db8a1adb9fce2bbc512cefc4e30c254492584956c3 SHA512 248640ee23aae83c9c2b18502369d99c317447d40e5b3dc790260d21eda8ef027a7eca9ded34b98c7b17be7fe4b4401c556dbb9d4b0be80d4e4bff10a17381ce +DIST nbformat-5.7.2.tar.gz 140294 BLAKE2B 593f1b87d1fb58e47e07d94547145b2561689ab1463aa6fa1cd9178f09f09b4a10364caff9db0e8a1921903788fa94eab811d67ca8349cf87c151c946848c8e9 SHA512 5d4425d18c2f0f2cb1141f957bef93e6ea5be56fc57b73eb96427a5a1ccbb1f3a9730a70aa60448e20328401ed3afde21f55caa2241e8fd5eddd305a5a86c637 diff --git a/dev-python/nbformat/nbformat-5.7.2.ebuild b/dev-python/nbformat/nbformat-5.7.2.ebuild new file mode 100644 index 000000000000..4d427285c979 --- /dev/null +++ b/dev-python/nbformat/nbformat-5.7.2.ebuild @@ -0,0 +1,47 @@ +# 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} ) +PYTHON_REQ_USE='sqlite' + +inherit distutils-r1 + +DESCRIPTION="Reference implementation of the Jupyter Notebook format" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter/nbformat/ + https://pypi.org/project/nbformat/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/fastjsonschema[${PYTHON_USEDEP}] + >=dev-python/jsonschema-2.6[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.1[${PYTHON_USEDEP}] + dev-python/jupyter_core[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/testpath[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/numpydoc +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/nbformat-5.7.1-no-node.patch" +) + +EPYTEST_IGNORE=( + # requires pep440 package, which is not really relevant for us + tests/test_api.py +) diff --git a/dev-python/pbr/Manifest b/dev-python/pbr/Manifest index a6db7989e13f..176c9088cc42 100644 --- a/dev-python/pbr/Manifest +++ b/dev-python/pbr/Manifest @@ -1 +1,2 @@ DIST pbr-5.11.0.tar.gz 127505 BLAKE2B 201fcd04ded1f909f4792886ddf79a5a764318645ff6b6245543cde2940d502ab711820cb6e999894a339df933e43e6a8394bd8ec1e978d930710a3085b131fd SHA512 bdb442e8ef7bda90a65c5fb7f0696041808278fcc643eb0c15d5401b7da7d64cd3566018b1046145f55bc5683791ee182bec92461801004b02a35b8bf4c5abf0 +DIST pbr-5.11.1.tar.gz 127597 BLAKE2B 4ed433f271b4cbed3e7baca66cbeef057d575b7b061507c45a65ba93704edbed7b6f8668e9b9766f03079aaf06dbd6c394960c1c528b1beb992db65d0c3b89e4 SHA512 466dc5ce2622c43451186698f00d405141878449ffe9f7771b0057e8356bf12b426a9bfefff7e5843f1b3f963af3ffc9c4a42fa91a9407b79617abea046ff438 diff --git a/dev-python/pbr/pbr-5.11.1.ebuild b/dev-python/pbr/pbr-5.11.1.ebuild new file mode 100644 index 000000000000..9bae0b7cdb1f --- /dev/null +++ b/dev-python/pbr/pbr-5.11.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_TESTED=( python3_{7,8,9,10,11} ) +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Inject some useful and sensible default behaviors into setuptools" +HOMEPAGE=" + https://opendev.org/openstack/pbr/ + https://github.com/openstack/pbr/ + https://pypi.org/project/pbr/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.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" + +RDEPEND=" + >=dev-python/setuptools-60.5.0[${PYTHON_USEDEP}] +" +# git is needed for tests, see https://bugs.launchpad.net/pbr/+bug/1326682 and https://bugs.gentoo.org/show_bug.cgi?id=561038 +# docutils is needed for sphinx exceptions... https://bugs.gentoo.org/show_bug.cgi?id=603848 +# stestr is run as external tool +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + >=dev-python/wheel-0.32.0[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] + >=dev-python/six-1.12.0[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + >=dev-python/testresources-2.0.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.0.3[${PYTHON_USEDEP}] + dev-vcs/git + ' "${PYTHON_TESTED[@]}") + ) +" + +distutils_enable_tests unittest + +python_prepare_all() { + # TODO: investigate + sed -e 's:test_console_script_develop:_&:' \ + -e 's:test_console_script_install:_&:' \ + -e 's:test_setup_py_keywords:_&:' \ + -i pbr/tests/test_core.py || die + # network + rm pbr/tests/test_wsgi.py || die + # installs random packages via pip from the Internet + sed -e 's:test_requirement_parsing:_&:' \ + -e 's:test_pep_517_support:_&:' \ + -i pbr/tests/test_packaging.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Testing on ${EPYTHON} is not supported at the moment" + return + fi + + eunittest -b +} diff --git a/dev-python/pycares/pycares-4.3.0.ebuild b/dev-python/pycares/pycares-4.3.0.ebuild index fb39ad453025..8d9b24d6967a 100644 --- a/dev-python/pycares/pycares-4.3.0.ebuild +++ b/dev-python/pycares/pycares-4.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,7 +21,7 @@ S=${WORKDIR}/pycares-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm64 ~riscv ~x86" IUSE="test" # Tests fail with network-sandbox, since they try to resolve google.com PROPERTIES="test_network" diff --git a/dev-python/pymdown-extensions/Manifest b/dev-python/pymdown-extensions/Manifest index a3658643b87b..93c5e82e6144 100644 --- a/dev-python/pymdown-extensions/Manifest +++ b/dev-python/pymdown-extensions/Manifest @@ -1 +1,2 @@ +DIST pymdown-extensions-9.9.1.gh.tar.gz 1017213 BLAKE2B ba445aa93f044a0df91f99c362bbef0dbdc15c4edfa18e938c8e55398c4b8844a1124d48c36789a7b190350701ce685c7b6a6c04bb220ad1255417ca1526b60c SHA512 082cb6ed83f48495a01269be613a77f6fce75e297c136d1b17edd07cbdd11e7ed148b6a3a8d90c8bcfe62ce89e260762e0bdccc7e68c53f233c68a3e00b21bc5 DIST pymdown-extensions-9.9.gh.tar.gz 1013192 BLAKE2B 51b9baf40f8a40f3553529f0670a895d141b3b92c2b5a66b215e8551246c20ba7b96891714b2012a005056b1534d72bb0cc644cc719b230ae1f3bb03e2258203 SHA512 000ca793d891abdbeac3c9902c25d842d5ed2c209a0e32deb5cdab41f2019dc85e0be41abdbecc369b4def1291d30e4bf9a71e86d522f45d629423b4d42c6d8b diff --git a/dev-python/pymdown-extensions/pymdown-extensions-9.9.1.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-9.9.1.ebuild new file mode 100644 index 000000000000..72f3d1c14953 --- /dev/null +++ b/dev-python/pymdown-extensions/pymdown-extensions-9.9.1.ebuild @@ -0,0 +1,59 @@ +# 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-git-revision-date-localized-plugin + dev-python/mkdocs-minify-plugin + dev-python/mkdocs-material + dev-python/pymdown-lexers + dev-python/pyspelling +" +DOCS_INITIALIZE_GIT=1 + +inherit distutils-r1 docs + +DESCRIPTION="Extensions for Python Markdown" +HOMEPAGE=" + https://github.com/facelessuser/pymdown-extensions/ + https://pypi.org/project/pymdown-extensions/ +" +SRC_URI=" + https://github.com/facelessuser/pymdown-extensions/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/markdown-3.2[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + >=dev-python/pygments-2.12.0[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_compile_all() { + default + # We need to do this manually instead of relying on docs_compile + # https://bytemeta.vip/repo/facelessuser/pymdown-extensions/issues/1446 + # https://bugs.gentoo.org/859637 + if use doc; then + python -m mkdocs build || die "Failed to make docs" + # Colliding files found by ecompress: + rm site/sitemap.xml.gz || die + HTML_DOCS=( "site/." ) + fi +} diff --git a/dev-python/pysol_cards/Manifest b/dev-python/pysol_cards/Manifest index 750035133da6..e8784419c177 100644 --- a/dev-python/pysol_cards/Manifest +++ b/dev-python/pysol_cards/Manifest @@ -1 +1,2 @@ DIST pysol_cards-0.14.2.tar.gz 18113 BLAKE2B 63704d97598927b600a8f34eb46565e8bf927bc27cd409579de6ac5f4b9154a881b1727c30a61381c169a267b313a4aabfe796a98341208ffb9a8327ca83ec71 SHA512 5e296819ebd6a874175c098b0000524defeb22456bdce961270ecfe26de48fb0d5f5b56eeb3457a12c51f72c9d90abdd35ebaf91244ceaa7d3034caff2b59386 +DIST pysol_cards-0.14.3.tar.gz 18322 BLAKE2B 730da3d597377305c86e528606edd3db9f07390d333283a228c2411d35f2e19da61d27f21e3d2650b84ba0f4b0d48e87cf7004d518845fe2a40b041e286d5a28 SHA512 00bb25393eab855d7444324b33e0561bfbcc86ae53306b58623fa15ea005378aff6af51846aab4634b43fdba5497c3872c32baf3a51013ee01d5ab2d7a7a9d51 diff --git a/dev-python/pysol_cards/pysol_cards-0.14.3.ebuild b/dev-python/pysol_cards/pysol_cards-0.14.3.ebuild new file mode 100644 index 000000000000..3154d31ff004 --- /dev/null +++ b/dev-python/pysol_cards/pysol_cards-0.14.3.ebuild @@ -0,0 +1,27 @@ +# 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 + +DESCRIPTION="Deal PySol FreeCell cards" +HOMEPAGE=" + https://github.com/shlomif/pysol_cards/ + https://pypi.org/project/pysol-cards/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0 MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-python/random2[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest diff --git a/dev-python/pytest-check/Manifest b/dev-python/pytest-check/Manifest index 35b0dadb0030..d0e0279af314 100644 --- a/dev-python/pytest-check/Manifest +++ b/dev-python/pytest-check/Manifest @@ -1,2 +1,3 @@ DIST pytest-check-1.3.0.tar.gz 23763 BLAKE2B 95f98c679aed6bd1a16ffb72a4da0e0177d83c785343aa8c102c1e31f2a148fe78bf3aa49630bebf1b05a338dd9d2d075eb02ef1dff8e63175af22cf3f194ed7 SHA512 4c513f01d2f7a9302afdb3be7ff3f9da6f3b0af8469bab85bb103a6a16b4955c238251b2c46643d71d18c1476976cb5e49ee3c63d6752c8ac2591e14cda9db34 DIST pytest-check-2.0.0.tar.gz 24825 BLAKE2B b1398dd98d90b9ba26cdda7776a63db8afc1ddae4cda4663fd46746d496631fea34bf0a2abac83c959bd838f60162ccbbdc08ee894c2faf663eded16f801cde4 SHA512 d031c91c6e0e65a90b8ca7bc6809814de861d8656ad9cdebc878079ef82e852b1de07b8144eb3827ed452c7d67b94d89b49917f701b5f04f081cfe4353fd50b3 +DIST pytest-check-2.1.0.tar.gz 25849 BLAKE2B 4b5fe598cdd395f153abd6cab90c729d0a70eb31ff95fe8eaccc7c1378e20adde65b9c1e35dd961bba2aede040652f97ac81d7fdaed4dd21d1ed44c340ea948f SHA512 503aee4eafab43dbe882f7d4ca63a63d4c3df78d691fc057de4bee72e2d2e61bb694c7c412b915e4019c052e34f9d80e02e03bf2be2c58c4c48b59e354a03763 diff --git a/dev-python/pytest-check/pytest-check-2.1.0.ebuild b/dev-python/pytest-check/pytest-check-2.1.0.ebuild new file mode 100644 index 000000000000..3fcfa6ccaca8 --- /dev/null +++ b/dev-python/pytest-check/pytest-check-2.1.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 2021-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="pytest plugin that allows multiple failures per test" +HOMEPAGE=" + https://github.com/okken/pytest-check/ + https://pypi.org/project/pytest-check/ +" +SRC_URI="mirror://pypi/${P::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest index db369ab5d50d..0177b85b54b4 100644 --- a/dev-python/redis-py/Manifest +++ b/dev-python/redis-py/Manifest @@ -1,2 +1,3 @@ DIST redis-py-4.4.0.gh.tar.gz 4637656 BLAKE2B 40b0909c27cefb399353cc2d1d82d7ad3d64e4b3e5ae001ffef9c198d0e65d906f5772a0ac33b599c7fb6ffc5dfad461bb4b9042c5c4fb23dfbfceb0a7facbc0 SHA512 8992f160de7817c48893f3a8588d5c0398dcfb91830a61b4218206adc88185acb102b072507d3064b4a7aade5c957267e5d0e6912510bb106eea834cf9250fab DIST redis-py-4.4.1.gh.tar.gz 4733306 BLAKE2B b04a5925f87d8c1dbb06b30382f739d6bc39456b6b49be34701afcc1fecfca4783e60a451ddccdaff31f28c38b626e19607a57ebd600f7e28c63a4b62894f397 SHA512 0cec4b518bb56acee6a24ca62e7fdce054b4be764fcfaa860257d8de9f306d9d0f15a662354d7414a4a552475e2b49d97d97de05059310eead068a6269bc3038 +DIST redis-py-4.4.2.gh.tar.gz 4734100 BLAKE2B 8e23c9b81a19cbbead7d6dab682fc4efc75f0c29adb4df6b9bf17f6842b2823249036c67c133039a850504870a0f884275eb65f4e517f84211b51767d7a2ae15 SHA512 3303e87ccc9d4ea3afbb93bcc5e4dcc5bbb3a406878b07c5b8755f28f87cb7a0f9a0db989ec294c2cf42c4ec62f546b5d919a3cb3f11b4ba030e41d13ed2cfc8 diff --git a/dev-python/redis-py/redis-py-4.4.2.ebuild b/dev-python/redis-py/redis-py-4.4.2.ebuild new file mode 100644 index 000000000000..0471f7571158 --- /dev/null +++ b/dev-python/redis-py/redis-py-4.4.2.ebuild @@ -0,0 +1,79 @@ +# 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="Python client for Redis key-value store" +HOMEPAGE=" + https://github.com/redis/redis-py/ + https://pypi.org/project/redis/ +" +SRC_URI=" + https://github.com/redis/redis-py/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Flaky test + tests/test_pubsub.py::TestPubSubDeadlock::test_pubsub_deadlock + # TODO + tests/test_commands.py::TestRedisCommands::test_acl_list + # redis-7 different return + tests/test_commands.py::TestRedisCommands::test_xautoclaim + ) + + # TODO: try to run more servers? + epytest -m "not redismod and not onlycluster and not replica and not ssl" +} + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6379 + + if has_version ">=dev-db/redis-7"; then + local extra_conf=" + enable-debug-command yes + enable-module-command yes + " + fi + + # Spawn Redis itself for testing purposes + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 ::1 + ${extra_conf} + EOF + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} diff --git a/dev-python/reedsolomon/reedsolomon-1.6.0.ebuild b/dev-python/reedsolomon/reedsolomon-1.6.0.ebuild index 94e32fd919cf..19b4f5073fff 100644 --- a/dev-python/reedsolomon/reedsolomon-1.6.0.ebuild +++ b/dev-python/reedsolomon/reedsolomon-1.6.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2022 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="public-domain" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest index db41052ed768..f3d81387c5d9 100644 --- a/dev-python/setuptools/Manifest +++ b/dev-python/setuptools/Manifest @@ -1 +1,2 @@ DIST setuptools-65.6.3.tar.gz 2617699 BLAKE2B 0b64efcb5280f18e9d5660a10bca34d9864255279e4747cad99e3adf99ee33c0d174f0b61ef897894e7083ecfbaea16d59a195e3572c8083a4a8d811fe0c2702 SHA512 d0acfdc838454ffedabc4cc14c745071e07cc05e0a598c8bf83824788a8630d5516009e81213ae2a709f54298e754bd391cad205e7111363b64c853bd124aef3 +DIST setuptools-65.7.0.tar.gz 2618315 BLAKE2B a0989c3fd0ab476d69885d022eccf1a89dc670a17d0b3e73bbe4ffb530e26a838fcd1cfffc4c2720ddd19cb8ba45d42bc31441f1e3bbc32fa71850d208f37cc8 SHA512 0eb2d9de9ef2565cf012db7d68ee18359a1432dd42ecd3fb7d490f73d57b0e7ba2a67e0401f66051127e913f29c2e221e88c0cbf523b0ac9abe7f00b6ab1ded8 diff --git a/dev-python/setuptools/setuptools-65.7.0.ebuild b/dev-python/setuptools/setuptools-65.7.0.ebuild new file mode 100644 index 000000000000..b05b5548bf15 --- /dev/null +++ b/dev-python/setuptools/setuptools-65.7.0.ebuild @@ -0,0 +1,130 @@ +# 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 + +# please bump dev-python/ensurepip-setuptools along with this package! + +DISTUTILS_USE_PEP517=standalone +PYTHON_TESTED=( python3_{7,8,9,10,11} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 multiprocessing + +DESCRIPTION="Collection of extensions to Distutils" +HOMEPAGE=" + https://github.com/pypa/setuptools/ + https://pypi.org/project/setuptools/ +" +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 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/appdirs-1.4.4-r2[${PYTHON_USEDEP}] + >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] + >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] + >=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}] + >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}] + <dev-python/packaging-22[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}] + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-4.11.1[${PYTHON_USEDEP}] + ' 3.8 3.9) + $(python_gen_cond_dep ' + >=dev-python/importlib_resources-5.4.0-r3[${PYTHON_USEDEP}] + ' 3.8) +" +BDEPEND=" + ${RDEPEND} + >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}] + test? ( + $(python_gen_cond_dep ' + dev-python/build[${PYTHON_USEDEP}] + >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}] + >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] + >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] + >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pip-run[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-fixture-config[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-virtualenv[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" +PDEPEND=" + >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}] + dev-python/setuptools_scm[${PYTHON_USEDEP}] +" + +DOCS=( {CHANGES,README}.rst ) + +src_prepare() { + local PATCHES=( + # TODO: remove this when we're 100% PEP517 mode + "${FILESDIR}"/setuptools-62.4.0-py-compile.patch + ) + + distutils-r1_src_prepare + + # remove bundled dependencies, setuptools will switch to system deps + # automatically + rm -r */_vendor || die + + # remove the ugly */extern hack that breaks on unvendored deps + rm -r */extern || die + find -name '*.py' -exec sed \ + -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \ + -i {} + || die + + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +python_test() { + local -x SETUPTOOLS_USE_DISTUTILS=stdlib + + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + return + fi + + local EPYTEST_DESELECT=( + # network + # TODO: see if PRE_BUILT_SETUPTOOLS_* helps + setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg + setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist + setuptools/tests/test_build_meta.py::test_legacy_editable_install + setuptools/tests/test_distutils_adoption.py + setuptools/tests/test_editable_install.py + setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests + setuptools/tests/test_virtualenv.py::test_clean_env_install + setuptools/tests/test_virtualenv.py::test_no_missing_dependencies + setuptools/tests/test_virtualenv.py::test_test_command_install_requirements + # TODO + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors + setuptools/tests/test_extern.py::test_distribution_picklable + # expects bundled deps in virtualenv + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel + setuptools/tests/test_editable_install.py::test_editable_with_pyproject + # fails if python-xlib is installed + setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts + ) + + epytest -n "$(makeopts_jobs)" setuptools +} diff --git a/dev-python/snakeoil/snakeoil-0.10.4.ebuild b/dev-python/snakeoil/snakeoil-0.10.4.ebuild index a5d349ba6a0f..f3f7fdceccd6 100644 --- a/dev-python/snakeoil/snakeoil-0.10.4.ebuild +++ b/dev-python/snakeoil/snakeoil-0.10.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ if [[ ${PV} == *9999 ]] ; then EGIT_REPO_URI="https://github.com/pkgcore/snakeoil.git" inherit git-r3 else - 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" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" fi diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.45.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.45.ebuild index b0ee1b2543de..96470400c2f2 100644 --- a/dev-python/sqlalchemy/sqlalchemy-1.4.45.ebuild +++ b/dev-python/sqlalchemy/sqlalchemy-1.4.45.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,7 +23,7 @@ S="${WORKDIR}/${MY_P}" 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" +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="examples +sqlite test" BDEPEND=" diff --git a/dev-python/toposort/Manifest b/dev-python/toposort/Manifest index 771cacee77bc..f437f0e60cbe 100644 --- a/dev-python/toposort/Manifest +++ b/dev-python/toposort/Manifest @@ -1,2 +1,3 @@ DIST toposort-1.7.tar.gz 10671 BLAKE2B 89da22e803c334cec77d5ac8ad6a9ab8013f7516555c2822bd6d511edf28230c85c2eaeabad3dc4a24a58ae3ce3850d407ad957d0e28491574557140a286843a SHA512 a585d1c103b2162fa3f37f6b0ef60a8709f08d9543d7fab619af3718bf9f752a293e50061d370fd08872b2d8a8db504cb9d9c1cce5446885b46fe8e833813833 DIST toposort-1.8.tar.gz 10688 BLAKE2B 354070b8d723a5d75e1c4050b91268d8d747f1d345be58315914b8c3caf9ce0f975a64f281e336952f7e507269b14d4c1c6310b5c7702e0066b25b2f3caab1ed SHA512 f567e371d1524dc6c285a1a25780b92a8052f3c80b8207fbb8d7a5396fb7434ea503e3fac2755443ed52d9383185d2d0f89e18db011ba8b48f2cd013b552f29a +DIST toposort-1.9.tar.gz 10878 BLAKE2B fc2f6543ae74ea6e448ffe2be4e47438842b5ba95eac2f45fcc8d72e682054af0b80a0d453c5afaebeb1c9881d6874ab16ea523b19aad589545c8aae0b8cf255 SHA512 ec86f59f5e61b6d1c783965095f71693306a83a8b54a0661cddb3c51a5e2f9314075b453a901b5e3664b77d9e047901120622dbc23d642269a9546f41395388a diff --git a/dev-python/toposort/toposort-1.9.ebuild b/dev-python/toposort/toposort-1.9.ebuild new file mode 100644 index 000000000000..99af18ab3cff --- /dev/null +++ b/dev-python/toposort/toposort-1.9.ebuild @@ -0,0 +1,24 @@ +# 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 + +DESCRIPTION="Implements a topological sort algorithm" +HOMEPAGE=" + https://gitlab.com/ericvsmith/toposort/ + https://pypi.org/project/toposort/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +python_test() { + "${EPYTHON}" test/test_toposort.py -v || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 348c78b3f0eb..6cda71898b9d 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -1,5 +1,4 @@ DIST tox-3.27.1.gh.tar.gz 309006 BLAKE2B fa8aaa9cd5b03e54c166bb6b748290420b91498b26d2d124d9f88a64806b9ac0578c1886845b25aa024907f6a782c45609fa6c7657d9e1f538b59c2d9f0f4e14 SHA512 5f568bc6c53f871aae91928681dd6f2419b876a8e6ca925e65abae845b548ee3d00513741882875bbbacb78bf64935228d98213f940d3da8c3f788b73f177b79 DIST tox-3.28.0.gh.tar.gz 309472 BLAKE2B 9896411426f6aebb3efa468c01696ecc5f17ec3e67825672d0efc74c1b1468bc8b8d9c14b6177c181750ba4b9a5e77d616068dd83e21f5641acfc8e2a271cc1f SHA512 64816754e6800661bb564c5c7d21c4139522d540a04fafe3c4591d596072d48d1cbe0ee2abee9c8faf3d5007774f5371431b5a7a8f49912bc879c7b168aab2ca -DIST tox-4.2.3.gh.tar.gz 290003 BLAKE2B 2ccd1b511114e8a06312922460b39e37de4ac347551ef3595e17d7d972b0049702e8113f1df2470eed90e21a6020dcbb5c88ad976daecaa0259de36233917c4e SHA512 4f9493a32bcc3c1014c89f2a658babc5a6bd12b96a6a5e9f657b6cd750cb787a296ebb58e4d77cd9239cdaaa687eed870d3b7eec76ee91a870a4ed731895b24e -DIST tox-4.2.4.gh.tar.gz 290148 BLAKE2B 2c04499197413992dfc412d8c92cde71262c83f97ade63314a1526d1c566b398f77f097536c20ac4f6153095360598edf5a69b13037d27d43c5d19eafa5443ca SHA512 4bfe742e96ae709989f336a360b9db38005adc60549918c044ad8b9d2c3261b1beff07c35f9b501a5d69d213e519c894b97f37e57f085095823aa19b53de0531 DIST tox-4.2.6.gh.tar.gz 290939 BLAKE2B ea505ef8a852c17dbae1489b91939f38d8a7bfca45a73cb259f2206928dc88294933ad4e420d148379e429f1dc2924e41028e6d5624aea4dcf170473344583ce SHA512 21efd8418a96f1570e33d4e903e4233eedb4ac6592b9df44dfe686414b00bb4fb1fb9bfe948e301e708e31adae609ecc37e9485d4b2d3b879de66da071c90e51 +DIST tox-4.2.7.gh.tar.gz 291533 BLAKE2B 0ed8deb01b3859dbcf37c6a0ed255254994060f195e7d58eefabcaa85b69dd60bd35391c962b2a5476b305787d409d01c9ce71125da418d12f2b3b08604b557e SHA512 2049e797d97b5202969d1d9812d92987ae3f6d47ce1fe09432fefc0912bdd8141abcf63acbd654b899fcfae9282a60f0950c445b224494b6c03f5631dcdb9d41 diff --git a/dev-python/tox/tox-4.2.4.ebuild b/dev-python/tox/tox-4.2.4.ebuild deleted file mode 100644 index 3c8f0d97d606..000000000000 --- a/dev-python/tox/tox-4.2.4.ebuild +++ /dev/null @@ -1,86 +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} pypy3 ) - -inherit distutils-r1 - -MY_P=${P/_} -DESCRIPTION="virtualenv-based automation of test activities" -HOMEPAGE=" - https://tox.readthedocs.io/ - https://github.com/tox-dev/tox/ - https://pypi.org/project/tox/ -" -SRC_URI=" - https://github.com/tox-dev/tox/archive/${PV/_}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~riscv" - -RDEPEND=" - >=dev-python/cachetools-5.2[${PYTHON_USEDEP}] - >=dev-python/chardet-5.1[${PYTHON_USEDEP}] - >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}] - >=dev-python/filelock-3.8.2[${PYTHON_USEDEP}] - >=dev-python/packaging-21.3[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.6[${PYTHON_USEDEP}] - >=dev-python/pluggy-1[${PYTHON_USEDEP}] - >=dev-python/pyproject-api-1.2.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] - ' 3.8 3.9 3.10) - >=dev-python/virtualenv-20.17.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/hatch-vcs-0.3[${PYTHON_USEDEP}] - test? ( - dev-python/build[${PYTHON_USEDEP}] - >=dev-python/distlib-0.3.6[${PYTHON_USEDEP}] - >=dev-python/flaky-3.7[${PYTHON_USEDEP}] - >=dev-python/psutil-5.9.4[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}] - >=dev-python/re-assert-1.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/time-machine-2.8.2[${PYTHON_USEDEP}] - ' 'python*') - ) -" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -src_prepare() { - # the minimal bounds in tox are entirely meaningless and new packaging - # breaks setuptools - sed -i -e '/packaging/s:>=22::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - # devpi_process is not packaged, and has lots of dependencies - cat > "${T}"/devpi_process.py <<-EOF || die - def IndexServer(*args, **kwargs): raise NotImplementedError() - EOF - - local -x PYTHONPATH=${T}:${PYTHONPATH} - local EPYTEST_DESELECT=( - # Internet - tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external - ) - local EPYTEST_IGNORE=( - # requires devpi* - tests/test_provision.py - ) - - epytest -} diff --git a/dev-python/tox/tox-4.2.3.ebuild b/dev-python/tox/tox-4.2.7.ebuild index 3c8f0d97d606..1249cfa05f27 100644 --- a/dev-python/tox/tox-4.2.3.ebuild +++ b/dev-python/tox/tox-4.2.7.ebuild @@ -26,14 +26,14 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~riscv" RDEPEND=" - >=dev-python/cachetools-5.2[${PYTHON_USEDEP}] + >=dev-python/cachetools-5.2.1[${PYTHON_USEDEP}] >=dev-python/chardet-5.1[${PYTHON_USEDEP}] >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}] >=dev-python/filelock-3.8.2[${PYTHON_USEDEP}] >=dev-python/packaging-21.3[${PYTHON_USEDEP}] >=dev-python/platformdirs-2.6[${PYTHON_USEDEP}] >=dev-python/pluggy-1[${PYTHON_USEDEP}] - >=dev-python/pyproject-api-1.2.1[${PYTHON_USEDEP}] + >=dev-python/pyproject-api-1.4[${PYTHON_USEDEP}] $(python_gen_cond_dep ' >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] ' 3.8 3.9 3.10) @@ -62,7 +62,7 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} src_prepare() { # the minimal bounds in tox are entirely meaningless and new packaging # breaks setuptools - sed -i -e '/packaging/s:>=22::' pyproject.toml || die + sed -i -e '/packaging/s:>=[0-9]\+::' pyproject.toml || die distutils-r1_src_prepare } diff --git a/dev-python/trimesh/trimesh-3.17.1.ebuild b/dev-python/trimesh/trimesh-3.17.1.ebuild index 58e36fca6f34..f00a01b8467c 100644 --- a/dev-python/trimesh/trimesh-3.17.1.ebuild +++ b/dev-python/trimesh/trimesh-3.17.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" RDEPEND=" dev-python/chardet[${PYTHON_USEDEP}] diff --git a/dev-python/urllib3/Manifest b/dev-python/urllib3/Manifest index 8725b322f60e..061dddaa0455 100644 --- a/dev-python/urllib3/Manifest +++ b/dev-python/urllib3/Manifest @@ -1 +1,2 @@ DIST urllib3-1.26.13.tar.gz 300476 BLAKE2B 495b6077d8a18347d731dcc69989688c2fed325a5ff89a7faa6eb1c17255d5748c54036292080e0e86842536f0d518da011a5bd64bd7f1064702d34985621af6 SHA512 022cbd10d91aa95d21293743dc1c36d4ed2dd3f95e60cab53b0aa3c1be489c7eafbc90c4cc7f6b67011ef4752fedb18c33d64a063542fdc525888b39e127b775 +DIST urllib3-1.26.14.tar.gz 300665 BLAKE2B d9373c6f88eae86bd74cbc1c20b352064135a5e3686cf594a3fc2375afa881696751a4e318970ce15adb8fadb60e334117e4d4e431eaa591ce7b13b7ce2ab606 SHA512 0a2dffcb4d3b199e1d82c2bb0d8f4e6b57466bdc43e31dbed62b392ef32e021f6d31cb53ebedef9e1a62b1113f7a370e9f0baa36e3fba942a2543473e4df0828 diff --git a/dev-python/urllib3/urllib3-1.26.14.ebuild b/dev-python/urllib3/urllib3-1.26.14.ebuild new file mode 100644 index 000000000000..c499f797d336 --- /dev/null +++ b/dev-python/urllib3/urllib3-1.26.14.ebuild @@ -0,0 +1,78 @@ +# 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=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) +PYTHON_REQ_USE="ssl(+)" + +inherit distutils-r1 + +DESCRIPTION="HTTP library with thread-safe connection pooling, file post, and more" +HOMEPAGE=" + https://github.com/urllib3/urllib3/ + https://pypi.org/project/urllib3/ +" +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 ~x64-cygwin ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="brotli test" +RESTRICT="!test? ( test )" + +# dev-python/{pyopenssl,cryptography,idna,certifi} are optional runtime +# dependencies. Do not add them to RDEPEND. They should be unnecessary with +# modern versions of python (>= 3.2). +RDEPEND=" + >=dev-python/PySocks-1.5.8[${PYTHON_USEDEP}] + <dev-python/PySocks-2.0[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + brotli? ( dev-python/brotlicffi[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + $(python_gen_cond_dep " + ${RDEPEND} + dev-python/brotlicffi[\${PYTHON_USEDEP}] + dev-python/mock[\${PYTHON_USEDEP}] + dev-python/pytest[\${PYTHON_USEDEP}] + dev-python/pytest-freezegun[\${PYTHON_USEDEP}] + >=dev-python/tornado-4.2.1[\${PYTHON_USEDEP}] + >=dev-python/trustme-0.5.3[\${PYTHON_USEDEP}] + " python3_{7..10}) + ) +" + +src_prepare() { + distutils-r1_src_prepare + + # unbundle urllib3 + rm src/urllib3/packages/six.py || die + find -name '*.py' -exec sed -i \ + -e 's:\([.]*\|urllib3\.\)\?packages\.six:six:g' \ + -e 's:from \([.]*\|urllib3\.\)\?packages import six:import six:g' \ + {} + || die +} + +python_test() { + local -x CI=1 + # FIXME: get tornado ported + # please keep in sync with BDEPEND! + if ! has "${EPYTHON}" python3.{8..11}; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local EPYTEST_DESELECT=( + # unstable (relies on warning count) + test/with_dummyserver/test_proxy_poolmanager.py::TestHTTPProxyManager::test_proxy_verified_warning + ) + has "${EPYTHON}" python3.{8..10} && EPYTEST_DESELECT+=( + test/contrib/test_pyopenssl.py::TestPyOpenSSLHelpers::test_get_subj_alt_name + ) + + epytest +} |
