forked from Lainports/freebsd-ports
- security/gsa: update to 23.3.0 - security/gsad: update to 22.12.0 - security/gvm-libs: update to 22.12.1 - security/gvmd: update to 23.10.0 - security/openvas: update to 23.9.0 [1] - security/py-gvm-tools: update to 24.8.0 - security/py-notus-scanner: update to 22.6.4 - security/py-python-gvm: update to 24.8.0 - security/py-greenbone-feed-sync: update to 24.3.0 PR: 281414 Reported by: wen [1]
33 lines
783 B
Makefile
33 lines
783 B
Makefile
PORTNAME= python-gvm
|
|
DISTVERSION= 24.8.0
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= security python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
COMMENT= The Greenbone Vulnerability Management Python API library
|
|
WWW= https://github.com/greenbone/python-gvm
|
|
|
|
LICENSE= GPLv3+
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR}
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= greenbone
|
|
GH_PROJECT= ${PORTNAME}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist pep517
|
|
|
|
NO_ARCH= yes
|
|
|
|
post-extract:
|
|
${MV} ${WRKSRC}/tests ${WRKSRC}/gvm/
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -i "" -e 's|/run/gvmd/|/var/run/gvmd/|g' \
|
|
${WRKSRC}/gvm/connections/_unix.py
|
|
${REINPLACE_CMD} -e 's|, { include = "tests", format = "sdist" }||g' \
|
|
${WRKSRC}/pyproject.toml
|
|
|
|
.include <bsd.port.mk>
|