aboutsummaryrefslogtreecommitdiff
path: root/net-im/py-slackclient
diff options
context:
space:
mode:
authorKubilay Kocak <koobs@FreeBSD.org>2018-05-11 06:40:27 +0000
committerKubilay Kocak <koobs@FreeBSD.org>2018-05-11 06:40:27 +0000
commit781fe2df27d70b149b67d8678d43cd3290e5c460 (patch)
treed3de556d1d06accf2dc6b75eb0dff6609d78f239 /net-im/py-slackclient
parent11878b68ef9003ad2625ebfd1153a6222f9dcf43 (diff)
downloadports-781fe2df27d70b149b67d8678d43cd3290e5c460.tar.gz
ports-781fe2df27d70b149b67d8678d43cd3290e5c460.zip
Notes
Diffstat (limited to 'net-im/py-slackclient')
-rw-r--r--net-im/py-slackclient/Makefile17
-rw-r--r--net-im/py-slackclient/distinfo6
2 files changed, 13 insertions, 10 deletions
diff --git a/net-im/py-slackclient/Makefile b/net-im/py-slackclient/Makefile
index 8783e473770a..7c6ceb23fee0 100644
--- a/net-im/py-slackclient/Makefile
+++ b/net-im/py-slackclient/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= slackclient
-PORTVERSION= 1.1.0
+PORTVERSION= 1.2.1
CATEGORIES= net-im python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,21 +11,24 @@ COMMENT= Python client for Slack.com
LICENSE= MIT
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}websocket-client>0:www/py-websocket-client@${FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}websocket-client>=0.35:www/py-websocket-client@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.11:www/py-requests@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}six>=1.10:devel/py-six@${FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}responses>0:devel/py-responses@${FLAVOR}
-USES= python:-2.7
+USES= python
USE_GITHUB= yes
USE_PYTHON= autoplist distutils
-GH_ACCOUNT= slackhq
+# Does not currently include tests in sdist
+GH_ACCOUNT= slackapi
GH_PROJECT= python-${PORTNAME}
NO_ARCH= yes
do-test:
- @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v
.include <bsd.port.mk>
diff --git a/net-im/py-slackclient/distinfo b/net-im/py-slackclient/distinfo
index d452dcdae8d7..40e706f5deca 100644
--- a/net-im/py-slackclient/distinfo
+++ b/net-im/py-slackclient/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1511699929
-SHA256 (slackhq-python-slackclient-1.1.0_GH0.tar.gz) = 5b4edd97b7bf24e51b636a7bebb7085c4665337dc49651f1689a9d512a5653fa
-SIZE (slackhq-python-slackclient-1.1.0_GH0.tar.gz) = 368088
+TIMESTAMP = 1525652128
+SHA256 (slackapi-python-slackclient-1.2.1_GH0.tar.gz) = d9c7c3a906d9fc9690fbc1698d11114a4b9bdbce2f92f4556ffca67a853cf8db
+SIZE (slackapi-python-slackclient-1.2.1_GH0.tar.gz) = 453758