pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/py-zeep py-zeep: updated to 4.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/44a7ca6a23e9
branches:  trunk
changeset: 443169:44a7ca6a23e9
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Dec 07 15:38:29 2020 +0000

description:
py-zeep: updated to 4.0.0

4.0.0
Drop support for Python 2.7, 3.3, 3.4 and 3.5
Remove both the aiohttp and the tornado transport class from Zeep. These can be moved to their own Python package if anyone is interested.
Add zeep.transports.AsyncTransport which is based on httpx. Note that loading wsdl files is still a sync process but operations can be executed via async.
Start adding more typehints to the package

3.4.0
Allow passing xsd.Nil to sequences
Add support for passing custom digest and signature methods during WSSE signing
Fix path resolving during XSD imports

diffstat:

 net/py-zeep/Makefile |  36 +++++++++++++++---------------------
 net/py-zeep/PLIST    |  22 ++--------------------
 net/py-zeep/distinfo |  10 +++++-----
 3 files changed, 22 insertions(+), 46 deletions(-)

diffs (126 lines):

diff -r 23d4f1ce6ec2 -r 44a7ca6a23e9 net/py-zeep/Makefile
--- a/net/py-zeep/Makefile      Mon Dec 07 15:12:15 2020 +0000
+++ b/net/py-zeep/Makefile      Mon Dec 07 15:38:29 2020 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.9 2019/05/03 10:54:38 adam Exp $
+# $NetBSD: Makefile,v 1.10 2020/12/07 15:38:29 adam Exp $
 
-DISTNAME=      zeep-3.3.1
+DISTNAME=      zeep-4.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=z/zeep/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://docs.python-zeep.org/
+HOMEPAGE=      https://docs.python-zeep.org/
 COMMENT=       Fast and modern Python SOAP client
 LICENSE=       mit
 
@@ -18,29 +18,23 @@
 DEPENDS+=      ${PYPKGPREFIX}-lxml>=3.1.0:../../textproc/py-lxml
 DEPENDS+=      ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
 DEPENDS+=      ${PYPKGPREFIX}-requests>=2.7.0:../../devel/py-requests
+DEPENDS+=      ${PYPKGPREFIX}-requests-file>=1.5.1:../../devel/py-requests-file
 DEPENDS+=      ${PYPKGPREFIX}-requests-toolbelt>=0.7.1:../../devel/py-requests-toolbelt
-DEPENDS+=      ${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
-#TEST_DEPENDS+=        ${PYPKGPREFIX}-freezegun>=0.3.8:../../devel/py-freezegun
-#TEST_DEPENDS+=        ${PYPKGPREFIX}-mock>=2.0.0:../../devel/py-mock
-#TEST_DEPENDS+=        ${PYPKGPREFIX}-pretend>=1.0.8:../../devel/py-pretend
-#TEST_DEPENDS+=        ${PYPKGPREFIX}-requests-mock>=0.7.0:../../devel/py-requests-mock
-#TEST_DEPENDS+=        ${PYPKGPREFIX}-test>=3.1.3:../../devel/py-test
-#TEST_DEPENDS+=        ${PYPKGPREFIX}-test-cov>=2.5.1:../../devel/py-test-cov
-#TEST_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
-# TEST_DEPENDS not packaged: pytest-tornado, aioresponses
-
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} != 27
-DEPENDS+=      ${PYPKGPREFIX}-aiohttp>=1.0:../../www/py-aiohttp
-.endif
+TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun>=0.3.15:../../devel/py-freezegun
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=2.0.0:../../devel/py-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-pretend>=1.0.8:../../devel/py-pretend
+TEST_DEPENDS+= ${PYPKGPREFIX}-requests-mock>=0.7.0:../../devel/py-requests-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6.0.1:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio-[0-9]*:../../devel/py-test-asyncio
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=2.8.1:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+# TEST_DEPENDS not packaged: pytest-tornado
 
 USE_LANGUAGES= # none
 
