ports/158036: [database/py-redis] [2.2.4] this port don't actually install

wen heping wenheping at gmail.com
Mon Jun 20 03:10:13 UTC 2011


The following reply was made to PR ports/158036; it has been noted by GNATS.

From: wen heping <wenheping at gmail.com>
To: bug-followup at FreeBSD.org, eirnym at gmail.com
Cc:  
Subject: Re: ports/158036: [database/py-redis] [2.2.4] this port don't
 actually install
Date: Mon, 20 Jun 2011 11:06:55 +0800

 Hi,
 
    Here is a patch to fix this problem.
 
 wen
 
 
 diff -urN py-redis.orig/Makefile py-redis/Makefile
 --- py-redis.orig/Makefile      2011-06-20 10:56:12.000000000 +0800
 +++ py-redis/Makefile   2011-06-20 10:55:33.000000000 +0800
 @@ -7,6 +7,7 @@
 
  PORTNAME=      redis
  PORTVERSION=   2.2.4
 +PORTREVISION=  1
  CATEGORIES=    databases python
  MASTER_SITES=  http://cloud.github.com/downloads/andymccurdy/redis-py/
  PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
 diff -urN py-redis.orig/files/patch-setup.py py-redis/files/patch-setup.py
 --- py-redis.orig/files/patch-setup.py  1970-01-01 08:00:00.000000000 +0800
 +++ py-redis/files/patch-setup.py       2011-06-20 10:53:13.000000000 +0800
 @@ -0,0 +1,14 @@
 +--- setup.py.orig      2011-06-20 10:52:18.000000000 +0800
 ++++ setup.py   2011-06-20 10:52:53.000000000 +0800
 +@@ -25,10 +25,7 @@
 +         'Programming Language :: Python'],
 + }
 +
 +-try:
 +-    from setuptools import setup
 +-except ImportError:
 +-    from distutils.core import setup
 ++from distutils.core import setup
 +
 + setup(**sdict)
 +



More information about the freebsd-ports-bugs mailing list