1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/net/py-pyroute2/Makefile

31 lines
786 B
Makefile

PORTNAME= pyroute2
PORTVERSION= 0.7.12
CATEGORIES= net python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python Netlink library
WWW= https://pyroute2.org/ \
https://github.com/svinota/pyroute2
LICENSE= APACHE20 GPLv2+
LICENSE_COMB= dual
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.Apache-2.0
LICENSE_FILE_GPLv2+ = ${WRKSRC}/LICENSE.GPL-2.0-or-later
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
OPTIONS_DEFINE= SS2
SS2_DESC= Socket statistics
SS2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>=5.0<6:sysutils/py-psutil@${PY_FLAVOR}
.include <bsd.port.mk>