aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net-im/py-slackclient/Makefile11
-rw-r--r--net-im/py-slackclient/distinfo4
2 files changed, 11 insertions, 4 deletions
diff --git a/net-im/py-slackclient/Makefile b/net-im/py-slackclient/Makefile
index b8f4d60825e3..613133230ede 100644
--- a/net-im/py-slackclient/Makefile
+++ b/net-im/py-slackclient/Makefile
@@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= slackclient
-PORTVERSION= 0.18.0
+PORTVERSION= 1.0.0
CATEGORIES= net-im python
-MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
@@ -14,10 +13,18 @@ LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}websocket-client>0:${PORTSDIR}/www/py-websocket-client \
${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest
USES= python:-2.7
+USE_GITHUB= yes
USE_PYTHON= autoplist distutils
+GH_ACCOUNT= slackhq
+GH_PROJECT= python-${PORTNAME}
+
NO_ARCH= yes
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
+
.include <bsd.port.mk>
diff --git a/net-im/py-slackclient/distinfo b/net-im/py-slackclient/distinfo
index bce9bc795fb0..bba7868f7f10 100644
--- a/net-im/py-slackclient/distinfo
+++ b/net-im/py-slackclient/distinfo
@@ -1,2 +1,2 @@
-SHA256 (slackclient-0.18.0.tar.gz) = d623bfce4a014f0ff115d94697931278e870b7544cd24727445ec5e9948ad9c1
-SIZE (slackclient-0.18.0.tar.gz) = 3439
+SHA256 (slackhq-python-slackclient-1.0.0_GH0.tar.gz) = 587e8f3724fb373e2289cf94f764f4a0c3533533bd0682d36b1a93907da17006
+SIZE (slackhq-python-slackclient-1.0.0_GH0.tar.gz) = 10126