idella4     15/07/17 13:05:46

  Added:                hiredis-0.2.0-system-libs.patch
  Log:
  bump; patch to remove vendor and var 'lib' from setup.py
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.1                  dev-python/hiredis/files/hiredis-0.2.0-system-libs.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/hiredis/files/hiredis-0.2.0-system-libs.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/hiredis/files/hiredis-0.2.0-system-libs.patch?rev=1.1&content-type=text/plain

Index: hiredis-0.2.0-system-libs.patch
===================================================================
Remove vendor and var 'lib' from setup.py
diff -u hiredis-0.2.0.orig/setup.py hiredis-0.2.0/setup.py
--- setup.py    2015-06-21 11:47:28.796472027 +0800
+++ setup.py    2015-06-21 11:49:53.047949803 +0800
@@ -40,12 +40,9 @@
 # supported Python versions is worse...
 #
 # Also see: https://github.com/pietern/hiredis-py/issues/15
-lib = ("hiredis_for_hiredis_py", {
-  "sources": ["vendor/hiredis/%s.c" % src for src in ("read", "sds")]})
 
 ext = Extension("hiredis.hiredis",
-  sources=glob.glob("src/*.c"),
-  include_dirs=["vendor"])
+  sources=glob.glob("src/*.c"))
 
 setup(
   name="hiredis",
@@ -57,7 +54,6 @@
   keywords=["Redis"],
   license="BSD",
   packages=["hiredis"],
-  libraries=[lib],
   ext_modules=[ext],
 
   # Override "install_lib" command
Common subdirectories: hiredis-0.2.0.orig/src and hiredis-0.2.0/src
Common subdirectories: hiredis-0.2.0.orig/vendor and hiredis-0.2.0/vendor




Reply via email to