diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-03-16 02:48:47 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-04-02 01:43:47 +0000 |
commit | aad2afe051973fa7fd6f4f9b83703c09445ff17c (patch) | |
tree | 4266144bb0c3984f784b0dd910d33fa98a72c353 /community/py3-hiredis/system-hiredis.patch | |
parent | aad758e364da9a69d0d519b619cc6eb2c7d150f8 (diff) | |
download | aports-aad2afe051973fa7fd6f4f9b83703c09445ff17c.tar.bz2 aports-aad2afe051973fa7fd6f4f9b83703c09445ff17c.tar.xz |
community/py3-*: move from main/ and modernize
Diffstat (limited to 'community/py3-hiredis/system-hiredis.patch')
-rw-r--r-- | community/py3-hiredis/system-hiredis.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/community/py3-hiredis/system-hiredis.patch b/community/py3-hiredis/system-hiredis.patch new file mode 100644 index 0000000000..e5aaa28bc4 --- /dev/null +++ b/community/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", |