mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
cda41650ca
PR: 220154 Submitted by: olgeni Approved by: maintainer
32 lines
717 B
Makefile
32 lines
717 B
Makefile
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= slackclient
|
|
PORTVERSION= 1.0.6
|
|
CATEGORIES= net-im python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= koobs@FreeBSD.org
|
|
COMMENT= Python client for Slack.com
|
|
|
|
LICENSE= MIT
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}websocket-client>0:www/py-websocket-client \
|
|
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest \
|
|
${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock
|
|
|
|
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 <bsd.port.mk>
|