Gentoo Archives: gentoo-commits

From: "Chí-Thanh Christopher Nguyễn" <chithanh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-proto/xcb-proto/
Date: Sun, 29 May 2016 19:28:10
Message-Id: 1464550088.5b8374c3d9034bfc33e6a8a79fc04ae4504f184d.chithanh@gentoo
1 commit: 5b8374c3d9034bfc33e6a8a79fc04ae4504f184d
2 Author: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 29 19:28:08 2016 +0000
4 Commit: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
5 CommitDate: Sun May 29 19:28:08 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b8374c3
7
8 x11-proto/xcb-proto: Version bump
9
10 Package-Manager: portage-2.2.28
11
12 x11-proto/xcb-proto/Manifest | 1 +
13 x11-proto/xcb-proto/xcb-proto-1.12.ebuild | 64 +++++++++++++++++++++++++++++++
14 2 files changed, 65 insertions(+)
15
16 diff --git a/x11-proto/xcb-proto/Manifest b/x11-proto/xcb-proto/Manifest
17 index 4cbae9f..bbe0606 100644
18 --- a/x11-proto/xcb-proto/Manifest
19 +++ b/x11-proto/xcb-proto/Manifest
20 @@ -1,4 +1,5 @@
21 DIST xcb-proto-1.10.tar.bz2 138834 SHA256 7ef40ddd855b750bc597d2a435da21e55e502a0fefa85b274f2c922800baaf05 SHA512 b979d6432dcb58b5040a460ecb5285c67d288203768e2b6d032acac6593219dda9f29ae95920bc10b1d9451d928e3295f49d8e457b2bfb69d06481219745c6de WHIRLPOOL aa6905d8d402a5900c37ea411a3818820ec19c90250eb8e86b93e901e0a81f102216e7f2603a851365305c07630c91356b0e827ec85359da9eb8d66c73186830
22 DIST xcb-proto-1.11.tar.bz2 139213 SHA256 b4aceee6502a0ce45fc39b33c541a2df4715d00b72e660ebe8c5bb444771e32e SHA512 13c228d974f99e2f17a7352629b85c76674e395567474997015941780df123f9c809a76935242aaf31b7836b0478bd557e3cc9161dd4880b4fb8eb576216dbc1 WHIRLPOOL 61bac70a6e2945f881460838352190f77550e647531c5076bf926193490cf38e1e97c879a3da95f1253d5783a54a33ccc91afe39badb27a93150eee5660bd5cc
23 +DIST xcb-proto-1.12.tar.bz2 153890 SHA256 5922aba4c664ab7899a29d92ea91a87aa4c1fc7eb5ee550325c3216c480a4906 SHA512 1f427eaf223971b25b56c9f641350e03f5ebeb17a1fc212ce2a0c892de7aba7e53d5e3958b073a122bb344c387c0ff394cf96f542ff046f33de4e1cd27fb9e5c WHIRLPOOL b9189567c3abeb5a3a3a2a4d32ae5c72070601b6c68ff2b06d09be03bd83889f3dd9b499e0eb1bfb0687b74d726a7c825706cf5e7d874b77a7b9b473c9b660df
24 DIST xcb-proto-1.8.tar.bz2 125072 SHA256 233d16c7a019235b3092111e7c11429119357eb13754a607b75eea04453121b0 SHA512 181fee36ab4c842b8b3eaa244ff94c31be2488cb24bdb82cc23082b229d1994746c00307dc0a37d00ae0b7c92f804f90f1ad9ba29f4d5134c5c64a4f23c696ab WHIRLPOOL 3d0b394428544660b82b3984a7c707e93987e686678b737fb396404a20f0d8e78e6deae564925bffe917f6a3b573bff936647f2cf9fde80b9c4469dcb2cd6cf0
25 DIST xcb-proto-1.9.tar.bz2 136421 SHA256 895afe21793e6e26c5ce999b1900c02a5984c201d96d55cc42c182d3c3bde43c SHA512 063e08e51893302b160f7cbfe75e2319c6c0c7172cae3d1bbda4cb69695e47ce4938ea18679d36eda436bab7ee1cc288e62381d7d6115892e35626bb6ca2607d WHIRLPOOL 60cea257c17bb6d953f7435340cca2102c116ea71b6cdd71773274926e1442b7d72ed36d2cd915ae8b8b4033c6a6f7e8d1d3fae6a80eeb08f9f88ad6815d9b15
26
27 diff --git a/x11-proto/xcb-proto/xcb-proto-1.12.ebuild b/x11-proto/xcb-proto/xcb-proto-1.12.ebuild
28 new file mode 100644
29 index 0000000..9b40e83
30 --- /dev/null
31 +++ b/x11-proto/xcb-proto/xcb-proto-1.12.ebuild
32 @@ -0,0 +1,64 @@
33 +# Copyright 1999-2016 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=5
38 +
39 +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
40 +XORG_MULTILIB=yes
41 +
42 +inherit python-r1 xorg-2
43 +
44 +DESCRIPTION="X C-language Bindings protocol headers"
45 +HOMEPAGE="https://xcb.freedesktop.org/"
46 +EGIT_REPO_URI="git://anongit.freedesktop.org/git/xcb/proto"
47 +[[ ${PV} != 9999* ]] && \
48 + SRC_URI="https://xcb.freedesktop.org/dist/${P}.tar.bz2"
49 +
50 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~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"
51 +IUSE=""
52 +
53 +RDEPEND="${PYTHON_DEPS}"
54 +DEPEND="${RDEPEND}
55 + dev-libs/libxml2"
56 +
57 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
58 +
59 +src_configure() {
60 + python_setup
61 + xorg-2_src_configure
62 +}
63 +
64 +multilib_src_configure() {
65 + autotools-utils_src_configure
66 +
67 + if multilib_is_native_abi; then
68 + python_foreach_impl autotools-utils_src_configure
69 + fi
70 +}
71 +
72 +multilib_src_compile() {
73 + default
74 +
75 + if multilib_is_native_abi; then
76 + python_foreach_impl autotools-utils_src_compile -C xcbgen \
77 + top_builddir="${BUILD_DIR}"
78 + fi
79 +}
80 +
81 +src_install() {
82 + xorg-2_src_install
83 +
84 + # pkg-config file hardcodes python sitedir, bug 486512
85 + sed -i -e '/pythondir/s:=.*$:=/dev/null:' \
86 + "${ED}"/usr/lib*/pkgconfig/xcb-proto.pc || die
87 +}
88 +
89 +multilib_src_install() {
90 + default
91 +
92 + if multilib_is_native_abi; then
93 + python_foreach_impl autotools-utils_src_install -C xcbgen \
94 + top_builddir="${BUILD_DIR}"
95 + fi
96 +}