Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
89820d7b35
!11 [sync] PR-10: 版本升级至15.0.7
From: @openeuler-sync-bot 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2023-02-23 01:49:40 +00:00
Chenxi Mao
59560b00b2 Upgrade to 15.0.7
Signed-off-by: Chenxi Mao <chenxi.mao@suse.com>
(cherry picked from commit 94f0abc0a6ab4b3a18c87242a0b6e7d4228c2a4b)
2023-02-22 17:21:52 +08:00
openeuler-ci-bot
f3ba776489
!8 [sync] PR-7: 升级python-lit到15.0.6
From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-02-09 08:57:19 +00:00
Chenxi Mao
3c46d28bab Upgrade to 15.0.6
Update python-lit to 15.0.6 to make sure LLVM 15.0.6 self test wroks well.

Signed-off-by: Chenxi Mao <chenxi.mao@suse.com>
(cherry picked from commit cf8403948f39164d4e884fffe5be7515a8a075d3)
2023-01-28 06:33:51 +08:00
openeuler-ci-bot
60d6246fc5
!5 [sync] PR-4: Upgrade package
From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2022-10-27 09:44:55 +00:00
xigaoxinyan
78a4267f59 License compliance rectification
(cherry picked from commit 22bc12bbe859f06a1ecbf03fe87c500594b16798)
2022-10-27 11:28:02 +08:00
openeuler-ci-bot
12ad1eb25e !3 remove python2 dependencies of package python-lit
From: @wang--ge
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-10-30 14:12:38 +08:00
root
3a53f0cee3 remove python2 2020-10-30 13:52:16 +08:00
openeuler-ci-bot
a7d9dd9bee !1 add yaml
Merge pull request !1 from cuibb1/master
2020-05-11 15:41:56 +08:00
root
a849b64c99 yaml 2020-05-11 14:40:08 +08:00
4 changed files with 22 additions and 24 deletions

Binary file not shown.

BIN
lit-15.0.7.tar.gz Normal file

Binary file not shown.

View File

@ -1,57 +1,51 @@
%{!?py2_build: %global py2_build %{expand: CFLAGS="%{optflags}" %{__python2} setup.py %{?py_setup_args} build --executable="%{__python2} -s"}}
%{!?py2_install: %global py2_install %{expand: CFLAGS="%{optflags}" %{__python2} setup.py %{?py_setup_args} install -O1 --skip-build --root %{buildroot}}}
Name: python-lit Name: python-lit
Version: 0.7.0 Version: 15.0.7
Release: 3 Release: 1
BuildArch: noarch BuildArch: noarch
License: NCSA License: NCSA
Summary: A tool to execute the llvm test suite Summary: A tool to execute the llvm test suite
URL: https://pypi.python.org/pypi/lit URL: https://pypi.python.org/pypi/lit
Source0: https://files.pythonhosted.org/packages/e5/0c/2f40cd6be5c79e15c5456b2aff6aea2e6196e8c42c0836a4da52d4df8d43/lit-0.7.0.tar.gz Source0: https://files.pythonhosted.org/packages/2f/5e/8b27ba3715becd8ee26f1f0c2ef9d18fa425a9f6bbf535573b90c08171b4/lit-15.0.7.tar.gz
BuildRequires: python2-devel python2-setuptools python3-devel python3-setuptools BuildRequires: python3-devel python3-setuptools
%description %description
python-lit is a tool used by LLVM to execute its test suite. python-lit is a tool used by LLVM to execute its test suite.
%package -n python2-lit
Summary: LLVM lit test runner for Python 2
Requires: python2-setuptools
%package -n python3-lit %package -n python3-lit
Summary: LLVM lit test runner for Python 3 Summary: LLVM lit test runner for Python 3
Requires: python3-setuptools Requires: python3-setuptools
%description -n python2-lit
python-lit is a tool used by LLVM to execute its test suite.
%description -n python3-lit %description -n python3-lit
python-lit is a tool used by LLVM to execute its test suite. python-lit is a tool used by LLVM to execute its test suite.
%prep %prep
%autosetup -n lit-%{version}%{?rc_ver:rc%{rc_ver}} -p1 %autosetup -n lit-%{version}
%build %build
%py2_build
%py3_build %py3_build
%install %install
%py2_install
%py3_install %py3_install
sed -i -e '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{python2_sitelib}/lit/*.py
sed -i -e '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{python3_sitelib}/lit/*.py sed -i -e '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{python3_sitelib}/lit/*.py
%check
%{__python2} setup.py test
%files -n python2-lit
%doc README.txt
%{python2_sitelib}/*
%files -n python3-lit %files -n python3-lit
%license LICENSE.TXT
%doc README.txt %doc README.txt
%{python3_sitelib}/* %{python3_sitelib}/*
%{_bindir}/lit %{_bindir}/lit
%changelog %changelog
* Thu Feb 9 2023 Chenxi Mao <chenxi.mao@suse.com> - 15.0.7-1
- Upgrade to version 15.0.7
* Fri Dec 23 2022 Chenxi Mao <chenxi.mao@suse.com> - 15.0.6-1
- Upgrade to version 15.0.6
* Tue Jun 21 2022 houyingchao <houyingchao@h-partners.com> - 14.0.3-1
- Upgrade to version 14.0.3
* Mon Oct 26 2020 Ge Wang<wangge20@huawei.com> - 0.7.0-4
- remove python2
* Sat Nov 30 2019 gulining<gulining1@huawei.com> - 0.7.0-3 * Sat Nov 30 2019 gulining<gulining1@huawei.com> - 0.7.0-3
- Pakcage init - Pakcage init

4
python-lit.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: pypi
src_repo: lit
tag_prefix: "^v"
seperator: "."