net/py-pyroute2.protocols: Update RUN_DEPENDS after pyroute2 0.7.1 update

- Bump PORTREVISION for dependency and package change

Obtained from:	4baca6ab3f
This commit is contained in:
Po-Chuan Hsieh 2022-07-19 01:56:33 +08:00
parent b20eb6080c
commit bf32e46ee3
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
2 changed files with 45 additions and 1 deletions

View file

@ -2,6 +2,7 @@
PORTNAME= pyroute2.protocols
PORTVERSION= 0.6.13
PORTREVISION= 1
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -14,7 +15,7 @@ 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}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyroute2>=${PORTVERSION}:net/py-pyroute2@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils

View file

@ -0,0 +1,43 @@
Obtained from: https://github.com/svinota/pyroute2/commit/4baca6ab3fc9945dc15730aed9f87bbb70e4df7e
--- pr2modules/arp.py.orig 2022-06-21 20:53:02 UTC
+++ pr2modules/arp.py
@@ -1,4 +1,4 @@
-from pr2modules.common import map_namespace
+from pyroute2.common import map_namespace
# ARP protocol HARDWARE identifiers.
ARPHRD_NETROM = 0 # from KA9Q: NET/ROM pseudo
--- pr2modules/dhcp/__init__.py.orig 2022-06-21 20:53:02 UTC
+++ pr2modules/dhcp/__init__.py
@@ -102,7 +102,7 @@ import struct
import sys
from array import array
-from pr2modules.common import basestring
+from pyroute2.common import basestring
from pr2modules.protocols import msg
BOOTREQUEST = 1
--- pr2modules/dhcp/dhcp4socket.py.orig 2022-06-21 20:53:02 UTC
+++ pr2modules/dhcp/dhcp4socket.py
@@ -3,7 +3,7 @@ IPv4 DHCP socket
================
'''
-from pr2modules.common import AddrPool
+from pyroute2.common import AddrPool
from pr2modules.dhcp.dhcp4msg import dhcp4msg
from pr2modules.ext.rawsocket import RawSocket
from pr2modules.protocols import ethmsg, ip4msg, udp4_pseudo_header, udpmsg
--- setup.cfg.orig 2022-06-23 21:11:54 UTC
+++ setup.cfg
@@ -32,7 +32,7 @@ classifiers =
packages = find:
namespace_packages = pr2modules
install_requires =
- pyroute2.core
+ pyroute2
[options.entry_points]
pr2modules =