From b981fb688841ae4f9ba513ba99e39219dc842fc7 Mon Sep 17 00:00:00 2001 From: koobs Date: Thu, 3 Mar 2016 07:09:00 +0000 Subject: 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 --- net-im/py-slackclient/Makefile | 11 +++++++++-- net-im/py-slackclient/distinfo | 4 ++-- 2 files changed, 11 insertions(+), 4 deletions(-) (limited to 'net-im/py-slackclient') 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 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 -- cgit