From 973de33e06205f5acaa21a6e50b65bdca4957c36 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 28 Apr 2020 04:55:16 -0400 Subject: [PATCH] import python-lit-0.9.0-1.module+el8.2.0+4344+da5775f3 --- .gitignore | 2 +- .python-lit.metadata | 2 +- SPECS/python-lit.spec | 21 +++++++++++++++------ 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 34bc425..34331f7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/lit-0.8.0.tar.gz +SOURCES/lit-0.9.0.tar.gz diff --git a/.python-lit.metadata b/.python-lit.metadata index cb900d3..db992bb 100644 --- a/.python-lit.metadata +++ b/.python-lit.metadata @@ -1 +1 @@ -c92163198945408c8a4109f7c8074e17d7e58274 SOURCES/lit-0.8.0.tar.gz +4cf303b76203cef3d29b2194e1d59220d53a68d2 SOURCES/lit-0.9.0.tar.gz diff --git a/SPECS/python-lit.spec b/SPECS/python-lit.spec index d74678a..1e71766 100644 --- a/SPECS/python-lit.spec +++ b/SPECS/python-lit.spec @@ -1,18 +1,25 @@ %global srcname lit +#%%global rc_ver 4 +%bcond_without check + Name: python-%{srcname} -Version: 0.8.0 +Version: 0.9.0 Release: 1%{?dist} BuildArch: noarch License: NCSA -Group: Development/Languages Summary: Tool for executing llvm test suites URL: https://pypi.python.org/pypi/lit -Source0: https://files.pythonhosted.org/packages/ba/da/c4b2b6ab24c840169e090d6e8f4c1bfa1e8a6b9d0ef3f8ed57ee9f72a317/lit-0.8.0.tar.gz +Source0: https://files.pythonhosted.org/packages/11/96/79e3eb8508926bc47f8be4a371a310453beaa1eb8e6c94140d45c8029adf/lit-0.9.0.tar.gz + +# for file check +%if %{with check} +BuildRequires: llvm-test +%endif -BuildRequires: python3-setuptools BuildRequires: python3-devel +BuildRequires: python3-setuptools %description lit is a tool used by the LLVM project for executing its test suites. @@ -38,8 +45,7 @@ lit is a tool used by the LLVM project for executing its test suites. sed -i -e '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{python3_sitelib}/%{srcname}/*.py %check -# FIXME: Tests fail with python3 -#%{__python3} setup.py test +%{__python3} lit.py tests %files -n python3-%{srcname} %doc README.txt @@ -47,6 +53,9 @@ sed -i -e '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{python3_sitelib}/%{srcna %{_bindir}/lit %changelog +* Fri Sep 27 2019 Tom Stellard - 0.9.0-1 +- 0.9.0 Release + * Wed Apr 17 2019 sguelton@redhat.com - 0.8.0-1 - 0.8.0 Release