aboutsummaryrefslogtreecommitdiff
path: root/security/py-cpe
diff options
context:
space:
mode:
authorCarlos J. Puga Medina <cpm@FreeBSD.org>2017-05-01 12:18:27 +0000
committerCarlos J. Puga Medina <cpm@FreeBSD.org>2017-05-01 12:18:27 +0000
commitdf32653a762f868e09dc84043ac53243eaa8b6be (patch)
tree0313344163650974647b62fcaf143a295a1dd10f /security/py-cpe
parent9cae8ed6da034556701e303f891aca94142f164d (diff)
downloadports-df32653a762f868e09dc84043ac53243eaa8b6be.tar.gz
ports-df32653a762f868e09dc84043ac53243eaa8b6be.zip
Notes
Diffstat (limited to 'security/py-cpe')
-rw-r--r--security/py-cpe/Makefile8
-rw-r--r--security/py-cpe/distinfo5
2 files changed, 10 insertions, 3 deletions
diff --git a/security/py-cpe/Makefile b/security/py-cpe/Makefile
index ef3d27320c30..bea53a974086 100644
--- a/security/py-cpe/Makefile
+++ b/security/py-cpe/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= cpe
-PORTVERSION= 1.2.0
+PORTVERSION= 1.2.1
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -18,6 +18,12 @@ USE_PYTHON= autoplist distutils
NO_ARCH= yes
+post-patch:
+ @${REINPLACE_CMD} -e 's|expression2_2|tests/expression2_2|g' \
+ ${WRKSRC}/tests/testfile_cpelang2_2.txt
+ @${REINPLACE_CMD} -e 's|expression2_3|tests/expression2_3|g' \
+ ${WRKSRC}/tests/testfile_cpelang2_3.txt
+
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
diff --git a/security/py-cpe/distinfo b/security/py-cpe/distinfo
index 2a6e2e2954d6..b22070c827a3 100644
--- a/security/py-cpe/distinfo
+++ b/security/py-cpe/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cpe-1.2.0.tar.gz) = a62cf49465f5e429134a3c338500c94de77e8e6257ea4e4f2dd355bae4f5c9a4
-SIZE (cpe-1.2.0.tar.gz) = 2151631
+TIMESTAMP = 1493603837
+SHA256 (cpe-1.2.1.tar.gz) = e742635e13cc0f6e02cb62a367dc789fb0e7dba1317822a8760c8de312e36ec9
+SIZE (cpe-1.2.1.tar.gz) = 2152179