git: 4244d4e77e16 - main - www/py-ws4py: Update version 0.3.4=>0.5.1

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 06 Jun 2022 21:56:58 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4244d4e77e167a017a487e55f806724e7e2548b6

commit 4244d4e77e167a017a487e55f806724e7e2548b6
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-06-06 21:32:51 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-06-06 21:56:48 +0000

    www/py-ws4py: Update version 0.3.4=>0.5.1
    
    - Mark DEPRECATED as upstream has abandoned the project
    - Set EXPIRATION_DATE on 2022-09-30
    - Update WWW
    
    Relnotes:
    https://github.com/Lawouach/WebSocket-for-Python/releases/tag/0.5.1
---
 www/py-ws4py/Makefile  | 19 +++++++++++--------
 www/py-ws4py/distinfo  |  5 +++--
 www/py-ws4py/pkg-descr |  2 +-
 3 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/www/py-ws4py/Makefile b/www/py-ws4py/Makefile
index 56087f993735..0926424729fc 100644
--- a/www/py-ws4py/Makefile
+++ b/www/py-ws4py/Makefile
@@ -1,7 +1,7 @@
 # Created by: rene@FreeBSD.org
 
 PORTNAME=	ws4py
-PORTVERSION=	0.3.4
+PORTVERSION=	0.5.1
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,16 +11,19 @@ COMMENT=	WebSocket package for Python
 
 LICENSE=	BSD3CLAUSE
 
-USES=		python:3.6+
-USE_PYTHON=	distutils autoplist
+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
+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}
diff --git a/www/py-ws4py/distinfo b/www/py-ws4py/distinfo
index 12e51e388ef9..d8edea239369 100644
--- a/www/py-ws4py/distinfo
+++ b/www/py-ws4py/distinfo
@@ -1,2 +1,3 @@
-SHA256 (ws4py-0.3.4.tar.gz) = 85d5c01bb0d031e151a32fad56094caf54e20c2ddb51cf25b5709421ff92d007
-SIZE (ws4py-0.3.4.tar.gz) = 38421
+TIMESTAMP = 1654520585
+SHA256 (ws4py-0.5.1.tar.gz) = 29d073d7f2e006373e6a848b1d00951a1107eb81f3742952be905429dc5a5483
+SIZE (ws4py-0.5.1.tar.gz) = 51408
diff --git a/www/py-ws4py/pkg-descr b/www/py-ws4py/pkg-descr
index 3c10ea4f9538..76b8e035ec49 100644
--- a/www/py-ws4py/pkg-descr
+++ b/www/py-ws4py/pkg-descr
@@ -3,4 +3,4 @@ in RFC 6455.  It provides client and server implementations alike that
 can be using different techniques like threads, micro-threads,
 or event loops.
 
-WWW: http://www.defuze.org/oss/ws4py/docs/
+WWW: https://github.com/Lawouach/WebSocket-for-Python