Files

34 lines
783 B
Makefile
Raw Permalink Normal View History

2021-01-06 08:24:12 +00:00
PORTNAME= python-gvm
2025-04-14 21:16:39 -07:00
DISTVERSION= 26.1.1
2023-04-02 17:37:19 -05:00
DISTVERSIONPREFIX= v
2021-01-06 08:24:12 +00:00
CATEGORIES= security python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= acm@FreeBSD.org
COMMENT= The Greenbone Vulnerability Management Python API library
2022-09-07 23:06:12 +02:00
WWW= https://github.com/greenbone/python-gvm
2021-01-06 08:24:12 +00:00
LICENSE= GPLv3+
2024-01-27 16:56:29 -05:00
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR}
2023-04-02 17:37:19 -05:00
USE_GITHUB= yes
GH_ACCOUNT= greenbone
GH_PROJECT= ${PORTNAME}
USES= python
2024-01-27 16:56:29 -05:00
USE_PYTHON= autoplist pep517
2021-01-06 08:24:12 +00:00
NO_ARCH= yes
2023-04-02 17:37:19 -05:00
post-extract:
${MV} ${WRKSRC}/tests ${WRKSRC}/gvm/
2022-08-27 18:36:52 -05:00
post-patch:
${REINPLACE_CMD} -i "" -e 's|/run/gvmd/|/var/run/gvmd/|g' \
2024-09-19 23:34:30 -07:00
${WRKSRC}/gvm/connections/_unix.py
${REINPLACE_CMD} -e 's|, { include = "tests", format = "sdist" }||g' \
${WRKSRC}/pyproject.toml
2023-04-02 17:37:19 -05:00
2021-01-06 08:24:12 +00:00
.include <bsd.port.mk>