1 |
commit: 15651dfcbe2782dde809a805ddbc37f6cab9eb23 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 21 08:32:45 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 21 09:15:27 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15651dfc |
7 |
|
8 |
dev-python/clang-python: Reorder ebuild vars in 9+ |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/clang-python/clang-python-10.0.0.9999.ebuild | 6 +++--- |
13 |
dev-python/clang-python/clang-python-9.0.0.9999.ebuild | 6 +++--- |
14 |
dev-python/clang-python/clang-python-9.0.0.ebuild | 5 ++--- |
15 |
3 files changed, 8 insertions(+), 9 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/clang-python/clang-python-10.0.0.9999.ebuild b/dev-python/clang-python/clang-python-10.0.0.9999.ebuild |
18 |
index ce6a903df4a..5a65d445f01 100644 |
19 |
--- a/dev-python/clang-python/clang-python-10.0.0.9999.ebuild |
20 |
+++ b/dev-python/clang-python/clang-python-10.0.0.9999.ebuild |
21 |
@@ -9,6 +9,8 @@ inherit git-r3 python-r1 |
22 |
DESCRIPTION="Python bindings for sys-devel/clang" |
23 |
HOMEPAGE="https://llvm.org/" |
24 |
SRC_URI="" |
25 |
+S=${WORKDIR}/${P}/bindings/python |
26 |
+ |
27 |
EGIT_REPO_URI="https://git.llvm.org/git/clang.git |
28 |
https://github.com/llvm-mirror/clang.git" |
29 |
|
30 |
@@ -16,8 +18,8 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" |
31 |
SLOT="0" |
32 |
KEYWORDS="" |
33 |
IUSE="test" |
34 |
-RESTRICT="!test? ( test )" |
35 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
36 |
+RESTRICT="!test? ( test )" |
37 |
|
38 |
# The module is opening libclang.so directly, and doing some blasphemy |
39 |
# on top of it. |
40 |
@@ -28,8 +30,6 @@ RDEPEND=" |
41 |
${PYTHON_DEPS}" |
42 |
DEPEND="${RDEPEND}" |
43 |
|
44 |
-S=${WORKDIR}/${P}/bindings/python |
45 |
- |
46 |
src_unpack() { |
47 |
git-r3_fetch |
48 |
git-r3_checkout '' '' '' bindings/python |
49 |
|
50 |
diff --git a/dev-python/clang-python/clang-python-9.0.0.9999.ebuild b/dev-python/clang-python/clang-python-9.0.0.9999.ebuild |
51 |
index 70de2ed5512..d1c47b42ebf 100644 |
52 |
--- a/dev-python/clang-python/clang-python-9.0.0.9999.ebuild |
53 |
+++ b/dev-python/clang-python/clang-python-9.0.0.9999.ebuild |
54 |
@@ -9,6 +9,8 @@ inherit git-r3 python-r1 |
55 |
DESCRIPTION="Python bindings for sys-devel/clang" |
56 |
HOMEPAGE="https://llvm.org/" |
57 |
SRC_URI="" |
58 |
+S=${WORKDIR}/${P}/bindings/python |
59 |
+ |
60 |
EGIT_REPO_URI="https://git.llvm.org/git/clang.git |
61 |
https://github.com/llvm-mirror/clang.git" |
62 |
EGIT_BRANCH="release_90" |
63 |
@@ -17,8 +19,8 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" |
64 |
SLOT="0" |
65 |
KEYWORDS="" |
66 |
IUSE="test" |
67 |
-RESTRICT="!test? ( test )" |
68 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
69 |
+RESTRICT="!test? ( test )" |
70 |
|
71 |
# The module is opening libclang.so directly, and doing some blasphemy |
72 |
# on top of it. |
73 |
@@ -29,8 +31,6 @@ RDEPEND=" |
74 |
${PYTHON_DEPS}" |
75 |
DEPEND="${RDEPEND}" |
76 |
|
77 |
-S=${WORKDIR}/${P}/bindings/python |
78 |
- |
79 |
src_unpack() { |
80 |
git-r3_fetch |
81 |
git-r3_checkout '' '' '' bindings/python |
82 |
|
83 |
diff --git a/dev-python/clang-python/clang-python-9.0.0.ebuild b/dev-python/clang-python/clang-python-9.0.0.ebuild |
84 |
index 6583d35ad13..63f0e576f04 100644 |
85 |
--- a/dev-python/clang-python/clang-python-9.0.0.ebuild |
86 |
+++ b/dev-python/clang-python/clang-python-9.0.0.ebuild |
87 |
@@ -10,13 +10,14 @@ MY_P=cfe-${PV/_/}.src |
88 |
DESCRIPTION="Python bindings for sys-devel/clang" |
89 |
HOMEPAGE="https://llvm.org/" |
90 |
SRC_URI="https://releases.llvm.org/${PV}/${MY_P}.tar.xz" |
91 |
+S=${WORKDIR}/${MY_P}/bindings/python |
92 |
|
93 |
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" |
94 |
SLOT="0" |
95 |
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-fbsd" |
96 |
IUSE="test" |
97 |
-RESTRICT="!test? ( test )" |
98 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
99 |
+RESTRICT="!test? ( test )" |
100 |
|
101 |
# The module is opening libclang.so directly, and doing some blasphemy |
102 |
# on top of it. |
103 |
@@ -27,8 +28,6 @@ RDEPEND=" |
104 |
${PYTHON_DEPS}" |
105 |
DEPEND="${RDEPEND}" |
106 |
|
107 |
-S=${WORKDIR}/${MY_P}/bindings/python |
108 |
- |
109 |
src_unpack() { |
110 |
einfo "Unpacking parts of ${MY_P}.tar.xz ..." |
111 |
tar -xJf "${DISTDIR}/${MY_P}.tar.xz" "${MY_P}/bindings/python" || die |