diff options
author | Lukasz Strzygowski <lucass@gentoo.org> | 2007-03-04 10:27:10 +0000 |
---|---|---|
committer | Lukasz Strzygowski <lucass@gentoo.org> | 2007-03-04 10:27:10 +0000 |
commit | be9b69adbc73f6a9c5d1f0eee938664837018fc5 (patch) | |
tree | 5a9c6c9ab11864d956bf1f7bacab35ba87d3c0db /dev-python/jonpy | |
parent | fix up some loose ends from guile move (diff) | |
download | gentoo-2-be9b69adbc73f6a9c5d1f0eee938664837018fc5.tar.gz gentoo-2-be9b69adbc73f6a9c5d1f0eee938664837018fc5.tar.bz2 gentoo-2-be9b69adbc73f6a9c5d1f0eee938664837018fc5.zip |
Cleanup: added NEED_PYTHON, added doc/examples use-flags, keyworded ~amd64.
(Portage version: 2.1.2-r12)
Diffstat (limited to 'dev-python/jonpy')
-rw-r--r-- | dev-python/jonpy/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/jonpy/jonpy-0.06.ebuild | 39 |
2 files changed, 19 insertions, 27 deletions
diff --git a/dev-python/jonpy/ChangeLog b/dev-python/jonpy/ChangeLog index 1432c7a328e0..a97f078cf330 100644 --- a/dev-python/jonpy/ChangeLog +++ b/dev-python/jonpy/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/jonpy -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/jonpy/ChangeLog,v 1.5 2006/07/12 15:42:49 agriffis Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/jonpy/ChangeLog,v 1.6 2007/03/04 10:27:10 lucass Exp $ + + 04 Mar 2007; Lukasz Strzygowski <lucass@gentoo.org> jonpy-0.06.ebuild: + Cleanup: added NEED_PYTHON, added doc/examples use-flags, keyworded ~amd64. 12 Jul 2006; Aron Griffis <agriffis@gentoo.org> jonpy-0.06.ebuild: Mark 0.06 stable on ia64 diff --git a/dev-python/jonpy/jonpy-0.06.ebuild b/dev-python/jonpy/jonpy-0.06.ebuild index b256fc5ed1c9..0b65ebc6be62 100644 --- a/dev-python/jonpy/jonpy-0.06.ebuild +++ b/dev-python/jonpy/jonpy-0.06.ebuild @@ -1,39 +1,28 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/jonpy/jonpy-0.06.ebuild,v 1.5 2006/07/12 15:42:49 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/jonpy/jonpy-0.06.ebuild,v 1.6 2007/03/04 10:27:10 lucass Exp $ -inherit distutils +NEED_PYTHON=2.2 -IUSE="" +inherit distutils -HOMEPAGE="http://jonpy.sourceforge.net/" DESCRIPTION="Powerful multi-threaded object-oriented CGI/FastCGI/mod_python/html-templating facilities" +HOMEPAGE="http://jonpy.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - SLOT="0" LICENSE="as-is" -KEYWORDS="ia64 x86" - -DEPEND=">=dev-lang/python-2.2" -RDEPEND="${DEPEND}" +KEYWORDS="~amd64 ia64 x86" +IUSE="doc examples" src_install() { distutils_src_install - insinto /usr/share/${P}/wt-examples - doins ${S}/example/printenv.html ${S}/example/wt/printenv.html.py - insinto /usr/share/${P}/wt-examples/cgi-bin - doins ${S}/example/cgi-bin/wt.py - - for file in `ls ${S}/doc/`; do - dohtml ${S}/doc/${file} - done - - dodoc LICENCE README -} + if use examples; then + insinto /usr/share/doc/${PF} + doins -r example + fi -pkg_postinst() { - echo - einfo "Examples for the 'wt' module have been installed in /usr/share/${P}/wt-examples" - echo + if use doc; then + dohtml doc/* + fi } |