Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2017 17:44:45 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r448632 - head/devel/py-omnijson
Message-ID:  <201708231744.v7NHijXr011891@repo.freebsd.org>

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



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