06a08e69f3
Any missed ports, feel free to bump. Any ports that need setuptools at runtime can have the devel/py-setuptools manually added back to RUN_DEPENDS, but understand that this practice is deprecated; see CHANGES for details.
33 lines
760 B
Makefile
33 lines
760 B
Makefile
PORTNAME= yara
|
|
PORTVERSION= 4.3.1
|
|
PORTREVISION= 1
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= security python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= antoine@FreeBSD.org
|
|
COMMENT= Python bindings for yara
|
|
WWW= https://virustotal.github.io/yara/
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}yara-python-dex
|
|
|
|
LIB_DEPENDS= libyara.so:security/yara
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= VirusTotal
|
|
GH_PROJECT= yara-python
|
|
|
|
USES= cpe localbase python
|
|
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>
|