summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-03-06 13:05:53 +0000
committerMichał Górny <mgorny@gentoo.org>2013-03-06 13:05:53 +0000
commit592a88c0ff461b4f621b12d178ed45efa0a685e5 (patch)
treee7e906cb839fe609c60ef7d8a2049200d36e7789 /x11-proto
parentAdd a note about use of xpyb. (diff)
downloadgentoo-2-592a88c0ff461b4f621b12d178ed45efa0a685e5.tar.gz
gentoo-2-592a88c0ff461b4f621b12d178ed45efa0a685e5.tar.bz2
gentoo-2-592a88c0ff461b4f621b12d178ed45efa0a685e5.zip
Migrate to python-r1.
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 9627F456F9DA7643!)
Diffstat (limited to 'x11-proto')
-rw-r--r--x11-proto/xcb-proto/ChangeLog5
-rw-r--r--x11-proto/xcb-proto/xcb-proto-1.8-r1.ebuild19
2 files changed, 11 insertions, 13 deletions
diff --git a/x11-proto/xcb-proto/ChangeLog b/x11-proto/xcb-proto/ChangeLog
index 7df99881656f..651d5c6f35cf 100644
--- a/x11-proto/xcb-proto/ChangeLog
+++ b/x11-proto/xcb-proto/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-proto/xcb-proto
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/ChangeLog,v 1.95 2013/02/25 23:08:40 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/ChangeLog,v 1.96 2013/03/06 13:05:53 mgorny Exp $
+
+ 06 Mar 2013; Michał Górny <mgorny@gentoo.org> xcb-proto-1.8-r1.ebuild:
+ Migrate to python-r1.
*xcb-proto-1.8-r1 (25 Feb 2013)
diff --git a/x11-proto/xcb-proto/xcb-proto-1.8-r1.ebuild b/x11-proto/xcb-proto/xcb-proto-1.8-r1.ebuild
index d7fe60009fe3..8ce1ea781a10 100644
--- a/x11-proto/xcb-proto/xcb-proto-1.8-r1.ebuild
+++ b/x11-proto/xcb-proto/xcb-proto-1.8-r1.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2013 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.8-r1.ebuild,v 1.1 2013/02/25 23:08:40 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.8-r1.ebuild,v 1.2 2013/03/06 13:05:53 mgorny Exp $
EAPI=5
-PYTHON_DEPEND="*"
+PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} )
XORG_MULTILIB=yes
-inherit python xorg-2
+inherit python-single-r1 xorg-2
DESCRIPTION="X C-language Bindings protocol headers"
HOMEPAGE="http://xcb.freedesktop.org/"
@@ -17,20 +17,15 @@ EGIT_REPO_URI="git://anongit.freedesktop.org/git/xcb/proto"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
-RDEPEND=""
+RDEPEND="${PYTHON_DEPS}"
DEPEND="${RDEPEND}
dev-libs/libxml2"
-src_prepare() {
- python_clean_py-compile_files
- xorg-2_src_prepare
+pkg_setup() {
+ python-single-r1_pkg_setup
+ xorg-2_pkg_setup
}
pkg_postinst() {
- python_mod_optimize xcbgen
ewarn "Please rebuild both libxcb and xcb-util if you are upgrading from version 1.6"
}
-
-pkg_postrm() {
- python_mod_cleanup xcbgen
-}