aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2017-08-24 01:44:44 +0800
committerantoine <antoine@FreeBSD.org>2017-08-24 01:44:44 +0800
commit98f56f677119e1f82f3b1dbd7d5d384a4d875ce6 (patch)
treecd5a971319dab4b7bbbfe7eb55941abfda24d248 /devel
parent692bba555d0802bd68bed86ba9ff406acbb1735f (diff)
downloadfreebsd-ports-gnome-98f56f677119e1f82f3b1dbd7d5d384a4d875ce6.tar.gz
freebsd-ports-gnome-98f56f677119e1f82f3b1dbd7d5d384a4d875ce6.tar.zst
freebsd-ports-gnome-98f56f677119e1f82f3b1dbd7d5d384a4d875ce6.zip
- Remove nonsense TESTS option
- Mark architecture neutral - Use the framework for regression tests With hat: portmgr
Diffstat (limited to 'devel')
-rw-r--r--devel/py-omnijson/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/devel/py-omnijson/Makefile b/devel/py-omnijson/Makefile
index e7abe40ba514..4580119c2a7f 100644
--- a/devel/py-omnijson/Makefile
+++ b/devel/py-omnijson/Makefile
@@ -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>