Date: Sat, 7 Oct 2017 18:56:22 +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: r451475 - head/converters/py-bencode.py Message-ID: <201710071856.v97IuMfd029235@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Sat Oct 7 18:56:22 2017 New Revision: 451475 URL: https://svnweb.freebsd.org/changeset/ports/451475 Log: - Mark architecture neutral - Add regression tests Modified: head/converters/py-bencode.py/Makefile Modified: head/converters/py-bencode.py/Makefile ============================================================================== --- head/converters/py-bencode.py/Makefile Sat Oct 7 18:40:56 2017 (r451474) +++ head/converters/py-bencode.py/Makefile Sat Oct 7 18:56:22 2017 (r451475) @@ -2,6 +2,7 @@ PORTNAME= bencode.py PORTVERSION= 1.2.0 +PORTREVISION= 1 CATEGORIES= converters devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,8 +16,13 @@ LICENSE_TEXT= See http://directory.fsf.org/wiki/Licens LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.9:devel/py-pbr +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest +NO_ARCH= yes USES= python USE_PYTHON= distutils autoplist + +do-test: + @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYTHON_VER}) .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710071856.v97IuMfd029235>