freebsd-ports/textproc/py-pyscss/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

31 lines
755 B
Makefile

# Created by: Ilya A. Arkhipov <rum1cro@yandex.ru>
# $FreeBSD$
PORTNAME= pyscss
PORTVERSION= 1.3.5
DISTVERSIONPREFIX= v
CATEGORIES= textproc python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= rum1cro@yandex.ru
COMMENT= Compiler for SCSS flavor of the Sass language
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
${PY_ENUM34} ${PY_PATHLIB}
LIB_DEPENDS= libpcre.so:devel/pcre
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USE_GITHUB= yes
GH_ACCOUNT= Kronuz
GH_PROJECT= pyScss
USES= python localbase:ldflags
USE_PYTHON= distutils autoplist
do-test:
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
.include <bsd.port.mk>