git: 6c7d0e97897f - main - net-im/py-slackclient: Update version 2.1.0=>2.9.3

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 14 Mar 2022 10:32:46 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6c7d0e97897fb5c7a2558827d627aa6f0f9a1960

commit 6c7d0e97897fb5c7a2558827d627aa6f0f9a1960
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-03-14 10:29:41 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-03-14 10:32:35 +0000

    net-im/py-slackclient: Update version 2.1.0=>2.9.3
    
    - Mark DEPRECATED as upstream hasstalled develeopment in lieu of
      slack-client which is in the ports tree now
    - Set EXPIRATION_DATE to 2022-06-30
    - Disable test as GH repo is no longer available and PyPi sdist do not
      contain tests
    
    Relnotes: https://pypi.org/project/slackclient/2.9.3/#history
---
 net-im/py-slackclient/Makefile | 27 +++++++++++++--------------
 net-im/py-slackclient/distinfo |  6 +++---
 2 files changed, 16 insertions(+), 17 deletions(-)

diff --git a/net-im/py-slackclient/Makefile b/net-im/py-slackclient/Makefile
index 8207e9510130..d5fafb78fd9e 100644
--- a/net-im/py-slackclient/Makefile
+++ b/net-im/py-slackclient/Makefile
@@ -1,9 +1,9 @@
 # Created by: Kubilay Kocak <koobs@FreeBSD.org>
 
 PORTNAME=	slackclient
-PORTVERSION=	2.1.0
-DISTVERSIONPREFIX=v
+PORTVERSION=	2.9.3
 CATEGORIES=	net-im python
+MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	bofh@FreeBSD.org
@@ -12,28 +12,27 @@ COMMENT=	Slack API clients for Web API and RTM API
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Use net-im/py-slack-sdk
+EXPIRATION_DATE=	2022-06-30
+
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiohttp>3.5.2:www/py-aiohttp@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+#TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
 
 USES=		python:3.6+
-
-USE_GITHUB=	yes
 USE_PYTHON=	autoplist distutils
 
+NO_ARCH=	yes
+
 OPTIONS_DEFINE=		ASYNCDNS
 OPTIONS_DEFAULT=	ASYNCDNS
 
-ASYNCDNS_DESC=		Asyncronous DNS support
-ASYNCDNS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiodns>1.0:dns/py-aiodns@${PY_FLAVOR}
-
-# Does not currently include tests in sdist
-GH_ACCOUNT=	slackapi
-GH_PROJECT=	python-${PORTNAME}
+ASYNCDNS_DESC=	Asyncronous DNS support
 
-NO_ARCH=	yes
+ASYNCDNS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiodns>1.0:dns/py-aiodns@${PY_FLAVOR}
 
-do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
+# slackclient has been moved to slack-sdk and GH repo is unavailable
+# do-test:
+#	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
 
 .include <bsd.port.mk>
diff --git a/net-im/py-slackclient/distinfo b/net-im/py-slackclient/distinfo
index d840a5038ace..61831825c99c 100644
--- a/net-im/py-slackclient/distinfo
+++ b/net-im/py-slackclient/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1566212113
-SHA256 (slackapi-python-slackclient-v2.1.0_GH0.tar.gz) = 247df5df4d5c83aa37f801fa272855c2c4c549492664117919e9a23fc4a3b21c
-SIZE (slackapi-python-slackclient-v2.1.0_GH0.tar.gz) = 352815
+TIMESTAMP = 1647077927
+SHA256 (slackclient-2.9.3.tar.gz) = 07ec8fa76f6aa64852210ae235ff9e637ba78124e06c0b07a7eeea4abb955965
+SIZE (slackclient-2.9.3.tar.gz) = 89850