forked from pool/python-hiredis
- Update to 2.0.0
* Bump hiredis from 0.13.3 to 1.0.0 and consequently add support
for RESP3 (see #104)
* Add type hints (see #106)
* Drop support for EOL Python versions 2.7, 3.4, and 3.5 (see #103)
- Drop obsolete patches
* hiredis1.patch
* bump_hiredis_0.14.1.patch
- Update patches
* 0001-Use-system-libhiredis.patch
* drop-vendor-sources.patch
OBS-URL: https://build.opensuse.org/request/show/946677
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hiredis?expand=0&rev=14
17 lines
487 B
Diff
17 lines
487 B
Diff
---
|
|
setup.py | 3 +--
|
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
|
|
--- a/setup.py 2022-01-15 16:32:39.379711369 +0100
|
|
+++ b/setup.py 2022-01-15 16:33:03.091710944 +0100
|
|
@@ -11,8 +11,7 @@ def version():
|
|
return module.__version__
|
|
|
|
ext = Extension("hiredis.hiredis",
|
|
- sources=sorted(glob.glob("src/*.c") +
|
|
- ["vendor/hiredis/%s.c" % src for src in ("alloc", "read", "sds")]),
|
|
+ sources=sorted(glob.glob("src/*.c")),
|
|
extra_link_args=["-lhiredis"])
|
|
|
|
setup(
|