Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2018 08:34:10 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r470106 - head/textproc/py-pyscss
Message-ID:  <201805160834.w4G8YAk1045849@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805160834.w4G8YAk1045849>