From 9448ce017d968c8ced8e8026040e09d0d5e4a5c5 Mon Sep 17 00:00:00 2001 From: Aric Belsito Date: Sun, 7 May 2017 11:11:08 -0700 Subject: dev-python/protobuf-python: version bump to 3.3.0 Change license from Apache-2.0 to BSD Fix python3 incompatibility in patch Bug: https://bugs.gentoo.org/460608 --- .../protobuf-python-3.0.0_beta3-link-against-installed-lib.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev-python/protobuf-python/files') diff --git a/dev-python/protobuf-python/files/protobuf-python-3.0.0_beta3-link-against-installed-lib.patch b/dev-python/protobuf-python/files/protobuf-python-3.0.0_beta3-link-against-installed-lib.patch index cb4a5f6cf7eb..c0b7aadcd6f5 100644 --- a/dev-python/protobuf-python/files/protobuf-python-3.0.0_beta3-link-against-installed-lib.patch +++ b/dev-python/protobuf-python/files/protobuf-python-3.0.0_beta3-link-against-installed-lib.patch @@ -9,8 +9,8 @@ diff -Naur python/setup.py python/setup.py + libD = [] + try: + subprocess.check_call(['pkg-config', '--exists', 'protobuf']) -+ inclD += subprocess.check_output(['pkg-config','--variable=includedir','protobuf']).split() -+ libD = subprocess.check_output(['pkg-config','--variable=libdir','protobuf']).split() ++ inclD += subprocess.check_output(['pkg-config','--variable=includedir','protobuf']).decode().split() ++ libD = subprocess.check_output(['pkg-config','--variable=libdir','protobuf']).decode().split() + except OSError as osex: + if osex.errno == errno.ENOENT: + info('pkg-config not found') -- cgit v1.2.3