- 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
24 lines
455 B
Makefile
24 lines
455 B
Makefile
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cpe
|
|
PORTVERSION= 1.2.0
|
|
CATEGORIES= security python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= koobs@FreeBSD.org
|
|
COMMENT= CPE: Common Platform Enumeration for Python
|
|
|
|
LICENSE= LGPL3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
|
|
|
|
.include <bsd.port.mk>
|