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: Mon, 24 Jul 2017 19:04:05
Message-Id: 1500923026.28e53e413e87497e26933afb058c3e6e7a79dcd6.mgorny@gentoo
1 commit: 28e53e413e87497e26933afb058c3e6e7a79dcd6
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 23 16:45:35 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 24 19:03:46 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28e53e41
7
8 dev-python/clang-python: Branch for 5.0.0 release
9
10 .../clang-python/clang-python-5.0.9999.ebuild | 40 ++++++++++++++++++++++
11 1 file changed, 40 insertions(+)
12
13 diff --git a/dev-python/clang-python/clang-python-5.0.9999.ebuild b/dev-python/clang-python/clang-python-5.0.9999.ebuild
14 new file mode 100644
15 index 00000000000..051a3308bd4
16 --- /dev/null
17 +++ b/dev-python/clang-python/clang-python-5.0.9999.ebuild
18 @@ -0,0 +1,40 @@
19 +# Copyright 1999-2017 Gentoo Foundation
20 +# Distributed under the terms of the GNU General Public License v2
21 +
22 +EAPI=6
23 +
24 +PYTHON_COMPAT=( python2_7 )
25 +inherit git-r3 python-r1
26 +
27 +DESCRIPTION="Python bindings for sys-devel/clang"
28 +HOMEPAGE="https://llvm.org/"
29 +SRC_URI=""
30 +EGIT_REPO_URI="https://git.llvm.org/git/clang.git
31 + https://github.com/llvm-mirror/clang.git"
32 +EGIT_BRANCH="release_50"
33 +
34 +LICENSE="UoI-NCSA"
35 +SLOT="0"
36 +KEYWORDS=""
37 +IUSE="test"
38 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
39 +
40 +# The module is opening libclang.so directly, and doing some blasphemy
41 +# on top of it.
42 +RDEPEND="
43 + >=sys-devel/clang-${PV}
44 + !sys-devel/llvm:0[clang(-),python(-)]
45 + !sys-devel/clang:0[python(-)]
46 + ${PYTHON_DEPS}"
47 +DEPEND="${RDEPEND}
48 + test? ( dev-python/nose[${PYTHON_USEDEP}] )"
49 +
50 +S=${WORKDIR}/${P}/bindings/python
51 +
52 +src_test() {
53 + python_foreach_impl nosetests -v
54 +}
55 +
56 +src_install() {
57 + python_foreach_impl python_domodule clang
58 +}