git: 154fcb1b0cd1 - main - net/py-soap2py: Remove expired port

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 06 Jun 2024 07:49:11 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=154fcb1b0cd1fe1263de26820ca96cfe498848b5

commit 154fcb1b0cd1fe1263de26820ca96cfe498848b5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-06-06 07:31:09 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-06-06 07:48:01 +0000

    net/py-soap2py: Remove expired port
---
 MOVED                                             |  1 +
 net/Makefile                                      |  1 -
 net/py-soap2py/Makefile                           | 26 ------------------
 net/py-soap2py/distinfo                           |  3 ---
 net/py-soap2py/files/patch-pysimplesoap-c14n.py   | 32 -----------------------
 net/py-soap2py/files/patch-pysimplesoap-xmlsec.py | 21 ---------------
 net/py-soap2py/pkg-descr                          | 19 --------------
 7 files changed, 1 insertion(+), 102 deletions(-)

diff --git a/MOVED b/MOVED
index ce93378f8503..0511a4804e02 100644
--- a/MOVED
+++ b/MOVED
@@ -3273,3 +3273,4 @@ www/mod_auth_openid||2024-05-29|Has expired: Depends on expired devel/libopkele
 devel/libopkele||2024-05-29|Has expired: Last upstream release was in 2009
 graphics/vkd3d||2024-05-30|No consumers in ports
 www/pear-Structures_DataGrid_Renderer_Smarty||2024-06-05|Remove expired port
+net/py-soap2py||2024-06-05|Remove expired port
diff --git a/net/Makefile b/net/Makefile
index 3d8d6773210e..adc97760007b 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1153,7 +1153,6 @@
     SUBDIR += py-smart-open
     SUBDIR += py-smbpasswd
     SUBDIR += py-smbprotocol
-    SUBDIR += py-soap2py
     SUBDIR += py-socketio-client
     SUBDIR += py-socksio
     SUBDIR += py-softlayer
