summaryrefslogtreecommitdiff
path: root/dev-python/lit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-18 06:30:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-18 06:30:11 +0000
commitf57e008aa126ccdca95f7424e4d24a1a83a49682 (patch)
tree485fb1d76c7c51ddd47615c50059dd46045ffbb5 /dev-python/lit
parent066666b8767b78231b90d9b3ffc8169fbfe1ec7c (diff)
gentoo auto-resync : 18:12:2024 - 06:30:11
Diffstat (limited to 'dev-python/lit')
-rw-r--r--dev-python/lit/Manifest3
-rw-r--r--dev-python/lit/lit-19.1.6.ebuild46
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest
index 5e3eaed25463..222016c959f1 100644
--- a/dev-python/lit/Manifest
+++ b/dev-python/lit/Manifest
@@ -10,6 +10,8 @@ DIST llvm-project-19.1.4.src.tar.xz 141255156 BLAKE2B b99cd8a96e38dbcfb582ee5d22
DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B b0925bdb761046d69779e0b035e29430bc09ef2b81be763aa5c853793631d7b7fdd65eb4dae7a1e3b4daa15d189c24cd1e14f065f79fdbf75429fa34be9b330e SHA512 3fb4a6c7594cb43680860698dac47062dde30de60f515dcecdad63812ea1edfb2cb209d0a7ac2254589c245a95b7c0f571b582e0d4b97a6ae8242563483ea764
DIST llvm-project-19.1.5.src.tar.xz 141243716 BLAKE2B 228fc66ab688abfc16f31b2cd83163b81ef61604ace21eab69a1776f0dc88cbe8fa831162205849e5be3975a214136399572b4ad1b908986e37b2d38a1a7fa5d SHA512 648854e9c91fdcc5c677ce3800e046f2060b998a45cf9f7eebe02898431b3924f9348b6fc366102cd4fdda72dcb8f32076f98aa69927e0e20b3f1007fba10b22
DIST llvm-project-19.1.5.src.tar.xz.sig 438 BLAKE2B 1d40a5c5405f99ef86e3360f9ea153afd1ae4001697210fd799a988113e8a3cef39e2c4794edd9332f384d8490f4ce2ab6bee6d98f794f84775807f833b81c0a SHA512 a438c86ce882eb1ac3e50842937068794ed162bb1b7ded68a2fe3ec2ab4f57cc38aee667cfb46afe6da22eef7ed1cb65820a473f63bd5a0dc6aad41df7bfad54
+DIST llvm-project-19.1.6.src.tar.xz 141248428 BLAKE2B b35ab0c754f28c850ac6fd4ee584e963b1d5cf06885c59827ee4ac11f93cde5b8e0268fbed560839137de2c495c9da2b889331cd12a8a02958d8e0cbdbed2607 SHA512 d411a6d913d6a1e1f3c16cfc1ce81c1e6292ea370703f55fb67c7af62f02193d53f5ef7823c8679d6f25cbe47b40236fcaf37044ad7cdfada8166efe7eb106b3
+DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 1791e98252ab78a9a762ef601ff9edee115385181781c8100f14ec80061d7888ee4c4c519297a0e89b9c7ab2203aa9d5bb3084ea1d0f0024c2acf84826fd370b SHA512 8e79a39a4f54da3579794f9b5a009ea8ee56c7bc1805187274794ce56e81aa492ea93f5c7839a59beedcf7d657acded5ecb75d5803658cce1f9e8f753439c6c4
DIST llvm-project-32f7f0010bca99ee4bd917f57272733fb2bf3bd9.tar.gz 223983502 BLAKE2B fd3e6b0b795abc42568ef98fa774d927029c18838a5d0f34eaa66c37976444a63f2fc5d883f3bf3a98533f51e387936f1c659230f31c757d26153425696a16cd SHA512 65a345ad5b77c627008f759947e5e9f28a62c8992d7146113e0446e5849feaf9088c15c8b22ca0824af5b927d6a417f5326258b489fb8ccea78ec9e0e0fe8fba
DIST llvm-project-49a5ad8e5714fd404210279303acc97b495d66d0.tar.gz 224456065 BLAKE2B 0077b9d37c479ac6190cc4b897cc35d6f1f3e6a772cd0620bcb1006afc19377e9968e38fb9d9adffe316e85290c9045deecbf9bf62b440c55968634b442edb31 SHA512 45d779eb27c230f656fda47c85127381cab8c8f7f75d77411c6960269f8aad5fa3c99c024a98ab8a349da1c88ad9d892cc82f91a6f344b791b281449031ae49a
EBUILD lit-15.0.7.ebuild 914 BLAKE2B 84b2d09fb6babb142fe747be241c7a66156ac6fd222d1cf0e9a8e8ac4cfa0602840d3a8bbe0335995ba89f5c4b87d28894fc2a89bc0a894e53b8d0027c9a9a17 SHA512 11fe0b56f6d92f6d4755edbd724f3cc489d2460c55840ec1911bbbfadbc8ac661f41f2830b3399858d361caca106ff8bd5fecf02a13698d0e5093b37f972db80
@@ -18,6 +20,7 @@ EBUILD lit-17.0.6.ebuild 1022 BLAKE2B 75919679f6961d2ce83d6d796994703381ac85d02d
EBUILD lit-18.1.8.ebuild 1028 BLAKE2B 53f33afe822e7e6572b262c51f98c0da54b56c696f57109a5396ace349a9ffe65b6d2af0990e96572e1529d5a9cc55a77e36069f35b6e166477ebd8152f5ff47 SHA512 7f0e45f98386b7a0193539965ba3365cb2d7375d0b173505ac840c29cb8ea9f0f0ed4dd78bec7ff5d2c4d78ce47f04b05784d570e29c408fa1a46d8d3f0811df
EBUILD lit-19.1.4.ebuild 1028 BLAKE2B 53f33afe822e7e6572b262c51f98c0da54b56c696f57109a5396ace349a9ffe65b6d2af0990e96572e1529d5a9cc55a77e36069f35b6e166477ebd8152f5ff47 SHA512 7f0e45f98386b7a0193539965ba3365cb2d7375d0b173505ac840c29cb8ea9f0f0ed4dd78bec7ff5d2c4d78ce47f04b05784d570e29c408fa1a46d8d3f0811df
EBUILD lit-19.1.5.ebuild 1035 BLAKE2B 06b0acaba611a8e9270353c3edf7453b3d9c61fdd619100f9b142503ce0ca512908e1750634be2f1676d60dfd1e41fad5fe7db8974f79135a2cfa971e209576c SHA512 ff5ce2b2b971912870fcfcac2a94dbbd78f57e873b2de9299998675e1d64caf579575b961108a6b1745b63ec974f0a72fd99a18e2d6161006d643f3900be3626
+EBUILD lit-19.1.6.ebuild 1035 BLAKE2B 06b0acaba611a8e9270353c3edf7453b3d9c61fdd619100f9b142503ce0ca512908e1750634be2f1676d60dfd1e41fad5fe7db8974f79135a2cfa971e209576c SHA512 ff5ce2b2b971912870fcfcac2a94dbbd78f57e873b2de9299998675e1d64caf579575b961108a6b1745b63ec974f0a72fd99a18e2d6161006d643f3900be3626
EBUILD lit-20.0.0.9999.ebuild 961 BLAKE2B 7c75d2a5e698c207da7c898058a4773c24a77586386354e13ab2252ea403fc4d756ad1961857174ae51b531e004ed7b0dcd9a3f262a2df19e79387ab78eaa8d2 SHA512 afaed5a064cce4c1366050caee4ddd8bb744d0933abc06a0297f7f96ad80c82b76dc3aff344b00de17eb4a1d4d93f98ccae0dac8dc75d572120998eefd731186
EBUILD lit-20.0.0_pre20241207.ebuild 961 BLAKE2B 7c75d2a5e698c207da7c898058a4773c24a77586386354e13ab2252ea403fc4d756ad1961857174ae51b531e004ed7b0dcd9a3f262a2df19e79387ab78eaa8d2 SHA512 afaed5a064cce4c1366050caee4ddd8bb744d0933abc06a0297f7f96ad80c82b76dc3aff344b00de17eb4a1d4d93f98ccae0dac8dc75d572120998eefd731186
EBUILD lit-20.0.0_pre20241215.ebuild 961 BLAKE2B 7c75d2a5e698c207da7c898058a4773c24a77586386354e13ab2252ea403fc4d756ad1961857174ae51b531e004ed7b0dcd9a3f262a2df19e79387ab78eaa8d2 SHA512 afaed5a064cce4c1366050caee4ddd8bb744d0933abc06a0297f7f96ad80c82b76dc3aff344b00de17eb4a1d4d93f98ccae0dac8dc75d572120998eefd731186
diff --git a/dev-python/lit/lit-19.1.6.ebuild b/dev-python/lit/lit-19.1.6.ebuild
new file mode 100644
index 000000000000..0bc978b6c9d2
--- /dev/null
+++ b/dev-python/lit/lit-19.1.6.ebuild
@@ -0,0 +1,46 @@
+# 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"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+# Tests require 'FileCheck' and 'not' utilities (from llvm)
+BDEPEND="
+ test? (
+ dev-python/psutil[${PYTHON_USEDEP}]
+ llvm-core/llvm
+ )
+"
+
+LLVM_COMPONENTS=( llvm/utils/lit )
+llvm.org_set_globals
+
+# TODO: move the manpage generation here (from llvm-core/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
+}