diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-10-19 20:52:34 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-10-19 21:50:24 +0200 |
commit | 33e50e4c4ca7b4125f92b5dceb1c5bd33a4c584e (patch) | |
tree | 6bebbe36bbd799f9a8a5e26e4ca38d7b0d442fb1 /dev-python/lit | |
parent | dev-python/clang-python: Add 18.0.0_pre20231019 snapshot (diff) | |
download | gentoo-33e50e4c4ca7b4125f92b5dceb1c5bd33a4c584e.tar.gz gentoo-33e50e4c4ca7b4125f92b5dceb1c5bd33a4c584e.tar.bz2 gentoo-33e50e4c4ca7b4125f92b5dceb1c5bd33a4c584e.zip |
dev-python/lit: Add 18.0.0_pre20231019 snapshot
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/lit')
-rw-r--r-- | dev-python/lit/Manifest | 1 | ||||
-rw-r--r-- | dev-python/lit/lit-18.0.0_pre20231019.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index cdb85c1e880f..ce67cad96b48 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -7,3 +7,4 @@ DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 2060cebd5ed57cb8a86a44238c43 DIST llvm-project-17.0.3.src.tar.xz 127843636 BLAKE2B 5331d9b545faab282a4caec9ee688d0f1e0615a56a26aa24d8f6fbbae10258e132d94634dab2f7bd69ada06bb28dc899730b9cd774a1086d7c03d5706de6d997 SHA512 44f37dea494a66a83c252e28d7d0517c3b2eed5b196565432dc663c7914bd66d665c8d13479e2776a14cac1905faf6972f986176722c053b58528570a6e68316 DIST llvm-project-17.0.3.src.tar.xz.sig 438 BLAKE2B 045e7ca82c8d9b3f182e4fa331ec841b24777ac1888f10de435a389ae3a88172e0559a3fca0c2d37cc874464411ae50d7bc0d0829455149a8de8b953ef6c98c7 SHA512 95f9e6729074cfd71b0ffb21e423cd0fd87763268c24e0513f7afd6a85d08061658c44c03ea3ea3b6e3cc7051676d44c41a791e6905c8abb456d48a3762fc152 DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 BLAKE2B 7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a SHA512 4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271 +DIST llvm-project-e6e90840708099425b7b69dd053634ff25d4907f.tar.gz 199022115 BLAKE2B 442aff8f561f7c5834a36b7eb217fd2b984e58af9cbcf3e6495305f386a7651e73345bbe65133af4bffaf8cb209cfb9a94fb28756ffaaaae8f7d28ec253ccb78 SHA512 fa9c180f36f4c782208ae7baff1683ee466c70f7d021b21b9cb8a8fd0f2005c0b47889d8bb37f5fb984f6b2ec26c74df60490c7b51ac3d080830e6844e33e300 diff --git a/dev-python/lit/lit-18.0.0_pre20231019.ebuild b/dev-python/lit/lit-18.0.0_pre20231019.ebuild new file mode 100644 index 000000000000..1689cd7b1ce2 --- /dev/null +++ b/dev-python/lit/lit-18.0.0_pre20231019.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 llvm.org + +DESCRIPTION="A stand-alone install of the LLVM suite testing tool" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +# Tests require 'FileCheck' and 'not' utilities (from llvm) +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + sys-devel/llvm + ) +" + +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals + +# TODO: move the manpage generation here (from sys-devel/llvm) + +src_prepare() { + cd "${WORKDIR}" || die + distutils-r1_src_prepare +} + +python_test() { + local -x LIT_PRESERVES_TMP=1 + local litflags=$(get_lit_flags) + ./lit.py ${litflags//;/ } tests || die +} |