diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2009-09-17 10:50:39 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2009-09-17 10:50:39 +0000 |
commit | 35be4406085b56438a75f2bc82ee4f7a00f2b760 (patch) | |
tree | e5ecd106bd233c2e2a60ca3d2a46a55a26088a25 /www-apache/mod_python | |
parent | stable on amd64 & x86 (diff) | |
download | gentoo-2-35be4406085b56438a75f2bc82ee4f7a00f2b760.tar.gz gentoo-2-35be4406085b56438a75f2bc82ee4f7a00f2b760.tar.bz2 gentoo-2-35be4406085b56438a75f2bc82ee4f7a00f2b760.zip |
cleanup
(Portage version: 2.2_rc40/cvs/Linux i686)
Diffstat (limited to 'www-apache/mod_python')
-rw-r--r-- | www-apache/mod_python/ChangeLog | 5 | ||||
-rw-r--r-- | www-apache/mod_python/mod_python-3.3.1.ebuild | 64 |
2 files changed, 4 insertions, 65 deletions
diff --git a/www-apache/mod_python/ChangeLog b/www-apache/mod_python/ChangeLog index cbdccbf35ec0..72a297ee2404 100644 --- a/www-apache/mod_python/ChangeLog +++ b/www-apache/mod_python/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for www-apache/mod_python # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_python/ChangeLog,v 1.18 2009/08/07 02:41:32 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_python/ChangeLog,v 1.19 2009/09/17 10:50:39 hollow Exp $ + + 17 Sep 2009; Benedikt Böhm <hollow@gentoo.org> -mod_python-3.3.1.ebuild: + cleanup 07 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> mod_python-3.3.1-r1.ebuild, +files/mod_python-3.3.1-LDFLAGS.patch, diff --git a/www-apache/mod_python/mod_python-3.3.1.ebuild b/www-apache/mod_python/mod_python-3.3.1.ebuild deleted file mode 100644 index 01e5d929f4c4..000000000000 --- a/www-apache/mod_python/mod_python-3.3.1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_python/mod_python-3.3.1.ebuild,v 1.11 2008/05/29 18:12:41 hawking Exp $ - -inherit python apache-module multilib - -KEYWORDS="alpha amd64 ia64 ~mips ppc sparc x86" - -DESCRIPTION="An Apache2 module providing an embedded Python interpreter." -HOMEPAGE="http://www.modpython.org/" -SRC_URI="mirror://apache/httpd/modpython/${P}.tgz" -LICENSE="Apache-1.1" -SLOT="0" -IUSE="" - -DEPEND="dev-lang/python" -RDEPEND="${DEPEND}" - -APACHE2_MOD_CONF="16_${PN}" -APACHE2_MOD_DEFINE="PYTHON" - -DOCFILES="README NEWS CREDITS" - -need_apache2 - -src_unpack() { - unpack ${A} - cd "${S}" - - # Remove optimisations, we do that outside Portage - sed -i -e 's:--optimize 2:--no-compile:' dist/Makefile.in -} - -src_compile() { - econf --with-apxs=${APXS} || die "econf failed" - sed -i -e 's/ -Wl,--hash-style $//' src/Makefile - emake OPT="`apxs2 -q CFLAGS` -fPIC" || die "econf failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dohtml -r doc-html/* - apache-module_src_install -} - -src_test() { - python_version - cd test - PYTHONPATH="$(ls -d ${S}/dist/build/lib.*)" - sed -i \ - -e "120ios.environ['PYTHONPATH']=\"${PYTHONPATH}\"" \ - test.py || die "sed failed" - "${python}" test.py || die "tests failed" -} - -pkg_postinst() { - python_version - python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/mod_python - apache-module_pkg_postinst -} - -pkg_postrm() { - python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/mod_python -} |