git: 32981aecec64 - main - cleanup: Remove expired ports:

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Fri, 30 Sep 2022 20:34:31 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=32981aecec64cecfa151a919edf69dbc1e4f3953

commit 32981aecec64cecfa151a919edf69dbc1e4f3953
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2022-09-30 20:34:24 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2022-09-30 20:34:24 +0000

    cleanup: Remove expired ports:
    
    2022-09-30 www/py-ws4py: Upstream abandoned
---
 MOVED                          |  1 +
 www/Makefile                   |  1 -
 www/py-ws4py/Makefile          | 47 ------------------------------------------
 www/py-ws4py/distinfo          |  3 ---
 www/py-ws4py/files/patch-async | 31 ----------------------------
 www/py-ws4py/pkg-descr         |  4 ----
 6 files changed, 1 insertion(+), 86 deletions(-)

diff --git a/MOVED b/MOVED
index 57a63374a692..e9249a1c3eb6 100644
--- a/MOVED
+++ b/MOVED
@@ -17574,3 +17574,4 @@ audio/aacplusenc||2022-09-30|Has expired: Legacy audio format, superseded by HE-
 net/libmms||2022-09-30|Has expired: Obsolete, Microsoft deprecated MMS protocol in favour of RTSP in 2003
 audio/mctoolame-decoder||2022-09-30|Has expired: Legacy and obscure audio format that never gained any traction
 audio/mctoolame-encoder||2022-09-30|Has expired: Legacy and obscure audio format that never gained any traction
+www/py-ws4py||2022-09-30|Has expired: Upstream abandoned
diff --git a/www/Makefile b/www/Makefile
index f5062a432e09..4462637d4a7d 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1789,7 +1789,6 @@
     SUBDIR += py-wikitools
     SUBDIR += py-woob
     SUBDIR += py-woob-qt
-    SUBDIR += py-ws4py
     SUBDIR += py-wsaccel
     SUBDIR += py-wsgidav
     SUBDIR += py-yarl
diff --git a/www/py-ws4py/Makefile b/www/py-ws4py/Makefile
deleted file mode 100644
index f446c07d6b64..000000000000
--- a/www/py-ws4py/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-PORTNAME=	ws4py
-PORTVERSION=	0.5.1
-CATEGORIES=	www python
-MASTER_SITES=	CHEESESHOP
-PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-
-MAINTAINER=	bofh@FreeBSD.org
-COMMENT=	WebSocket package for Python
-WWW=		https://github.com/Lawouach/WebSocket-for-Python
-
-LICENSE=	BSD3CLAUSE
-
-DEPRECATED=	Upstream abandoned
-EXPIRATION_DATE=	2022-09-30
-
-USES=		python:3.6-3.9
-USE_PYTHON=	autoplist distutils
-
-NO_ARCH=	yes
-
-OPTIONS_DEFINE=		CHERRYPY GEVENT TORNADO
-OPTIONS_DEFAULT=	CHERRYPY GEVENT
-CHERRYPY_DESC=		CherryPy server support
-GEVENT_DESC=		gevent-based client/server support
-TORNADO_DESC=		Tornado client support
-
-CHERRYPY_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cherrypy>=3.2.2:www/py-cherrypy@${PY_FLAVOR}
-GEVENT_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gevent>=0.13.8:devel/py-gevent@${PY_FLAVOR}
-TORNADO_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tornado>=3.1:www/py-tornado@${PY_FLAVOR}
-
-# Do not install files which will not work
-post-patch-CHERRYPY-off:
-.for f in test/test_cherrypy.py ws4py/server/cherrypyserver.py
-	@${RM} ${WRKSRC}/${f}
-.endfor
-
-post-patch-GEVENT-off:
-.for f in ws4py/client/geventclient.py ws4py/server/geventserver.py
-	@${RM} ${WRKSRC}/${f}
-.endfor
-
-post-patch-TORNADO-off:
-.for f in ws4py/client/tornadoclient.py
-	@${RM} ${WRKSRC}/${f}
-.endfor
-
-.include <bsd.port.mk>
diff --git a/www/py-ws4py/distinfo b/www/py-ws4py/distinfo
deleted file mode 100644
index d8edea239369..000000000000
--- a/www/py-ws4py/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1654520585
-SHA256 (ws4py-0.5.1.tar.gz) = 29d073d7f2e006373e6a848b1d00951a1107eb81f3742952be905429dc5a5483
-SIZE (ws4py-0.5.1.tar.gz) = 51408
diff --git a/www/py-ws4py/files/patch-async b/www/py-ws4py/files/patch-async
deleted file mode 100644
index 1ff9bea881b2..000000000000
--- a/www/py-ws4py/files/patch-async
+++ /dev/null
@@ -1,31 +0,0 @@
---- ws4py/async_websocket.py.orig	2014-01-25 21:30:21 UTC
-+++ ws4py/async_websocket.py
-@@ -84,7 +84,7 @@ class WebSocket(_WebSocket):
-         def closeit():
-             yield from self.proto.writer.drain()
-             self.proto.writer.close()
--        asyncio.async(closeit())
-+        asyncio.ensure_future(closeit())
- 
-     def _write(self, data):
-         """
-@@ -94,7 +94,7 @@ class WebSocket(_WebSocket):
-         def sendit(data):
-             self.proto.writer.write(data)
-             yield from self.proto.writer.drain()
--        asyncio.async(sendit(data))
-+        asyncio.ensure_future(sendit(data))
- 
-     @asyncio.coroutine
-     def run(self):
---- ws4py/server/tulipserver.py.orig	2014-01-25 21:30:21 UTC
-+++ ws4py/server/tulipserver.py
-@@ -40,7 +40,7 @@ class WebSocketProtocol(asyncio.StreamReaderProtocol):
-         #self.stream.set_transport(transport)
-         asyncio.StreamReaderProtocol.connection_made(self, transport)
-         # Let make it concurrent for others to tag along
--        f = asyncio.async(self.handle_initial_handshake())
-+        f = asyncio.ensure_future(self.handle_initial_handshake())
-         f.add_done_callback(self.terminated)
- 
-     @property
diff --git a/www/py-ws4py/pkg-descr b/www/py-ws4py/pkg-descr
deleted file mode 100644
index f8e60aeb98a5..000000000000
--- a/www/py-ws4py/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-ws4py is a Python package implementing the WebSocket protocol as defined
-in RFC 6455.  It provides client and server implementations alike that
-can be using different techniques like threads, micro-threads,
-or event loops.