mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Upgrade to 0.2.0 and fix linking with libhiredis.
PR: 199997 Submitted by: olgeni Approved by: maintainer
This commit is contained in:
parent
c61a1584fa
commit
fd876ca3f6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=385599
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= hiredis
|
||||
PORTVERSION= 0.1.2
|
||||
PORTVERSION= 0.2.0
|
||||
CATEGORIES= databases python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (hiredis-0.1.2.tar.gz) = c44df954d9dcc9f57682bf8fabf172a112edf53ff35bb5ce8f8fff1b1985abb1
|
||||
SIZE (hiredis-0.1.2.tar.gz) = 36951
|
||||
SHA256 (hiredis-0.2.0.tar.gz) = ca958e13128e49674aa4a96f02746f5de5973f39b57297b84d59fd44d314d5b5
|
||||
SIZE (hiredis-0.2.0.tar.gz) = 46113
|
||||
|
@ -1,16 +1,17 @@
|
||||
--- ./setup.py.orig 2014-01-06 19:08:27.000000000 +0400
|
||||
+++ ./setup.py 2014-01-07 15:36:44.000000000 +0400
|
||||
@@ -41,7 +41,8 @@
|
||||
--- setup.py.orig 2015-04-03 14:08:45 UTC
|
||||
+++ setup.py
|
||||
@@ -45,7 +45,9 @@ lib = ("hiredis_for_hiredis_py", {
|
||||
|
||||
ext = Extension("hiredis.hiredis",
|
||||
sources=glob.glob("src/*.c"),
|
||||
- include_dirs=["vendor"])
|
||||
+ include_dirs=["%%LOCALBASE%%/include"],
|
||||
+ library_dirs=["%%LOCALBASE%%/lib"],)
|
||||
+ library_dirs=["%%LOCALBASE%%/lib"],
|
||||
+ libraries=["hiredis"],)
|
||||
|
||||
setup(
|
||||
name="hiredis",
|
||||
@@ -53,7 +54,6 @@
|
||||
@@ -57,7 +59,6 @@ setup(
|
||||
keywords=["Redis"],
|
||||
license="BSD",
|
||||
packages=["hiredis"],
|
||||
|
Loading…
Reference in New Issue
Block a user