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: Tue, 27 Jun 2017 19:18:12
Message-Id: 1498591059.22c9bac90e35241ffe06e58a0a3de52ecfe100b3.mgorny@gentoo
1 commit: 22c9bac90e35241ffe06e58a0a3de52ecfe100b3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 26 14:47:44 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 27 19:17:39 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22c9bac9
7
8 dev-python/lit: Bump to 4.0.1
9
10 dev-python/lit/Manifest | 1 +
11 dev-python/lit/lit-4.0.1.ebuild | 32 ++++++++++++++++++++++++++++++++
12 2 files changed, 33 insertions(+)
13
14 diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest
15 index febef386483..b420d4d07bc 100644
16 --- a/dev-python/lit/Manifest
17 +++ b/dev-python/lit/Manifest
18 @@ -1,2 +1,3 @@
19 DIST llvm-3.9.0.src.tar.xz 18235716 SHA256 66c73179da42cee1386371641241f79ded250e117a79f571bbd69e56daa48948 SHA512 f18ae32531218ab156c3e56c11826be0fd05f0799c82eaf2e6a043b38e1277560b4d921987513b88b11d97ea2619feaf277eec72181dd2ae4f4108c2836bf7b2 WHIRLPOOL a36c1bcee6e7995067a9a7a51e3fdb0f10d51d0239250eefab92ed2e46b024a203fa10a17a25a5aca69046bcb413628e288427f1a6690d0862e07cd95694c8a8
20 DIST llvm-4.0.0.src.tar.xz 21016340 SHA256 8d10511df96e73b8ff9e7abbfb4d4d432edbdbe965f1f4f07afaf370b8a533be SHA512 cf681f0626ef6d568d951cdc3e143471a1d7715a0ba11e52aa273cf5d8d421e1357ef2645cc85879eaefcd577e99e74d07b01566825b3d0461171ef2cbfc7704 WHIRLPOOL 9783e8f47306c1deb2e114d4b46a7db9b0260b4965076345c88765413c5fc8e73fab5f88ae4903adbdea31406022948b16d32ae47d98f5def074509d5d794579
21 +DIST llvm-4.0.1.src.tar.xz 21065652 SHA256 da783db1f82d516791179fe103c71706046561f7972b18f0049242dee6712b51 SHA512 16adc39b34ddb628f81b171119a8e2a0e9138b25011e803ef0b688e2fbea116fc4953d3a1b61b90a98a75e33619f81566b7cb06a9a2ea4d04ac5e0eb303a2d1d WHIRLPOOL 1626ff270f7ce4801d02a0797b227fda9314ff5c0c01d653111599e9a4d2854c4d9edc3c698a7abee8d79d6bce8b18dc619fbced3c07ca610d44a248d65830cc
22
23 diff --git a/dev-python/lit/lit-4.0.1.ebuild b/dev-python/lit/lit-4.0.1.ebuild
24 new file mode 100644
25 index 00000000000..82d603dc00d
26 --- /dev/null
27 +++ b/dev-python/lit/lit-4.0.1.ebuild
28 @@ -0,0 +1,32 @@
29 +# Copyright 1999-2017 Gentoo Foundation
30 +# Distributed under the terms of the GNU General Public License v2
31 +
32 +EAPI=6
33 +
34 +PYTHON_COMPAT=( python2_7 )
35 +inherit distutils-r1
36 +
37 +MY_P=llvm-${PV/_/}
38 +DESCRIPTION="A stand-alone install of the LLVM suite testing tool"
39 +HOMEPAGE="http://llvm.org/"
40 +SRC_URI="http://releases.llvm.org/${PV/_//}/${MY_P}.src.tar.xz"
41 +
42 +LICENSE="UoI-NCSA"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
45 +IUSE="test"
46 +
47 +S=${WORKDIR}/${MY_P}.src/utils/lit
48 +
49 +# Tests require 'FileCheck' and 'not' utilities (from llvm)
50 +DEPEND="
51 + dev-python/setuptools[${PYTHON_USEDEP}]
52 + test? (
53 + dev-python/psutil[${PYTHON_USEDEP}]
54 + sys-devel/llvm )"
55 +
56 +# TODO: move the manpage generation here (from sys-devel/llvm)
57 +
58 +python_test() {
59 + ./lit.py -sv tests || die
60 +}