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