/[gentoo-x86]/x11-proto/xcb-proto/xcb-proto-1.9-r1.ebuild
Gentoo

Contents of /x11-proto/xcb-proto/xcb-proto-1.9-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Apr 8 17:27:25 2015 UTC (3 years, 8 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -3 lines
Drop old Python implementations

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.9-r1.ebuild,v 1.2 2014/05/23 22:43:17 mgorny Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python{2_7,3_3} )
8 XORG_MULTILIB=yes
9
10 inherit python-r1 xorg-2
11
12 DESCRIPTION="X C-language Bindings protocol headers"
13 HOMEPAGE="http://xcb.freedesktop.org/"
14 EGIT_REPO_URI="git://anongit.freedesktop.org/git/xcb/proto"
15 [[ ${PV} != 9999* ]] && \
16 SRC_URI="http://xcb.freedesktop.org/dist/${P}.tar.bz2"
17
18 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"
19 IUSE=""
20
21 RDEPEND="${PYTHON_DEPS}"
22 DEPEND="${RDEPEND}
23 dev-libs/libxml2"
24
25 # Work around py-compile being generated by some ancient version.
26 src_prepare() {
27 rm -f py-compile
28 eautoreconf
29
30 # Remove tabs, bug 490928.
31 sed -i -e 's/ / /' xcbgen/xtypes.py || die
32 }
33
34 src_configure() {
35 python_export_best
36 xorg-2_src_configure
37 }
38
39 multilib_src_configure() {
40 autotools-utils_src_configure
41
42 if multilib_is_native_abi; then
43 python_parallel_foreach_impl autotools-utils_src_configure
44 fi
45 }
46
47 multilib_src_compile() {
48 default
49
50 if multilib_is_native_abi; then
51 python_foreach_impl autotools-utils_src_compile -C xcbgen \
52 top_builddir="${BUILD_DIR}"
53 fi
54 }
55
56 multilib_src_install() {
57 default
58
59 if multilib_is_native_abi; then
60 python_foreach_impl autotools-utils_src_install -C xcbgen \
61 top_builddir="${BUILD_DIR}"
62 fi
63 }

  ViewVC Help
Powered by ViewVC 1.1.20