This package is used by the LLVM project to execute their testsuites.
Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org --- python-lit/python-lit.nm | 53 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 python-lit/python-lit.nm
diff --git a/python-lit/python-lit.nm b/python-lit/python-lit.nm new file mode 100644 index 000000000..563e7a7f1 --- /dev/null +++ b/python-lit/python-lit.nm @@ -0,0 +1,53 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team info@ipfire.org # +############################################################################### + +name = python-lit +version = 0.8.0 +release = 1 +arch = noarch + +groups = System/Libraries +url = https://pypi.python.org/pypi/lit +license = NCSA +summary = Tool for executing llvm test suites. + +description + lit is a tool used by the LLVM project for executing its test suites. +end + +source_dl = https://files.pythonhosted.org/packages/ba/da/c4b2b6ab24c840169e090d6e8f4c1b... +sources = lit-%{version}.tar.gz + +build + requires + python3-devel >= 3.4 + python3-setuptools + end + + DIR_APP = %{DIR_SRC}/lit-%{version} + + build + %{python3} setup.py build + end + + test + %{python3} setup.py test + end + + install + %{python3} setup.py install --root=%{BUILDROOT} + + # Strip out #!/usr/bin/env python + sed -i -e '1{@^#!/usr/bin/env python@d}' %{buildroot}%{python3_sitelib}/%{srcname}/*.py + end +end + +packages + package %{name} + requires + python3-setuptools + end + end +end