aboutsummaryrefslogtreecommitdiffstats
path: root/security/py-cpe
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2016-02-26 17:02:39 +0800
committerkoobs <koobs@FreeBSD.org>2016-02-26 17:02:39 +0800
commite55c4893f5f08c9ad62f63198c8a0467fd42a5d5 (patch)
tree28e1828b891d19524d6cf0d4c133cdd2ba75b674 /security/py-cpe
parent5b766a9b7482e38b6e70d0e22d9ca2021def40b6 (diff)
downloadfreebsd-ports-gnome-e55c4893f5f08c9ad62f63198c8a0467fd42a5d5.tar.gz
freebsd-ports-gnome-e55c4893f5f08c9ad62f63198c8a0467fd42a5d5.tar.zst
freebsd-ports-gnome-e55c4893f5f08c9ad62f63198c8a0467fd42a5d5.zip
security/py-cpe: Update to 1.2.0
- Update PORTVERSION and distinfo checksum (1.2.0) - Enable building with Python 3.x - Correct LICENSE (LGPL3) - Enable NO_ARCH (architecture independent) - Update COMMENT to match setup.py:summary= - Add test target Changes: https://github.com/nilp0inter/cpe/blob/develop/NEWS.txt
Diffstat (limited to 'security/py-cpe')
-rw-r--r--security/py-cpe/Makefile13
-rw-r--r--security/py-cpe/distinfo4
2 files changed, 11 insertions, 6 deletions
diff --git a/security/py-cpe/Makefile b/security/py-cpe/Makefile
index 29dd05871eee..ef3d27320c30 100644
--- a/security/py-cpe/Makefile
+++ b/security/py-cpe/Makefile
@@ -2,18 +2,23 @@
# $FreeBSD$
PORTNAME= cpe
-PORTVERSION= 1.1.0
+PORTVERSION= 1.2.0
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
-COMMENT= Common Platform Enumeration (CPE) for Python
+COMMENT= CPE: Common Platform Enumeration for Python
-LICENSE= GPLv3
+LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= python:-2.7
+USES= python
USE_PYTHON= autoplist distutils
+NO_ARCH= yes
+
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
+
.include <bsd.port.mk>
diff --git a/security/py-cpe/distinfo b/security/py-cpe/distinfo
index 2a9241bf5982..2a6e2e2954d6 100644
--- a/security/py-cpe/distinfo
+++ b/security/py-cpe/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cpe-1.1.0.tar.gz) = 3e7d18460a9921ab6668d3cc2ffec59b6bd99922f30714446bcf982c022c4836
-SIZE (cpe-1.1.0.tar.gz) = 69155
+SHA256 (cpe-1.2.0.tar.gz) = a62cf49465f5e429134a3c338500c94de77e8e6257ea4e4f2dd355bae4f5c9a4
+SIZE (cpe-1.2.0.tar.gz) = 2151631