diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-04-22 15:47:57 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-04-22 15:47:57 +0000 |
| commit | 60b99ff2b3fe2d1ee73141d81f7724071820c047 (patch) | |
| tree | af95c2154e76f83a99ec66688cf7bc5e4788a82b /dev-python | |
| parent | 5ff35cfdfb57ddfb3ab1f55b87510f2ec75a4d1f (diff) | |
| download | baldeagleos-repo-60b99ff2b3fe2d1ee73141d81f7724071820c047.tar.gz baldeagleos-repo-60b99ff2b3fe2d1ee73141d81f7724071820c047.tar.xz baldeagleos-repo-60b99ff2b3fe2d1ee73141d81f7724071820c047.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
49 files changed, 651 insertions, 436 deletions
diff --git a/dev-python/authheaders/Manifest b/dev-python/authheaders/Manifest index 5a00be0a485d..07534aa3bee3 100644 --- a/dev-python/authheaders/Manifest +++ b/dev-python/authheaders/Manifest @@ -1,2 +1,3 @@ DIST authheaders-0.14.1.tar.gz 101412 BLAKE2B 5ab6ff508123ae6f58eb4297dcd04fe3518244c0f423ecbc292948c437eac4d7ade7eceeaf4f4165625904489d494331d37c18b9dd4052a01e22c799df6c47fe SHA512 842881a6d2c3d192664960a9d1954f6e2c267cc6b07d7567f019869d07c1e40fc12275c381e90ea94559bd43a9d2e183d35e80d0ee9a861e80519a98daf2a699 DIST authheaders-0.15.0.tar.gz 106222 BLAKE2B 7c0fcf7a85fdadf357c7c69863362de59f7450150143e21177d64b564c7b169cfea63045ae4003472be62dbb6a739181a17022d033a0c417dcfc982953f7e6bc SHA512 9640ff127d42f63a34fb1fa3f8daf149b0968bf0b0d4976cf3b005345125f370a3d15e3c7ef26d276a932c2659f2eef52fa5b98936eb3caeef954b3a1f0b4fd7 +DIST authheaders-0.15.1.tar.gz 106363 BLAKE2B 0df25b2d092677e88b7abc5d1f47ec6260e691a9eb3e2049b08e30e173c90c990c0d7b2379982934b7191ad22099f45eee50fea637f6d69ac8b853c4da97eb40 SHA512 aca49d9085325482888f9d25f5b085aa489700b90f9b76fdf71aa7cfeb23be9d2a38f908c79a0b92b98de94161dbb98b80af72b042ab0a46455745331d977f37 diff --git a/dev-python/authheaders/authheaders-0.15.1.ebuild b/dev-python/authheaders/authheaders-0.15.1.ebuild new file mode 100644 index 000000000000..3bc31495c63b --- /dev/null +++ b/dev-python/authheaders/authheaders-0.15.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 2019-2022 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} ) + +inherit distutils-r1 + +DESCRIPTION="A library wrapping email authentication header verification and generation" +HOMEPAGE=" + https://pypi.org/project/authheaders/ + https://github.com/ValiMail/authentication-headers/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/authres-1.0.1[${PYTHON_USEDEP}] + dev-python/dkimpy[${PYTHON_USEDEP}] + dev-python/dnspython[${PYTHON_USEDEP}] + >=dev-python/publicsuffix-2.20190205[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/cryptography/cryptography-36.0.2-r1.ebuild b/dev-python/cryptography/cryptography-36.0.2-r1.ebuild new file mode 100644 index 000000000000..4ef99ad123e7 --- /dev/null +++ b/dev-python/cryptography/cryptography-36.0.2-r1.ebuild @@ -0,0 +1,128 @@ +# Copyright 2021-2022 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +CARGO_OPTIONAL=yes +PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_REQ_USE="threads(+)" + +CRATES=" +Inflector-0.11.4 +aliasable-0.1.3 +asn1-0.8.7 +asn1_derive-0.8.7 +autocfg-1.0.1 +base64-0.13.0 +bitflags-1.3.2 +cfg-if-1.0.0 +chrono-0.4.19 +indoc-0.3.6 +indoc-impl-0.3.6 +instant-0.1.12 +lazy_static-1.4.0 +libc-0.2.107 +lock_api-0.4.5 +num-integer-0.1.44 +num-traits-0.2.14 +once_cell-1.8.0 +ouroboros-0.13.0 +ouroboros_macro-0.13.0 +parking_lot-0.11.2 +parking_lot_core-0.8.5 +paste-0.1.18 +paste-impl-0.1.18 +pem-1.0.1 +proc-macro-error-1.0.4 +proc-macro-error-attr-1.0.4 +proc-macro-hack-0.5.19 +proc-macro2-1.0.32 +pyo3-0.15.1 +pyo3-build-config-0.15.1 +pyo3-macros-0.15.1 +pyo3-macros-backend-0.15.1 +quote-1.0.10 +redox_syscall-0.2.10 +regex-1.5.4 +regex-syntax-0.6.25 +scopeguard-1.1.0 +smallvec-1.7.0 +stable_deref_trait-1.2.0 +syn-1.0.81 +unicode-xid-0.2.2 +unindent-0.1.7 +version_check-0.9.3 +winapi-0.3.9 +winapi-i686-pc-windows-gnu-0.4.0 +winapi-x86_64-pc-windows-gnu-0.4.0 +" +inherit cargo distutils-r1 multiprocessing + +GIT_TAG="df06889f348d7c3b7e9c35e4e5a1b1480f0b2c5a" +DESCRIPTION="Library providing cryptographic recipes and primitives" +HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.org/project/cryptography/" +SRC_URI="https://github.com/pyca/cryptography/archive/${GIT_TAG}.tar.gz -> ${PN}-${GIT_TAG}.tar.gz + $(cargo_crate_uris ${CRATES})" + +# MIT and BSD-3-Clause come from rust dependencies, some dependencies are also Apache 2.0 exclusively, +# and some are Apache 2.0 or MIT +LICENSE="Apache-2.0 MIT BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" +IUSE="libressl" + +DEPEND=" + !libressl? ( >=dev-libs/openssl-1.0.2o-r6:0= ) + libressl? ( dev-libs/libressl:0= ) +" +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/cffi-1.8:=[${PYTHON_USEDEP}] + ' 'python*') +" +BDEPEND=" + ${DEPEND} + dev-python/setuptools-rust[${PYTHON_USEDEP}] + test? ( + >=dev-python/hypothesis-1.11.4[${PYTHON_USEDEP}] + dev-python/iso8601[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pyasn1-modules[${PYTHON_USEDEP}] + dev-python/pytest-subtests[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +# Files built without CFLAGS/LDFLAGS, acceptable for rust +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/cryptography/hazmat/bindings/_rust.abi3.so" +S="${WORKDIR}/${PN}-${GIT_TAG}" + +distutils_enable_tests pytest + +PATCHES=( +"${FILESDIR}/${P}-libressl.patch" +) + +src_unpack() { + cargo_src_unpack +} + +src_prepare() { + default + + # work around availability macros not supported in GCC (yet) + if [[ ${CHOST} == *-darwin* ]] ; then + local darwinok=0 + if [[ ${CHOST##*-darwin} -ge 16 ]] ; then + darwinok=1 + fi + sed -i -e 's/__builtin_available(macOS 10\.12, \*)/'"${darwinok}"'/' \ + src/_cffi_src/openssl/src/osrandom_engine.c || die + fi +} + +python_test() { + #local -x PYTHONPATH="${PYTHONPATH}:${S}/vectors" + local -x PYTHONPATH="${PYTHONPATH}:${WORKDIR}/cryptography_vectors-${PV}" + epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} diff --git a/dev-python/django-auth-ldap/Manifest b/dev-python/django-auth-ldap/Manifest index 91c3c2325068..acd3ceaf4d13 100644 --- a/dev-python/django-auth-ldap/Manifest +++ b/dev-python/django-auth-ldap/Manifest @@ -1 +1,2 @@ DIST django-auth-ldap-3.0.0.tar.gz 52381 BLAKE2B 6964b36d72b365899d4dd3dc96f16b9c1f12c06ad95c7d387ec27ac6dbc38807e16fdb953e172fcde1a0d4042f318d276b780e474d9b810325e97cd601d070b7 SHA512 105885e62fd22aace2cbe291a107046109a91507ba77257b9b428e6d49fb74b6f47116f1d8325c3fc186590b00fb2b46507dc5b73333707e56d84e9a7b926d9e +DIST django-auth-ldap-4.0.0.gh.tar.gz 48798 BLAKE2B 6371afa08bd532955e1d78c26470f9dc3a536de4f98afe615611947df26cb9a970f82f7772ba42062ffea6bcfc738bb0ff5e7ff148a7d5d6968c326cfbc70f38 SHA512 d9052227fd7d8c8343eb0c7117b86483ad72640e1e6b238e5b303475d45f25851689c6cac1343131bf6c127706e7ae2a040da840272288f3e0e99e2bf2f68afe diff --git a/dev-python/django-auth-ldap/django-auth-ldap-4.0.0.ebuild b/dev-python/django-auth-ldap/django-auth-ldap-4.0.0.ebuild new file mode 100644 index 000000000000..49be12847ed2 --- /dev/null +++ b/dev-python/django-auth-ldap/django-auth-ldap-4.0.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 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} ) + +inherit distutils-r1 + +DESCRIPTION="Django LDAP authentication backend" +HOMEPAGE=" + https://github.com/django-auth-ldap/django-auth-ldap/ + https://pypi.org/project/django-auth-ldap/ +" +SRC_URI=" + https://github.com/django-auth-ldap/django-auth-ldap/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +LICENSE="BSD-2" +SLOT="0" + +RDEPEND=" + >=dev-python/django-2.2[${PYTHON_USEDEP}] + >=dev-python/python-ldap-3.1[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + $(python_gen_impl_dep sqlite) + net-nds/openldap[-minimal] + ) +" + +distutils_enable_sphinx docs --no-autodoc + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + # for slapd and slapdtest + local -x SBIN=/usr/sbin:/usr/$(get_libdir)/openldap + "${EPYTHON}" -m django test -v 2 --settings tests.settings || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/django-tables2/django-tables2-2.4.1.ebuild b/dev-python/django-tables2/django-tables2-2.4.1.ebuild index c8e4d9a9191b..21b6e4a711bf 100644 --- a/dev-python/django-tables2/django-tables2-2.4.1.ebuild +++ b/dev-python/django-tables2/django-tables2-2.4.1.ebuild @@ -31,6 +31,7 @@ BDEPEND=" test? ( ${RDEPEND} dev-python/django-filter[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] ) " diff --git a/dev-python/flask/Manifest b/dev-python/flask/Manifest index b94accd176f3..5b9597bdbad3 100644 --- a/dev-python/flask/Manifest +++ b/dev-python/flask/Manifest @@ -1,3 +1,4 @@ DIST Flask-1.1.4.tar.gz 635920 BLAKE2B c1f19e7449177ecf6e901d5932ad25cbe866ff53b9323f717541922b1ea5b10203ff07630fcf3eabaedd9b6a24ef031ad2aaa2e2f759925363bebfa7e5d967da SHA512 6f427a1264921b8560446afacee2757d16de0dc22d6ed249b7bc5d6f50f3af50c89b79ce900d75b41af4befc53910f2b532c2e280de42837e2133acb6b1bd80d DIST Flask-2.0.3.tar.gz 629304 BLAKE2B dae5ffb86b9f57ea95c682be4f858faec6432c877695c06fff40a056cd7eedff25cf120458435b634954f0e65e57ad6c22c3eb6b5ed751b6d7f5d4501358c240 SHA512 b759ada3ab610d4893cd48f6de070c23929ab2e37af863238912fa19246acfb399b1e67576bf6112c9bb56b00002792d28c7538c65b026f31bcc6f64305ae966 DIST Flask-2.1.0.tar.gz 630852 BLAKE2B 6a67d4c0f67aebf326493d86baefcdfb5d1e1b36a3b6a2e818d8bd92d84267ca8762ee0af3e70254bd4ce53a4f781edc9560e6408adf8ac285b308cdf1103c0f SHA512 8d9da72e3ad7df378a32fc40290e9499bc79eb3167235e8497f8f2753ac2c9da170d34f0ae3e87db99ba8282c887a479a64b680818b668bc13e033e6e5603926 +DIST Flask-2.1.1.tar.gz 630996 BLAKE2B 39b34a3f68111e4b58f4e1e63fc55077b839d42b9ab4f87bf96f22d1dbcf05c1a520e84d35af81d4ebad2535e4f22af2070c8354b3f7d885b4db304d374243a7 SHA512 492bd72e80b6ad8a5d91191b996252c05fee8d8b2f703855fe635755976e75ee7a93a30ebe4889c80cc959034c3fb8caca0dec8436657ad8096860b1b11dcb2e diff --git a/dev-python/flask/flask-2.1.1.ebuild b/dev-python/flask/flask-2.1.1.ebuild new file mode 100644 index 000000000000..6dc230988921 --- /dev/null +++ b/dev-python/flask/flask-2.1.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions" +HOMEPAGE="https://github.com/pallets/flask/" +MY_PN="Flask" +MY_P="${MY_PN}-${PV}" +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/mitsuhiko/flask.git" + inherit git-r3 +else + SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + S="${WORKDIR}/${MY_P}" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="examples" + +RDEPEND=" + >=dev-python/click-8.0[${PYTHON_USEDEP}] + dev-python/blinker[${PYTHON_USEDEP}] + >=dev-python/itsdangerous-2.0[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0[${PYTHON_USEDEP}] + >=dev-python/werkzeug-2.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-3.6.0[${PYTHON_USEDEP}] + ' 3.8 3.9) +" +BDEPEND=" + test? ( + >=dev-python/asgiref-3.2[${PYTHON_USEDEP}] + !!dev-python/shiboken2 + ) +" + +distutils_enable_sphinx docs \ + dev-python/pallets-sphinx-themes \ + dev-python/sphinx-issues \ + dev-python/sphinx-tabs \ + dev-python/sphinxcontrib-log_cabinet +distutils_enable_tests pytest + +python_test() { + epytest -p no:httpbin +} + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} diff --git a/dev-python/gitdb/Manifest b/dev-python/gitdb/Manifest index f044b27a55a3..0df62ad0ce9d 100644 --- a/dev-python/gitdb/Manifest +++ b/dev-python/gitdb/Manifest @@ -1 +1,2 @@ DIST gitdb-4.0.8.tar.gz 394637 BLAKE2B 8eb3b04664df0fb40b93ee814d94a2526d62127c3dd7d0908f8c3ab9c3fc4d7ad368ad6a4288e509ce2f6e43348cb4f3761aaf404040bad1c59bc920517888af SHA512 fa883bf135080a9defa039bf1f13aebdb91c7e8d397c870e24d7c13acc1b30fc32c6299b43c117657382c1908ace748b0967bc53e02c2d73633cc8603fcb8003 +DIST gitdb-4.0.9.tar.gz 394670 BLAKE2B 7882c2757f7c6ff9fa6518504b46ff987fa69f38ba28713a6d140614944e2ccb1c371321402faae835455659a8b33c12523cb781e9c62c79132a724c7ad4d86d SHA512 174b90e09b65ba38d3404fd79a8963987ab49a5e2b96ce82057b519861e8312342c425ff10849c865f66e6e88c27d651d8902a6f8abea88f9f33161f44974109 diff --git a/dev-python/gitdb/gitdb-4.0.9.ebuild b/dev-python/gitdb/gitdb-4.0.9.ebuild new file mode 100644 index 000000000000..93bce7fd4473 --- /dev/null +++ b/dev-python/gitdb/gitdb-4.0.9.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 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} ) + +inherit distutils-r1 + +DESCRIPTION="GitDB is a pure-Python git object database" +HOMEPAGE=" + https://github.com/gitpython-developers/gitdb/ + https://pypi.org/project/gitdb/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/smmap-3.0.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-vcs/git + ) +" + +distutils_enable_tests nose + +src_test() { + local i + + mkdir "${T}"/repo || die + cd "${T}"/repo || die + + for (( i = 0; i < 2500; ++i )); do + echo "${i}" > file"${i}" || die + done + + git init || die + git config user.email "you@example.com" || die + git config user.name "Your Name" || die + git add -A || die + git commit -q -m ".." || die + git clone --bare "${T}"/repo "${T}"/repo.git || die + cd "${S}" || die + + distutils-r1_src_test +} + +python_test() { + #TRAVIS=1 disables performance tests which rely on the gitdb repo + local -x TRAVIS=1 + local -x GITDB_TEST_GIT_REPO_BASE="${T}"/repo.git + nosetests -v || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/google-api-core/google-api-core-2.7.1-r1.ebuild b/dev-python/google-api-core/google-api-core-2.7.1-r2.ebuild index 48570cca9b40..aaaf1fef4c45 100644 --- a/dev-python/google-api-core/google-api-core-2.7.1-r1.ebuild +++ b/dev-python/google-api-core/google-api-core-2.7.1-r2.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${P//google/python}" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 x86" RDEPEND=" dev-python/protobuf-python[${PYTHON_USEDEP}] @@ -24,6 +24,7 @@ RDEPEND=" >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}] >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] <dev-python/requests-3[${PYTHON_USEDEP}] + !dev-python/namespace-google " # grpcio support is broken if grpcio-status is not installed, # and we do not package the latter diff --git a/dev-python/google-api-core/google-api-core-2.7.1.ebuild b/dev-python/google-api-core/google-api-core-2.7.1.ebuild deleted file mode 100644 index 8bb10f8baa8a..000000000000 --- a/dev-python/google-api-core/google-api-core-2.7.1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 2020-2022 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} ) - -inherit distutils-r1 - -DESCRIPTION="Core Library for Google Client Libraries" -HOMEPAGE="https://github.com/googleapis/python-api-core/ - https://googleapis.dev/python/google-api-core/latest/index.html" -SRC_URI="https://github.com/googleapis/${PN//google/python}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${P//google/python}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" - -RDEPEND=" - dev-python/namespace-google[${PYTHON_USEDEP}] - dev-python/protobuf-python[${PYTHON_USEDEP}] - dev-python/googleapis-common-protos[${PYTHON_USEDEP}] - >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] - <dev-python/requests-3[${PYTHON_USEDEP}] -" -# grpcio support is broken if grpcio-status is not installed, -# and we do not package the latter -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/proto-plus[${PYTHON_USEDEP}] - dev-python/rsa[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # failing due to missing grpcio-status - tests/asyncio/test_grpc_helpers_async.py::test_wrap_unary_errors - tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_raised - tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_read - tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_aiter - tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_write - tests/unit/test_grpc_helpers.py::test_wrap_unary_errors - tests/unit/test_grpc_helpers.py::Test_StreamingResponseIterator::test___next___w_rpc_error - tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_invocation - tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_iterator_initialization - tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_during_iteration - # TODO - tests/unit/test_operation.py::test_exception_with_error_code -) - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} - -python_test() { - epytest -p no:aiohttp -p no:trio -} diff --git a/dev-python/google-api-core/google-api-core-2.7.2.ebuild b/dev-python/google-api-core/google-api-core-2.7.2-r1.ebuild index 152433cc3df7..e85779648c06 100644 --- a/dev-python/google-api-core/google-api-core-2.7.2.ebuild +++ b/dev-python/google-api-core/google-api-core-2.7.2-r1.ebuild @@ -24,6 +24,7 @@ RDEPEND=" >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}] >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] <dev-python/requests-3[${PYTHON_USEDEP}] + !dev-python/namespace-google " BDEPEND=" test? ( diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest index 7134288f746c..fa35b599fa3e 100644 --- a/dev-python/google-auth/Manifest +++ b/dev-python/google-auth/Manifest @@ -1,3 +1,2 @@ DIST google-auth-2.6.3.tar.gz 189685 BLAKE2B 68718ce4031c4e764dcfec19361b034ed5e1efa602d5c734b61a853020f40aaa856f9d9a3b964470e148fbfcb081dbc7d2c8bf0a53fc843d9360dbc72623bcdf SHA512 cba3228dbc0887c127d50cc45eb134e3a0b2bea044b8a1e65807918a3808e550fd58217a236c07b6cb908e5a080d9c1c1a2e9ee1853968d8c0bd50b7228ea262 -DIST google-auth-2.6.4.tar.gz 189668 BLAKE2B fe1f660c80095bae4772c78e223f8ba2be1ee749f4571249236fee84abd9a165d08c1acb5dad4ee61accd86c5b60c66befb24c9cbc5665b95bc587dddf99ecb7 SHA512 616004ad945e88dd9561abfcb29c69a0ade5163d6175191bf9421a2d59620a042ae352d833fc20e5f31e20b929dda391a35aa2d391b17af221bc4044f82663f9 -DIST google-auth-2.6.5.tar.gz 189699 BLAKE2B 2a18c25e13a48562aaa5d7524857343928f35ecec4a11a85e50f022acc6d2e90bc1e604c7ed1a4141ace4af830ceb466ef71e4678d7fbb5fb0fe9407d9de544d SHA512 f5b63b879348d86b7d840a188435c444e2b35dd3e7421c284092bfd9421ed2ff1a7584ffc2359195a2e3f9e99903b8b59fe2833559a1c1ccc429f5c363142cc4 +DIST google-auth-2.6.6.tar.gz 189789 BLAKE2B 8adf725ac8678a07c6c35f641950c5da0f269e8556074b5832a08267cbb64237dda817c576b15fbb315fd0a018e30bca1fa1f5a0d1f85aaae4ab2bd58538b191 SHA512 bac6345bf142a8dc6acde0bec43a8fd78f76277740114a0557af88748a5ec2f509757e6099f570ed037b2265717f339fe319254a826793d0b16f1a7d227a6b09 diff --git a/dev-python/google-auth/google-auth-2.6.3-r1.ebuild b/dev-python/google-auth/google-auth-2.6.3-r2.ebuild index 21cf44d9893d..eacb2920974f 100644 --- a/dev-python/google-auth/google-auth-2.6.3-r1.ebuild +++ b/dev-python/google-auth/google-auth-2.6.3-r2.ebuild @@ -25,6 +25,7 @@ RDEPEND=" >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] + !dev-python/namespace-google " BDEPEND=" test? ( diff --git a/dev-python/google-auth/google-auth-2.6.4.ebuild b/dev-python/google-auth/google-auth-2.6.4.ebuild deleted file mode 100644 index c685c7ed35a5..000000000000 --- a/dev-python/google-auth/google-auth-2.6.4.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2022 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} ) - -inherit distutils-r1 - -DESCRIPTION="Google Authentication Library" -HOMEPAGE=" - https://github.com/googleapis/google-auth-library-python/ - https://pypi.org/project/google-auth/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -RDEPEND=" - <dev-python/cachetools-6.0.0[${PYTHON_USEDEP}] - >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] - >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] - >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/grpcio[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/moto[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/pyu2f[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # these are compatibility tests with oauth2client - # disable them to unblock removal of that package - tests/test__oauth2client.py -) - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} diff --git a/dev-python/google-auth/google-auth-2.6.5.ebuild b/dev-python/google-auth/google-auth-2.6.6-r1.ebuild index c685c7ed35a5..b54cee0615a6 100644 --- a/dev-python/google-auth/google-auth-2.6.5.ebuild +++ b/dev-python/google-auth/google-auth-2.6.6-r1.ebuild @@ -25,6 +25,7 @@ RDEPEND=" >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] + !dev-python/namespace-google " BDEPEND=" test? ( diff --git a/dev-python/googleapis-common-protos/googleapis-common-protos-1.56.0-r1.ebuild b/dev-python/googleapis-common-protos/googleapis-common-protos-1.56.0-r2.ebuild index 0a9a81c31c43..6f407f2e62f7 100644 --- a/dev-python/googleapis-common-protos/googleapis-common-protos-1.56.0-r1.ebuild +++ b/dev-python/googleapis-common-protos/googleapis-common-protos-1.56.0-r2.ebuild @@ -18,6 +18,7 @@ KEYWORDS="amd64 ~arm ~arm64 x86" RDEPEND=" >=dev-python/protobuf-python-3.12.0[${PYTHON_USEDEP}] + !dev-python/namespace-google " python_compile() { diff --git a/dev-python/gpep517/Manifest b/dev-python/gpep517/Manifest index 16cc2c5fb292..08e43bf6a1c1 100644 --- a/dev-python/gpep517/Manifest +++ b/dev-python/gpep517/Manifest @@ -1,2 +1 @@ -DIST gpep517-2.gh.tar.gz 6904 BLAKE2B 5d6f8c02805fec0b9c9929a133817be5d06c76ca2dd5ecd6b59d04eca1ca746b2a63a84df29c929ca06a026eef741a2d872abede6f1d0ac3719ff2005cf20043 SHA512 2b1fce7193a5c03175c34251987f42fe82c79a6eef324759fe5728e0f3b66a10f8aa644ece2193c912e9977f21b14a28fe5c9443e3b01ca8cdacf862afe0838c DIST gpep517-3.gh.tar.gz 7074 BLAKE2B 99a499ae13b6aac41e86d11735f0e49a5dc921881a1efa94bee19bfd779af6827707d05d6407ed15e4a3a6b518c8c0b3f50901e3b12df41081930f83b288e461 SHA512 90f756f5a1d783e9d402e098162a70b363a0a81e331e810e5c89c3302bb5839032603252bad1c98c176a7828b70adfac967e39ba455dcd3a20097e74923980c8 diff --git a/dev-python/gpep517/gpep517-2.ebuild b/dev-python/gpep517/gpep517-2.ebuild deleted file mode 100644 index 2495c732f866..000000000000 --- a/dev-python/gpep517/gpep517-2.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 2022 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_SETUPTOOLS=manual -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A backend script to aid installing Python packages in Gentoo" -HOMEPAGE=" - https://pypi.org/project/gpep517/ - https://github.com/mgorny/gpep517/ -" -SRC_URI=" - https://github.com/mgorny/gpep517/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64" - -RDEPEND=" - >=dev-python/installer-0.5.0[${PYTHON_USEDEP}] - >=dev-python/tomli-1.2.3[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -# do not use any build system to avoid circular deps -python_compile() { :; } - -python_install() { - python_domodule gpep517 - python_newscript - gpep517 <<-EOF - #!/usr/bin/python - import sys - from gpep517.__main__ import main - sys.exit(main()) - EOF -} diff --git a/dev-python/gpep517/gpep517-3.ebuild b/dev-python/gpep517/gpep517-3.ebuild index 07049e1da34c..e612ed1d6020 100644 --- a/dev-python/gpep517/gpep517-3.ebuild +++ b/dev-python/gpep517/gpep517-3.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~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 ~m68k 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/guessit/Manifest b/dev-python/guessit/Manifest index b787fea3667c..739a831dd281 100644 --- a/dev-python/guessit/Manifest +++ b/dev-python/guessit/Manifest @@ -1 +1,2 @@ DIST guessit-3.4.2.tar.gz 165996 BLAKE2B ccad7018ed54a49397ff008555650bb322f6884ece0608a26af89ec58d82e81125ca806b18a9936b578626a0b47f8b4fae3a3b9299cfebd67c29e88e05cc7785 SHA512 e969ed2d89e3b0eb1f70db3d8fe5258c39f4c9f86dfb7f943c2fc2c4d8f85580487921b7ee37e486bf1f8dfc067b3a2a75a54a2e72519b9687aae48ba7631c6e +DIST guessit-3.4.3.tar.gz 166183 BLAKE2B 30b08719b12580ade5354a501217cf2b0547965d1ef8016ffce313d257a3ca80a0736e0c904b4e3f7f639d24919839afc3887d81e2912e6aafb37861f979766f SHA512 2719683487baa7bf0f212d4150486f3e673721683361004aa4397204fdc1a3414de86dd4b05b805dc91427d897cd391a7431e6c25e1576b0855f4cc3aabade7a diff --git a/dev-python/guessit/guessit-3.4.3.ebuild b/dev-python/guessit/guessit-3.4.3.ebuild new file mode 100644 index 000000000000..bcff5cdaa182 --- /dev/null +++ b/dev-python/guessit/guessit-3.4.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 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} ) + +inherit distutils-r1 + +DESCRIPTION="Python library for guessing information from video filenames" +HOMEPAGE=" + https://github.com/guessit-io/guessit/ + https://pypi.org/project/guessit/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/babelfish-0.5.5[${PYTHON_USEDEP}] + >=dev-python/rebulk-3[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/importlib_resources[${PYTHON_USEDEP}] + ' 3.8) +" +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # Disable benchmarks as they require unavailable pytest-benchmark. + guessit/test/test_benchmark.py +) diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest index e7df49824b7d..cc86231dc78e 100644 --- a/dev-python/h5py/Manifest +++ b/dev-python/h5py/Manifest @@ -1 +1,2 @@ DIST h5py-3.3.0.tar.gz 380221 BLAKE2B 0fd44e780304f0d56e8fd8fd0f42142c80935fa7cc3e6c53ff68860f32755d3d5e576fc283bb9b21e9d7dfb905bdeed6656eeaa33e48cefd34de86fde3efa49d SHA512 f1ce944375da3db65829e8a9d667ee7ffa2f863e408aa4ccac0de9d999e0710ebcb1e116537616649fcfd05731cad3cbd968c9593f0ba0fd4348ee06c74d9dae +DIST h5py-3.6.0.tar.gz 384160 BLAKE2B 354764bb002cd342623aa962de88a24ee45156c0a2d61088508017980e407e90f85e65da9d3e29a6745dbca754ba1708700fbea4f4123a10a620bc758cbaa3ae SHA512 f3a108d16578ced552fcac4fceb7f3180ee71a3c8f6caa8702fd9989728d8284afb9d85f1239648e10d14f3532c772f46d05f8306bb8b305d98b162d7604683b diff --git a/dev-python/h5py/h5py-3.6.0.ebuild b/dev-python/h5py/h5py-3.6.0.ebuild new file mode 100644 index 000000000000..ca910e4e850f --- /dev/null +++ b/dev-python/h5py/h5py-3.6.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2022 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} ) + +inherit distutils-r1 + +DESCRIPTION="Simple Python interface to HDF5 files" +HOMEPAGE=" + https://www.h5py.org/ + https://github.com/h5py/h5py/ + https://pypi.org/project/h5py/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +# disable mpi until mpi4py gets python3_8 +#IUSE="examples mpi" +IUSE="examples" + +#RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)] +DEPEND=" + sci-libs/hdf5:=[hl(+)] +" +RDEPEND=" + ${DEPEND} + >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}] + dev-python/pkgconfig[${PYTHON_USEDEP}] + test? ( + dev-python/QtPy[testlib,${PYTHON_USEDEP}] + ) +" +# mpi? ( virtual/mpi ) +# mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] ) + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/alabaster + +#pkg_setup() { +# use mpi && export CC=mpicc +#} + +python_prepare_all() { + # avoid pytest-mpi dep, we do not use mpi anyway + sed -i -e 's:pytest-mpi::' pytest.ini || die + distutils-r1_python_prepare_all + + export H5PY_SETUP_REQUIRES=0 +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + epytest -m "not mpi" +} + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 5db3ff235a89..158fcedd4305 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,4 +1,3 @@ -DIST hypothesis-python-6.39.6.tar.gz 9183382 BLAKE2B c1112dc11d9129c7685eccac563232c978fcb470b0537e468b802ecf1f758af8dfce323514f923605662e720d0d54f525e5aac3e871407255f5f0732856748fe SHA512 985645265e9644bd2731a08ab942984fae5cb35e04e27e60450bfcf237c375dae1f2d3bf3694031a452866669ae2e19a05085ce9e35630965938c066b265595a DIST hypothesis-python-6.42.3.tar.gz 9187948 BLAKE2B 3303cea4e8f2776f14defd88dcc2578f11e30bd5842a2cddf96478e31505d38f801a92e031e76070684befb2a9d63713f44b73eea7152e0bdc6cc0d16e25c08c SHA512 869e81b46da7786cc4ca981da56c916922a73fd129dc1f156d062343e40a9b74888bdda17ef2c95e6c3102dc762f7cf587d1aad4ba3b8138060990d2987a0bd1 DIST hypothesis-python-6.43.3.tar.gz 9189636 BLAKE2B d47e4b5f3016e32c8ba547eca7f3b6513609d6a84cf1f1b8db5e14282e75cf4ee1778fba1dcf801fac135a1ebfef2ce5f9306bd9be4c33f02b5f05d1690abba2 SHA512 1988efc630b63a2373f25813bd066a1da8576416a167d487f1b262825c49864ab622e84a6189d5016f8ca28b37819d5f035bc11779f906a447baf2f957fedfcc DIST hypothesis-python-6.44.0.tar.gz 9189825 BLAKE2B f6688f55a920b0dc65beab54d715c98869bf70d29ed4044f4ad15c88cb9b60cc5dee834f9d218e15d6cc9e02a8b25114660af2578ab07c9a353124cb95611e22 SHA512 8642d078f2e7e232baa100075dac530e4e7c358f8ea7bdb5fd1f3d29ceb291a1a00abfdd25596669010c230893c7d6fc29cc54be42340aabc2481a612e616684 diff --git a/dev-python/hypothesis/hypothesis-6.39.6.ebuild b/dev-python/hypothesis/hypothesis-6.39.6.ebuild deleted file mode 100644 index ee5333dbb16c..000000000000 --- a/dev-python/hypothesis/hypothesis-6.39.6.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2022 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} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing optfeature - -DESCRIPTION="A library for property based testing" -HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" -SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' python3_{8..10}) - ) -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/typing-3.7.4.1 - ) -" - -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin - - epytest tests/cover tests/pytest tests/quality \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" python3.{8..10}; then - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.42.3.ebuild b/dev-python/hypothesis/hypothesis-6.42.3.ebuild index d09b69112221..57a19f87f39d 100644 --- a/dev-python/hypothesis/hypothesis-6.42.3.ebuild +++ b/dev-python/hypothesis/hypothesis-6.42.3.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="cli" RDEPEND=" diff --git a/dev-python/manuel/manuel-1.10.1-r1.ebuild b/dev-python/manuel/manuel-1.10.1-r1.ebuild index 88d0de48d093..a377efbacbc6 100644 --- a/dev-python/manuel/manuel-1.10.1-r1.ebuild +++ b/dev-python/manuel/manuel-1.10.1-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" RDEPEND=" dev-python/six[${PYTHON_USEDEP}] diff --git a/dev-python/protobuf-python/Manifest b/dev-python/protobuf-python/Manifest index 4bcae58108da..445bb0b6652e 100644 --- a/dev-python/protobuf-python/Manifest +++ b/dev-python/protobuf-python/Manifest @@ -1,2 +1 @@ -DIST protobuf-3.19.1.tar.gz 5291573 BLAKE2B a34f1a7cf99ecb6cb8a26bc858de6273bfd26aa9be1e89e48c16cb5df0f1e9576479344c8250017238dbac0d0c4ac33001125b5fc622cb64ed6b91023198b03a SHA512 f1271f5159a7be363a5f60ce4921dfea68a8468d66808330bacaeaa1cb7f652d045ab080b5d82816a6fd4e6d7d7fe79aaa6c8d66d81692721d36ce3bbf619f31 DIST protobuf-3.19.3.tar.gz 5293258 BLAKE2B c05b70ffca97f7166ea6a511a36907eed125edf1ebf17f908718221d9b851be84dfb2b1b39973f2faf35f6ade630e6ba4f9e8b91b8fbc922c5db97079323ee6e SHA512 1c003e7cbc8eae6a038f46e688b401ee202ba47f502561e909df79770f6e8b7daf3dc1ccc727e31bfb5b52cd04cb4fef7d2d2a28d650c13f396872ad4aa076c6 diff --git a/dev-python/protobuf-python/files/protobuf-python-3.19.1-google.protobuf.pyext._message.PyUnknownFieldRef.patch b/dev-python/protobuf-python/files/protobuf-python-3.19.1-google.protobuf.pyext._message.PyUnknownFieldRef.patch deleted file mode 100644 index a03ad98b4550..000000000000 --- a/dev-python/protobuf-python/files/protobuf-python-3.19.1-google.protobuf.pyext._message.PyUnknownFieldRef.patch +++ /dev/null @@ -1,22 +0,0 @@ -https://github.com/protocolbuffers/protobuf/issues/6205 -https://github.com/protocolbuffers/protobuf/pull/7016 - ---- a/google/protobuf/pyext/unknown_fields.cc -+++ b/google/protobuf/pyext/unknown_fields.cc -@@ -274,13 +274,13 @@ - PyObject* data = NULL; - switch (field->type()) { - case UnknownField::TYPE_VARINT: -- data = PyLong_FromLong(field->varint()); -+ data = PyLong_FromUnsignedLongLong(field->varint()); - break; - case UnknownField::TYPE_FIXED32: -- data = PyLong_FromLong(field->fixed32()); -+ data = PyLong_FromUnsignedLongLong(field->fixed32()); - break; - case UnknownField::TYPE_FIXED64: -- data = PyLong_FromLong(field->fixed64()); -+ data = PyLong_FromUnsignedLongLong(field->fixed64()); - break; - case UnknownField::TYPE_LENGTH_DELIMITED: - data = PyBytes_FromStringAndSize(field->length_delimited().data(), diff --git a/dev-python/protobuf-python/protobuf-python-3.19.1.ebuild b/dev-python/protobuf-python/protobuf-python-3.19.1.ebuild deleted file mode 100644 index 4ca2ca54dddd..000000000000 --- a/dev-python/protobuf-python/protobuf-python-3.19.1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2008-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - - EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf" - EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}" - EGIT_SUBMODULES=() -else - SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> protobuf-${PV}.tar.gz" -fi -S="${WORKDIR}/protobuf-${PV}/python" - -DESCRIPTION="Google's Protocol Buffers - Python bindings" -HOMEPAGE="https://developers.google.com/protocol-buffers/ https://github.com/protocolbuffers/protobuf" - -LICENSE="BSD" -SLOT="0/30" -KEYWORDS="~alpha amd64 arm arm64 -hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos" - -BDEPEND="${PYTHON_DEPS} - ~dev-libs/protobuf-${PV} - dev-python/namespace-google[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}]" -DEPEND="${PYTHON_DEPS} - ~dev-libs/protobuf-${PV}" -RDEPEND="${BDEPEND}" - -PATCHES=( - "${FILESDIR}/${PN}-3.19.1-google.protobuf.pyext._message.PyUnknownFieldRef.patch" -) - -distutils_enable_tests setup.py - -python_configure_all() { - mydistutilsargs=( - --cpp_implementation - ) -} - -python_install_all() { - distutils-r1_python_install_all - - find "${ED}" -name "*.pth" -type f -delete || die -} diff --git a/dev-python/protobuf-python/protobuf-python-3.19.3-r1.ebuild b/dev-python/protobuf-python/protobuf-python-3.19.3-r2.ebuild index 7ef013aa2ca5..e40e3e4434b4 100644 --- a/dev-python/protobuf-python/protobuf-python-3.19.3-r1.ebuild +++ b/dev-python/protobuf-python/protobuf-python-3.19.3-r2.ebuild @@ -29,7 +29,7 @@ S="${WORKDIR}/protobuf-${PV}/python" LICENSE="BSD" SLOT="0/30" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos" BDEPEND=" ${PYTHON_DEPS} @@ -40,7 +40,10 @@ DEPEND=" ${PYTHON_DEPS} ~dev-libs/protobuf-${PV} " -RDEPEND="${BDEPEND}" +RDEPEND=" + ${BDEPEND} + !dev-python/namespace-google +" if [[ "${PV}" == "9999" ]]; then EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}" diff --git a/dev-python/protobuf-python/protobuf-python-3.19.3.ebuild b/dev-python/protobuf-python/protobuf-python-3.19.3.ebuild deleted file mode 100644 index 4c816e2377e5..000000000000 --- a/dev-python/protobuf-python/protobuf-python-3.19.3.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 2008-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - - EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf" - EGIT_SUBMODULES=() -fi - -DESCRIPTION="Google's Protocol Buffers - Python bindings" -HOMEPAGE="https://developers.google.com/protocol-buffers/ https://github.com/protocolbuffers/protobuf" -if [[ "${PV}" == "9999" ]]; then - SRC_URI="" -else - SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> protobuf-${PV}.tar.gz" -fi - -LICENSE="BSD" -SLOT="0/30" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" -IUSE="" - -BDEPEND="${PYTHON_DEPS} - ~dev-libs/protobuf-${PV} - dev-python/namespace-google[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}]" -DEPEND="${PYTHON_DEPS} - ~dev-libs/protobuf-${PV}" -RDEPEND="${BDEPEND}" - -S="${WORKDIR}/protobuf-${PV}/python" - -if [[ "${PV}" == "9999" ]]; then - EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}" -fi - -python_prepare_all() { - pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die - eapply "${FILESDIR}/${PN}-3.19.0-google.protobuf.pyext._message.PyUnknownFieldRef.patch" - eapply_user - popd > /dev/null || die - - distutils-r1_python_prepare_all -} - -python_configure_all() { - mydistutilsargs=(--cpp_implementation) -} - -python_test() { - esetup.py test -} - -python_install_all() { - distutils-r1_python_install_all - - find "${ED}" -name "*.pth" -type f -delete || die -} diff --git a/dev-python/protobuf-python/protobuf-python-9999.ebuild b/dev-python/protobuf-python/protobuf-python-9999.ebuild index 94ef5c83a9f0..c9555c2bb705 100644 --- a/dev-python/protobuf-python/protobuf-python-9999.ebuild +++ b/dev-python/protobuf-python/protobuf-python-9999.ebuild @@ -40,7 +40,10 @@ DEPEND=" ${PYTHON_DEPS} ~dev-libs/protobuf-${PV} " -RDEPEND="${BDEPEND}" +RDEPEND=" + ${BDEPEND} + !dev-python/namespace-google +" if [[ "${PV}" == "9999" ]]; then EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}" diff --git a/dev-python/pyopenssl/pyopenssl-22.0.0.ebuild b/dev-python/pyopenssl/pyopenssl-22.0.0.ebuild index 518d94303177..0cb0675a642a 100644 --- a/dev-python/pyopenssl/pyopenssl-22.0.0.ebuild +++ b/dev-python/pyopenssl/pyopenssl-22.0.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~riscv" RDEPEND=" >=dev-python/cryptography-35.0[${PYTHON_USEDEP}] diff --git a/dev-python/pyproj/Manifest b/dev-python/pyproj/Manifest index b947ee1842f6..09972e7ede14 100644 --- a/dev-python/pyproj/Manifest +++ b/dev-python/pyproj/Manifest @@ -1 +1,2 @@ DIST pyproj-3.3.0.tar.gz 217539 BLAKE2B 14e2332ffdf3d67e531bb4809cd50fd4902828b0cc3d2427921624d56cf05bdc0f3d5b17ea0516b3f428ad82bc57df840e4bd2dde1232870c9b959c34998c254 SHA512 9e8429a4fbec1950bf72a8c582d4a944a6707ac54a107a7837bf7fe44f8c2e29f1f6d0dcd9f5ff3ef511f3d31016389745cc2dfc14e2089756e6e72fe6074c47 +DIST pyproj-3.3.1.gh.tar.gz 238373 BLAKE2B 7996d253a35e3d64a343141179a88d2ab97e88f96447f3daf14c9f8d731099b506228c163fe460d3be30ae69c87e908879b3c0fe31eb7624c3bb8da157838337 SHA512 7175479f4ec526ada830d178bea77552d66aace4c7f6cde584aebef5fc4c6b7a46272eea2bd95f71910411c9ac8d8832d350891ffffda8a86eabb5449177a5eb diff --git a/dev-python/pyproj/pyproj-3.3.1.ebuild b/dev-python/pyproj/pyproj-3.3.1.ebuild new file mode 100644 index 000000000000..a7a4575c6714 --- /dev/null +++ b/dev-python/pyproj/pyproj-3.3.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 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} ) + +inherit distutils-r1 + +DESCRIPTION="Python interface to the PROJ library" +HOMEPAGE=" + https://github.com/pyproj4/pyproj/ + https://pypi.org/project/pyproj/ +" +SRC_URI=" + https://github.com/pyproj4/pyproj/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" + +RDEPEND=" + >=sci-libs/proj-8.0.0:= +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + sci-libs/shapely[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs dev-python/sphinx_rtd_theme +distutils_enable_tests pytest + +python_test() { + rm -rf pyproj || die + epytest -m "not network" test +} diff --git a/dev-python/setuptools-rust/setuptools-rust-1.2.0.ebuild b/dev-python/setuptools-rust/setuptools-rust-1.2.0.ebuild index 905f18e1c3cc..431e6e86fb3c 100644 --- a/dev-python/setuptools-rust/setuptools-rust-1.2.0.ebuild +++ b/dev-python/setuptools-rust/setuptools-rust-1.2.0.ebuild @@ -87,7 +87,7 @@ inherit distutils-r1 cargo DESCRIPTION="A plugin for setuptools to build Rust Python extensions" HOMEPAGE=" https://github.com/PyO3/setuptools-rust/ - https://pypi.org/project/setuptools_rust/ + https://pypi.org/project/setuptools-rust/ " SRC_URI=" mirror://pypi/${PN::1}/${PN}/${P}.tar.gz @@ -96,7 +96,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~ppc64" +KEYWORDS="~amd64 ~ppc64 ~riscv" IUSE="test" RESTRICT="!test? ( test )" @@ -110,9 +110,12 @@ BDEPEND=" >=dev-python/setuptools_scm-6.3.2[${PYTHON_USEDEP}] test? ( ${RDEPEND} - dev-python/pytest[${PYTHON_USEDEP}] dev-python/beautifulsoup4[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/cffi[${PYTHON_USEDEP}] + ' 'python*') dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] ) " diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest index 2a6e10348fab..2663e586645c 100644 --- a/dev-python/starlette/Manifest +++ b/dev-python/starlette/Manifest @@ -1,3 +1,4 @@ DIST starlette-0.17.1.tar.gz 403781 BLAKE2B 75de462afc507d89159f17002eb2acc5453520ad312573d5697f5da8fc7d76fcb2407bf41086c923a60a59766f5ac02de1b003962a4d1031c062bd80a0d50e6c SHA512 a8f8cee0dc40d19eab62996f4ef1230fa758375fa9b51e15eae5c906a89b76519ebe4e423aa567d73e4c055cef63e9bbae11b47d4372e28b615f6edaf22a06a7 DIST starlette-0.18.0.gh.tar.gz 408097 BLAKE2B ddc85690d9eb962a8d82544a1667d17316025330c8fda0c79dc21422399bcff01ccf5baf85eda7941f40aac5845d18fdcefaa23ba8ba442d30f0b9e194f7287c SHA512 521d39c1eec818250da3f2dc24cd2fb08393b76e6314a9bd5f3e520bdfa4652ae4ace5876b7e7f3a7ddc5540160e1086997a40b86a1b1bfd694c6aa1abde9106 DIST starlette-0.19.0.gh.tar.gz 412337 BLAKE2B 31d8c7a7b0c1708ed23cf001061e03dbeb9ee7e57fb81cb4bc349cb6642f2a0a5aba973e96f6337c0d304a5e3c5be3ed4ed68045c3c165a4c952529278b859df SHA512 7b889c2cfd453882a9c34e0451975b6cdbf4a0274872225473bf196901ded01b03484c01fafbac8e8f5df4fe9bd146df966cd7f5b278592d0ef88e7cff5010a2 +DIST starlette-0.19.1.gh.tar.gz 415049 BLAKE2B 15842a521b9cef2ed823e857f984d7d8db7a9fb4c0fb06d811fe29336a104c600b9c4f0a14b535ad1a84743cb4a1452d87f3ff0ae9245270b765af89254be86e SHA512 3fd721e4a8accfd4f0c1c87b4b0eb62b559066aeeb7ddd31dcacb73c2b4e8619fe727b10f2e3053199e710a561063ef7bbd73ad65294d0ce5db778d458ffbd91 diff --git a/dev-python/starlette/starlette-0.19.1.ebuild b/dev-python/starlette/starlette-0.19.1.ebuild new file mode 100644 index 000000000000..ac8c61a310f0 --- /dev/null +++ b/dev-python/starlette/starlette-0.19.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 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} ) + +inherit distutils-r1 + +DESCRIPTION="The little ASGI framework that shines" +HOMEPAGE="https://www.starlette.io/" +SRC_URI=" + https://github.com/encode/starlette/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + <dev-python/anyio-5[${PYTHON_USEDEP}] + >=dev-python/anyio-3.4.0[${PYTHON_USEDEP}] + dev-python/itsdangerous[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.8 3.9 ) +" +BDEPEND=" + test? ( + dev-python/trio[${PYTHON_USEDEP}] + ) +" + +EPYTEST_IGNORE=( + # Unpackaged 'databases' dependency + tests/test_database.py + + # Unpackaged 'multipart' dependency + tests/test_formparsers.py +) + +EPYTEST_DESELECT=( + # Unpackaged 'multipart' dependency + tests/test_requests.py::test_request_form_urlencoded +) + +distutils_enable_tests pytest + +src_prepare() { + # fix accept-encoding, as new support was added with newer versions + sed -e '/accept-encoding/s/",/, br&/' -i tests/test_{websockets,requests}.py || die + + distutils-r1_src_prepare +} diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index a9bdbbe1a848..7e34ab2903d7 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -3,3 +3,4 @@ DIST stripe-2.70.0.tar.gz 239653 BLAKE2B d59d7b452e91169e83e4d4bc10b544fc94c48aa DIST stripe-2.71.0.tar.gz 239817 BLAKE2B c1b8fad45e7e9fee79f841502aaad1a849f345357d2facfab833bc50129c5d9eac6c2af128ef572f9d295da966b8a38b095786b44bf026eac6f6d001470ae60a SHA512 5acbaba1e2a5e063beafd0b67994a4a4c7d207f220a49e84b7ab3c0288a92150fd10048f7782e32c3033f4a920f5e81a0893610545e5d1f49ee6dbe62aa4b3a5 DIST stripe-2.72.0.tar.gz 239987 BLAKE2B 8eb1ea8446cb106c75b0a005478ae28c893338ecc0bb2d0017ad7e9a775108ed0eac1d3e05a5038330b89a47ffc311d4d0367df63c9d0ce01552afd7e4f3e82e SHA512 b9f98ce94002cbebdad5e2b7dc90b4f4d1b4c637db7509881a346c772f90d2154a49109aee15f650559ed8c253e82f466a5a4b6409efc8e00442c80195e1a3a8 DIST stripe-2.73.0.tar.gz 240478 BLAKE2B d85b31670b3e055c42ccaeeb49ca34ed48e0ca299ab2a4e5d87e7f8e8121c52a072027b390bd21e8b7cab4fd77952fa2b6273eccf1a1c933129326a051ebb8d3 SHA512 e2b41d28c9a63564a86e2acd1f36727b34f9133b43104ad6736ad9f706396ce534e59252728342ffea1ce766fcc15b9fc24a00a7797547e8e3fc05943a462a9c +DIST stripe-2.74.0.tar.gz 240731 BLAKE2B 68d80f0dab200087f454c98bfabf483ce7b6db06061d5dce81bc258e0425576b54a5e9c6a9134d59064ae978db4bdda407f12eaa8ac48b51a87722473732a8b9 SHA512 f7f549e5b5eec38248320f7852f0c5fa3476f3d68aab646f04f207e0d6be20cb54ed13e4093d40313502c9aed7b60392c20c1baded4bb845703647d8c022342b diff --git a/dev-python/stripe/stripe-2.74.0.ebuild b/dev-python/stripe/stripe-2.74.0.ebuild new file mode 100644 index 000000000000..2fc333669104 --- /dev/null +++ b/dev-python/stripe/stripe-2.74.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2022 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Stripe python bindings" +HOMEPAGE=" + https://github.com/stripe/stripe-python/ + https://pypi.org/project/stripe/ +" +SRC_URI="mirror://pypi/s/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/requests-2.20[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-util/stripe-mock-0.124.0 + dev-python/pytest-mock[${PYTHON_USEDEP}] + net-misc/curl + ) +" + +distutils_enable_tests pytest + +DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) + +python_test() { + epytest tests +} + +src_test() { + local stripe_mock_port=12111 + local stripe_mock_max_port=12121 + local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" + # Try to start stripe-mock until we find a free port + while [[ "${stripe_mock_port}" -le "${stripe_mock_max_port}" ]]; do + ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" + stripe-mock --http-port ${stripe_mock_port} &> "${stripe_mock_logfile}" & + local stripe_mock_pid=$! + sleep 2 + # Did stripe-mock start? + curl --fail -u "sk_test_123:" \ + http://127.0.0.1:${stripe_mock_port}/v1/customers &> /dev/null + eend $? "Port ${stripe_mock_port} unavailable" + if [[ $? -eq 0 ]]; then + einfo "stripe-mock running on port ${stripe_mock_port}" + break + fi + (( stripe_mock_port++ )) + done + if [[ "${stripe_mock_port}" -gt "${stripe_mock_max_port}" ]]; then + eerror "Unable to start stripe-mock for tests" + die "Please see the logfile located at: ${stripe_mock_logfile}" + fi + + local -x STRIPE_MOCK_PORT=${stripe_mock_port} + distutils-r1_src_test + + # Tear down stripe-mock + kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" +} diff --git a/dev-python/zope-component/zope-component-4.4.1-r1.ebuild b/dev-python/zope-component/zope-component-4.4.1-r1.ebuild index c5e4e4006691..2adb4fd8b9c5 100644 --- a/dev-python/zope-component/zope-component-4.4.1-r1.ebuild +++ b/dev-python/zope-component/zope-component-4.4.1-r1.ebuild @@ -20,7 +20,7 @@ S=${WORKDIR}/${MY_P} LICENSE="ZPL" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" RDEPEND=" dev-python/zope-event[${PYTHON_USEDEP}] diff --git a/dev-python/zope-configuration/zope-configuration-4.4.1-r1.ebuild b/dev-python/zope-configuration/zope-configuration-4.4.1-r1.ebuild index 92156d337e39..331f4fd5f317 100644 --- a/dev-python/zope-configuration/zope-configuration-4.4.1-r1.ebuild +++ b/dev-python/zope-configuration/zope-configuration-4.4.1-r1.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="ZPL" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" RDEPEND=" dev-python/zope-i18nmessageid[${PYTHON_USEDEP}] diff --git a/dev-python/zope-i18nmessageid/zope-i18nmessageid-5.0.1-r1.ebuild b/dev-python/zope-i18nmessageid/zope-i18nmessageid-5.0.1-r1.ebuild index c7462d240d43..37194b9b55e8 100644 --- a/dev-python/zope-i18nmessageid/zope-i18nmessageid-5.0.1-r1.ebuild +++ b/dev-python/zope-i18nmessageid/zope-i18nmessageid-5.0.1-r1.ebuild @@ -20,7 +20,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="ZPL" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" RDEPEND=" dev-python/six[${PYTHON_USEDEP}] diff --git a/dev-python/zope-interface/zope-interface-5.4.0-r1.ebuild b/dev-python/zope-interface/zope-interface-5.4.0-r1.ebuild index e2c4ff195264..b73037e01104 100644 --- a/dev-python/zope-interface/zope-interface-5.4.0-r1.ebuild +++ b/dev-python/zope-interface/zope-interface-5.4.0-r1.ebuild @@ -18,7 +18,7 @@ S=${WORKDIR}/${MY_P} LICENSE="ZPL" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~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 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" BDEPEND=" test? ( diff --git a/dev-python/zope-interface/zope-interface-5.4.0.ebuild b/dev-python/zope-interface/zope-interface-5.4.0.ebuild deleted file mode 100644 index 1f8cd634aa70..000000000000 --- a/dev-python/zope-interface/zope-interface-5.4.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# pkg_resources namespace -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) - -inherit distutils-r1 - -MY_PN=${PN/-/.} -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Interfaces for Python" -HOMEPAGE="https://pypi.org/project/zope.interface/ https://github.com/zopefoundation/zope.interface" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -LICENSE="ZPL" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~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/namespace-zope[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/zope-event[${PYTHON_USEDEP}] - dev-python/zope-testing[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/5.1.0-drop-coverage.patch -) - -distutils_enable_tests setup.py - -python_install_all() { - distutils-r1_python_install_all - - # remove .pth files since dev-python/namespace-zope handles the ns - find "${D}" -name '*.pth' -delete || die -} diff --git a/dev-python/zope-schema/zope-schema-6.2.0-r1.ebuild b/dev-python/zope-schema/zope-schema-6.2.0-r1.ebuild index 59dc7d8f4504..9cd19a5c86f7 100644 --- a/dev-python/zope-schema/zope-schema-6.2.0-r1.ebuild +++ b/dev-python/zope-schema/zope-schema-6.2.0-r1.ebuild @@ -20,7 +20,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="ZPL" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" RDEPEND=" dev-python/zope-event[${PYTHON_USEDEP}] |
