summaryrefslogtreecommitdiff
path: root/dev-python/lit
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/lit')
-rw-r--r--dev-python/lit/Manifest2
-rw-r--r--dev-python/lit/lit-6.0.1.ebuild39
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest
index 25122f6cfbb2..205630c0fb29 100644
--- a/dev-python/lit/Manifest
+++ b/dev-python/lit/Manifest
@@ -3,11 +3,13 @@ DIST llvm-4.0.1.src.tar.xz 21065652 BLAKE2B 6327eed2d1feb108440f22d2581d1ff86c10
DIST llvm-5.0.1.src.tar.xz 23428720 BLAKE2B 3db4d33df21018d17eef0042c0d8d82a8412bd5daa99cfb5405a6ec83c5774178fa76b220e8731c2a9a64dabf898aa90fe29c685327bd63a4f078e8e94a9a77e SHA512 bee1d45fca15ce725b1f2b1339b13eb6f750a3a321cfd099075477ec25835a8ca55b5366172c4aad46592dfd8afe372349ecf264f581463d017f9cee2d63c1cb
DIST llvm-5.0.2.src.tar.xz 23451868 BLAKE2B b7082be2e4ad557b29b9f6869811f262adcf5c73d552faf91b339bede75cf5eab58afefa12fa779a38be71fe2b8f4ea297c3213ee4e8370cc01972c59249d91c SHA512 3588be5ed969c3f7f6f16f56a12a6af2814d3d3c960d4a36ffebb0446cc75f19220bccee7fc605f9b01f5d5c188a905a046193cc12dec42dd5922048b5c27fe1
DIST llvm-6.0.0.src.tar.xz 25296048 BLAKE2B 7ea90bb63d6f26cfbc1c1ed2f243b0fcd8ad2ceb7963cf768d262cd55e9a0c71a9cfdea0333fb220faacf4540d924d2512532774dcfb52b52490ad74e38c09e0 SHA512 a71fdd5ddc46f01327ad891cfcc198febdbe10769c57f14d8a4fb7d514621ee4080e1a641200d3353c16a16731d390270499ec6cd3dc98fadc570f3eb6b52b8c
+DIST llvm-6.0.1.src.tar.xz 25306628 BLAKE2B 60232d4d22f8096b565cc8d81fea0639f24f14e8fc4f66ade69fa15479181f07f655f26dff3fa24bf105762b495da316c5c9352db234bd0af6b9c3fff6d4d881 SHA512 cbbb00eb99cfeb4aff623ee1a5ba075e7b5a76fc00c5f9f539ff28c108598f5708a0369d5bd92683def5a20c2fe60cab7827b42d628dbfcc79b57e0e91b84dd9
EBUILD lit-3.9.0.ebuild 790 BLAKE2B 13015298e24920449372388bc9a0fe5b5c705b49bbc50cc6114c8b18f9861acca1d394d08de4ee87db70ee9d363309a3cf8f3ac1bbff865a0c6c6f5c14aaac6b SHA512 57854f8499794d42e9c312b006f54454bbac7679c166c603872ebffe01c47411bff083f7fce0eb817151056ecdd72562224e383de96bdd5c46487f895e33a6e2
EBUILD lit-4.0.1.ebuild 811 BLAKE2B 6a11590228ab794a2da32f75b8d72edd64a6a394640230a0d524b5784b21caf710fe6085fc913f48671e1812365d9665ae2dca3dca8697636b5149f69f6163a1 SHA512 583bb3c1a0fc61aa0e8fe1ba2beea9c4910f7af699b782b038ecce78e509cc2ffd219f8b63b8c83edd475eeee54c46c4cca4dbe602c6e833859fd784649d0820
EBUILD lit-5.0.1.ebuild 897 BLAKE2B 982501eb196f19447490abc081eb7cb1420ce800ad2bead2c2943bed5afc1edb1789f0f38d2e25f4e56f187e4afbd24f7498cc1d527a68eeeeecf17a7f29f5be SHA512 dad181576e1c8c8899c4b5929393940fb7dcfd7f5f1c6023cea39864d42ad7a4ddccac063ed7b788e350ebbf32c7f06f6718b205f036e0157aa89dfe3effb8ce
EBUILD lit-5.0.2.ebuild 905 BLAKE2B 601fc56cd26681f9fd0c411ffba286fc58894e71b2be5ffe6efde617b9936629838300f857bbc118cd303aa0a01aad966daa94d0aedd48b05245a6ab38bcb3b4 SHA512 a59114b9c073b9d1c6079cc91057d36a22221cc82c5027f95981ccb38486f3e279797ca759484ef51762a32a65490e1df3ac8448624613a0fdff8801bb2ed471
EBUILD lit-6.0.0.ebuild 1018 BLAKE2B e86a9a9369db88fa6537d381a1c40ecc6dfac99127e097df1921329e1d4d5fab0b97f80077ad2699cfff4cf44178998128174f991b40291ff4f32e3fb0f97032 SHA512 6aa8853254a1db5a3d191869672c9748ac7f8bd0345bc545a73e1df6c14d5ed9c89442ce648393c527efaa75568b7eccc97ba3c959988e6cd3902a1df1d27954
+EBUILD lit-6.0.1.ebuild 1018 BLAKE2B e86a9a9369db88fa6537d381a1c40ecc6dfac99127e097df1921329e1d4d5fab0b97f80077ad2699cfff4cf44178998128174f991b40291ff4f32e3fb0f97032 SHA512 6aa8853254a1db5a3d191869672c9748ac7f8bd0345bc545a73e1df6c14d5ed9c89442ce648393c527efaa75568b7eccc97ba3c959988e6cd3902a1df1d27954
EBUILD lit-6.0.9999.ebuild 961 BLAKE2B cb1a25ddf6915b528d16dbb4cc200a708f0e4906659b280d2a87f7e02a536665ad592378ad446b9149373dbd643e683200e8169703628fcfa8db9b08536a777b SHA512 44fbdfa703aa94f2f4621490321bdcc092226c842b2f41d6223fb23a703686fcd004ec843b5bbf810a358179dd3e7b86997e4dfdd6ee7e32550301478ccdc4ae
EBUILD lit-9999.ebuild 920 BLAKE2B 3327119d4508e44c9f3a7658a38e6d6b15ec021761584764c8fb32af8469490d428fab66f20de3f75f2e72cb2f8682f0145805059b3723d8d7361b0aae18966d SHA512 95606df1e8ca840e0512b6dc6c9b06d161646fc71f41bc2e1c459cc2dc4fc1ed3883265c43f575d493f89477616b530b8e7a62414da82bb315ee175bb0dfb80a
MISC metadata.xml 216 BLAKE2B fe5e49887842aa513fbf1f2e09bed09a884d531fd21bdaeb2d389e8bf590b6c0e7063f0af98f66e2db129308ab0f0804ba327c3c752bbb4c900c59ac109d99aa SHA512 3485598147c953e72e1785693a489a7e7d73d59620b76054db9c0ce95d8bfa0e8ffec29da7f7a9d73a32e5b77eac07ca3306c56a972dc57fd89d477edaebf3d5
diff --git a/dev-python/lit/lit-6.0.1.ebuild b/dev-python/lit/lit-6.0.1.ebuild
new file mode 100644
index 000000000000..59bae5b9a36e
--- /dev/null
+++ b/dev-python/lit/lit-6.0.1.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} )
+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://releases.llvm.org/${PV/_//}/${MY_P}.tar.xz"
+
+LICENSE="UoI-NCSA"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-fbsd"
+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
+}