diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-11-21 01:18:44 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-11-21 01:18:44 +0000 |
commit | 08a21175cd2f8ecc63e218d2d27b141b98d0d45d (patch) | |
tree | b5b9864d3cf4598d927401c28112f282287be479 /dev-python/pygame | |
parent | Version bump. (diff) | |
download | gentoo-2-08a21175cd2f8ecc63e218d2d27b141b98d0d45d.tar.gz gentoo-2-08a21175cd2f8ecc63e218d2d27b141b98d0d45d.tar.bz2 gentoo-2-08a21175cd2f8ecc63e218d2d27b141b98d0d45d.zip |
Install examples only with USE="examples" (bug #287990).
(Portage version: 14854-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pygame')
-rw-r--r-- | dev-python/pygame/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/pygame/pygame-1.9.1.ebuild | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/dev-python/pygame/ChangeLog b/dev-python/pygame/ChangeLog index 85c9851dc2b6..fff832865b2e 100644 --- a/dev-python/pygame/ChangeLog +++ b/dev-python/pygame/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/pygame # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/ChangeLog,v 1.67 2009/10/13 17:05:09 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/ChangeLog,v 1.68 2009/11/21 01:18:44 arfrever Exp $ + + 21 Nov 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + pygame-1.9.1.ebuild: + Install examples only with USE="examples" (bug #287990). 13 Oct 2009; Michael Sterrett <mr_bones_@gentoo.org> -pygame-1.7.1.ebuild, -pygame-1.8.0.ebuild, -pygame-1.8.1-r1.ebuild, diff --git a/dev-python/pygame/pygame-1.9.1.ebuild b/dev-python/pygame/pygame-1.9.1.ebuild index 029866481108..bfeaae10d924 100644 --- a/dev-python/pygame/pygame-1.9.1.ebuild +++ b/dev-python/pygame/pygame-1.9.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/pygame-1.9.1.ebuild,v 1.5 2009/10/08 18:11:59 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/pygame-1.9.1.ebuild,v 1.6 2009/11/21 01:18:44 arfrever Exp $ EAPI="2" SUPPORT_PYTHON_ABIS="1" @@ -14,7 +14,7 @@ SRC_URI="http://www.pygame.org/ftp/pygame-${PV}release.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="alpha amd64 ~hppa ia64 ppc sparc x86 ~x86-fbsd" -IUSE="doc X" +IUSE="doc examples X" RDEPEND=">=media-libs/libsdl-1.2.5[X?] >=media-libs/sdl-ttf-2.0.6 @@ -57,10 +57,13 @@ src_test() { src_install() { distutils_src_install + rm -fr "${D}"usr/lib*/python*/site-packages/pygame/examples if use doc; then dohtml -r docs/* + fi + if use examples; then insinto /usr/share/doc/${PF} doins -r "${S}/examples" fi |