[40099] trunk/dports/python
akira at macports.org
akira at macports.org
Sat Sep 20 09:42:40 PDT 2008
Revision: 40099
http://trac.macports.org/changeset/40099
Author: akira at macports.org
Date: 2008-09-20 09:42:38 -0700 (Sat, 20 Sep 2008)
Log Message:
-----------
Added python-libmemcached
Added Paths:
-----------
trunk/dports/python/py25-libmemcached/
trunk/dports/python/py25-libmemcached/Portfile
trunk/dports/python/py25-libmemcached/files/
trunk/dports/python/py25-libmemcached/files/patch-setup.py.diff
Added: trunk/dports/python/py25-libmemcached/Portfile
===================================================================
--- trunk/dports/python/py25-libmemcached/Portfile (rev 0)
+++ trunk/dports/python/py25-libmemcached/Portfile 2008-09-20 16:42:38 UTC (rev 40099)
@@ -0,0 +1,33 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup python25 1.0
+
+name py25-libmemcached
+version 0.13.1
+revision 0
+maintainers akira openmaintainer
+description python memcached client wrapped on libmemcached
+long_description python memcached client wrapped on libmemcached.
+platforms darwin
+homepage http://code.google.com/p/python-libmemcached/
+master_sites http://python-libmemcached.googlecode.com/files/
+distname python-libmemcached
+distfiles python-libmemcached-${version}.tgz
+checksums md5 ee728adeb6a7de34fc9241bcd2b360be \
+ sha1 6c82deed9980cfb5efbce051c0f4f381c24151a3 \
+ rmd160 4047d121d48ff918851c404ec3f0bd8aebdfee6d
+depends_lib port:libmemcached \
+ port:py25-pyrex
+patchfiles patch-setup.py.diff
+
+configure {
+ reinplace "s|/usr/local|/opt/local|g" ${worksrcpath}/setup.py
+}
+
+post-destroot {
+ xinstall -m 644 -W ${worksrcpath} \
+ AUTHORS COPYING ChangeLog benchmark.py readme \
+ ${destroot}${prefix}/share/doc/${name}
+}
Property changes on: trunk/dports/python/py25-libmemcached/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/python/py25-libmemcached/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py25-libmemcached/files/patch-setup.py.diff (rev 0)
+++ trunk/dports/python/py25-libmemcached/files/patch-setup.py.diff 2008-09-20 16:42:38 UTC (rev 40099)
@@ -0,0 +1,11 @@
+--- setup.py.orig 2008-09-21 00:30:25.000000000 +0900
++++ setup.py 2008-09-21 00:31:32.000000000 +0900
+@@ -12,7 +12,7 @@
+ # This assumes that libmemcache is installed with base /usr/local
+ ext_modules=[Extension('cmemcached', ['cmemcached.pyx'],
+ libraries=['memcached'],
+- extra_link_args=['--no-undefined', '-Wl,-rpath=/usr/local/lib'],
++ extra_link_args=['--no-undefined'],
+ include_dirs = ["/usr/local/include", "/usr/local/include/libmemcached/"],
+ library_dirs = ["/usr/local/lib"],
+ )]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080920/d4ac8ce6/attachment.html
More information about the macports-changes
mailing list