- Mark architecture neutral

- Add regression tests
This commit is contained in:
Antoine Brodin 2017-10-07 18:56:22 +00:00
parent 430a5eab53
commit 18bac1eaf9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=451475

View file

@ -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/License:BitTorrentOSL1.1
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>