git: e491bcd3530d - main - net/py-suds-community: Add py-suds-community 0.8.5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Oct 2021 16:01:03 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e491bcd3530d8dd8e785a06dbbbea0903274f5ab
commit e491bcd3530d8dd8e785a06dbbbea0903274f5ab
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-10-25 14:43:48 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-10-25 15:57:05 +0000
net/py-suds-community: Add py-suds-community 0.8.5
Suds is a lightweight SOAP-based web service client for Python licensed under
LGPL. This is a community fork of the jurko fork.
WWW: https://github.com/suds-community/suds
---
net/Makefile | 1 +
net/py-suds-community/Makefile | 22 ++++++++++++++++++++++
net/py-suds-community/distinfo | 3 +++
net/py-suds-community/files/patch-setup.py | 16 ++++++++++++++++
net/py-suds-community/pkg-descr | 4 ++++
5 files changed, 46 insertions(+)
diff --git a/net/Makefile b/net/Makefile
index 38dcfcc5b213..8bf717e30664 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1135,6 +1135,7 @@
SUBDIR += py-sshtunnel
SUBDIR += py-sshuttle
SUBDIR += py-stomp.py
+ SUBDIR += py-suds-community
SUBDIR += py-suds-jurko
SUBDIR += py-tacacs_plus
SUBDIR += py-terminado
diff --git a/net/py-suds-community/Makefile b/net/py-suds-community/Makefile
new file mode 100644
index 000000000000..bd9bc015fe34
--- /dev/null
+++ b/net/py-suds-community/Makefile
@@ -0,0 +1,22 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= suds-community
+PORTVERSION= 0.8.5
+CATEGORIES= net python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Lightweight SOAP client (community fork)
+
+LICENSE= LGPL3
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/net/py-suds-community/distinfo b/net/py-suds-community/distinfo
new file mode 100644
index 000000000000..cdedd374fe4e
--- /dev/null
+++ b/net/py-suds-community/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1634391082
+SHA256 (suds-community-0.8.5.tar.gz) = 6412d45027bc8e85f96749470598eafaecf368093467d2f2d5afa2e6dd953140
+SIZE (suds-community-0.8.5.tar.gz) = 277891
diff --git a/net/py-suds-community/files/patch-setup.py b/net/py-suds-community/files/patch-setup.py
new file mode 100644
index 000000000000..4428d9ac41f4
--- /dev/null
+++ b/net/py-suds-community/files/patch-setup.py
@@ -0,0 +1,16 @@
+--- setup.py.orig 2021-05-15 19:43:51 UTC
++++ setup.py
+@@ -579,13 +579,6 @@ if sys.version_info >= (2, 5):
+ # -----------------------------------------------------------------------------
+
+ if sys.version_info >= (3,):
+- # Integrate the py2to3 step into our build.
+- if using_setuptools:
+- extra_setup_params["use_2to3"] = True
+- else:
+- from distutils.command.build_py import build_py_2to3
+- distutils_cmdclass["build_py"] = build_py_2to3
+-
+ # Teach Python's urllib lib2to3 fixer that the old urllib2.__version__ data
+ # member is now stored in the urllib.request module.
+ import lib2to3.fixes.fix_urllib
diff --git a/net/py-suds-community/pkg-descr b/net/py-suds-community/pkg-descr
new file mode 100644
index 000000000000..5c2c23dc7f84
--- /dev/null
+++ b/net/py-suds-community/pkg-descr
@@ -0,0 +1,4 @@
+Suds is a lightweight SOAP-based web service client for Python licensed under
+LGPL. This is a community fork of the jurko fork.
+
+WWW: https://github.com/suds-community/suds