aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/py-slackclient
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2016-03-03 15:09:00 +0800
committerkoobs <koobs@FreeBSD.org>2016-03-03 15:09:00 +0800
commitb981fb688841ae4f9ba513ba99e39219dc842fc7 (patch)
tree3a31c1c3f3f5520206a828e746b4bb931cc0a823 /net-im/py-slackclient
parent835b7bc43b9db1b0971fb375c4f381b3765b0d32 (diff)
downloadfreebsd-ports-gnome-b981fb688841ae4f9ba513ba99e39219dc842fc7.tar.gz
freebsd-ports-gnome-b981fb688841ae4f9ba513ba99e39219dc842fc7.tar.zst
freebsd-ports-gnome-b981fb688841ae4f9ba513ba99e39219dc842fc7.zip
net-im/py-slackclient: Update to 1.0.0
- Update PORTVERSION and distinfo checksum (1.0.0) - Switch to GitHub for DISTFILES (includes tests) [1] - Add test dependencies and target Changes: https://github.com/slackhq/python-slackclient/blob/1.0.0/CHANGELOG.md [1] https://github.com/slackhq/python-slackclient/pull/76
Diffstat (limited to 'net-im/py-slackclient')
-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