Summary: | databases/py-redis: [2.2.4] this port don't actually install | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Eir Nym <eirnym> |
Component: | Individual Port(s) | Assignee: | Cheng-Lung Sung <clsung> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Eir Nym
2011-06-19 19:20:11 UTC
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) + He-he. This patch should be sent to upstream. -- Eir Nym Responsible Changed From-To: freebsd-ports-bugs->clsung Assign to maintainer State Changed From-To: open->feedback Does the same problem still exist in current version? SSBjYW4gcmVwcm9kdWNlIHRoaXMgYmVoYXZpb3Igd2l0aCBweTI3LXJlZGlzLTIuNC45IG9uIDgu MlIgYW5kIDkuMFIuIHB5MjYtcmVkaXMtMi40LjkgaW5zdGFsbHMgdW5icm9rZW4gb24gNy4zUi4g V2hhdCBvdGhlciBpbmZvcm1hdGlvbiB3b3VsZCBoZWxwIGlzb2xhdGUgdGhlIHByb2JsZW0/ Please excuse the base64 noise. I hope I've successfully resolved that em= barrassing little gaffe. I can reproduce this behavior with py27-redis-2.4.9 on 8.2R and 9.0R. py2= 6-redis-2.4.9 installs unbroken on 7.3R. Applying an updated version of wen's setup.py patch from above resolves t= he problem on 8.2R and 9.0R, and does not appear to break on 7.3R. Just submitted ports/168362 which includes the patch from this PR. Can close this once it's committed. State Changed From-To: feedback->closed solved via ports/168362 |