View | Details | Raw Unified | Return to bug 280724
Collapse All | Expand All

(-)b/databases/py-hiredis/Makefile (-1 / +1 lines)
Lines 1-5 Link Here
1
PORTNAME=	hiredis
1
PORTNAME=	hiredis
2
PORTVERSION=	2.0.0
2
PORTVERSION=	3.0.0
3
CATEGORIES=	databases python
3
CATEGORIES=	databases python
4
MASTER_SITES=	PYPI
4
MASTER_SITES=	PYPI
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
(-)b/databases/py-hiredis/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1651161094
1
TIMESTAMP = 1723278447
2
SHA256 (hiredis-2.0.0.tar.gz) = 81d6d8e39695f2c37954d1011c0480ef7cf444d4e3ae24bc5e89ee5de360139a
2
SHA256 (hiredis-3.0.0.tar.gz) = fed8581ae26345dea1f1e0d1a96e05041a727a45e7d8d459164583e23c6ac441
3
SIZE (hiredis-2.0.0.tar.gz) = 75807
3
SIZE (hiredis-3.0.0.tar.gz) = 87581
(-)b/databases/py-hiredis/files/patch-setup.py (-13 / +20 lines)
Lines 1-16 Link Here
1
--- setup.py.orig	2021-03-28 15:11:23 UTC
1
--- setup.py.orig	2024-07-19 12:05:48 UTC
2
+++ setup.py
2
+++ setup.py
3
@@ -11,9 +11,10 @@ def version():
3
@@ -18,8 +18,7 @@ def get_sources():
4
   return module.__version__
5
 
4
 
6
 ext = Extension("hiredis.hiredis",
5
 
7
-  sources=sorted(glob.glob("src/*.c") +
6
 def get_sources():
8
-                 ["vendor/hiredis/%s.c" % src for src in ("alloc", "read", "sds")]),
7
-    hiredis_sources = ("alloc", "async", "hiredis", "net", "read", "sds", "sockcompat")
9
-  include_dirs=["vendor"])
8
-    return sorted(glob.glob("src/*.c") + ["vendor/hiredis/%s.c" % src for src in hiredis_sources])
10
+  sources=sorted(glob.glob("src/*.c")),
9
+    return sorted(glob.glob("src/*.c"))
11
+  include_dirs=["%%LOCALBASE%%/include"],
10
 
12
+  library_dirs=["%%LOCALBASE%%/lib"],
11
 
13
+  libraries=["hiredis"])
12
 def get_linker_args():
13
@@ -47,8 +46,9 @@ ext = Extension("hiredis.hiredis",
14
                 sources=get_sources(),
15
                 extra_compile_args=get_compiler_args(),
16
                 extra_link_args=get_linker_args(),
17
-                libraries=get_libraries(),
18
-                include_dirs=["vendor"])
19
+                include_dirs=["/usr/local/include"],
20
+                library_dirs=["/usr/local/lib"],
21
+                libraries=["hiredis"])
14
 
22
 
15
 setup(
23
 setup(
16
   name="hiredis",
24
     name="hiredis",
17
- 

Return to bug 280724