freebsd-ports/security/py-yara/Makefile
Stefan Eßer 9941896ad2 security/py-yara: Add CPE information
Approved by:	portmgr (blanket)
2021-10-13 15:15:31 +02:00

28 lines
649 B
Makefile

PORTNAME= yara
PORTVERSION= 4.1.0
DISTVERSIONPREFIX= v
CATEGORIES= security python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= antoine@FreeBSD.org
COMMENT= Python bindings for yara
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libyara.so:security/yara
USE_GITHUB= yes
GH_ACCOUNT= VirusTotal
GH_PROJECT= yara-python
USES= cpe localbase python:3.6+
CPE_VENDOR= virustotal
USE_PYTHON= distutils autoplist
PYDISTUTILS_BUILDARGS= --dynamic-linking
DO_MAKE_TEST= ${SETENV} ${TEST_ENV} ${PYTHON_CMD} tests.py
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
TEST_TARGET= # empty
.include <bsd.port.mk>