Added examples
authorRob Cakebread <pythonhead@gentoo.org>
Sat, 23 Aug 2008 15:58:32 +0000 (15:58 +0000)
committerRob Cakebread <pythonhead@gentoo.org>
Sat, 23 Aug 2008 15:58:32 +0000 (15:58 +0000)
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.25-gentoo-r4 i686

Manifest
webtest-1.0.ebuild

index 26ff64e91db6a75e6a9c742d2192d214e977d305..c5bc9f71437f38db87778c71e59fee5c3ac7d7f3 100644 (file)
--- a/Manifest
+++ b/Manifest
@@ -1,4 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 DIST WebTest-1.0.tar.gz 23163 RMD160 c45a0f40941e7c3b429ab6f6ce0b4f04408fe99a SHA1 1d5889193f9c30ca559d81646a0dbff5e182b19f SHA256 3104112cfe749a64bd1b3df398cf625ad66ef05423960bd97b4a31f2723daa54
-EBUILD webtest-1.0.ebuild 644 RMD160 df05fa72f12095b1fc00461cf7284ee1ac0d6f1d SHA1 954e29ead3be1ae67b20843aba294e8776ab0998 SHA256 52fa9f25e51c916db9ad85f37e24600f8837ae6bf762b4637d754419e535434f
+EBUILD webtest-1.0.ebuild 826 RMD160 8903821e5c581cc2927ba27c51b1d1110c3a4d26 SHA1 482b2fd1654c7c6811f656cfd17b7d1d57e95628 SHA256 14cafda8b1ad8fc6a2a3f9ca7a45e170cc7d3481aa89dd9fefc979a66858935a
 MISC ChangeLog 351 RMD160 7cf4e2ba6e0f47faaea31cda1a85478d1fb1c30e SHA1 ca843efe01f14e310ba76ef44f333daa1de6d2b6 SHA256 9316ccba8a04470b2dfddd7dffb44d5a2a39a30ba00963aa8214542beb3ca07e
 MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkiwM8oACgkQ8aihIaC/zgBUBACcCNsbcQq0UPhpg2zW71rokSJb
+ZmwAn3t2V4upLCwO+5gBjFThvgGiKPiJ
+=vT3o
+-----END PGP SIGNATURE-----
index ccb13bd8dfc241e6e57d24027ccaa5905f8cf1ae..c3ee5ccf6b7fbf75246a9008da93758ca92f03b6 100644 (file)
@@ -13,8 +13,18 @@ SRC_URI="http://pypi.python.org/packages/source/W/${MY_PN}/${MY_P}.tar.gz"
 LICENSE="MIT"
 KEYWORDS="~x86"
 SLOT="0"
-IUSE=""
+IUSE="doc examples"
 S="${WORKDIR}/${MY_P}"
 DEPEND="dev-python/setuptools"
 RDEPEND="|| ( >=dev-python/wsgiref-0.1.2 >=dev-lang/python-2.5.2-r4 )
        >=dev-python/webob-0.9.2"
+
+src_install() {
+       distutils_src_install
+
+       use doc && dodoc docs/index.txt
+       if use examples; then
+               insinto /usr/share/doc/${PF}
+               doins -r docs/chipy-presentation
+       fi
+}