Info2: << #========================================================================= # $Id$ Package: libapache2-mod-python-py%type_pkg[python]%type_pkg[-ssl] Version: 3.1.4 Revision: 4 Type: python (2.3 2.4), -ssl . Description: Embeds the Python interpreter within Apache License: OSI-Approved Homepage: http://modpython.org/ Maintainer: Matthew Bogosian #========================================================================= #---- Dependencies ------------------------------------------------------- Depends: python%type_pkg[python] | python%type_pkg[python]-nox, apache2%type_pkg[-ssl] BuildDepends: apache2%type_pkg[-ssl]-dev , apr%type_pkg[-ssl] #---- Unpack phase ------------------------------------------------------- Source: http://www.apache.org/dist/httpd/modpython/mod_python-%v.tgz Source-MD5: 607175958137b06bcda91110414c82a1 PatchScript: patch -p0 < %a/libapache2-mod-python-py.patch #---- Compile phase ------------------------------------------------------ CompileScript: << #!/bin/sh -ex ./configure --prefix='%p' --with-apxs='%p/sbin/apxs' \ --with-python='%p/bin/python%type_raw[python]' make << #---- Install phase ------------------------------------------------------ DocFiles: COPYRIGHT CREDITS LICENSE NEWS NOTICE README InstallScript: << #!/bin/sh -ex make DESTDIR='%d' install install -d -m 700 '%i/share/doc/mod-python' cp -Rp doc-html examples '%i/share/doc/mod-python' chmod -R go-rstwx,a+Xr '%i/share/doc/mod-python' << #---- Split-offs --------------------------------------------------------- SplitOff: << Package: %N-doc Description: mod_python documentation Conflicts: libapache2-mod-python-doc, libapache2-mod-python-py23-doc, libapache2-mod-python-py23-ssl-doc, libapache2-mod-python-py24-doc, libapache2-mod-python-py24-ssl-doc Replaces: libapache2-mod-python-doc, libapache2-mod-python-py23-doc, libapache2-mod-python-py23-ssl-doc, libapache2-mod-python-py24-doc, libapache2-mod-python-py24-ssl-doc Suggests: libapache2-mod-python-py24 | libapache2-mod-python-py23 Files: share/doc/mod-python << #---- Documentation ------------------------------------------------------ DescDetail: << From http://modpython.org/: Mod_python is an Apache module that embeds the Python interpreter within the server. With mod_python you can write web-based applications in Python that will run many times faster than traditional CGI and will have access to advanced features such as ability to retain database connections and other data between hits and access to Apache internals. << DescPort: << Using a patch from here: http://cvs.opendarwin.org//cgi-bin/cvsweb.cgi/proj/darwinports/dports/www/mod_python/files/patch-mod_python.c << <<