# 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
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST jonpy-0.06.tar.gz 49022 RMD160 e1bc4c1b0f0482f0bd627ec212073e04235df047 SHA1 b833de527a2dd70cb8965ff070f0a0a4a51b53a1 SHA256 5e554547286e09021e16e706761d88af6c8f031538ff1f642055a1af22a8e743
-EBUILD jonpy-0.06.ebuild 974 RMD160 d3128e7ac9aef2cac4433ed7c4dd424169ca3121 SHA1 ae49551b9d679039a7c22429b3a24362e543dd59 SHA256 d464465d1fa483f5ee628e25b37c95841484d46fc1ed63cc893fe270f735b305
-MD5 aca14fdf01c674d83261d7cb3988b239 jonpy-0.06.ebuild 974
-RMD160 d3128e7ac9aef2cac4433ed7c4dd424169ca3121 jonpy-0.06.ebuild 974
-SHA256 d464465d1fa483f5ee628e25b37c95841484d46fc1ed63cc893fe270f735b305 jonpy-0.06.ebuild 974
-MISC ChangeLog 685 RMD160 f991eecd7651760393a8a7fb9b18fab416f6e40e SHA1 50d9a72234e3c087744fa9c45e6cdfe915d01a88 SHA256 6d617737185ba14d6adc737c995160a376907146edeb09c5fe75bd24a1f2eabe
-MD5 2981bb50d63fc62ef97d6e91ec1a2b97 ChangeLog 685
-RMD160 f991eecd7651760393a8a7fb9b18fab416f6e40e ChangeLog 685
-SHA256 6d617737185ba14d6adc737c995160a376907146edeb09c5fe75bd24a1f2eabe ChangeLog 685
+EBUILD jonpy-0.06.ebuild 677 RMD160 e3672af74ac02fac17a9589ff99565a4669a0d6c SHA1 29c28c78787659cdc49c6dc6f37daa7a4db0d6eb SHA256 e491356bbe1ef17c2b03eab357c1cf27244853b344e09cbb06126a94f752d8fc
+MD5 ecd79517ca872ffd576c4f11067830f2 jonpy-0.06.ebuild 677
+RMD160 e3672af74ac02fac17a9589ff99565a4669a0d6c jonpy-0.06.ebuild 677
+SHA256 e491356bbe1ef17c2b03eab357c1cf27244853b344e09cbb06126a94f752d8fc jonpy-0.06.ebuild 677
+MISC ChangeLog 835 RMD160 81be1b21f9e10090e194edb437a219020bad3c30 SHA1 b9a77e18bde9e4054a7a99d90b30f9901e93d0f5 SHA256 58741487d5abc7438a4f7e2669a91caf9587be11f74aa2153810f1cb68d89e4e
+MD5 b83bcf907322403080d6831ed30ca6e2 ChangeLog 835
+RMD160 81be1b21f9e10090e194edb437a219020bad3c30 ChangeLog 835
+SHA256 58741487d5abc7438a4f7e2669a91caf9587be11f74aa2153810f1cb68d89e4e ChangeLog 835
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f metadata.xml 159
MD5 ac06c966ad0453f2f466867f8412da3b files/digest-jonpy-0.06 229
RMD160 7ca3b21fd800cf44df93962f40f96363ed57db83 files/digest-jonpy-0.06 229
SHA256 047c0af3f3e6e527a806c066afe5adac8becd5916b9fcfe3b300a21bc380924e files/digest-jonpy-0.06 229
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.2 (GNU/Linux)
+
+iD8DBQFF6p8P2jLqHNfbg2URAiKsAJ9iXWApxWkge0OgI+Y41J5KU5KV1ACghzl7
+ZQLUcffIgmrii8cTBkwskqU=
+=OlWp
+-----END PGP SIGNATURE-----
-# 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
}