Files
Kai Knoblich 19da3b6597 net-mgmt/py-netutils: Update to 1.13.0
* Adjust USE=python accordingly, because Python 3.8 is no longer
  present in the ports tree after ca15850a2b while I'm here.

Changelog:

https://github.com/networktocode/netutils/releases/tag/v1.13.0
2025-04-06 11:58:10 +02:00

32 lines
993 B
Makefile

PORTNAME= netutils
DISTVERSION= 1.13.0
CATEGORIES= net-mgmt python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= kai@FreeBSD.org
COMMENT= Common helper functions useful in network automation
WWW= https://github.com/networktocode/netutils
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist pep517
NO_ARCH= yes
# There are another two options, "napalm" + "legacycrypt", in "pyproject.toml"
# and are deliberately not added for the time being. The first one would lead
# to a circular dependency and the second one is required for Python 3.13+ (not
# in ports tree, yet) which no longer has the deprecated "crypt" module.
OPTIONS_DEFINE= JSONSCHEMA
OPTIONS_DEFAULT= JSONSCHEMA
JSONSCHEMA_DESC= ACL check support
JSONSCHEMA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.17.3:devel/py-jsonschema@${PY_FLAVOR}
.include <bsd.port.mk>