summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2018-04-25 20:21:38 +0200
committerMike Gilbert <floppym@gentoo.org>2018-04-26 11:12:16 -0400
commitade3f8280f4988896dc995008d0b8b61492ed832 (patch)
treeeab0bc547dd9da86932c95cc060a58312250e913 /dev-python/protobuf-python/files
parentdev-java/protobuf-java: Delete old versions (<3.4.0). (diff)
downloadgentoo-ade3f8280f4988896dc995008d0b8b61492ed832.tar.gz
gentoo-ade3f8280f4988896dc995008d0b8b61492ed832.tar.bz2
gentoo-ade3f8280f4988896dc995008d0b8b61492ed832.zip
dev-python/protobuf-python: Delete old versions (<3.4.0).
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.patch33
1 files changed, 0 insertions, 33 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
deleted file mode 100644
index c0b7aadcd6f5..000000000000
--- a/dev-python/protobuf-python/files/protobuf-python-3.0.0_beta3-link-against-installed-lib.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -Naur python/setup.py python/setup.py
---- python/setup.py 2015-12-30 22:21:46.000000000 +0100
-+++ python/setup.py 2016-04-18 00:51:49.490809789 +0200
-@@ -190,15 +190,27 @@
- extra_compile_args.append('-Werror')
- sys.argv.remove(warnings_as_errors)
-
-+ inclD = ['.', '../src']
-+ libD = []
-+ try:
-+ subprocess.check_call(['pkg-config', '--exists', 'protobuf'])
-+ 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')
-+ else:
-+ warn("Running pkg-config failed - %s." % osex)
-+ libD = ['../src/.libs']
- # C++ implementation extension
- ext_module_list.extend([
- Extension(
- "google.protobuf.pyext._message",
- glob.glob('google/protobuf/pyext/*.cc'),
-- include_dirs=[".", "../src"],
-+ include_dirs=inclD,
- libraries=libraries,
- extra_objects=extra_objects,
-- library_dirs=['../src/.libs'],
-+ library_dirs=libD,
- extra_compile_args=extra_compile_args,
- ),
- Extension(