1 |
commit: aac8ff4267ed940a1eb8740b5dfcb2e521b733e2 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 16 13:50:05 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 16 14:52:28 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aac8ff42 |
7 |
|
8 |
dev-python/lit: Add a live ebuild for 8.* branch |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/lit/lit-8.0.9999.ebuild | 41 ++++++++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 41 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/lit/lit-8.0.9999.ebuild b/dev-python/lit/lit-8.0.9999.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..27b4c0f19d5 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/lit/lit-8.0.9999.ebuild |
20 |
@@ -0,0 +1,41 @@ |
21 |
+# Copyright 1999-2019 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+ |
26 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) |
27 |
+inherit distutils-r1 git-r3 multiprocessing |
28 |
+ |
29 |
+DESCRIPTION="A stand-alone install of the LLVM suite testing tool" |
30 |
+HOMEPAGE="https://llvm.org/" |
31 |
+SRC_URI="" |
32 |
+EGIT_REPO_URI="https://git.llvm.org/git/llvm.git |
33 |
+ https://github.com/llvm-mirror/llvm.git" |
34 |
+EGIT_BRANCH="release_80" |
35 |
+ |
36 |
+LICENSE="UoI-NCSA" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="" |
39 |
+IUSE="test" |
40 |
+RESTRICT="!test? ( test )" |
41 |
+ |
42 |
+S=${WORKDIR}/${P}/utils/lit |
43 |
+ |
44 |
+# Tests require 'FileCheck' and 'not' utilities (from llvm) |
45 |
+DEPEND=" |
46 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
47 |
+ test? ( |
48 |
+ dev-python/psutil[${PYTHON_USEDEP}] |
49 |
+ sys-devel/llvm )" |
50 |
+ |
51 |
+# TODO: move the manpage generation here (from sys-devel/llvm) |
52 |
+ |
53 |
+src_unpack() { |
54 |
+ git-r3_fetch |
55 |
+ git-r3_checkout '' '' '' utils/lit |
56 |
+} |
57 |
+ |
58 |
+python_test() { |
59 |
+ ./lit.py -j "${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" \ |
60 |
+ -vv tests || die |
61 |
+} |