From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] python-lit: New package. Date: Mon, 02 Sep 2019 14:30:29 +0200 Message-ID: <20190902123029.30342-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5686303707989922754==" List-Id: --===============5686303707989922754== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This package is used by the LLVM project to execute their testsuites. Signed-off-by: Stefan Schantl --- 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 = # +############################################################################= ### + +name =3D python-lit +version =3D 0.8.0 +release =3D 1 +arch =3D noarch + +groups =3D System/Libraries +url =3D https://pypi.python.org/pypi/lit +license =3D NCSA +summary =3D Tool for executing llvm test suites. + +description + lit is a tool used by the LLVM project for executing its test suites. +end + +source_dl =3D https://files.pythonhosted.org/packages/ba/da/c4b2b6ab24c8401= 69e090d6e8f4c1bfa1e8a6b9d0ef3f8ed57ee9f72a317/ +sources =3D lit-%{version}.tar.gz + +build + requires + python3-devel >=3D 3.4 + python3-setuptools + end + + DIR_APP =3D %{DIR_SRC}/lit-%{version} + + build + %{python3} setup.py build + end + + test + %{python3} setup.py test + end + + install + %{python3} setup.py install --root=3D%{BUILDROOT} + + # Strip out #!/usr/bin/env python + sed -i -e '1{\@^#!/usr/bin/env python(a)d}' %{buildroot}%{python3_sitelib}= /%{srcname}/*.py + end +end + +packages + package %{name} + requires + python3-setuptools + end + end +end --=20 2.20.1 --===============5686303707989922754==--