Py-redis don't actually install.
pkg_info(8) reports about nonexistent files
# pkg_info -g py27-redis-2.2.4
Information for py27-redis-2.2.4:
pkg_info: /usr/local/lib/python2.7/site-packages/redis-2.2.4-py2.7.egg-info doesn't exist
pkg_info: /usr/local/lib/python2.7/site-packages/redis/__init__.py doesn't exist
pkg_info: /usr/local/lib/python2.7/site-packages/redis/__init__.pyc doesn't exist
pkg_info: /usr/local/lib/python2.7/site-packages/redis/__init__.pyo doesn't exist
pkg_info: /usr/local/lib/python2.7/site-packages/redis/client.py doesn't exist
pkg_info: /usr/local/lib/python2.7/site-packages/redis/client.pyc doesn't exist
pkg_info: /usr/local/lib/python2.7/site-packages/redis/client.pyo doesn't exist
pkg_info: /usr/local/lib/python2.7/site-packages/redis/connection.py doesn't exist
pkg_info: /usr/local/lib/python2.7/site-packages/redis/connection.pyc doesn't exist
pkg_info: /usr/local/lib/python2.7/site-packages/redis/connection.pyo doesn't exist
pkg_info: /usr/local/lib/python2.7/site-packages/redis/exceptions.py doesn't exist
pkg_info: /usr/local/lib/python2.7/site-packages/redis/exceptions.pyc doesn't exist
pkg_info: /usr/local/lib/python2.7/site-packages/redis/exceptions.pyo doesn't exist
How-To-Repeat: #cd /usr/ports/databases/py-redis
# make install
#pkg_info -g py27-redis-2.2.4
Here is a patch to fix this problem.
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 @@
CATEGORIES= databases python
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'],
+- from setuptools import setup
+- from distutils.core import setup
++from distutils.core import setup
He-he. This patch should be sent to upstream.
-- Eir Nym
Assign to maintainer
Does the same problem still exist in current version?
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.
solved via ports/168362