dev-python/zeep: treeclean
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
parent
bfe152ebdd
commit
f7efa1e69e
@ -606,11 +606,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
|
||||
|
||||
## Licenses
|
||||
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
|
||||
There are 2384 Ebuilds in total, 2366 of them have in total 2407 (43 different) licenses assigned.
|
||||
There are 2383 Ebuilds in total, 2365 of them have in total 2406 (43 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|1361|
|
||||
|MIT|1360|
|
||||
|Apache-2.0|545|
|
||||
|GPL-3|150|
|
||||
|BSD|125|
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
AUX zeep-4.1.0-cached-prop.patch 3247 BLAKE2B 2ecbafe7bd1dae935dcb6dc0596e68a4d709b04e205cbc58c736fd235e7dc69f66ce5fad86893f1af1d3d77187de92f9f12a7055f8dbbc01c56b273ff500a56c SHA512 36971cc3ab540392cd702edc6cfb8c5db5812f05bcb9e28308c53514e18de2dfd1a29dbac3d6bd53f38f1d315f1a447d974e1a61fb59664bec18567879e080e0
|
||||
DIST zeep-4.2.1.tar.gz 161072 BLAKE2B 01e3ec848bc4a98b301b7d091a0740f4a69057f3bb56e884a31b1d73ed51b0c62b4e0e148b2a59ebb6f01469aa949cb4079c0147dae7b3d8e7c8a2f66e5b31f8 SHA512 08de88c1e4cd1787137ea18f12bf343c5c9bb7b353ecd8781c58c7c1acf1b6ee8a0483b47d9a78eb24c79d8ecc347eb8595d460d9f75ca0428963f36a76dff5d
|
||||
EBUILD zeep-4.2.1.ebuild 1502 BLAKE2B 407778bfeee8f2241b65958b735ba8543ffabb12d842a1157f97f156ab3d1bbcfc0e3ed40eaa0e6b8c9af9b437da81ec0989d3b28e78fe9790e05b703023a25a SHA512 0fa153d2c1efb177c244f49c391836d85ff65a8be1d0338ee8b216eae3495e1997b14032024e01dd605d8cf67f0a3cfd9057db048205f7737bd922678ac019b1
|
||||
MISC metadata.xml 600 BLAKE2B 6683f2af97c50ba282c0d8d8e4883ea0409f42b82a7924d0e822e9634bb0084177e41564d461972ad7ab02ef88d27d184ae6989d7b22555e19d228c67451b0ef SHA512 a2603fe06910ba17abe0281e21a38abedeb45c6138a10cbe91201f07c0d1c3ee98f817bbc485ac7c170109aad8e1cf7ad8b14c380f1692f0422cf738822e32bd
|
||||
@ -1,100 +0,0 @@
|
||||
From 25701f0b69ee46914179070b7e8906ea3e521480 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||
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
|
||||
|
||||
@ -1,19 +0,0 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>b@edevau.net</email>
|
||||
<name>Andreas Billmeier</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">zeep</remote-id>
|
||||
<remote-id type="github">mvantellingen/python-zeep</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>michaelvantellingen@gmail.com</email>
|
||||
<name>Michael van Tellingen</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="async">Add async support.</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="A modern/fast Python SOAP client based on lxml / requests"
|
||||
HOMEPAGE="https://docs.python-zeep.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 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/httpx-0.15.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/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
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# broken by new pytest-httpx?
|
||||
tests/test_async_transport.py::test_load
|
||||
tests/test_async_transport.py::test_load_cache
|
||||
tests/test_async_transport.py::test_post
|
||||
tests/test_async_transport.py::test_http_error
|
||||
)
|
||||
Loading…
x
Reference in New Issue
Block a user