summaryrefslogtreecommitdiff
path: root/dev-python/lit/lit-4.0.0.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-03-13 18:08:05 +0100
committerMichał Górny <mgorny@gentoo.org>2017-03-13 18:37:13 +0100
commit5d6556b6b5c591a660069968518ddfad0a9d6541 (patch)
treeadddae871e995c652ade43ab9e53ff1a2bf0374f /dev-python/lit/lit-4.0.0.ebuild
parent4fdecd7d8cfa731721a21817ae63827ed9f28cd2 (diff)
downloadgentoo-5d6556b6b5c591a660069968518ddfad0a9d6541.tar.gz
gentoo-5d6556b6b5c591a660069968518ddfad0a9d6541.tar.xz
dev-python/lit: Bump to 4.0.0 final
Diffstat (limited to 'dev-python/lit/lit-4.0.0.ebuild')
-rw-r--r--dev-python/lit/lit-4.0.0.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/lit/lit-4.0.0.ebuild b/dev-python/lit/lit-4.0.0.ebuild
new file mode 100644
index 00000000000..61643cd0d5e
--- /dev/null
+++ b/dev-python/lit/lit-4.0.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+inherit distutils-r1
+
+MY_P=llvm-${PV/_/}
+DESCRIPTION="A stand-alone install of the LLVM suite testing tool"
+HOMEPAGE="http://llvm.org/"
+SRC_URI="http://releases.llvm.org/${PV/_//}/${MY_P}.src.tar.xz"
+
+LICENSE="UoI-NCSA"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+
+S=${WORKDIR}/${MY_P}.src/utils/lit
+
+# Tests require 'FileCheck' and 'not' utilities (from llvm)
+DEPEND="
+ test? (
+ dev-python/psutil[${PYTHON_USEDEP}]
+ sys-devel/llvm )"
+
+# TODO: move the manpage generation here (from sys-devel/llvm)
+
+python_test() {
+ ./lit.py -sv tests || die
+}