git: 75abab400d5b - main - net/py-pysimplesoap: Add py-pysimplesoap 1.16.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 16 May 2024 06:29:21 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=75abab400d5b969c32ee1beab25164de21226971

commit 75abab400d5b969c32ee1beab25164de21226971
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-16 06:13:34 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-16 06:21:47 +0000

    net/py-pysimplesoap: Add py-pysimplesoap 1.16.2
    
    Python simple and lightweight SOAP library for client and server webservices
    interfaces, aimed to be as small and easy as possible, supporting most common
    functionality. Initially it was inspired by PHP Soap Extension (mimicking its
    functionality, simplicity and ease of use), with many advanced features added.
---
 net/Makefile                             |  1 +
 net/py-pysimplesoap/Makefile             | 22 ++++++++++++++++++++++
 net/py-pysimplesoap/distinfo             |  3 +++
 net/py-pysimplesoap/files/patch-setup.py | 11 +++++++++++
 net/py-pysimplesoap/pkg-descr            |  4 ++++
 5 files changed, 41 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index e400ec47b8c4..61f65e6fe8e2 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1113,6 +1113,7 @@
     SUBDIR += py-pyroute2.protocols
     SUBDIR += py-pysendfile
     SUBDIR += py-pyshark
+    SUBDIR += py-pysimplesoap
     SUBDIR += py-pysmb
     SUBDIR += py-pysocks
     SUBDIR += py-pystun
diff --git a/net/py-pysimplesoap/Makefile b/net/py-pysimplesoap/Makefile
new file mode 100644
index 000000000000..2cfd64dad90f
--- /dev/null
+++ b/net/py-pysimplesoap/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	pysimplesoap
+PORTVERSION=	1.16.2
+CATEGORIES=	net python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	PySimpleSOAP-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Python simple and lightweight SOAP Library
+WWW=		https://github.com/pysimplesoap/pysimplesoap
+
+LICENSE=	LGPL3+
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/net/py-pysimplesoap/distinfo b/net/py-pysimplesoap/distinfo
new file mode 100644
index 000000000000..4b50615c584a
--- /dev/null
+++ b/net/py-pysimplesoap/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1714227790
+SHA256 (PySimpleSOAP-1.16.2.tar.gz) = b1bbf4d0d0adff9b652197d61aa1b76731ad618849e27d28fe5cb250916d67e1
+SIZE (PySimpleSOAP-1.16.2.tar.gz) = 44273
diff --git a/net/py-pysimplesoap/files/patch-setup.py b/net/py-pysimplesoap/files/patch-setup.py
new file mode 100644
index 000000000000..646535dd0e0b
--- /dev/null
+++ b/net/py-pysimplesoap/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2017-12-03 17:06:13 UTC
++++ setup.py
+@@ -25,7 +25,7 @@ setup(
+         warnings.warn("Exception when converting the README format: %s" % e)
+ 
+ setup(
+-    name='PySimpleSOAP',
++    name='pysimplesoap',
+     version=__version__,
+     description='Python simple and lightweight SOAP Library',
+     long_description=long_desc,
diff --git a/net/py-pysimplesoap/pkg-descr b/net/py-pysimplesoap/pkg-descr
new file mode 100644
index 000000000000..51303894b405
--- /dev/null
+++ b/net/py-pysimplesoap/pkg-descr
@@ -0,0 +1,4 @@
+Python simple and lightweight SOAP library for client and server webservices
+interfaces, aimed to be as small and easy as possible, supporting most common
+functionality. Initially it was inspired by PHP Soap Extension (mimicking its
+functionality, simplicity and ease of use), with many advanced features added.