From e55c4893f5f08c9ad62f63198c8a0467fd42a5d5 Mon Sep 17 00:00:00 2001 From: koobs Date: Fri, 26 Feb 2016 09:02:39 +0000 Subject: 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 --- security/py-cpe/Makefile | 13 +++++++++---- security/py-cpe/distinfo | 4 ++-- 2 files changed, 11 insertions(+), 6 deletions(-) (limited to 'security/py-cpe') 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 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 -- cgit