svn commit: r527899 - head/devel/py-archinfo
Mateusz Piotrowski
0mp at FreeBSD.org
Fri Mar 6 22:50:09 UTC 2020
Author: 0mp
Date: Fri Mar 6 22:50:07 2020
New Revision: 527899
URL: https://svnweb.freebsd.org/changeset/ports/527899
Log:
Add tests
Modified:
head/devel/py-archinfo/Makefile
head/devel/py-archinfo/distinfo
Modified: head/devel/py-archinfo/Makefile
==============================================================================
--- head/devel/py-archinfo/Makefile Fri Mar 6 22:41:09 2020 (r527898)
+++ head/devel/py-archinfo/Makefile Fri Mar 6 22:50:07 2020 (r527899)
@@ -5,6 +5,7 @@ DISTVERSION= 8.20.1.7
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= 0mp at FreeBSD.org
COMMENT= Classes with architecture-specific information useful to other projects
@@ -12,9 +13,19 @@ COMMENT= Classes with architecture-specific informatio
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}
+
USES= python:3.5+
+USE_GITHUB= nodefault
+GH_TUPLE= angr:${PORTNAME}:fa979436bd07b4178877d31a5166d28063a89807:tests
USE_PYTHON= autoplist distutils
NO_ARCH= yes
+
+pre-test:
+ @${LN} -Fs ${WRKSRC_tests}/tests ${WRKSRC}/tests
+
+do-test:
+ @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER} tests/*)
.include <bsd.port.mk>
Modified: head/devel/py-archinfo/distinfo
==============================================================================
--- head/devel/py-archinfo/distinfo Fri Mar 6 22:41:09 2020 (r527898)
+++ head/devel/py-archinfo/distinfo Fri Mar 6 22:50:07 2020 (r527899)
@@ -1,3 +1,5 @@
-TIMESTAMP = 1583180265
+TIMESTAMP = 1583534717
SHA256 (archinfo-8.20.1.7.tar.gz) = fc0cf661c7c416701cc0947566ad162823dd4ed8039619201f854887dcc6709a
SIZE (archinfo-8.20.1.7.tar.gz) = 43408
+SHA256 (angr-archinfo-fa979436bd07b4178877d31a5166d28063a89807_GH0.tar.gz) = 031a284e357c8890b9523e8420a9c3b54e98c21f3d6e3a995b7e77d06415fa09
+SIZE (angr-archinfo-fa979436bd07b4178877d31a5166d28063a89807_GH0.tar.gz) = 47444
More information about the svn-ports-head
mailing list