freebsd-ports/security/py-python-gvm/Makefile
Jose Alonso Cardenas Marquez bff9bc0e00
security/gvm: Update gvm-libs to 22.7.3 and openvas to 22.7.6
- Bump PORTREVISION
- Update security/py-python-gvm to 23.10.0
- Fix issues with config path of security/py-notus-scanner and
  security/py-greenbone-feed-sync [1]
- Improve pkg-message.in from security/gvm [1]

Reported by:	Luciano Mannucci <luciano at_ vespaperitivo.it> [1]
2023-10-20 18:50:29 -05:00

36 lines
851 B
Makefile

PORTNAME= python-gvm
DISTVERSION= 23.10.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}poetry2setup>0:devel/py-poetry2setup@${PY_FLAVOR}
USE_GITHUB= yes
GH_ACCOUNT= greenbone
GH_PROJECT= ${PORTNAME}
USES= python
USE_PYTHON= autoplist distutils
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.py
${REINPLACE_CMD} -e 's|, { include = "tests", format = "sdist" }||g' \
${WRKSRC}/pyproject.toml
pre-configure:
@cd ${WRKSRC} && poetry2setup > ${WRKSRC}/setup.py
.include <bsd.port.mk>