Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Mar 2019 20:45:48 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r497359 - head/devel/py-voluptuous
Message-ID:  <201903302045.x2UKjmbn032831@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Mar 30 20:45:47 2019
New Revision: 497359
URL: https://svnweb.freebsd.org/changeset/ports/497359

Log:
  Add test
  
  PR:		236884
  Submitted by:	amdmi3

Modified:
  head/devel/py-voluptuous/Makefile

Modified: head/devel/py-voluptuous/Makefile
==============================================================================
--- head/devel/py-voluptuous/Makefile	Sat Mar 30 20:45:42 2019	(r497358)
+++ head/devel/py-voluptuous/Makefile	Sat Mar 30 20:45:47 2019	(r497359)
@@ -12,9 +12,14 @@ COMMENT=	Python data validation library
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR}
+
 USES=		python
 USE_PYTHON=	autoplist distutils
 
 NO_ARCH=	yes
+
+do-test:
+	@cd ${WRKSRC} && nosetests-${PYTHON_VER}
 
 .include <bsd.port.mk>



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