svn commit: r470106 - head/textproc/py-pyscss

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed May 16 08:34:11 UTC 2018


Author: amdmi3
Date: Wed May 16 08:34:10 2018
New Revision: 470106
URL: https://svnweb.freebsd.org/changeset/ports/470106

Log:
  - Add LICENSE_FILE
  - Switch to USES=localbase
  - Switch to new test framework
  
  Approved by:	portmgr blanket

Modified:
  head/textproc/py-pyscss/Makefile

Modified: head/textproc/py-pyscss/Makefile
==============================================================================
--- head/textproc/py-pyscss/Makefile	Wed May 16 07:36:15 2018	(r470105)
+++ head/textproc/py-pyscss/Makefile	Wed May 16 08:34:10 2018	(r470106)
@@ -11,6 +11,7 @@ MAINTAINER=	rum1cro at 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@${FLAVOR} \
 		${PY_ENUM34} ${PY_PATHLIB}
@@ -21,13 +22,10 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	Kronuz
 GH_PROJECT=	pyScss
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-
-USES=		python
+USES=		python localbase:ldflags
 USE_PYTHON=	distutils autoplist
 
-regression-test: build
+do-test:
 	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list