From 5d2f01a8ad754831b9077d67a986ac3de20bdeef Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 11 Nov 2021 13:40:25 +0000 Subject: Adding metadata --- dev-python/black/Manifest | 2 - dev-python/black/black-20.8_beta1.ebuild | 76 ---------------- dev-python/black/black-21.8_beta0.ebuild | 58 ------------ .../files/black-20.8_beta1-setuptools_scm.patch | 16 ---- .../charset_normalizer-2.0.7.ebuild | 2 +- dev-python/coverage/Manifest | 1 + dev-python/coverage/coverage-6.1.2.ebuild | 54 +++++++++++ dev-python/debugpy/debugpy-1.5.1.ebuild | 2 +- dev-python/feedparser/Manifest | 1 - dev-python/feedparser/feedparser-5.2.1-r2.ebuild | 41 --------- dev-python/h5py/h5py-3.3.0.ebuild | 3 +- dev-python/ipykernel/ipykernel-6.2.0.ebuild | 2 +- dev-python/ipyparallel/ipyparallel-7.1.0.ebuild | 2 +- dev-python/nose/Manifest | 1 + dev-python/nose/nose-1.3.7_p20211111_p1.ebuild | 54 +++++++++++ dev-python/pydevd/pydevd-2.7.0.ebuild | 2 +- dev-python/pygit2/pygit2-1.6.1-r1.ebuild | 41 --------- dev-python/pygit2/pygit2-1.6.1-r2.ebuild | 45 ---------- dev-python/pygit2/pygit2-1.6.1-r3.ebuild | 40 +++++++++ dev-python/pygit2/pygit2-1.6.1-r4.ebuild | 44 +++++++++ dev-python/pygit2/pygit2-1.7.0-r1.ebuild | 40 +++++++++ dev-python/pygit2/pygit2-1.7.0.ebuild | 41 --------- .../pytest-tornado/pytest-tornado-0.8.1.ebuild | 2 +- dev-python/requests/Manifest | 1 - dev-python/requests/requests-2.25.1-r2.ebuild | 62 ------------- dev-python/requests/requests-2.26.0.ebuild | 2 +- dev-python/scipy/scipy-1.6.3.ebuild | 4 + dev-python/untangle/untangle-1.1.1.ebuild | 2 +- dev-python/zeep/files/zeep-4.1.0-cached-prop.patch | 100 +++++++++++++++++++++ dev-python/zeep/zeep-4.1.0-r1.ebuild | 48 ++++++++++ dev-python/zeep/zeep-4.1.0.ebuild | 43 --------- 31 files changed, 395 insertions(+), 437 deletions(-) delete mode 100644 dev-python/black/black-20.8_beta1.ebuild delete mode 100644 dev-python/black/black-21.8_beta0.ebuild delete mode 100644 dev-python/black/files/black-20.8_beta1-setuptools_scm.patch create mode 100644 dev-python/coverage/coverage-6.1.2.ebuild delete mode 100644 dev-python/feedparser/feedparser-5.2.1-r2.ebuild create mode 100644 dev-python/nose/nose-1.3.7_p20211111_p1.ebuild delete mode 100644 dev-python/pygit2/pygit2-1.6.1-r1.ebuild delete mode 100644 dev-python/pygit2/pygit2-1.6.1-r2.ebuild create mode 100644 dev-python/pygit2/pygit2-1.6.1-r3.ebuild create mode 100644 dev-python/pygit2/pygit2-1.6.1-r4.ebuild create mode 100644 dev-python/pygit2/pygit2-1.7.0-r1.ebuild delete mode 100644 dev-python/pygit2/pygit2-1.7.0.ebuild delete mode 100644 dev-python/requests/requests-2.25.1-r2.ebuild create mode 100644 dev-python/zeep/files/zeep-4.1.0-cached-prop.patch create mode 100644 dev-python/zeep/zeep-4.1.0-r1.ebuild delete mode 100644 dev-python/zeep/zeep-4.1.0.ebuild (limited to 'dev-python') diff --git a/dev-python/black/Manifest b/dev-python/black/Manifest index fcfbef8b8b0a..1f7f86176c77 100644 --- a/dev-python/black/Manifest +++ b/dev-python/black/Manifest @@ -1,5 +1,3 @@ -DIST black-20.8b1.tar.gz 1092546 BLAKE2B 5a0a755222617d8d551b627c91670ecc32a9330cc1197900a9d21b071d0d99ddd32e09786becfc577407ab402f6da3d8683a59a9deaea1f6b4f07b9e1e4ecbed SHA512 53d6f6a6f47027e5bdfd3909471c993480034c8aa8ae395792565b8d79fb4e3a44299ea529652c0ccabf4309d645db9179bf54efc06fee20517f479e91cec838 DIST black-21.10b0.tar.gz 1171813 BLAKE2B 71bf628aa3b2b0a73c53446061d07ed0074c2e136c6a4dd09feb4b7dcc2b8c8045417e2c6a049a3051bb2e8fc368037c540851384d00ec89ad943d0c8f949c40 SHA512 0e44fe6c34d75f135996bcd62768f3ea02f5ba996992f0173cd28977f6a9ed4fde975e7433439f3b724c54555867f91edcd167fc1c5273308a613a51905323c8 DIST black-21.7b0.tar.gz 1148431 BLAKE2B 34dcd2fd45b914433d6290c10bb07b44277cb490ef884c44ec00cb5495fadd2e649099dd356c4063d0fff5a6477609b11db73e1dc94d88106c56a3ca9b087c90 SHA512 7e6ee4e185080802c9dfc6eeb73b52b2489283c4bcbc086366f50ffb8ea3e0f4bdfedac9a5906be6ec119e65050741c71591c394f0c361a1d75b3ff4061945c1 -DIST black-21.8b0.tar.gz 1167978 BLAKE2B e7df398d09b71389069991bf0872a97d8a8c0b13ddeec12ee8f08ae9d9716a3d47447727d2759d475f10d323df151b8bb2353f3fd60c99eccb1e912554ebbe7b SHA512 ed38dbf0c881fee7da74f0d6bfe4ea0f85b5bed30d37abde2fd728e33f94ceaaa27b7107cfe763c19bdaea57fcbf54bcae82ce8bdcabc29035cdc85a8e10ab00 DIST black-21.9b0.tar.gz 1167869 BLAKE2B 31933de69cc34e23e14b0fdba33da844697816cd3917227c1a16c4d1595435d3715405f7f1df820953e83c30c3947448389a703ee662548226dfc2d278b87844 SHA512 0c8025d64ef9e5da8ad73b1f265b912bcb3d8cb00d8a426a39dd4c70505a77150e02a7f26e3d6842456eea367da9fad29d08f586b175d57d66a09cf389442ed0 diff --git a/dev-python/black/black-20.8_beta1.ebuild b/dev-python/black/black-20.8_beta1.ebuild deleted file mode 100644 index 332a82e591d6..000000000000 --- a/dev-python/black/black-20.8_beta1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 optfeature - -MY_PV="${PV//_beta/b}" -MY_P="${PN}-${MY_PV}" - -DESCRIPTION="The uncompromising Python code formatter" -HOMEPAGE="https://black.readthedocs.io/en/stable/ https://github.com/psf/black" -SRC_URI="https://github.com/psf/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~x64-macos" -IUSE="test" -# bug #754201 -RESTRICT="test" - -RDEPEND=" - >=dev-python/click-7.1.2[${PYTHON_USEDEP}] - dev-python/appdirs[${PYTHON_USEDEP}] - >=dev-python/toml-0.10.1[${PYTHON_USEDEP}] - dev-python/typed-ast[${PYTHON_USEDEP}] - dev-python/regex[${PYTHON_USEDEP}] - dev-python/pathspec[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}] - >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/dataclasses[${PYTHON_USEDEP}]' python3_6) -" -BDEPEND="${RDEPEND} - test? ( - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/aiohttp-cors[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}/black-20.8_beta1-setuptools_scm.patch" -) - -distutils_enable_tests unittest - -python_prepare_all() { - local version_path - version_path="$(grep '"write_to"' setup.py | \ - sed -r 's|[[:space:]]+"write_to": "([[:graph:]]+)",|\1|' \ - || die "could not find path to write version to")" - - [[ -e ${version_path} ]] && die "could not find path to write version to" - printf 'version = "%s"\n' "${MY_PV}" > "${version_path}" || die "error writing version" - sed -e 's:setuptools_scm::' -i setup.cfg || die - - # don't version lock dependencies - sed -r -e 's:("pathspec>.*), <[0-9.-]+:\1:' -i setup.py || die - - # make sure that setup.py can read version - export MY_PV - - distutils-r1_python_prepare_all -} - -python_test() { - cp "${S}"/src/black_primer/primer.json "${BUILD_DIR}"/lib/black_primer/primer.json || die - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -pkg_postinst() { - optfeature "blackd - HTTP API for black" dev-python/aiohttp dev-python/aiohttp-cors -} diff --git a/dev-python/black/black-21.8_beta0.ebuild b/dev-python/black/black-21.8_beta0.ebuild deleted file mode 100644 index 94d469be9b48..000000000000 --- a/dev-python/black/black-21.8_beta0.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 optfeature - -MY_PV="${PV//_beta/b}" -MY_P="${PN}-${MY_PV}" - -DESCRIPTION="The uncompromising Python code formatter" -HOMEPAGE="https://black.readthedocs.io/en/stable/ https://github.com/psf/black" -SRC_URI="https://github.com/psf/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" - -RDEPEND=" - >=dev-python/click-8.0.0[${PYTHON_USEDEP}] - >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2[${PYTHON_USEDEP}] - dev-python/regex[${PYTHON_USEDEP}] - =:' setup.cfg || die - distutils-r1_src_prepare -} - -python_test() { - cp "${S}"/src/black_primer/primer.json \ - "${BUILD_DIR}"/lib/black_primer/primer.json || die - distutils_install_for_testing - epytest -m "not python2" -} - -pkg_postinst() { - optfeature "blackd - HTTP API for black" dev-python/aiohttp dev-python/aiohttp-cors -} diff --git a/dev-python/black/files/black-20.8_beta1-setuptools_scm.patch b/dev-python/black/files/black-20.8_beta1-setuptools_scm.patch deleted file mode 100644 index 368c21812e24..000000000000 --- a/dev-python/black/files/black-20.8_beta1-setuptools_scm.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/setup.py b/setup.py -index 12fde25..340d2c0 100644 ---- a/setup.py -+++ b/setup.py -@@ -47,10 +47,7 @@ else: - - setup( - name="black", -- use_scm_version={ -- "write_to": "src/_black_version.py", -- "write_to_template": 'version = "{version}"\n', -- }, -+ version=os.getenv("MY_PV"), - description="The uncompromising code formatter.", - long_description=get_long_description(), - long_description_content_type="text/markdown", diff --git a/dev-python/charset_normalizer/charset_normalizer-2.0.7.ebuild b/dev-python/charset_normalizer/charset_normalizer-2.0.7.ebuild index 58556810e6b3..35f1ebad6498 100644 --- a/dev-python/charset_normalizer/charset_normalizer-2.0.7.ebuild +++ b/dev-python/charset_normalizer/charset_normalizer-2.0.7.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" distutils_enable_tests pytest diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest index 72176d05f920..e60726c14a91 100644 --- a/dev-python/coverage/Manifest +++ b/dev-python/coverage/Manifest @@ -1,2 +1,3 @@ DIST coverage-6.0.2.tar.gz 722511 BLAKE2B 43a860610921fd0df106cbe26ba094e5a11bf1137a795a15bc22d82d0f813e8dc67bfe660757d325f15f719429b480ca625ebe66569489ed8c4c477bac23c393 SHA512 a43a312d4668846b6f72eebac1a289d0a603303cd32624c3308cce8934f693c7d3786b36da5cea3ff1cce60f93110a2ded168304e1ca9a79053f0886b7f1bf17 DIST coverage-6.1.1.tar.gz 715305 BLAKE2B fbd7c8e7e1737bc8be8acf0f10c66fa333a027520b5f54869080ea9e31951230442d0d7f5a5ec11201b7ca3ba65ee92c906a373c18123920abe0d3dee5a8e040 SHA512 c029ab4e0d16e4b0a395e63e96d7a8f24bdb3a46a97fbc223d59dafaa52b8522e924a13d88777f862d69e1f30d015b00e0740530e719b6a94065d285cd3dd03a +DIST coverage-6.1.2.tar.gz 677391 BLAKE2B eb9b129282446ed536765fcbd8b31f863be315c8eb27087473608b1412014e5807a26b8bcbdeea98f7a89481198bb7475dc775e68fee53ca297d16332edb7ea8 SHA512 41b5bc881eba97308ff702024dd1873fe527c941fe1b45c36a6210819e0b6b9e6dcdf0ad31659e88ea25a3ebd84e90858694f54d2d7585c61b319edb9afbf07e diff --git a/dev-python/coverage/coverage-6.1.2.ebuild b/dev-python/coverage/coverage-6.1.2.ebuild new file mode 100644 index 000000000000..4d180441af18 --- /dev/null +++ b/dev-python/coverage/coverage-6.1.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite(+)" +inherit distutils-r1 + +DESCRIPTION="Code coverage measurement for Python" +HOMEPAGE="https://coverage.readthedocs.io/en/latest/ https://pypi.org/project/coverage/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +#IUSE="test" +# The tests are impossible to appease. Please run them externally +# via tox. Or fix the ebuild if you have hours of time to spend +# on something utterly useless. +RESTRICT="test" + +#BDEPEND=" +# test? ( +# dev-python/PyContracts[${PYTHON_USEDEP}] +# dev-python/flaky[${PYTHON_USEDEP}] +# dev-python/hypothesis[${PYTHON_USEDEP}] +# dev-python/mock[${PYTHON_USEDEP}] +# dev-python/pytest[${PYTHON_USEDEP}] +# >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] +# ) +#" + +src_prepare() { + # avoid the dep on xdist, run tests verbosely + sed -i -e '/^addopts/s:-n3:-v:' setup.cfg || die + distutils-r1_src_prepare +} + +python_test() { + distutils_install_for_testing + + "${EPYTHON}" igor.py zip_mods || die + "${EPYTHON}" igor.py test_with_tracer py || die + + # No C extensions under pypy + if [[ ${EPYTHON} != pypy* ]]; then + cp -l -- "${TEST_DIR}"/lib/*/coverage/*.so coverage/ || die + "${EPYTHON}" igor.py test_with_tracer c || die + fi + + # clean up leftover "egg1" directory + rm -rf build/lib/egg1 || die +} diff --git a/dev-python/debugpy/debugpy-1.5.1.ebuild b/dev-python/debugpy/debugpy-1.5.1.ebuild index 11dfec6c9ddd..bb191c3073b5 100644 --- a/dev-python/debugpy/debugpy-1.5.1.ebuild +++ b/dev-python/debugpy/debugpy-1.5.1.ebuild @@ -15,7 +15,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" # There is not enough time in the universe for this test suite RESTRICT="test" diff --git a/dev-python/feedparser/Manifest b/dev-python/feedparser/Manifest index a593e1c396bf..a4a98a389e0d 100644 --- a/dev-python/feedparser/Manifest +++ b/dev-python/feedparser/Manifest @@ -1,2 +1 @@ -DIST feedparser-5.2.1.tar.gz 252956 BLAKE2B 182ebefa8a44276e758f277c203c28b274c580b667b039e4fc6ed9bd059b15e35e775e9efb784a97d712dc57e7b176ff91d6e094ddd225735f4315ffa770ae83 SHA512 1fd0c4324e2eff8ef4b15e3793c767290bca562af4a5056fdbdfa12411095530c87a113bb1b9757e532ff63aecb399b18f1e6b753884798eb6b8d3fdf575af81 DIST feedparser-6.0.8.tar.gz 252496 BLAKE2B 1a17ef6aa41e0782743d5d331ba26e2d1518475534adcd62457bc6fab00b93e24a3a3b03f4acf8358d321464b985c9d09383dc0373680577c10b742c5e1366fd SHA512 9de702dbebe28b379fd164afed8c408f46301f3ebf91d9f862f12de98a1bcee9f6d38a27c0b8a64e87bc0a20d0ad992ed78b190406649f775e2e8c9ca62b4d8c diff --git a/dev-python/feedparser/feedparser-5.2.1-r2.ebuild b/dev-python/feedparser/feedparser-5.2.1-r2.ebuild deleted file mode 100644 index 5f57dda6802a..000000000000 --- a/dev-python/feedparser/feedparser-5.2.1-r2.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Parse RSS and Atom feeds in Python" -HOMEPAGE="https://github.com/kurtmckee/feedparser https://pypi.org/project/feedparser/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -# sgmllib is licensed under PSF-2. -LICENSE="BSD-2 PSF-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x86-solaris" - -# Tests have issues with chardet installed, and are just kind of buggy. -RESTRICT="test" - -BDEPEND="=sci-libs/lapack-3.10"; then sed -e 's:test_sort(:_&:' \ -i scipy/linalg/tests/test_decomp.py || die diff --git a/dev-python/untangle/untangle-1.1.1.ebuild b/dev-python/untangle/untangle-1.1.1.ebuild index 24043c052cad..ce8bf2b1a172 100644 --- a/dev-python/untangle/untangle-1.1.1.ebuild +++ b/dev-python/untangle/untangle-1.1.1.ebuild @@ -13,4 +13,4 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv sparc x86" diff --git a/dev-python/zeep/files/zeep-4.1.0-cached-prop.patch b/dev-python/zeep/files/zeep-4.1.0-cached-prop.patch new file mode 100644 index 000000000000..368dca71ad38 --- /dev/null +++ b/dev-python/zeep/files/zeep-4.1.0-cached-prop.patch @@ -0,0 +1,100 @@ +From 25701f0b69ee46914179070b7e8906ea3e521480 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Thu, 11 Nov 2021 08:55:41 +0100 +Subject: [PATCH] Use stdlib functools.cached_property if available + +Python 3.8+ provides a functools.cached_property in the stdlib that is +thread-safe, i.e. equivalent to threaded_cached_property. Use it +instead of adding third-party dependencies whenever available. +--- + setup.py | 2 +- + src/zeep/wsdl/attachments.py | 6 +++++- + src/zeep/xsd/elements/indicators.py | 6 +++++- + src/zeep/xsd/types/any.py | 6 +++++- + src/zeep/xsd/types/complex.py | 6 +++++- + 5 files changed, 21 insertions(+), 5 deletions(-) + +diff --git a/setup.py b/setup.py +index cb51ac4..8ef81b6 100755 +--- a/setup.py ++++ b/setup.py +@@ -4,7 +4,7 @@ from setuptools import setup + + install_requires = [ + "attrs>=17.2.0", +- "cached-property>=1.3.0", ++ "cached-property>=1.3.0; python_version<'3.8'", + "isodate>=0.5.4", + "lxml>=4.6.0", + "platformdirs>=1.4.0", +diff --git a/src/zeep/wsdl/attachments.py b/src/zeep/wsdl/attachments.py +index 037e439..075bee5 100644 +--- a/src/zeep/wsdl/attachments.py ++++ b/src/zeep/wsdl/attachments.py +@@ -6,7 +6,11 @@ See https://www.w3.org/TR/SOAP-attachments + + import base64 + +-from cached_property import cached_property ++try: ++ from functools import cached_property ++except ImportError: ++ from cached_property import cached_property ++ + from requests.structures import CaseInsensitiveDict + + +diff --git a/src/zeep/xsd/elements/indicators.py b/src/zeep/xsd/elements/indicators.py +index 40325da..e9ef2c4 100644 +--- a/src/zeep/xsd/elements/indicators.py ++++ b/src/zeep/xsd/elements/indicators.py +@@ -16,7 +16,11 @@ import operator + import typing + from collections import OrderedDict, defaultdict, deque + +-from cached_property import threaded_cached_property ++try: ++ from functools import cached_property as threaded_cached_property ++except ImportError: ++ from cached_property import threaded_cached_property ++ + from lxml import etree + + from zeep.exceptions import UnexpectedElementError, ValidationError +diff --git a/src/zeep/xsd/types/any.py b/src/zeep/xsd/types/any.py +index b4525e4..17f244e 100644 +--- a/src/zeep/xsd/types/any.py ++++ b/src/zeep/xsd/types/any.py +@@ -1,7 +1,11 @@ + import logging + import typing + +-from cached_property import threaded_cached_property ++try: ++ from functools import cached_property as threaded_cached_property ++except ImportError: ++ from cached_property import threaded_cached_property ++ + from lxml import etree + + from zeep.utils import qname_attr +diff --git a/src/zeep/xsd/types/complex.py b/src/zeep/xsd/types/complex.py +index 8141bc1..b2ed9bf 100644 +--- a/src/zeep/xsd/types/complex.py ++++ b/src/zeep/xsd/types/complex.py +@@ -4,7 +4,11 @@ import typing + from collections import OrderedDict, deque + from itertools import chain + +-from cached_property import threaded_cached_property ++try: ++ from functools import cached_property as threaded_cached_property ++except ImportError: ++ from cached_property import threaded_cached_property ++ + from lxml import etree + + from zeep.exceptions import UnexpectedElementError, XMLParseError +-- +2.33.1 + diff --git a/dev-python/zeep/zeep-4.1.0-r1.ebuild b/dev-python/zeep/zeep-4.1.0-r1.ebuild new file mode 100644 index 000000000000..9564399bcbba --- /dev/null +++ b/dev-python/zeep/zeep-4.1.0-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="A modern/fast Python SOAP client based on lxml / requests" +HOMEPAGE="https://docs.python-zeep.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="async" + +RDEPEND=" + >=dev-python/attrs-17.2.0[${PYTHON_USEDEP}] + >=dev-python/isodate-0.5.4[${PYTHON_USEDEP}] + >=dev-python/lxml-4.6.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-1.4.0[${PYTHON_USEDEP}] + >=dev-python/requests-file-1.5.1[${PYTHON_USEDEP}] + >=dev-python/requests-2.7.0[${PYTHON_USEDEP}] + >=dev-python/requests-toolbelt-0.7.1[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + async? ( >=dev-python/aiohttp-1.0[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/aioresponses[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/python-xmlsec[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-httpx[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/${P}-cached-prop.patch +) diff --git a/dev-python/zeep/zeep-4.1.0.ebuild b/dev-python/zeep/zeep-4.1.0.ebuild deleted file mode 100644 index af048888169f..000000000000 --- a/dev-python/zeep/zeep-4.1.0.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="A modern/fast Python SOAP client based on lxml / requests" -HOMEPAGE="https://docs.python-zeep.org/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="async" - -RDEPEND=" - >=dev-python/attrs-17.2.0[${PYTHON_USEDEP}] - >=dev-python/cached-property-1.3.0[${PYTHON_USEDEP}] - >=dev-python/isodate-0.5.4[${PYTHON_USEDEP}] - >=dev-python/lxml-4.6.0[${PYTHON_USEDEP}] - >=dev-python/platformdirs-1.4.0[${PYTHON_USEDEP}] - >=dev-python/requests-file-1.5.1[${PYTHON_USEDEP}] - >=dev-python/requests-2.7.0[${PYTHON_USEDEP}] - >=dev-python/requests-toolbelt-0.7.1[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - async? ( >=dev-python/aiohttp-1.0[${PYTHON_USEDEP}] ) - test? ( - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/aioresponses[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pretend[${PYTHON_USEDEP}] - dev-python/python-xmlsec[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-httpx[${PYTHON_USEDEP}] - dev-python/requests-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -- cgit v1.3