Added
Link Here
|
1 |
PORTNAME= netbox-agent |
2 |
DISTVERSION= 20240822 |
3 |
DISTVERSIONPREFIX= v |
4 |
CATEGORIES= net-mgmt python |
5 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
6 |
|
7 |
MAINTAINER= kiwi@oav.net |
8 |
COMMENT= Netbox Agent |
9 |
WWW= https://github.com/KlaraSystems/netbox-agent |
10 |
|
11 |
LICENSE= APACHE20 |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
|
14 |
RUN_DEPENDS= ${LOCALBASE}/bin/ipmitool:sysutils/ipmitool \ |
15 |
${LOCALBASE}/sbin/dmidecode:sysutils/dmidecode \ |
16 |
${LOCALBASE}/sbin/lldpctl:net-mgmt/lldpd \ |
17 |
${PYTHON_PKGNAMEPREFIX}distro>=1.8.0:sysutils/py-distro@${PY_FLAVOR} \ |
18 |
${PYTHON_PKGNAMEPREFIX}jsonargparse>=3.11.2:devel/py-jsonargparse@${PY_FLAVOR} \ |
19 |
${PYTHON_PKGNAMEPREFIX}netaddr>=1.0:net/py-netaddr@${PY_FLAVOR} \ |
20 |
${PYTHON_PKGNAMEPREFIX}netifaces-plus>=0.11:net/py-netifaces-plus@${PY_FLAVOR} \ |
21 |
${PYTHON_PKGNAMEPREFIX}psutil>=5.9.0:sysutils/py-psutil@${PY_FLAVOR} \ |
22 |
${PYTHON_PKGNAMEPREFIX}pynetbox>=7:net-mgmt/py-pynetbox@${PY_FLAVOR} \ |
23 |
${PYTHON_PKGNAMEPREFIX}python-slugify>=8.0.1:textproc/py-python-slugify@${PY_FLAVOR} \ |
24 |
${PYTHON_PKGNAMEPREFIX}sysctl>=0.3.0:devel/py-sysctl@${PY_FLAVOR} |
25 |
|
26 |
USES= python |
27 |
# PyPi sdist do not have tests |
28 |
USE_GITHUB= yes |
29 |
GH_ACCOUNT= KlaraSystems |
30 |
GH_TAGNAME= 6ae055c |
31 |
|
32 |
USE_PYTHON= autoplist distutils pytest |
33 |
|
34 |
NO_ARCH= yes |
35 |
|
36 |
.include <bsd.port.mk> |