diff options
author | 2011-03-13 15:07:30 +0000 | |
---|---|---|
committer | 2011-03-13 15:07:30 +0000 | |
commit | 87fc1ac25bf2941bb9f254b8bbf48c676b1862a8 (patch) | |
tree | ee86514a471b51d2fa379079bca79ac5a140a886 /dev-python/notify-python | |
parent | ppc/ppc64 stable wrt #358495 (diff) | |
download | gentoo-2-87fc1ac25bf2941bb9f254b8bbf48c676b1862a8.tar.gz gentoo-2-87fc1ac25bf2941bb9f254b8bbf48c676b1862a8.tar.bz2 gentoo-2-87fc1ac25bf2941bb9f254b8bbf48c676b1862a8.zip |
USE="examples" wrt #351879 by Joe Sapp.
(Portage version: 2.2.0_alpha26/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/notify-python')
-rw-r--r-- | dev-python/notify-python/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/notify-python/notify-python-0.1.1-r2.ebuild | 12 |
2 files changed, 14 insertions, 4 deletions
diff --git a/dev-python/notify-python/ChangeLog b/dev-python/notify-python/ChangeLog index de42ab54e4d1..e77bbd5b9713 100644 --- a/dev-python/notify-python/ChangeLog +++ b/dev-python/notify-python/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/notify-python # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/notify-python/ChangeLog,v 1.28 2011/03/13 08:08:47 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/notify-python/ChangeLog,v 1.29 2011/03/13 15:07:30 ssuominen Exp $ + + 13 Mar 2011; Samuli Suominen <ssuominen@gentoo.org> + notify-python-0.1.1-r2.ebuild: + USE="examples" wrt #351879 by Joe Sapp. *notify-python-0.1.1-r2 (13 Mar 2011) diff --git a/dev-python/notify-python/notify-python-0.1.1-r2.ebuild b/dev-python/notify-python/notify-python-0.1.1-r2.ebuild index cd4694adc8b4..4f69e1767364 100644 --- a/dev-python/notify-python/notify-python-0.1.1-r2.ebuild +++ b/dev-python/notify-python/notify-python-0.1.1-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/notify-python/notify-python-0.1.1-r2.ebuild,v 1.1 2011/03/13 08:08:47 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/notify-python/notify-python-0.1.1-r2.ebuild,v 1.2 2011/03/13 15:07:30 ssuominen Exp $ EAPI="3" PYTHON_DEPEND="2" @@ -16,7 +16,7 @@ SRC_URI="http://www.galago-project.org/files/releases/source/${PN}/${P}.tar.bz2" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" -IUSE="" +IUSE="examples" RDEPEND=">=dev-python/pygtk-2.4.0 >=x11-libs/libnotify-0.7" @@ -28,7 +28,7 @@ src_prepare() { epatch "${FILESDIR}"/${P}-libnotify-0.7.patch # Disable byte-compilation. - mv py-compile py-compile.orig + rm -f py-compile ln -s $(type -P true) py-compile # Remove the old pynotify.c to ensure it's properly regenerated #212128. @@ -41,6 +41,12 @@ src_install() { python_src_install python_clean_installation_image dodoc AUTHORS ChangeLog NEWS README + + # Requested from bug 351879. + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins tests/*.{png,py} + fi } pkg_postinst() { |