import python-lit-0.9.0-1.module+el8.2.0+4344+da5775f3

This commit is contained in:
CentOS Sources 2020-04-28 04:55:16 -04:00 committed by Andrew Lukoshko
parent d644bb5a19
commit 973de33e06
3 changed files with 17 additions and 8 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/lit-0.8.0.tar.gz
SOURCES/lit-0.9.0.tar.gz

View File

@ -1 +1 @@
c92163198945408c8a4109f7c8074e17d7e58274 SOURCES/lit-0.8.0.tar.gz
4cf303b76203cef3d29b2194e1d59220d53a68d2 SOURCES/lit-0.9.0.tar.gz

View File

@ -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 <tstellar@redhat.com> - 0.9.0-1
- 0.9.0 Release
* Wed Apr 17 2019 sguelton@redhat.com - 0.8.0-1
- 0.8.0 Release