svn commit: r448632 - head/devel/py-omnijson
Antoine Brodin
antoine at FreeBSD.org
Wed Aug 23 17:44:46 UTC 2017
Author: antoine
Date: Wed Aug 23 17:44:44 2017
New Revision: 448632
URL: https://svnweb.freebsd.org/changeset/ports/448632
Log:
- Remove nonsense TESTS option
- Mark architecture neutral
- Use the framework for regression tests
With hat: portmgr
Modified:
head/devel/py-omnijson/Makefile
Modified: head/devel/py-omnijson/Makefile
==============================================================================
--- head/devel/py-omnijson/Makefile Wed Aug 23 17:13:21 2017 (r448631)
+++ head/devel/py-omnijson/Makefile Wed Aug 23 17:44:44 2017 (r448632)
@@ -4,7 +4,7 @@
PORTNAME= omnijson
PORTVERSION= 0.1.2
DISTVERSIONPREFIX= v
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,18 +16,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest
-OPTIONS_DEFINE= TESTS
-
-TESTS_DESC= Install tools required to run unit tests
-TESTS_BUILD_DEPENDS= ${TEST_DEPENDS}
-
USE_GITHUB= yes
GH_ACCOUNT= kennethreitz
+NO_ARCH= yes
USES= python
USE_PYTHON= distutils autoplist
-regression-test: build
+do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list