mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:24:52 +00:00
df32653a76
- Update PORTVERSION and distinfo checksum (1.2.1) - Fix all test cases Approved by: koobs (maintainer) Differential Revision: https://reviews.freebsd.org/D10555
31 lines
680 B
Makefile
31 lines
680 B
Makefile
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cpe
|
|
PORTVERSION= 1.2.1
|
|
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
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|expression2_2|tests/expression2_2|g' \
|
|
${WRKSRC}/tests/testfile_cpelang2_2.txt
|
|
@${REINPLACE_CMD} -e 's|expression2_3|tests/expression2_3|g' \
|
|
${WRKSRC}/tests/testfile_cpelang2_3.txt
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
|
|
|
|
.include <bsd.port.mk>
|