diff --git a/net/py-soap2py/Makefile b/net/py-soap2py/Makefile
deleted file mode 100644
index 0e783f95f174..000000000000
--- a/net/py-soap2py/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-PORTNAME=	soap2py
-PORTVERSION=	1.16
-CATEGORIES=	net www python
-MASTER_SITES=	PYPI
-PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-
-MAINTAINER=	sunpoet@FreeBSD.org
-COMMENT=	Python simple and lightweight SOAP Library
-WWW=		https://github.com/pysimplesoap/pysimplesoap
-
-LICENSE=	LGPL3+
-
-DEPRECATED=	Use net/py-pysimplesoap instead
-EXPIRATION_DATE=2024-05-31
-
-USES=		python
-USE_PYTHON=	autoplist concurrent distutils
-
-NO_ARCH=	yes
-
-PLIST_FILES=	${PYTHON_SITELIBDIR}/${PYDISTUTILS_EGGINFO}/PKG-INFO \
-		${PYTHON_SITELIBDIR}/${PYDISTUTILS_EGGINFO}/SOURCES.txt \
-		${PYTHON_SITELIBDIR}/${PYDISTUTILS_EGGINFO}/dependency_links.txt \
-		${PYTHON_SITELIBDIR}/${PYDISTUTILS_EGGINFO}/top_level.txt
-
-.include <bsd.port.mk>
diff --git a/net/py-soap2py/distinfo b/net/py-soap2py/distinfo
deleted file mode 100644
index cb0684334b5a..000000000000
--- a/net/py-soap2py/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1489401657
-SHA256 (soap2py-1.16.tar.gz) = 69a6253f8f6ac8d6b69369fb7b17eb595e8b185ca3e9fc90a21601c66265f9cb
-SIZE (soap2py-1.16.tar.gz) = 40032
diff --git a/net/py-soap2py/files/patch-pysimplesoap-c14n.py b/net/py-soap2py/files/patch-pysimplesoap-c14n.py
deleted file mode 100644
index 43cf4e18cafc..000000000000
--- a/net/py-soap2py/files/patch-pysimplesoap-c14n.py
+++ /dev/null
@@ -1,32 +0,0 @@
---- pysimplesoap/c14n.py.orig	2014-09-17 01:42:27 UTC
-+++ pysimplesoap/c14n.py
-@@ -174,7 +174,7 @@ class _implementation:
-         elif node.nodeType == Node.DOCUMENT_TYPE_NODE:
-             pass
-         else:
--            raise TypeError, str(node)
-+            raise TypeError(str(node))
- 
- 
-     def _inherit_context(self, node):
-@@ -217,7 +217,7 @@ class _implementation:
-             elif child.nodeType == Node.DOCUMENT_TYPE_NODE:
-                 pass
-             else:
--                raise TypeError, str(child)
-+                raise TypeError(str(child))
-     handlers[Node.DOCUMENT_NODE] = _do_document
- 
- 
-@@ -346,9 +346,9 @@ class _implementation:
-                     
-                 if not ns_rendered.has_key(prefix) and not ns_local.has_key(prefix):
-                     if not ns_unused_inherited.has_key(prefix):
--                        raise RuntimeError,\
-+                        raise RuntimeError(\
-                             'For exclusive c14n, unable to map prefix "%s" in %s' %(
--                            prefix, node)
-+                            prefix, node))
-                     
-                     ns_local[prefix] = ns_unused_inherited[prefix]
-                     del ns_unused_inherited[prefix]
diff --git a/net/py-soap2py/files/patch-pysimplesoap-xmlsec.py b/net/py-soap2py/files/patch-pysimplesoap-xmlsec.py
deleted file mode 100644
index 6f77f51f3080..000000000000
--- a/net/py-soap2py/files/patch-pysimplesoap-xmlsec.py
+++ /dev/null
@@ -1,21 +0,0 @@
---- pysimplesoap/xmlsec.py.orig	2014-09-17 02:33:34 UTC
-+++ pysimplesoap/xmlsec.py
-@@ -203,15 +203,15 @@ def x509_verify(cacert, cert, binary=Fal
- if __name__ == "__main__":
-     # basic test of enveloping signature (the reference is a part of the xml)
-     sample_xml = """<Object xmlns="http://www.w3.org/2000/09/xmldsig#" Id="object">data</Object>"""
--    print canonicalize(sample_xml)
-+    print(canonicalize(sample_xml))
-     vars = rsa_sign(sample_xml, '#object', "no_encriptada.key", "password")
--    print SIGNED_TMPL % vars
-+    print(SIGNED_TMPL % vars)
- 
-     # basic test of enveloped signature (the reference is the document itself)
-     sample_xml = """<?xml version="1.0" encoding="UTF-8"?><Object>data%s</Object>"""
-     vars = rsa_sign(sample_xml % "", '', "no_encriptada.key", "password",
-                     sign_template=SIGN_ENV_TMPL, c14n_exc=False)
--    print sample_xml % (SIGNATURE_TMPL % vars)
-+    print(sample_xml % (SIGNATURE_TMPL % vars))
- 
-     # basic signature verification:
-     public_key = x509_extract_rsa_public_key(open("zunimercado.crt").read())
diff --git a/net/py-soap2py/pkg-descr b/net/py-soap2py/pkg-descr
deleted file mode 100644
index c57e046e5b18..000000000000
--- a/net/py-soap2py/pkg-descr
+++ /dev/null
@@ -1,19 +0,0 @@
-PySimpleSOAP (Python Simple 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 it
-functionality, simplicity and ease of use), with many advanced features added.
-
-Goals:
-- Simple: less than 200LOC client/server concrete implementation for easy
-  maintainability and enhancments.
-- Flexible: adapted to several SOAP dialects (Java Axis, .Net, JBoss), with the
-  posibility of fine-tuning XML request and responses
-- Pythonic: no artifacts, no class generation, no special types, RPC calls
-  parameters and return values are simple python structures (dicts, list, etc.)
-- Dynamic: no definition (WSDL) required, dynamic generation and parsing
-  supported (cached in a pickle file for performance, supporting fixing broken
-  WSDL)
-- Easy: simple xml manipulation, including basic serialization and raw
-  object-like access to SOAP messages
-- Extensible: supports several HTTP wrappers (httplib2, pycurl, urllib2) for
-  special transport needs over SSL and proxy (ISA)