1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

[NEW] net/py-zeep: Modern/fast Python SOAP client based on lxml / requests

A fast and modern Python SOAP client
- Compatible with Python 2.7, 3.3, 3.4, 3.5, 3.6, 3.7 and PyPy
- Build on top of lxml and requests
- Support for Soap 1.1, Soap 1.2 and HTTP bindings
- Support for WS-Addressing headers
- Support for WSSE (UserNameToken / x.509 signing)
- Support for tornado async transport via gen.coroutine (Python 2.7+)
- Support for asyncio via aiohttp (Python 3.5+)
- Experimental support for XOP messages

WWW: https://python-zeep.readthedocs.io/
This commit is contained in:
Muhammad Moinur Rahman 2019-04-12 22:00:10 +00:00
parent bac29828b5
commit 516dc95ae8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=498767
4 changed files with 57 additions and 0 deletions

View File

@ -1138,6 +1138,7 @@
SUBDIR += py-wolframalpha
SUBDIR += py-wsproto
SUBDIR += py-xmlrpc
SUBDIR += py-zeep
SUBDIR += py-zeroconf
SUBDIR += py-zope.proxy
SUBDIR += py-zsi

42
net/py-zeep/Makefile Normal file
View File

@ -0,0 +1,42 @@
# Created by: Muhammad Moinur Rahman <bbofh@FreeBSD.org>
# $FreeBSD$
PORTNAME= zeep
PORTVERSION= 3.3.1
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Modern/fast Python SOAP client based on lxml / requests
LICENSE= BSD3CLAUSE MIT
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>=1.4.0:devel/py-appdirs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}attrs>=16.0.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.1.0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.7.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests-toolbelt>=0.7.1:www/py-requests-toolbelt@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tornado4>=4.0.2:www/py-tornado4@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xmlsec>=0.6.1:security/py-xmlsec@${PY_FLAVOR}
USES= python:3.4+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} > 3402
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}aiohttp>=2.3.5:www/py-aiohttp@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>

3
net/py-zeep/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1554668595
SHA256 (zeep-3.3.1.tar.gz) = f58328e36264a2fda2484dd20bb1695f4102a9cc918178d60c4d7cf8339c65d0
SIZE (zeep-3.3.1.tar.gz) = 161684

11
net/py-zeep/pkg-descr Normal file
View File

@ -0,0 +1,11 @@
A fast and modern Python SOAP client
- Compatible with Python 2.7, 3.3, 3.4, 3.5, 3.6, 3.7 and PyPy
- Build on top of lxml and requests
- Support for Soap 1.1, Soap 1.2 and HTTP bindings
- Support for WS-Addressing headers
- Support for WSSE (UserNameToken / x.509 signing)
- Support for tornado async transport via gen.coroutine (Python 2.7+)
- Support for asyncio via aiohttp (Python 3.5+)
- Experimental support for XOP messages
WWW: https://python-zeep.readthedocs.io/