mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 08:58:27 -07:00
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
This commit is contained in:
committed by
Michał Górny
parent
f5988bfcb1
commit
9448ce017d
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user