mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
27 lines
746 B
Diff
27 lines
746 B
Diff
diff -ur hiredis-0.2.0.orig/setup.py hiredis-0.2.0/setup.py
|
|
--- hiredis-0.2.0.orig/setup.py 2015-04-03 16:08:45.000000000 +0200
|
|
+++ hiredis-0.2.0/setup.py 2018-04-22 16:57:15.966520939 +0200
|
|
@@ -40,12 +40,11 @@
|
|
# 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"])
|
|
+ libraries=["hiredis"],
|
|
+)
|
|
|
|
setup(
|
|
name="hiredis",
|
|
@@ -57,7 +56,6 @@
|
|
keywords=["Redis"],
|
|
license="BSD",
|
|
packages=["hiredis"],
|
|
- libraries=[lib],
|
|
ext_modules=[ext],
|
|
|
|
# Override "install_lib" command
|