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/lit/
Date: Wed, 01 Aug 2018 20:53:36
Message-Id: 1533156798.12fd1fc143993600d715a838d02d6f19166b1bd8.mgorny@gentoo
1 commit: 12fd1fc143993600d715a838d02d6f19166b1bd8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 1 16:38:15 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 1 20:53:18 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12fd1fc1
7
8 dev-python/lit: Branch out LLVM 7.0
9
10 dev-python/lit/lit-7.0.9999.ebuild | 41 ++++++++++++++++++++++++++++++++++++++
11 1 file changed, 41 insertions(+)
12
13 diff --git a/dev-python/lit/lit-7.0.9999.ebuild b/dev-python/lit/lit-7.0.9999.ebuild
14 new file mode 100644
15 index 00000000000..470c4cf4dbe
16 --- /dev/null
17 +++ b/dev-python/lit/lit-7.0.9999.ebuild
18 @@ -0,0 +1,41 @@
19 +# Copyright 1999-2018 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 distutils-r1 git-r3 multiprocessing
26 +
27 +DESCRIPTION="A stand-alone install of the LLVM suite testing tool"
28 +HOMEPAGE="https://llvm.org/"
29 +SRC_URI=""
30 +EGIT_REPO_URI="https://git.llvm.org/git/llvm.git
31 + https://github.com/llvm-mirror/llvm.git"
32 +EGIT_BRANCH="release_70"
33 +
34 +LICENSE="UoI-NCSA"
35 +SLOT="0"
36 +KEYWORDS=""
37 +IUSE="test"
38 +RESTRICT="!test? ( test )"
39 +
40 +S=${WORKDIR}/${P}/utils/lit
41 +
42 +# Tests require 'FileCheck' and 'not' utilities (from llvm)
43 +DEPEND="
44 + dev-python/setuptools[${PYTHON_USEDEP}]
45 + test? (
46 + dev-python/psutil[${PYTHON_USEDEP}]
47 + sys-devel/llvm )"
48 +
49 +# TODO: move the manpage generation here (from sys-devel/llvm)
50 +
51 +src_unpack() {
52 + git-r3_fetch
53 + git-r3_checkout '' '' '' utils/lit
54 +}
55 +
56 +python_test() {
57 + ./lit.py -j "${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" \
58 + -vv tests || die
59 +}