mirror of
https://git.freebsd.org/ports.git
synced 2025-05-27 08:26:27 -04:00
* Make port concurrent safe as some scripts are installed outside of Python's site-lib directory. * Update test suite and switch to newer devel/py-pytest. * Strip binaries and pet portclippy to level up port compliance. Changelog: https://github.com/Kronuz/pyScss/compare/1.3.7...v1.4.0 PR: 277894 Approved by: rum1cro@yandex.ru (maintainer)
28 lines
719 B
Makefile
28 lines
719 B
Makefile
PORTNAME= pyscss
|
|
PORTVERSION= 1.4.0
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= textproc python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= rum1cro@yandex.ru
|
|
COMMENT= Compiler for SCSS flavor of the Sass language
|
|
WWW= https://github.com/Kronuz/pyScss
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libpcre.so:devel/pcre
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
|
|
|
|
USES= python localbase:ldflags
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Kronuz
|
|
GH_PROJECT= pyScss
|
|
USE_PYTHON= autoplist concurrent distutils pytest
|
|
|
|
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
|
|
|
post-install:
|
|
${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
|
|
|
|
.include <bsd.port.mk>
|