freebsd-ports/net-im/py-slackclient/Makefile
Kubilay Kocak 4029496b46 net-im/py-slackclient: Update to 1.3.0 [1]
- Update COMMENT to match setup.py:description
  - Separate USES/USE to pet portlint [1]

Changelog:

  https://github.com/slackapi/python-slackclient/blob/v1.3.0/docs-src/changelog.rst

PR:		233950
Submitted by:	Derek Schrock <dereks lifeofadishwasher com> [1]
2018-12-12 03:42:25 +00:00

36 lines
990 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= slackclient
PORTVERSION= 1.3.0
DISTVERSIONPREFIX= v
CATEGORIES= net-im python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Slack API clients for Web API and RTM API
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}websocket-client>=0.35:www/py-websocket-client@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.11:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.10:devel/py-six@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}responses>0:devel/py-responses@${PY_FLAVOR}
USES= python
USE_GITHUB= yes
USE_PYTHON= autoplist distutils
# 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 -v
.include <bsd.port.mk>