svn commit: r451475 - head/converters/py-bencode.py
Antoine Brodin
antoine at FreeBSD.org
Sat Oct 7 18:56:24 UTC 2017
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>
More information about the svn-ports-head
mailing list