git: b20eb6080cfc - main - net/py-pyroute2.minimal: Update to 0.7.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 18 Jul 2022 18:01:40 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b20eb6080cfc1c797a6c6a2d68ba8b2e9d0bb2cc
commit b20eb6080cfc1c797a6c6a2d68ba8b2e9d0bb2cc
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-07-18 17:56:29 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-07-18 18:00:44 +0000
net/py-pyroute2.minimal: Update to 0.7.1
Changes: https://github.com/svinota/pyroute2/blob/master/CHANGELOG.rst
---
net/py-pyroute2.minimal/Makefile | 7 ++++---
net/py-pyroute2.minimal/distinfo | 6 +++---
net/py-pyroute2.minimal/files/setup.py | 3 +++
3 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/net/py-pyroute2.minimal/Makefile b/net/py-pyroute2.minimal/Makefile
index 32bbd9053485..1fc1d1351f82 100644
--- a/net/py-pyroute2.minimal/Makefile
+++ b/net/py-pyroute2.minimal/Makefile
@@ -1,7 +1,7 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= pyroute2.minimal
-PORTVERSION= 0.6.13
+PORTVERSION= 0.7.1
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,8 +14,6 @@ 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}
-
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
@@ -27,4 +25,7 @@ NO_ARCH= yes
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR}
.endif
+post-patch:
+ @${CP} ${FILESDIR}/setup.py ${WRKSRC}/
+
.include <bsd.port.post.mk>
diff --git a/net/py-pyroute2.minimal/distinfo b/net/py-pyroute2.minimal/distinfo
index fd57aba22396..7e0b2fc4f2b5 100644
--- a/net/py-pyroute2.minimal/distinfo
+++ b/net/py-pyroute2.minimal/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1656092956
-SHA256 (pyroute2.minimal-0.6.13.tar.gz) = 74c3abfce19225a467dd3312dfd80310d5a9cc886370eafc16125d0527496117
-SIZE (pyroute2.minimal-0.6.13.tar.gz) = 22067
+TIMESTAMP = 1658151381
+SHA256 (pyroute2.minimal-0.7.1.tar.gz) = 9f3ab315174f2ef5abad190e80a2b68614530ad535e2b9604aa25d55ee342993
+SIZE (pyroute2.minimal-0.7.1.tar.gz) = 258485
diff --git a/net/py-pyroute2.minimal/files/setup.py b/net/py-pyroute2.minimal/files/setup.py
new file mode 100644
index 000000000000..606849326a40
--- /dev/null
+++ b/net/py-pyroute2.minimal/files/setup.py
@@ -0,0 +1,3 @@
+from setuptools import setup
+
+setup()