diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-01-30 07:59:56 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-01-30 07:59:56 +0000 |
commit | 599f40d83d9b4e38baaa62174bcdf18881550274 (patch) | |
tree | dc00766a97e5e16de7f6af3304a409d643581485 /media-gfx/gnome-specimen | |
parent | Fix dependencies wrt #352927. Fix python.eclass handling wrt #322249. (diff) | |
download | gentoo-2-599f40d83d9b4e38baaa62174bcdf18881550274.tar.gz gentoo-2-599f40d83d9b4e38baaa62174bcdf18881550274.tar.bz2 gentoo-2-599f40d83d9b4e38baaa62174bcdf18881550274.zip |
refactor the ebuild more to use the provided eclasses
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/gnome-specimen')
-rw-r--r-- | media-gfx/gnome-specimen/gnome-specimen-0.4.ebuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/media-gfx/gnome-specimen/gnome-specimen-0.4.ebuild b/media-gfx/gnome-specimen/gnome-specimen-0.4.ebuild index b27f13a65834..299e9115c5fd 100644 --- a/media-gfx/gnome-specimen/gnome-specimen-0.4.ebuild +++ b/media-gfx/gnome-specimen/gnome-specimen-0.4.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/media-gfx/gnome-specimen/gnome-specimen-0.4.ebuild,v 1.3 2011/01/30 07:54:17 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gnome-specimen/gnome-specimen-0.4.ebuild,v 1.4 2011/01/30 07:59:56 ssuominen Exp $ EAPI=3 @@ -30,16 +30,19 @@ DEPEND="${RDEPEND} pkg_setup() { python_set_active_version 2 python_pkg_setup + + DOCS="AUTHORS ChangeLog NEWS README TODO" } src_prepare() { rm -f py-compile ln -s $(type -P true) py-compile + + gnome2_src_prepare } src_install() { - emake DESTDIR="${D}" install || die - dodoc AUTHORS ChangeLog NEWS README TODO + gnome2_src_install python_convert_shebangs 2 "${D}"/usr/bin/${PN} } |