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, 03 Jan 2018 22:22:20
Message-Id: 1515018095.04f6022ab6327f315f5f0079a03705f7ef6bd835.mgorny@gentoo
1 commit: 04f6022ab6327f315f5f0079a03705f7ef6bd835
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 3 20:17:09 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 3 22:21:35 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04f6022a
7
8 dev-python/lit: Add a live ebuild for 6.0 branch
9
10 dev-python/lit/lit-6.0.9999.ebuild | 40 ++++++++++++++++++++++++++++++++++++++
11 1 file changed, 40 insertions(+)
12
13 diff --git a/dev-python/lit/lit-6.0.9999.ebuild b/dev-python/lit/lit-6.0.9999.ebuild
14 new file mode 100644
15 index 00000000000..f167a14c32b
16 --- /dev/null
17 +++ b/dev-python/lit/lit-6.0.9999.ebuild
18 @@ -0,0 +1,40 @@
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 python3_{4,5,6} )
25 +inherit distutils-r1 git-r3
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_60"
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 -vv tests || die
58 +}