1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

databases/py-hiredis: update to 0.1.2

PR:		ports/185552
Submitted by:	maintainer
This commit is contained in:
William Grzybowski 2014-01-08 11:06:04 +00:00
parent e1490d8634
commit 87588ffeb1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339089
3 changed files with 11 additions and 18 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= hiredis
PORTVERSION= 0.1.1
PORTREVISION= 1
PORTVERSION= 0.1.2
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View File

@ -1,2 +1,2 @@
SHA256 (hiredis-0.1.1.tar.gz) = ca7b3840d12f836dabfd73708bd64c0ac31204b22a926279b6515e6433e50ffc
SIZE (hiredis-0.1.1.tar.gz) = 35598
SHA256 (hiredis-0.1.2.tar.gz) = c44df954d9dcc9f57682bf8fabf172a112edf53ff35bb5ce8f8fff1b1985abb1
SIZE (hiredis-0.1.2.tar.gz) = 36951

View File

@ -1,22 +1,16 @@
--- ./setup.py.orig 2012-04-18 04:54:11.000000000 +1000
+++ ./setup.py 2012-09-25 21:54:06.000000000 +1000
@@ -20,13 +20,10 @@
if self.distribution.has_ext_modules():
self.run_command('build_ext')
--- ./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 @@
-lib = ("hiredis", {
- "sources": ["vendor/hiredis/%s.c" % src for src in ("hiredis", "net", "sds")],
- "include_dirs": ["vendor/hiredis"]})
-
ext = Extension("hiredis.hiredis",
sources=glob.glob("src/*.c"),
- include_dirs=["src", "vendor"],
+ include_dirs=["src", "%%LOCALBASE%%/include"],
+ library_dirs=["%%LOCALBASE%%/lib"],
libraries=["hiredis"])
- include_dirs=["vendor"])
+ include_dirs=["%%LOCALBASE%%/include"],
+ library_dirs=["%%LOCALBASE%%/lib"],)
setup(
@@ -39,7 +36,6 @@
name="hiredis",
@@ -53,7 +54,6 @@
keywords=["Redis"],
license="BSD",
packages=["hiredis"],