[47649] trunk/dports/python
blb at macports.org
blb at macports.org
Mon Mar 2 15:04:48 PST 2009
Revision: 47649
http://trac.macports.org/changeset/47649
Author: blb at macports.org
Date: 2009-03-02 15:04:48 -0800 (Mon, 02 Mar 2009)
Log Message:
-----------
New ports - python/py2[56]-hypy, Fulltext search interface for Python applications
Added Paths:
-----------
trunk/dports/python/py25-hypy/
trunk/dports/python/py25-hypy/Portfile
trunk/dports/python/py25-hypy/files/
trunk/dports/python/py25-hypy/files/patch-setup.py.diff
trunk/dports/python/py26-hypy/
trunk/dports/python/py26-hypy/Portfile
trunk/dports/python/py26-hypy/files/
trunk/dports/python/py26-hypy/files/patch-setup.py.diff
Added: trunk/dports/python/py25-hypy/Portfile
===================================================================
--- trunk/dports/python/py25-hypy/Portfile (rev 0)
+++ trunk/dports/python/py25-hypy/Portfile 2009-03-02 23:04:48 UTC (rev 47649)
@@ -0,0 +1,37 @@
+# $Id$
+
+PortSystem 1.0
+PortGroup python25 1.0
+name py25-hypy
+version 0.8.3
+categories-append textproc
+maintainers blb openmaintainer
+description Fulltext search interface for Python applications
+long_description \
+ Hypy is a fulltext search interface for Python applications. Use it to \
+ index and search your documents from Python code.
+
+platforms darwin
+
+homepage http://goonmill.org/hypy/
+master_sites http://pypi.python.org/packages/source/H/Hypy/
+distname Hypy-${version}
+
+checksums md5 3603657417b0ad7fc199f6b2e37f10e8 \
+ sha1 0dcae455fbc993b4663beb66e32423679fade4cf \
+ rmd160 5f247d4f410aa0d2dbff0fc6268724865955d9a4
+
+depends_lib-append port:hyperestraier
+
+patchfiles patch-setup.py.diff
+post-patch {
+ reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
+ reinplace "s|VERSION_NOT_FOUND|${version}|" ${worksrcpath}/setup.py
+}
+
+post-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 -W ${worksrcpath} README.txt \
+ ${destroot}${prefix}/share/doc/${name}
+}
+
Property changes on: trunk/dports/python/py25-hypy/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/python/py25-hypy/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py25-hypy/files/patch-setup.py.diff (rev 0)
+++ trunk/dports/python/py25-hypy/files/patch-setup.py.diff 2009-03-02 23:04:48 UTC (rev 47649)
@@ -0,0 +1,11 @@
+--- setup.py.orig 2009-02-22 17:24:27.000000000 -0700
++++ setup.py 2009-03-02 15:51:33.000000000 -0700
+@@ -34,7 +34,7 @@
+ ext = Extension("_estraiernative",
+ ["estraiernative.c"],
+ libraries=["estraier"],
+- include_dirs=["/usr/include/estraier", "/usr/include/qdbm"],
++ include_dirs=["@@PREFIX@@/include", "/usr/include/estraier", "/usr/include/qdbm"],
+ )
+
+ setup(
Added: trunk/dports/python/py26-hypy/Portfile
===================================================================
--- trunk/dports/python/py26-hypy/Portfile (rev 0)
+++ trunk/dports/python/py26-hypy/Portfile 2009-03-02 23:04:48 UTC (rev 47649)
@@ -0,0 +1,37 @@
+# $Id$
+
+PortSystem 1.0
+PortGroup python26 1.0
+name py26-hypy
+version 0.8.3
+categories-append textproc
+maintainers blb openmaintainer
+description Fulltext search interface for Python applications
+long_description \
+ Hypy is a fulltext search interface for Python applications. Use it to \
+ index and search your documents from Python code.
+
+platforms darwin
+
+homepage http://goonmill.org/hypy/
+master_sites http://pypi.python.org/packages/source/H/Hypy/
+distname Hypy-${version}
+
+checksums md5 3603657417b0ad7fc199f6b2e37f10e8 \
+ sha1 0dcae455fbc993b4663beb66e32423679fade4cf \
+ rmd160 5f247d4f410aa0d2dbff0fc6268724865955d9a4
+
+depends_lib-append port:hyperestraier
+
+patchfiles patch-setup.py.diff
+post-patch {
+ reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
+ reinplace "s|VERSION_NOT_FOUND|${version}|" ${worksrcpath}/setup.py
+}
+
+post-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 -W ${worksrcpath} README.txt \
+ ${destroot}${prefix}/share/doc/${name}
+}
+
Property changes on: trunk/dports/python/py26-hypy/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/python/py26-hypy/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py26-hypy/files/patch-setup.py.diff (rev 0)
+++ trunk/dports/python/py26-hypy/files/patch-setup.py.diff 2009-03-02 23:04:48 UTC (rev 47649)
@@ -0,0 +1,11 @@
+--- setup.py.orig 2009-02-22 17:24:27.000000000 -0700
++++ setup.py 2009-03-02 15:51:33.000000000 -0700
+@@ -34,7 +34,7 @@
+ ext = Extension("_estraiernative",
+ ["estraiernative.c"],
+ libraries=["estraier"],
+- include_dirs=["/usr/include/estraier", "/usr/include/qdbm"],
++ include_dirs=["@@PREFIX@@/include", "/usr/include/estraier", "/usr/include/qdbm"],
+ )
+
+ setup(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090302/0bfbca3d/attachment.html>
More information about the macports-changes
mailing list