diff options
author | Maciej Mrozowski <reavertm@gentoo.org> | 2010-03-27 15:44:48 +0000 |
---|---|---|
committer | Maciej Mrozowski <reavertm@gentoo.org> | 2010-03-27 15:44:48 +0000 |
commit | b96441046fccf9dc2b1964a5d9d9d7f228827b0d (patch) | |
tree | 5b807598cb26512c2d863e3051fcd40bd67edded /app-admin | |
parent | Revbump to address bug #286159 (Ensure *all* processors support the lahf_lm i... (diff) | |
download | gentoo-2-b96441046fccf9dc2b1964a5d9d9d7f228827b0d.tar.gz gentoo-2-b96441046fccf9dc2b1964a5d9d9d7f228827b0d.tar.bz2 gentoo-2-b96441046fccf9dc2b1964a5d9d9d7f228827b0d.zip |
Depend on python-2, explicitly compile bytecode in /usr/share/system-config-printer, patch by Arfrever
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/system-config-printer-common/ChangeLog | 10 | ||||
-rw-r--r-- | app-admin/system-config-printer-common/system-config-printer-common-1.1.18-r1.ebuild (renamed from app-admin/system-config-printer-common/system-config-printer-common-1.1.18.ebuild) | 18 |
2 files changed, 25 insertions, 3 deletions
diff --git a/app-admin/system-config-printer-common/ChangeLog b/app-admin/system-config-printer-common/ChangeLog index a26c75af58fa..a0b88a4eb1f5 100644 --- a/app-admin/system-config-printer-common/ChangeLog +++ b/app-admin/system-config-printer-common/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-admin/system-config-printer-common # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v 1.12 2010/03/11 01:44:07 reavertm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v 1.13 2010/03/27 15:44:48 reavertm Exp $ + +*system-config-printer-common-1.1.18-r1 (27 Mar 2010) + + 27 Mar 2010; Maciej Mrozowski <reavertm@gentoo.org> + -system-config-printer-common-1.1.18.ebuild, + +system-config-printer-common-1.1.18-r1.ebuild: + Depend on python-2, explicitly compile bytecode in + /usr/share/system-config-printer, patch by Arfrever *system-config-printer-common-1.1.18 (11 Mar 2010) diff --git a/app-admin/system-config-printer-common/system-config-printer-common-1.1.18.ebuild b/app-admin/system-config-printer-common/system-config-printer-common-1.1.18-r1.ebuild index e09f533e0d1c..1f2b965133f1 100644 --- a/app-admin/system-config-printer-common/system-config-printer-common-1.1.18.ebuild +++ b/app-admin/system-config-printer-common/system-config-printer-common-1.1.18-r1.ebuild @@ -1,8 +1,10 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.1.18.ebuild,v 1.1 2010/03/11 01:44:07 reavertm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.1.18-r1.ebuild,v 1.1 2010/03/27 15:44:48 reavertm Exp $ + +EAPI="3" +PYTHON_DEPEND="2" -EAPI="2" inherit python autotools MY_P="${PN%-common}-${PV}" @@ -35,6 +37,10 @@ RDEPEND="${COMMON_DEPEND} S="${WORKDIR}/${MY_P}" +pkg_setup() { + python_set_active_version 2 +} + src_prepare() { epatch "${FILESDIR}/${P}-split.patch" @@ -63,3 +69,11 @@ src_install() { emake DESTDIR="${D}" install || die "emake install failed" } + +pkg_postinst() { + python_mod_optimize cupshelpers /usr/share/system-config-printer +} + +pkg_postrm() { + python_mod_cleanup cupshelpers /usr/share/system-config-printer +} |