diff options
author | Maciej Mrozowski <reavertm@gentoo.org> | 2010-03-27 20:25:48 +0000 |
---|---|---|
committer | Maciej Mrozowski <reavertm@gentoo.org> | 2010-03-27 20:25:48 +0000 |
commit | c77b435051f13cf51747c144e8c42ecb43043752 (patch) | |
tree | 62dca98fd769b9cf0b71635690e275728e3ec18a /kde-base/printer-applet | |
parent | Version and revision bumps, TuxOnIce 3.1 included. (diff) | |
download | gentoo-2-c77b435051f13cf51747c144e8c42ecb43043752.tar.gz gentoo-2-c77b435051f13cf51747c144e8c42ecb43043752.tar.bz2 gentoo-2-c77b435051f13cf51747c144e8c42ecb43043752.zip |
Depend on python-2, run cleanup and convert python 'shebangs'
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'kde-base/printer-applet')
-rw-r--r-- | kde-base/printer-applet/ChangeLog | 6 | ||||
-rw-r--r-- | kde-base/printer-applet/printer-applet-4.4.0.ebuild | 19 | ||||
-rw-r--r-- | kde-base/printer-applet/printer-applet-4.4.1.ebuild | 19 |
3 files changed, 39 insertions, 5 deletions
diff --git a/kde-base/printer-applet/ChangeLog b/kde-base/printer-applet/ChangeLog index 7d84229c7fe0..6e49d12fc9fb 100644 --- a/kde-base/printer-applet/ChangeLog +++ b/kde-base/printer-applet/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for kde-base/printer-applet # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/printer-applet/ChangeLog,v 1.21 2010/03/27 00:31:01 reavertm Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/printer-applet/ChangeLog,v 1.22 2010/03/27 20:25:48 reavertm Exp $ + + 27 Mar 2010; Maciej Mrozowski <reavertm@gentoo.org> + printer-applet-4.4.0.ebuild, printer-applet-4.4.1.ebuild: + Depend on python-2, run cleanup and convert python 'shebangs' 27 Mar 2010; Maciej Mrozowski <reavertm@gentoo.org> printer-applet-4.4.0.ebuild, printer-applet-4.4.1.ebuild: diff --git a/kde-base/printer-applet/printer-applet-4.4.0.ebuild b/kde-base/printer-applet/printer-applet-4.4.0.ebuild index ea5ccc899091..2ff6d7d772f0 100644 --- a/kde-base/printer-applet/printer-applet-4.4.0.ebuild +++ b/kde-base/printer-applet/printer-applet-4.4.0.ebuild @@ -1,11 +1,12 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/printer-applet/printer-applet-4.4.0.ebuild,v 1.2 2010/03/27 00:31:01 reavertm Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/printer-applet/printer-applet-4.4.0.ebuild,v 1.3 2010/03/27 20:25:48 reavertm Exp $ EAPI="2" KMNAME="kdeutils" -inherit kde4-meta +PYTHON_DEPEND="2" +inherit python kde4-meta DESCRIPTION="KDE printer system tray utility" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" @@ -18,6 +19,11 @@ DEPEND=" " RDEPEND="${DEPEND}" +pkg_setup() { + kde4-meta_pkg_setup + python_set_active_version 2 +} + src_prepare() { kde4-meta_src_prepare @@ -29,3 +35,12 @@ src_prepare() { sed -e "/Exec/s/printer-applet/${newname}/" \ -i "${PN}"/printer-applet.desktop || die "failed to patch .desktop file" } + +src_install() { + kde4-meta_src_install + python_convert_shebangs -q -r $(python_get_version) "${ED}${PREFIX}/share/apps/${PN}" +} + +pkg_postrm() { + python_mod_cleanup "${EPREFIX}${PREFIX}share/apps/${PN}" +} diff --git a/kde-base/printer-applet/printer-applet-4.4.1.ebuild b/kde-base/printer-applet/printer-applet-4.4.1.ebuild index 192b72bcf846..a0afa9144a7d 100644 --- a/kde-base/printer-applet/printer-applet-4.4.1.ebuild +++ b/kde-base/printer-applet/printer-applet-4.4.1.ebuild @@ -1,11 +1,12 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/printer-applet/printer-applet-4.4.1.ebuild,v 1.2 2010/03/27 00:31:01 reavertm Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/printer-applet/printer-applet-4.4.1.ebuild,v 1.3 2010/03/27 20:25:48 reavertm Exp $ EAPI="3" KMNAME="kdeutils" -inherit kde4-meta +PYTHON_DEPEND="2" +inherit python kde4-meta DESCRIPTION="KDE printer system tray utility" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" @@ -18,6 +19,11 @@ DEPEND=" " RDEPEND="${DEPEND}" +pkg_setup() { + kde4-meta_pkg_setup + python_set_active_version 2 +} + src_prepare() { kde4-meta_src_prepare @@ -29,3 +35,12 @@ src_prepare() { sed -e "/Exec/s/printer-applet/${newname}/" \ -i "${PN}"/printer-applet.desktop || die "failed to patch .desktop file" } + +src_install() { + kde4-meta_src_install + python_convert_shebangs -q -r $(python_get_version) "${ED}${PREFIX}/share/apps/${PN}" +} + +pkg_postrm() { + python_mod_cleanup "${EPREFIX}${PREFIX}share/apps/${PN}" +} |