diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-08-28 17:35:06 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-08-28 18:00:30 +0200 |
commit | 71bea4cd2fee557acfab310e1b57f1fe95b64645 (patch) | |
tree | 6476dbf33b640576d1d5e584fd7cb31914bcfaae /dev-python/lit | |
parent | dev-python/lit: Readd py3 compat (fixed upstream) (diff) | |
download | gentoo-71bea4cd2fee557acfab310e1b57f1fe95b64645.tar.gz gentoo-71bea4cd2fee557acfab310e1b57f1fe95b64645.tar.bz2 gentoo-71bea4cd2fee557acfab310e1b57f1fe95b64645.zip |
dev-python/lit: Bump to 7.0.0rc2
Diffstat (limited to 'dev-python/lit')
-rw-r--r-- | dev-python/lit/Manifest | 1 | ||||
-rw-r--r-- | dev-python/lit/lit-7.0.0_rc2.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 7bbcae3ee6d0..2d5570b34fd5 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -2,3 +2,4 @@ DIST llvm-3.9.0.src.tar.xz 18235716 BLAKE2B c348d36cb21e716e8656b97489a0b7223fe8 DIST llvm-4.0.1.src.tar.xz 21065652 BLAKE2B 6327eed2d1feb108440f22d2581d1ff86c10a10c29793538d8d899c7e2dc83d3f7b147d3fd4bcce2bd2bf57c071b08c624aeafe40a3e7a3914506e7751727e6c SHA512 16adc39b34ddb628f81b171119a8e2a0e9138b25011e803ef0b688e2fbea116fc4953d3a1b61b90a98a75e33619f81566b7cb06a9a2ea4d04ac5e0eb303a2d1d DIST llvm-5.0.2.src.tar.xz 23451868 BLAKE2B b7082be2e4ad557b29b9f6869811f262adcf5c73d552faf91b339bede75cf5eab58afefa12fa779a38be71fe2b8f4ea297c3213ee4e8370cc01972c59249d91c SHA512 3588be5ed969c3f7f6f16f56a12a6af2814d3d3c960d4a36ffebb0446cc75f19220bccee7fc605f9b01f5d5c188a905a046193cc12dec42dd5922048b5c27fe1 DIST llvm-6.0.1.src.tar.xz 25306628 BLAKE2B 60232d4d22f8096b565cc8d81fea0639f24f14e8fc4f66ade69fa15479181f07f655f26dff3fa24bf105762b495da316c5c9352db234bd0af6b9c3fff6d4d881 SHA512 cbbb00eb99cfeb4aff623ee1a5ba075e7b5a76fc00c5f9f539ff28c108598f5708a0369d5bd92683def5a20c2fe60cab7827b42d628dbfcc79b57e0e91b84dd9 +DIST llvm-7.0.0rc2.src.tar.xz 28320756 BLAKE2B 92707da30fe73a6dec2614acceada06560332d3b54edeae5047543f23808cf13b24aecc9c853ccbc3341951e1fbceff85509465aa6207275fc54c75f94baff55 SHA512 4211fdbd2278ed325d3f6a1f1fa706351e768e2cd1445abf6664bed39b7b5d0c5e04514711d627f9ae1e271300f410635bb54ba004a5bece0d68450d3a1b52e4 diff --git a/dev-python/lit/lit-7.0.0_rc2.ebuild b/dev-python/lit/lit-7.0.0_rc2.ebuild new file mode 100644 index 000000000000..bc93c7fb0b55 --- /dev/null +++ b/dev-python/lit/lit-7.0.0_rc2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) +inherit distutils-r1 multiprocessing + +MY_P=llvm-${PV/_/}.src +DESCRIPTION="A stand-alone install of the LLVM suite testing tool" +HOMEPAGE="https://llvm.org/" +SRC_URI="https://prereleases.llvm.org/${PV/_//}/${MY_P}.tar.xz" + +LICENSE="UoI-NCSA" +SLOT="0" +KEYWORDS="" +IUSE="test" +RESTRICT="!test? ( test )" + +S=${WORKDIR}/${MY_P}/utils/lit + +# Tests require 'FileCheck' and 'not' utilities (from llvm) +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + sys-devel/llvm )" + +# TODO: move the manpage generation here (from sys-devel/llvm) + +src_unpack() { + einfo "Unpacking parts of ${MY_P}.tar.xz ..." + tar -xJf "${DISTDIR}/${MY_P}.tar.xz" "${MY_P}/utils/lit" || die +} + +python_test() { + ./lit.py -j "${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" \ + -vv tests || die +} |