svn commit: r409593 - head/security/py-cpe
Kubilay Kocak
koobs at FreeBSD.org
Fri Feb 26 09:02:40 UTC 2016
Author: koobs
Date: Fri Feb 26 09:02:39 2016
New Revision: 409593
URL: https://svnweb.freebsd.org/changeset/ports/409593
Log:
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
Modified:
head/security/py-cpe/Makefile
head/security/py-cpe/distinfo
Modified: head/security/py-cpe/Makefile
==============================================================================
--- head/security/py-cpe/Makefile Fri Feb 26 08:59:39 2016 (r409592)
+++ head/security/py-cpe/Makefile Fri Feb 26 09:02:39 2016 (r409593)
@@ -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 at 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>
Modified: head/security/py-cpe/distinfo
==============================================================================
--- head/security/py-cpe/distinfo Fri Feb 26 08:59:39 2016 (r409592)
+++ head/security/py-cpe/distinfo Fri Feb 26 09:02:39 2016 (r409593)
@@ -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
More information about the svn-ports-head
mailing list