aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
Diffstat (limited to 'net-im')
-rw-r--r--net-im/py-slackclient/Makefile12
-rw-r--r--net-im/py-slackclient/distinfo6
2 files changed, 12 insertions, 6 deletions
diff --git a/net-im/py-slackclient/Makefile b/net-im/py-slackclient/Makefile
index 4becc783bd86..d244c000c613 100644
--- a/net-im/py-slackclient/Makefile
+++ b/net-im/py-slackclient/Makefile
@@ -2,7 +2,8 @@
# $FreeBSD$
PORTNAME= slackclient
-PORTVERSION= 2.0.1
+PORTVERSION= 2.1.0
+DISTVERSIONPREFIX=v
CATEGORIES= net-im python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,8 +14,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
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} \
- ${PYTHON_PKGNAMEPREFIX}aiodns>1.0:dns/py-aiodns@${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}
USES= python:3.6+
@@ -22,6 +22,12 @@ USES= python:3.6+
USE_GITHUB= yes
USE_PYTHON= autoplist distutils
+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}
diff --git a/net-im/py-slackclient/distinfo b/net-im/py-slackclient/distinfo
index 590972b41b56..d840a5038ace 100644
--- a/net-im/py-slackclient/distinfo
+++ b/net-im/py-slackclient/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1557112535
-SHA256 (slackapi-python-slackclient-2.0.1_GH0.tar.gz) = e387881e22c2fade31e6274ac9f45378a873e061c13eb822c6f2bcb3f21adaeb
-SIZE (slackapi-python-slackclient-2.0.1_GH0.tar.gz) = 318677
+TIMESTAMP = 1566212113
+SHA256 (slackapi-python-slackclient-v2.1.0_GH0.tar.gz) = 247df5df4d5c83aa37f801fa272855c2c4c549492664117919e9a23fc4a3b21c
+SIZE (slackapi-python-slackclient-v2.1.0_GH0.tar.gz) = 352815