Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/
Date: Tue, 27 Jun 2017 19:18:13
Message-Id: 1498591073.297420f23bb06600b58630662b4d055c7d8dcfac.mgorny@gentoo
1 commit: 297420f23bb06600b58630662b4d055c7d8dcfac
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 26 14:47:57 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 27 19:17:53 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=297420f2
7
8 dev-python/clang-python: Bump to 4.0.1
9
10 dev-python/clang-python/Manifest | 1 +
11 dev-python/clang-python/clang-python-4.0.1.ebuild | 37 +++++++++++++++++++++++
12 2 files changed, 38 insertions(+)
13
14 diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
15 index d66895d99ca..e0d8ff1dc9b 100644
16 --- a/dev-python/clang-python/Manifest
17 +++ b/dev-python/clang-python/Manifest
18 @@ -1 +1,2 @@
19 DIST cfe-4.0.0.src.tar.xz 10900916 SHA256 cea5f88ebddb30e296ca89130c83b9d46c2d833685e2912303c828054c4dc98a SHA512 a0d9972ec337a5c105fcbe7abc4076ba1e580f28908a3318f43bbfe59143f446ed5b78dad210f624145d7e5a3d56c15bfead78826c068422b60120fa1cfa482a WHIRLPOOL fe04b6955b82915bba09726947fceff92e67ffaac97de4b8c32c18546262f60a4307fdaccd3c9540710392658ed47f3bcfe44791de8d7d30786d56576f339aee
20 +DIST cfe-4.0.1.src.tar.xz 10933628 SHA256 61738a735852c23c3bdbe52d035488cdb2083013f384d67c1ba36fabebd8769b SHA512 936c9e1626b27e63a4fb11f3c0cb998eeaf9a520ad6e2bcd67cb4352e59e7781ecc700df79794f3fd70473d90b7e2ba418a39038eb0146b68e843f0705c1f964 WHIRLPOOL 1cb56b36e21eab8004eec43d9c0f7377588cdbcd1d654cd0e6d836d43bc68dc0759993215439c1607e09ed3fa1f68b80504a222f73c1b76d3841cdf638dcbef2
21
22 diff --git a/dev-python/clang-python/clang-python-4.0.1.ebuild b/dev-python/clang-python/clang-python-4.0.1.ebuild
23 new file mode 100644
24 index 00000000000..4f169ecc239
25 --- /dev/null
26 +++ b/dev-python/clang-python/clang-python-4.0.1.ebuild
27 @@ -0,0 +1,37 @@
28 +# Copyright 1999-2017 Gentoo Foundation
29 +# Distributed under the terms of the GNU General Public License v2
30 +
31 +EAPI=6
32 +
33 +PYTHON_COMPAT=( python2_7 )
34 +inherit python-r1
35 +
36 +DESCRIPTION="Python bindings for sys-devel/clang"
37 +HOMEPAGE="http://llvm.org/"
38 +SRC_URI="http://releases.llvm.org/${PV/_//}/cfe-${PV/_/}.src.tar.xz"
39 +
40 +LICENSE="UoI-NCSA"
41 +SLOT="0"
42 +KEYWORDS="~amd64 ~arm64 ~x86"
43 +IUSE="test"
44 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
45 +
46 +# The module is opening libclang.so directly, and doing some blasphemy
47 +# on top of it.
48 +RDEPEND="
49 + >=sys-devel/clang-${PV}:*
50 + !sys-devel/llvm:0[clang(-),python(-)]
51 + !sys-devel/clang:0[python(-)]
52 + ${PYTHON_DEPS}"
53 +DEPEND="${RDEPEND}
54 + test? ( dev-python/nose[${PYTHON_USEDEP}] )"
55 +
56 +S=${WORKDIR}/cfe-${PV/_/}.src/bindings/python
57 +
58 +src_test() {
59 + python_foreach_impl nosetests -v
60 +}
61 +
62 +src_install() {
63 + python_foreach_impl python_domodule clang
64 +}