diff options
author | Kubilay Kocak <koobs@FreeBSD.org> | 2016-02-26 09:02:39 +0000 |
---|---|---|
committer | Kubilay Kocak <koobs@FreeBSD.org> | 2016-02-26 09:02:39 +0000 |
commit | e450c301edcf7911d9bae92ad45be1f6bfef1bbe (patch) | |
tree | 28e1828b891d19524d6cf0d4c133cdd2ba75b674 | |
parent | OPTIONSfy ANONYMOUS authentication. (diff) |
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
Notes
Notes:
svn path=/head/; revision=409593
-rw-r--r-- | security/py-cpe/Makefile | 13 | ||||
-rw-r--r-- | security/py-cpe/distinfo | 4 |
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 |