-PYSETUPTESTTARGET=     pytest
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-# tests are not compatible with the latest py-test
-do-test:
-       ${DO_NADA}
+PYSETUPTESTTARGET=     pytest
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 23d4f1ce6ec2 -r 44a7ca6a23e9 net/py-zeep/PLIST
--- a/net/py-zeep/PLIST Mon Dec 07 15:12:15 2020 +0000
+++ b/net/py-zeep/PLIST Mon Dec 07 15:38:29 2020 +0000
@@ -1,9 +1,8 @@
-@comment $NetBSD: PLIST,v 1.5 2019/05/03 10:54:38 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2020/12/07 15:38:29 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/pbr.json
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/zeep/__init__.py
@@ -12,15 +11,6 @@
 ${PYSITELIB}/zeep/__main__.py
 ${PYSITELIB}/zeep/__main__.pyc
 ${PYSITELIB}/zeep/__main__.pyo
-${PYSITELIB}/zeep/asyncio/__init__.py
-${PYSITELIB}/zeep/asyncio/__init__.pyc
-${PYSITELIB}/zeep/asyncio/__init__.pyo
-${PYSITELIB}/zeep/asyncio/bindings.py
-${PLIST.py3x}${PYSITELIB}/zeep/asyncio/bindings.pyc
-${PLIST.py3x}${PYSITELIB}/zeep/asyncio/bindings.pyo
-${PYSITELIB}/zeep/asyncio/transport.py
-${PLIST.py3x}${PYSITELIB}/zeep/asyncio/transport.pyc
-${PLIST.py3x}${PYSITELIB}/zeep/asyncio/transport.pyo
 ${PYSITELIB}/zeep/cache.py
 ${PYSITELIB}/zeep/cache.pyc
 ${PYSITELIB}/zeep/cache.pyo
@@ -45,18 +35,10 @@
 ${PYSITELIB}/zeep/proxy.py
 ${PYSITELIB}/zeep/proxy.pyc
 ${PYSITELIB}/zeep/proxy.pyo
+${PYSITELIB}/zeep/py.typed
 ${PYSITELIB}/zeep/settings.py
 ${PYSITELIB}/zeep/settings.pyc
 ${PYSITELIB}/zeep/settings.pyo
-${PYSITELIB}/zeep/tornado/__init__.py
-${PYSITELIB}/zeep/tornado/__init__.pyc
-${PYSITELIB}/zeep/tornado/__init__.pyo
-${PYSITELIB}/zeep/tornado/bindings.py
-${PYSITELIB}/zeep/tornado/bindings.pyc
-${PYSITELIB}/zeep/tornado/bindings.pyo
-${PYSITELIB}/zeep/tornado/transport.py
-${PYSITELIB}/zeep/tornado/transport.pyc
-${PYSITELIB}/zeep/tornado/transport.pyo
 ${PYSITELIB}/zeep/transports.py
 ${PYSITELIB}/zeep/transports.pyc
 ${PYSITELIB}/zeep/transports.pyo
diff -r 23d4f1ce6ec2 -r 44a7ca6a23e9 net/py-zeep/distinfo
--- a/net/py-zeep/distinfo      Mon Dec 07 15:12:15 2020 +0000
+++ b/net/py-zeep/distinfo      Mon Dec 07 15:38:29 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2019/03/13 19:17:25 adam Exp $
+$NetBSD: distinfo,v 1.6 2020/12/07 15:38:29 adam Exp $
 
-SHA1 (zeep-3.3.1.tar.gz) = 4eda2a06596cd2ce6833abba38c8842ff90b0fff
-RMD160 (zeep-3.3.1.tar.gz) = e6dcc930cb28bbf8cac5d48dbba95f21abf5c067
-SHA512 (zeep-3.3.1.tar.gz) = 1f76ea34f3ff242a9a8ad4b01f827d4a4cf1550e905da74a035fb878535d0f7a9d702267a1e7d3b2dcebf0bcc18752ebca6f46289513b917f4620fdbdfe771da
-Size (zeep-3.3.1.tar.gz) = 161684 bytes
+SHA1 (zeep-4.0.0.tar.gz) = 2519d391fec9c62c50b75706185967c9c1cf1aaf
+RMD160 (zeep-4.0.0.tar.gz) = f93eba2bb4515f4d21e9135697d5649bf638d6e5
+SHA512 (zeep-4.0.0.tar.gz) = 1ccc59d6ad1979f291cd89d0ac73d7bfc886501d7939c7e788b700454c571deffcc5a93c0e4fee7d6bbce4ad3cc2b309a95da57bcc4551ee5b37111e2fbc0acb
+Size (zeep-4.0.0.tar.gz) = 163646 bytes



Home | Main Index | Thread Index | Old Index