summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-05-21 18:08:00 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-05-21 18:08:00 +0000
commitf00de212660faae004bd1cfa1ded7d613a699f93 (patch)
treeb8853cf8f3c919158bdc316a3181b49fe4b0949b /x11-proto/xcb-proto
parentamd64 stable, bug #292503 (diff)
downloadgentoo-2-f00de212660faae004bd1cfa1ded7d613a699f93.tar.gz
gentoo-2-f00de212660faae004bd1cfa1ded7d613a699f93.tar.bz2
gentoo-2-f00de212660faae004bd1cfa1ded7d613a699f93.zip
Fix byte-compilation.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'x11-proto/xcb-proto')
-rw-r--r--x11-proto/xcb-proto/ChangeLog6
-rw-r--r--x11-proto/xcb-proto/xcb-proto-1.6.ebuild15
2 files changed, 19 insertions, 2 deletions
diff --git a/x11-proto/xcb-proto/ChangeLog b/x11-proto/xcb-proto/ChangeLog
index c673b3be5474..6bd4c55466fc 100644
--- a/x11-proto/xcb-proto/ChangeLog
+++ b/x11-proto/xcb-proto/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-proto/xcb-proto
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/ChangeLog,v 1.46 2010/05/12 18:17:54 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/ChangeLog,v 1.47 2010/05/21 18:08:00 arfrever Exp $
+
+ 21 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ xcb-proto-1.6.ebuild:
+ Fix byte-compilation.
12 May 2010; Brent Baude <ranger@gentoo.org> ChangeLog:
Marking xcb-proto-1.6 ppc64 stable for bug 308521
diff --git a/x11-proto/xcb-proto/xcb-proto-1.6.ebuild b/x11-proto/xcb-proto/xcb-proto-1.6.ebuild
index 20a43bf59c24..30019aabeded 100644
--- a/x11-proto/xcb-proto/xcb-proto-1.6.ebuild
+++ b/x11-proto/xcb-proto/xcb-proto-1.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.6.ebuild,v 1.8 2010/05/12 18:17:54 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.6.ebuild,v 1.9 2010/05/21 18:08:00 arfrever Exp $
PYTHON_DEPEND="2:2.5"
@@ -22,3 +22,16 @@ DEPEND="${RDEPEND}
pkg_setup() {
python_set_active_version 2
}
+
+src_install() {
+ x-modular_src_install
+ python_clean_installation_image
+}
+
+pkg_postinst() {
+ python_mod_optimize $(python_get_sitedir)/xcbgen
+}
+
+pkg_postrm() {
+ python_mod_cleanup $(python_get_sitedir)/xcbgen
+}