1 |
commit: 58fc0e34366119192a59c1993a4fcfc75a9bafca |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 1 10:29:01 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 1 23:40:30 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58fc0e34 |
7 |
|
8 |
dev-python/clang-python: Bump to 5.0.1_rc2 |
9 |
|
10 |
dev-python/clang-python/Manifest | 1 + |
11 |
.../clang-python/clang-python-5.0.1_rc2.ebuild | 43 ++++++++++++++++++++++ |
12 |
2 files changed, 44 insertions(+) |
13 |
|
14 |
diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest |
15 |
index 4d92e834aa5..76edcde2e37 100644 |
16 |
--- a/dev-python/clang-python/Manifest |
17 |
+++ b/dev-python/clang-python/Manifest |
18 |
@@ -1,2 +1,3 @@ |
19 |
DIST cfe-4.0.1.src.tar.xz 10933628 SHA256 61738a735852c23c3bdbe52d035488cdb2083013f384d67c1ba36fabebd8769b SHA512 936c9e1626b27e63a4fb11f3c0cb998eeaf9a520ad6e2bcd67cb4352e59e7781ecc700df79794f3fd70473d90b7e2ba418a39038eb0146b68e843f0705c1f964 WHIRLPOOL 1cb56b36e21eab8004eec43d9c0f7377588cdbcd1d654cd0e6d836d43bc68dc0759993215439c1607e09ed3fa1f68b80504a222f73c1b76d3841cdf638dcbef2 |
20 |
DIST cfe-5.0.0.src.tar.xz 11437024 SHA256 019f23c2192df793ac746595e94a403908749f8e0c484b403476d2611dd20970 SHA512 14acdd622310122b544c952ee5b932b7006d9d8424319f0e3974f2503d40a0cec4200fdd3d813a32ce0d877bcfbb9a5bd5c36f6142b4330e6c814f113ca2efe8 WHIRLPOOL 9d2fff35324621be191cc69b45db472681c9ebdf05aead09510f3178853ac8a179f2c454c2e6513e57f84a99980052671cd9a23d38d6d14b42dfda1853a7844a |
21 |
+DIST cfe-5.0.1rc2.src.tar.xz 11512960 BLAKE2B f6f53a985abfc07869984a8b6461549df80d8511645ff0ba46c035b04f247d9f56a63a178da7496b60064aed059518175d2d34aa661b72877f3e62b27c9eed13 SHA512 069fa3dc549ed046a004ca31a1e571fe83fca986635b5515e9eab3f91e3a962af99022e927d15fa2482969c64fa9b33c9c7e79a8cd9dd8fa77b554ba3f08d1ea |
22 |
|
23 |
diff --git a/dev-python/clang-python/clang-python-5.0.1_rc2.ebuild b/dev-python/clang-python/clang-python-5.0.1_rc2.ebuild |
24 |
new file mode 100644 |
25 |
index 00000000000..97dd5ec33bf |
26 |
--- /dev/null |
27 |
+++ b/dev-python/clang-python/clang-python-5.0.1_rc2.ebuild |
28 |
@@ -0,0 +1,43 @@ |
29 |
+# Copyright 1999-2017 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+ |
32 |
+EAPI=6 |
33 |
+ |
34 |
+PYTHON_COMPAT=( python2_7 ) |
35 |
+inherit python-r1 |
36 |
+ |
37 |
+MY_P=cfe-${PV/_/}.src |
38 |
+DESCRIPTION="Python bindings for sys-devel/clang" |
39 |
+HOMEPAGE="https://llvm.org/" |
40 |
+SRC_URI="http://prereleases.llvm.org/${PV/_//}/${MY_P}.tar.xz" |
41 |
+ |
42 |
+LICENSE="UoI-NCSA" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="" |
45 |
+IUSE="test" |
46 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
47 |
+ |
48 |
+# The module is opening libclang.so directly, and doing some blasphemy |
49 |
+# on top of it. |
50 |
+RDEPEND=" |
51 |
+ >=sys-devel/clang-${PV}:* |
52 |
+ !sys-devel/llvm:0[clang(-),python(-)] |
53 |
+ !sys-devel/clang:0[python(-)] |
54 |
+ ${PYTHON_DEPS}" |
55 |
+DEPEND="${RDEPEND} |
56 |
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )" |
57 |
+ |
58 |
+S=${WORKDIR}/${MY_P}/bindings/python |
59 |
+ |
60 |
+src_unpack() { |
61 |
+ einfo "Unpacking parts of ${MY_P}.tar.xz ..." |
62 |
+ tar -xJf "${DISTDIR}/${MY_P}.tar.xz" "${MY_P}/bindings/python" || die |
63 |
+} |
64 |
+ |
65 |
+src_test() { |
66 |
+ python_foreach_impl nosetests -v || die |
67 |
+} |
68 |
+ |
69 |
+src_install() { |
70 |
+ python_foreach_impl python_domodule clang |
71 |
+} |