Skip to content

Commit

Permalink
net-im/py-slackclient: Update version 2.1.0=>2.9.3
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
5u623l20 committed Mar 14, 2022
1 parent 2969348 commit 6c7d0e9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 17 deletions.
27 changes: 13 additions & 14 deletions 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
Expand All @@ -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>
6 changes: 3 additions & 3 deletions 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

0 comments on commit 6c7d0e9

Please sign in to comment.