1 |
commit: 48e800a34207510703a668c562ad7f061a208ed5 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 1 17:37:40 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 3 11:46:12 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48e800a3 |
7 |
|
8 |
dev-python/lit: Port 9+ to llvm.org.eclass |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/lit/lit-10.0.0.9999.ebuild | 12 +++--------- |
13 |
dev-python/lit/lit-9.0.0.ebuild | 12 +++--------- |
14 |
dev-python/lit/lit-9.0.1.9999.ebuild | 13 +++---------- |
15 |
3 files changed, 9 insertions(+), 28 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/lit/lit-10.0.0.9999.ebuild b/dev-python/lit/lit-10.0.0.9999.ebuild |
18 |
index 05acb219e32..e051ca51410 100644 |
19 |
--- a/dev-python/lit/lit-10.0.0.9999.ebuild |
20 |
+++ b/dev-python/lit/lit-10.0.0.9999.ebuild |
21 |
@@ -4,13 +4,12 @@ |
22 |
EAPI=7 |
23 |
|
24 |
PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) |
25 |
-inherit distutils-r1 git-r3 multiprocessing |
26 |
+inherit distutils-r1 llvm.org multiprocessing |
27 |
|
28 |
DESCRIPTION="A stand-alone install of the LLVM suite testing tool" |
29 |
HOMEPAGE="https://llvm.org/" |
30 |
-SRC_URI="" |
31 |
-EGIT_REPO_URI="https://github.com/llvm/llvm-project.git" |
32 |
-S=${WORKDIR}/${P}/llvm/utils/lit |
33 |
+LLVM_COMPONENTS=( llvm/utils/lit ) |
34 |
+llvm.org_set_globals |
35 |
|
36 |
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" |
37 |
SLOT="0" |
38 |
@@ -27,11 +26,6 @@ BDEPEND=" |
39 |
|
40 |
# TODO: move the manpage generation here (from sys-devel/llvm) |
41 |
|
42 |
-src_unpack() { |
43 |
- git-r3_fetch |
44 |
- git-r3_checkout '' '' '' llvm/utils/lit |
45 |
-} |
46 |
- |
47 |
python_test() { |
48 |
local -x LIT_PRESERVES_TMP=1 |
49 |
./lit.py -j "${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" \ |
50 |
|
51 |
diff --git a/dev-python/lit/lit-9.0.0.ebuild b/dev-python/lit/lit-9.0.0.ebuild |
52 |
index 379734458ba..cbc3d5b9e6d 100644 |
53 |
--- a/dev-python/lit/lit-9.0.0.ebuild |
54 |
+++ b/dev-python/lit/lit-9.0.0.ebuild |
55 |
@@ -4,13 +4,12 @@ |
56 |
EAPI=7 |
57 |
|
58 |
PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) |
59 |
-inherit distutils-r1 multiprocessing |
60 |
+inherit distutils-r1 llvm.org multiprocessing |
61 |
|
62 |
-MY_P=llvm-${PV/_/}.src |
63 |
DESCRIPTION="A stand-alone install of the LLVM suite testing tool" |
64 |
HOMEPAGE="https://llvm.org/" |
65 |
-SRC_URI="https://releases.llvm.org/${PV}/${MY_P}.tar.xz" |
66 |
-S=${WORKDIR}/${MY_P}/utils/lit |
67 |
+LLVM_COMPONENTS=( llvm/utils/lit ) |
68 |
+llvm.org_set_globals |
69 |
|
70 |
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" |
71 |
SLOT="0" |
72 |
@@ -27,11 +26,6 @@ BDEPEND=" |
73 |
|
74 |
# TODO: move the manpage generation here (from sys-devel/llvm) |
75 |
|
76 |
-src_unpack() { |
77 |
- einfo "Unpacking parts of ${MY_P}.tar.xz ..." |
78 |
- tar -xJf "${DISTDIR}/${MY_P}.tar.xz" "${MY_P}/utils/lit" || die |
79 |
-} |
80 |
- |
81 |
python_test() { |
82 |
local -x LIT_PRESERVES_TMP=1 |
83 |
./lit.py -j "${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" \ |
84 |
|
85 |
diff --git a/dev-python/lit/lit-9.0.1.9999.ebuild b/dev-python/lit/lit-9.0.1.9999.ebuild |
86 |
index ca1cce6c00b..e051ca51410 100644 |
87 |
--- a/dev-python/lit/lit-9.0.1.9999.ebuild |
88 |
+++ b/dev-python/lit/lit-9.0.1.9999.ebuild |
89 |
@@ -4,14 +4,12 @@ |
90 |
EAPI=7 |
91 |
|
92 |
PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) |
93 |
-inherit distutils-r1 git-r3 multiprocessing |
94 |
+inherit distutils-r1 llvm.org multiprocessing |
95 |
|
96 |
DESCRIPTION="A stand-alone install of the LLVM suite testing tool" |
97 |
HOMEPAGE="https://llvm.org/" |
98 |
-SRC_URI="" |
99 |
-EGIT_REPO_URI="https://github.com/llvm/llvm-project.git" |
100 |
-EGIT_BRANCH="release/9.x" |
101 |
-S=${WORKDIR}/${P}/llvm/utils/lit |
102 |
+LLVM_COMPONENTS=( llvm/utils/lit ) |
103 |
+llvm.org_set_globals |
104 |
|
105 |
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" |
106 |
SLOT="0" |
107 |
@@ -28,11 +26,6 @@ BDEPEND=" |
108 |
|
109 |
# TODO: move the manpage generation here (from sys-devel/llvm) |
110 |
|
111 |
-src_unpack() { |
112 |
- git-r3_fetch |
113 |
- git-r3_checkout '' '' '' llvm/utils/lit |
114 |
-} |
115 |
- |
116 |
python_test() { |
117 |
local -x LIT_PRESERVES_TMP=1 |
118 |
./lit.py -j "${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" \ |