aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-hiredis/system-hiredis.patch
diff options
context:
space:
mode:
authorEivind Uggedal <eu@eju.no>2019-05-12 19:01:36 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-08-21 14:04:42 +0000
commit06b2c874a9dc365e2190c60bb93ea7a6f27fc72c (patch)
treeefcd3729521313a6ff9e44fc2f807f986d0145b2 /main/py3-hiredis/system-hiredis.patch
parentde4dad0b9450b25c3a13f7eeff38c914b2721ead (diff)
downloadaports-06b2c874a9dc365e2190c60bb93ea7a6f27fc72c.tar.bz2
aports-06b2c874a9dc365e2190c60bb93ea7a6f27fc72c.tar.xz
main/py3-hiredis: update to 1.0.0, py3 only, adopt
* Drop py2 version * Adopt package (again) * Modernize * Add python3 support * Run tests * Patch to work with system hiredis 0.14
Diffstat (limited to 'main/py3-hiredis/system-hiredis.patch')
-rw-r--r--main/py3-hiredis/system-hiredis.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/main/py3-hiredis/system-hiredis.patch b/main/py3-hiredis/system-hiredis.patch
new file mode 100644
index 0000000000..e5aaa28bc4
--- /dev/null
+++ b/main/py3-hiredis/system-hiredis.patch
@@ -0,0 +1,14 @@
+--- hiredis-1.0.0/setup.py
++++ hiredis-1.0.0_p/setup.py
+@@ -11,9 +11,8 @@
+ return module.__version__
+
+ ext = Extension("hiredis.hiredis",
+- sources=sorted(glob.glob("src/*.c") +
+- ["vendor/hiredis/%s.c" % src for src in ("read", "sds")]),
+- include_dirs=["vendor"])
++ sources=sorted(glob.glob("src/*.c")),
++ libraries=["hiredis"])
+
+ setup(
+ name="hiredis",