svn commit: r503027 - in head/devel: . py-zeep py-zeep/files
Steve Wills
swills at FreeBSD.org
Thu May 30 01:55:13 UTC 2019
Author: swills
Date: Thu May 30 01:55:11 2019
New Revision: 503027
URL: https://svnweb.freebsd.org/changeset/ports/503027
Log:
devel/py-zeep: create port
A fast and modern Python SOAP client.
* Compatible with Python 2.7, 3,3, 3.4, 3.5, 3.6 and PyPy.
* Supports Soap 1.1, Soap 1.2, and HTTP bindings.
* Support for tornado async transport via gen.coroute (Python 2.7+).
* Support for asyncio vi aiohttp (Python 3.5+).
Please see for more information the documentation at
WWW: http://docs.python-zeep.org.
PR: 229496
Submitted by: guiseofreality at gmail.com
Submitted by: Marcin Cieślak <saper at saper.info> (update, improvements)
Added:
head/devel/py-zeep/
head/devel/py-zeep/Makefile (contents, props changed)
head/devel/py-zeep/distinfo (contents, props changed)
head/devel/py-zeep/files/
head/devel/py-zeep/files/patch-setup.py (contents, props changed)
head/devel/py-zeep/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile (contents, props changed)
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Thu May 30 01:47:53 2019 (r503026)
+++ head/devel/Makefile Thu May 30 01:55:11 2019 (r503027)
@@ -5105,6 +5105,7 @@
SUBDIR += py-zc.buildout
SUBDIR += py-zclockfile
SUBDIR += py-zconfig
+ SUBDIR += py-zeep
SUBDIR += py-zipp
SUBDIR += py-zkpython
SUBDIR += py-zope.annotation
Added: head/devel/py-zeep/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-zeep/Makefile Thu May 30 01:55:11 2019 (r503027)
@@ -0,0 +1,49 @@
+# $FreeBSD$
+
+PORTNAME= zeep
+PORTVERSION= 3.3.1
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= guiseofreality at gmail.com
+COMMENT= Modern/fast python SOAP client based on lxml / requests
+
+LICENSE= MIT
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>=1.4.0:devel/py-appdirs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}attrs>=17.2.0:devel/py-attrs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}cached-property>=1.3.0:devel/py-cached-property@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}defusedxml>=0.4.1:devel/py-defusedxml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}isodate>=0.5.4:devel/py-isodate@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>=3.0.0:devel/py-lxml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests-toolbelt>=0.7.1:www/py-requests-toolbelt@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.7.0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flake8>=3.3.0:devel/py-flake8@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}freezegun>=0.3.8:devel/py-freezegun@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}isort>=4.2.15:devel/py-isort@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}mock==2.0.0:devel/py-mock@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pretend>=1.0.8:devel/py-pretend@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.5.1:devel/py-pytest-cov@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-tornado>=0.4.5:devel/py-pytest-tornado@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest>=3.1.3:devel/py-pytest@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests-mock>=0.7.0:www/py-requests-mock@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+.if ${PYTHON_VER} < 3.5
+ ${RM} -r ${WRKSRC}/examples/async_client.py ${WRKSRC}/src/zeep/asyncio ${WRKSRC}/tests/test_asyncio_transport.py
+.endif
+
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
+.include <bsd.port.post.mk>
Added: head/devel/py-zeep/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-zeep/distinfo Thu May 30 01:55:11 2019 (r503027)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1553172622
+SHA256 (zeep-3.3.1.tar.gz) = f58328e36264a2fda2484dd20bb1695f4102a9cc918178d60c4d7cf8339c65d0
+SIZE (zeep-3.3.1.tar.gz) = 161684
Added: head/devel/py-zeep/files/patch-setup.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-zeep/files/patch-setup.py Thu May 30 01:55:11 2019 (r503027)
@@ -0,0 +1,33 @@
+--- setup.py.orig 2019-03-21 16:32:48 UTC
++++ setup.py
+@@ -31,20 +31,20 @@ xmlsec_require = [
+ ]
+
+ tests_require = [
+- 'freezegun==0.3.8',
++ 'freezegun>=0.3.8',
+ 'mock==2.0.0',
+- 'pretend==1.0.8',
+- 'pytest-cov==2.5.1',
+- 'pytest==3.1.3',
++ 'pretend>=1.0.8',
++ 'pytest-cov>=2.5.1',
++ 'pytest>=3.1.3',
+ 'requests_mock>=0.7.0',
+- 'pytest-tornado==0.4.5',
++ 'pytest-tornado>=0.4.5',
+
+ # Linting
+- 'isort==4.2.15',
+- 'flake8==3.3.0',
+- 'flake8-blind-except==0.1.1',
+- 'flake8-debugger==1.4.0',
+- 'flake8-imports==0.1.1',
++ 'isort>=4.2.15',
++ 'flake8>=3.3.0',
++ 'flake8-blind-except>=0.1.1',
++ 'flake8-debugger>=1.4.0',
++ 'flake8-imports>=0.1.1',
+ ]
+
+
Added: head/devel/py-zeep/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-zeep/pkg-descr Thu May 30 01:55:11 2019 (r503027)
@@ -0,0 +1,8 @@
+A fast and modern Python SOAP client.
+* Compatible with Python 2.7, 3,3, 3.4, 3.5, 3.6 and PyPy.
+* Supports Soap 1.1, Soap 1.2, and HTTP bindings.
+* Support for tornado async transport via gen.coroute (Python 2.7+).
+* Support for asyncio vi aiohttp (Python 3.5+).
+
+Please see for more information the documentation at
+WWW: http://docs.python-zeep.org.
More information about the svn-ports-all
mailing list