aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-06-20 20:46:38 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-06-20 20:46:38 +0000
commit10a7219e4abc38ba3bcfeac2723f9182675a1469 (patch)
treefe8ceef90e740b39b206c0b63209d56449fd3a92
parent8be82b9d901ae6645174fa333c80ebae675ad17a (diff)
downloadports-10a7219e4abc38ba3bcfeac2723f9182675a1469.tar.gz
ports-10a7219e4abc38ba3bcfeac2723f9182675a1469.zip
net/py-pyroute2: Update to 0.6.4
-rw-r--r--net/py-pyroute2/Makefile9
-rw-r--r--net/py-pyroute2/distinfo6
-rw-r--r--net/py-pyroute2/files/patch-setup.cfg12
3 files changed, 23 insertions, 4 deletions
diff --git a/net/py-pyroute2/Makefile b/net/py-pyroute2/Makefile
index f4312d1541eb..3b8c74ccbd34 100644
--- a/net/py-pyroute2/Makefile
+++ b/net/py-pyroute2/Makefile
@@ -1,7 +1,7 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= pyroute2
-PORTVERSION= 0.5.19
+PORTVERSION= 0.6.4
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,6 +14,13 @@ LICENSE_COMB= dual
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.Apache.v2
LICENSE_FILE_GPLv2+ = ${WRKSRC}/LICENSE.GPL.v2
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyroute2.core>=${PORTVERSION}:net/py-pyroute2.core@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyroute2.ethtool>=${PORTVERSION}:net/py-pyroute2.ethtool@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyroute2.ipset>=${PORTVERSION}:net/py-pyroute2.ipset@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyroute2.ndb>=${PORTVERSION}:net/py-pyroute2.ndb@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyroute2.nftables>=${PORTVERSION}:net/py-pyroute2.nftables@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyroute2.nslink>=${PORTVERSION}:net/py-pyroute2.nslink@${PY_FLAVOR}
+
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
diff --git a/net/py-pyroute2/distinfo b/net/py-pyroute2/distinfo
index 61fdab91dbc7..a1835e14e299 100644
--- a/net/py-pyroute2/distinfo
+++ b/net/py-pyroute2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1621183222
-SHA256 (pyroute2-0.5.19.tar.gz) = 45460d12ed2a5caf272a357a3360b36d1e346f17afe1425b66fc21d70f462b29
-SIZE (pyroute2-0.5.19.tar.gz) = 962856
+TIMESTAMP = 1624189745
+SHA256 (pyroute2-0.6.4.tar.gz) = 560b48a751b1150056ba553c89a31d563cc18ae2675b3793666adcaeb4fabfda
+SIZE (pyroute2-0.6.4.tar.gz) = 23875
diff --git a/net/py-pyroute2/files/patch-setup.cfg b/net/py-pyroute2/files/patch-setup.cfg
new file mode 100644
index 000000000000..2b5c41a45b4c
--- /dev/null
+++ b/net/py-pyroute2/files/patch-setup.cfg
@@ -0,0 +1,12 @@
+Reference: https://github.com/svinota/pyroute2/discussions/788
+
+--- setup.cfg.orig 2021-06-06 20:07:55 UTC
++++ setup.cfg
+@@ -33,7 +33,6 @@ install_requires =
+ pyroute2.nftables==0.6.4
+ pyroute2.ethtool==0.6.4
+ pyroute2.ipset==0.6.4
+- pyroute2.ipdb==0.6.4
+ pyroute2.ndb==0.6.4
+ packages_dir =
+ =pyroute2