Date: Mon, 20 Jun 2011 03:10:13 GMT From: wen heping <wenheping@gmail.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/158036: [database/py-redis] [2.2.4] this port don't actually install Message-ID: <201106200310.p5K3ADO3002153@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/158036; it has been noted by GNATS. From: wen heping <wenheping@gmail.com> To: bug-followup@FreeBSD.org, eirnym@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) +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106200310.p5K3ADO3002153>