2019-12-03 11:18:35 +08:00
|
|
|
Name: python-lit
|
2022-06-21 19:53:55 +08:00
|
|
|
Version: 14.0.3
|
|
|
|
|
Release: 1
|
2019-12-03 11:18:35 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
License: NCSA
|
|
|
|
|
Summary: A tool to execute the llvm test suite
|
|
|
|
|
URL: https://pypi.python.org/pypi/lit
|
2022-06-21 19:53:55 +08:00
|
|
|
Source0: https://files.pythonhosted.org/packages/65/0c/94e4da4d1dc0dd55a09257d16dd9c87ed2f8e4747278d78fd4254465d943/lit-14.0.3.tar.gz
|
2020-10-30 13:52:16 +08:00
|
|
|
BuildRequires: python3-devel python3-setuptools
|
2019-12-03 11:18:35 +08:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
python-lit is a tool used by LLVM to execute its test suite.
|
|
|
|
|
|
|
|
|
|
%package -n python3-lit
|
|
|
|
|
Summary: LLVM lit test runner for Python 3
|
|
|
|
|
Requires: python3-setuptools
|
|
|
|
|
|
|
|
|
|
%description -n python3-lit
|
|
|
|
|
python-lit is a tool used by LLVM to execute its test suite.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n lit-%{version}%{?rc_ver:rc%{rc_ver}} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
sed -i -e '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{python3_sitelib}/lit/*.py
|
|
|
|
|
|
|
|
|
|
%files -n python3-lit
|
|
|
|
|
%doc README.txt
|
|
|
|
|
%{python3_sitelib}/*
|
|
|
|
|
%{_bindir}/lit
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-06-21 19:53:55 +08:00
|
|
|
* Tue Jun 21 2022 houyingchao <houyingchao@h-partners.com> - 14.0.3-1
|
|
|
|
|
- Upgrade to version 14.0.3
|
|
|
|
|
|
2020-10-30 13:52:16 +08:00
|
|
|
* Mon Oct 26 2020 Ge Wang<wangge20@huawei.com> - 0.7.0-4
|
|
|
|
|
- remove python2
|
|
|
|
|
|
2019-12-03 11:18:35 +08:00
|
|
|
* Sat Nov 30 2019 gulining<gulining1@huawei.com> - 0.7.0-3
|
|
|
|
|
- Pakcage init
|