commit:     4fcc63b780eb64f039754a7f5008bd1f52b1f0f0
Author:     Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Wed Nov  4 02:19:58 2020 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Wed Nov  4 02:21:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fcc63b7

net-misc/exabgp-4.2.11: Version bump

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 net-misc/exabgp/Manifest                                    |  2 +-
 .../exabgp/{exabgp-4.2.7-r3.ebuild => exabgp-4.2.11.ebuild} |  4 ++--
 net-misc/exabgp/files/exabgp-4.2.10-ip-path.patch           | 13 +++++++++++++
 3 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/net-misc/exabgp/Manifest b/net-misc/exabgp/Manifest
index 7ffb7202572..310718963b1 100644
--- a/net-misc/exabgp/Manifest
+++ b/net-misc/exabgp/Manifest
@@ -1 +1 @@
-DIST exabgp-4.2.7.tar.gz 2931058 BLAKE2B 
2c7bf175322a36c800a8a5874b699b01f4c3d4a8712b1f8decb73665cd214c25ccf657909cfef74610e6a5fd1903245bc4da638ac9245b04c6e63d8247d72d50
 SHA512 
9c53b78e3fc5ff9cef4d267e2cb3509dbcfdd4a3b21d2c7e40a8d873a9ac586b8d5bf860699b6f878cc221af341df140acdf88aaa26a79b0e7865ce7cc607e01
+DIST exabgp-4.2.11.tar.gz 2931753 BLAKE2B 
e5241619db24e2e82dfb42bc613d6b2c28efac205d2bedf732a665a5a9eff1b384833cb1fec3e68a285fc01269c2eaca55b311650e59bcda13d8f024e5294dc3
 SHA512 
61c143e90fd81323b03682ad46f2861576ab0328e2030259eff15bb9ef965477c514fb355112cbaf3dc138fb9f5582b6e1e1efb8d0d4313a9b9924ced156a155

diff --git a/net-misc/exabgp/exabgp-4.2.7-r3.ebuild 
b/net-misc/exabgp/exabgp-4.2.11.ebuild
similarity index 93%
rename from net-misc/exabgp/exabgp-4.2.7-r3.ebuild
rename to net-misc/exabgp/exabgp-4.2.11.ebuild
index bdcff317c20..a8c1d2b70f6 100644
--- a/net-misc/exabgp/exabgp-4.2.7-r3.ebuild
+++ b/net-misc/exabgp/exabgp-4.2.11.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
 DISTUTILS_USE_SETUPTOOLS=rdepend
 inherit tmpfiles systemd distutils-r1
 
@@ -19,7 +19,6 @@ RESTRICT="!test? ( test )"
 RDEPEND="
        acct-group/exabgp
        acct-user/exabgp
-       dev-python/ipaddr[${PYTHON_USEDEP}]
 "
 BDEPEND="
        test? (
@@ -31,6 +30,7 @@ BDEPEND="
 
 PATCHES=(
        "${FILESDIR}/exabgp-4.2.7-paths.patch"
+       "${FILESDIR}/exabgp-4.2.10-ip-path.patch"
 )
 
 python_test() {

diff --git a/net-misc/exabgp/files/exabgp-4.2.10-ip-path.patch 
b/net-misc/exabgp/files/exabgp-4.2.10-ip-path.patch
new file mode 100644
index 00000000000..0a86f72dd91
--- /dev/null
+++ b/net-misc/exabgp/files/exabgp-4.2.10-ip-path.patch
@@ -0,0 +1,13 @@
+diff --git a/lib/exabgp/application/healthcheck.py 
b/lib/exabgp/application/healthcheck.py
+index a4f6b8d1..2b4e928e 100644
+--- a/lib/exabgp/application/healthcheck.py
++++ b/lib/exabgp/application/healthcheck.py
+@@ -184,7 +184,7 @@ def loopback_ips(label, label_only):
+         # Use "ip" (ifconfig is not able to see all addresses)
+         ipre = re.compile(r"^(?P<index>\d+):\s+(?P<name>\S+)\s+inet6?\s+" 
r"(?P<ip>[\da-f.:]+)/(?P<mask>\d+)\s+.*")
+         labelre = re.compile(r".*\s+lo:(?P<label>\S+).*")
+-        cmd = subprocess.Popen("/sbin/ip -o address show dev lo".split(), 
shell=False, stdout=subprocess.PIPE)
++        cmd = subprocess.Popen("ip -o address show dev lo".split(), 
shell=False, stdout=subprocess.PIPE)
+     else:
+         # Try with ifconfig
+         ipre = re.compile(

Reply via email to