net-im/py-slackclient: Update to 2.1.0

aiodns is (was) actually an optional dependency. Add an ASYNCDNS option
for now until upstream work out a good name for it [1]

Changelog:

  https://slack.dev/python-slackclient/changelog.html#v2-1-0-2019-07-01

Note: Missing from changelog, but also fixed:

https://github.com/slackapi/python-slackclient/issues/451

[1] https://github.com/slackapi/python-slackclient/issues/433

PR:		239462
Submitted by:	<wcarson.bugzilla disillusion.net>
MFH:		2019Q3 (blanket: bugfix release)
This commit is contained in:
Kubilay Kocak 2019-08-19 12:16:35 +00:00
parent 1ad3fbf1ec
commit e32c1110bf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=509276
2 changed files with 12 additions and 6 deletions

View File

@ -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}

View File

@ -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