summaryrefslogtreecommitdiff
path: root/dev-python/lit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-09 11:04:53 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-09 11:04:53 +0100
commit43297a4ed0a3760bbdd0b8c286b779f174ca5368 (patch)
tree15b92efd455b5d5eb0ef8a4af4f5f24572c4b46b /dev-python/lit
parent14866757225815b9374acfc8453518951e0f910d (diff)
gentoo auto-resync : 09:08:2024 - 11:04:52
Diffstat (limited to 'dev-python/lit')
-rw-r--r--dev-python/lit/Manifest2
-rw-r--r--dev-python/lit/lit-20.0.0_pre20240808.ebuild45
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest
index 0c09b1956e09..cdcf517774fe 100644
--- a/dev-python/lit/Manifest
+++ b/dev-python/lit/Manifest
@@ -11,6 +11,7 @@ DIST llvm-project-19.1.0-rc1.src.tar.xz 141259912 BLAKE2B e882ff54a96900b4948e57
DIST llvm-project-19.1.0-rc1.src.tar.xz.sig 438 BLAKE2B cc1acbd33440bb14f78c19cc3061a5c0cb3d9dbcd6f0d1516fe118ac02c500ba4df129f870ddf3fe1a52519feab4b631866413fce9c726272d52c3865a9eea27 SHA512 a3361992b55be13aeff5d91bb90a15e3a2ab89e486328fa4d9abc9efa3925aee70bea48449b003ae1926909d389bf71afcf6dc56d800ed2e0e3dbc65da6e4e92
DIST llvm-project-19.1.0-rc2.src.tar.xz 141264388 BLAKE2B 690b4912d9e4a8019b7990934dd6486362337ccb303dca119c0e75aa1063ad452222be1ee965e43b160dfcea20e491a20c289344152666b618712a1d76dc4780 SHA512 508a401e8433b1ac9a399246eb1a3c18faed7c3d41d8c118e77cefbb64cc6d6e171bd41a3e5584f6c84df141ba6819f1a1cce75b5c1ef33e3d2ac239e662d07c
DIST llvm-project-19.1.0-rc2.src.tar.xz.sig 438 BLAKE2B 1eaf10a1419ecf009c033a8f6ecb6eec86107d81621d5b4665c8d929b05f4845ce0c432017343d7b06f33e6ff6384df9e1d8fc7b9c6efe7f10ef69798891b7e5 SHA512 b46e9a1d40f891c5f3544d8cc6295900bff5dda9a4a526b8db55a42a37ae90deb216b316d2117984e82f4e918d15343e75b3b9e6d6c773866707c3398e032826
+DIST llvm-project-fd7d7882e7fa5a38d4bfde426120d4663718beb4.tar.gz 218217769 BLAKE2B a6c2aa012c342e31527b7e9f85e8fea3549d52530d8f87cd699e094a0aa768d099f9fd2631161ff7f53b4a5011937ed6d1f52b8fa1d23aa34183be1f487d4277 SHA512 c4863fab1a3c03f7f9c42f3501d3a75cebb491343515d77d30b26e5cbd720fc3fd628052099d87ed638e8c424bcbe7a1d066ed857f73da6f243d3d5a76b0e6c5
EBUILD lit-15.0.7.ebuild 913 BLAKE2B 38afb1ee0c64d7480ccf1c84c6c1ae0e1ff5f75a0b52272b68d50717a338f143214329245bd650e107d8091ffe1bef6b29293a4b47d147122ea6cea64b448b92 SHA512 fc58e9f0ba65f388830a4e935f448126eb61f2dcf6fa40750e6feaf8a5943fb259bd3c1db3877767e4ba9ade75f6204de8a33c14630176a34fa097e522a0a051
EBUILD lit-16.0.6.ebuild 921 BLAKE2B dcfe57279dff5c6d80fdf5fc115c76c8ae5af3c8c7fa5da0f1c5592a3428b5a3ecd5c5feef4635c139d4d2d7a7edba53d07a53ba6525b778767c906daf6fd252 SHA512 d5c0943678b3e65cdb148bac517e1ce9700ff8a65c63796e0d4640a28d1086c7bb95f9b6c2d6507c379521cc320108b12f7c4165b4c8c4ff10d56ade2a90a438
EBUILD lit-17.0.6.ebuild 1022 BLAKE2B c0c1efc62ae127c2abaeb2a7ef4f436d0aca737aeb2dcdb1475eabd8eb08801b916ba7e9687b111e5bcc42ae826981a4c1bda87d935b48876f26ac265186de34 SHA512 4d287525c33b812f748a6f6ff71a26c0607f9e8707299648d7eecc090fe26d4b6c8af6fb338450455c0b2bfac2c6ba06a4008a17c3f5007ee8e473e233941a8b
@@ -19,4 +20,5 @@ EBUILD lit-19.1.0_rc1.ebuild 961 BLAKE2B 80f2289924953263c1c30b9f4e019f707ca6dee
EBUILD lit-19.1.0_rc2.ebuild 961 BLAKE2B 80f2289924953263c1c30b9f4e019f707ca6deed804a8c5b980a14701478d700dc1b24944f5a964bfe94174ffb34cd9c864cee70c02cfa3b1b4c025fc8317188 SHA512 ef6e43057ac2e4a2ab482fe48cfb432ab155a23e0d64bbc0d9e451fd00da3c9f17dda4f18ccd2554ab4ac2d5eff2b0df7ce57c2b61cb5145454d9e86eb089e92
EBUILD lit-20.0.0.9999.ebuild 961 BLAKE2B 80f2289924953263c1c30b9f4e019f707ca6deed804a8c5b980a14701478d700dc1b24944f5a964bfe94174ffb34cd9c864cee70c02cfa3b1b4c025fc8317188 SHA512 ef6e43057ac2e4a2ab482fe48cfb432ab155a23e0d64bbc0d9e451fd00da3c9f17dda4f18ccd2554ab4ac2d5eff2b0df7ce57c2b61cb5145454d9e86eb089e92
EBUILD lit-20.0.0_pre20240801.ebuild 961 BLAKE2B 80f2289924953263c1c30b9f4e019f707ca6deed804a8c5b980a14701478d700dc1b24944f5a964bfe94174ffb34cd9c864cee70c02cfa3b1b4c025fc8317188 SHA512 ef6e43057ac2e4a2ab482fe48cfb432ab155a23e0d64bbc0d9e451fd00da3c9f17dda4f18ccd2554ab4ac2d5eff2b0df7ce57c2b61cb5145454d9e86eb089e92
+EBUILD lit-20.0.0_pre20240808.ebuild 961 BLAKE2B 80f2289924953263c1c30b9f4e019f707ca6deed804a8c5b980a14701478d700dc1b24944f5a964bfe94174ffb34cd9c864cee70c02cfa3b1b4c025fc8317188 SHA512 ef6e43057ac2e4a2ab482fe48cfb432ab155a23e0d64bbc0d9e451fd00da3c9f17dda4f18ccd2554ab4ac2d5eff2b0df7ce57c2b61cb5145454d9e86eb089e92
MISC metadata.xml 340 BLAKE2B c9ca851e49b4ab48c015686e983ec988f60c34ed0af77abd7bc03d046002f79f74b9b463ecb97db89f2230c1593af7acdaf6651fc51fed4aa92a459d07aabf18 SHA512 3fe8262ce6b971364162fbdbac3b02bf02f0a64896c8a2564e2a2998bd6e6bc74463bf9104e3f4ffaa9f5c1a16c877fc864b8a4f056ca0022f741799bc00f217
diff --git a/dev-python/lit/lit-20.0.0_pre20240808.ebuild b/dev-python/lit/lit-20.0.0_pre20240808.ebuild
new file mode 100644
index 000000000000..d862b4f8cd03
--- /dev/null
+++ b/dev-python/lit/lit-20.0.0_pre20240808.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+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() {
+ # flaky test
+ # https://github.com/llvm/llvm-project/issues/72022
+ rm tests/progress-bar.py || die
+
+ 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
+}