summaryrefslogtreecommitdiff
path: root/dev-python/protobuf-python/files
diff options
context:
space:
mode:
authorAric Belsito <lluixhi@gmail.com>2017-05-07 11:11:08 -0700
committerMichał Górny <mgorny@gentoo.org>2017-05-09 19:18:34 +0200
commit9448ce017d968c8ced8e8026040e09d0d5e4a5c5 (patch)
treeb9f9c8beabea6ca46e533895957bf86567190623 /dev-python/protobuf-python/files
parentf5988bfcb1ebdf0bbf6eb598f834aa1758ee981d (diff)
downloadgentoo-9448ce017d968c8ced8e8026040e09d0d5e4a5c5.tar.gz
gentoo-9448ce017d968c8ced8e8026040e09d0d5e4a5c5.tar.bz2
gentoo-9448ce017d968c8ced8e8026040e09d0d5e4a5c5.zip
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
Diffstat (limited to 'dev-python/protobuf-python/files')
-rw-r--r--dev-python/protobuf-python/files/protobuf-python-3.0.0_beta3-link-against-installed-lib.patch4
1 files changed, 2 insertions, 2 deletions
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')