python-parse/python-parse.spec

57 lines
1.4 KiB
RPMSpec
Raw Permalink Normal View History

2019-12-16 10:55:07 +08:00
Name: python-parse
2023-07-07 12:52:46 +08:00
Version: 1.19.1
Release: 1
2019-12-16 10:55:07 +08:00
Summary: Python Parse Module
2022-05-10 19:14:23 +08:00
License: MIT
2023-07-07 12:52:46 +08:00
URL: https://github.com/r1chardj0n3s/parse
Source0: https://github.com/r1chardj0n3s/parse/archive/refs/tags/parse-1.19.1.tar.gz
2019-12-16 10:55:07 +08:00
BuildArch: noarch
%description
A python module which parses specific strings adopted the format() syntax.
%package -n python3-parse
Summary: Python3 Parse Module
%{?python_provide:%python_provide python3-parse}
2019-12-16 10:55:07 +08:00
BuildRequires: python3-devel
2023-07-07 12:52:46 +08:00
BuildRequires: python3-pip
BuildRequires: python3-wheel
2019-12-16 10:55:07 +08:00
%description -n python3-parse
Parse Module for Python3.
%prep
%autosetup -n parse-%{version} -p1
%build
2023-07-07 12:52:46 +08:00
%pyproject_build
2019-12-16 10:55:07 +08:00
%install
2023-07-07 12:52:46 +08:00
%pyproject_install
2019-12-16 10:55:07 +08:00
%check
%{__python3} test_parse.py
%files -n python3-parse
%doc README.rst
2023-07-07 12:52:46 +08:00
%{python3_sitelib}/*
2019-12-16 10:55:07 +08:00
%changelog
2023-07-07 12:52:46 +08:00
* Fri Jul 07 2023 niuyaru <niuyaru@kylinos.cn> - 1.19.1-1
- Upgrade to version 1.19.1
2022-05-10 19:14:23 +08:00
* Tue May 10 2022 yangping <yangping69@h-partners> - 1.19.0-2
- License compliance rectification
* Tue Jan 18 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.19.0-1
- Upgrade to version 1.19.0
* Mon Sep 27 2021 lingsheng <lingsheng@huawei.com> - 1.8.4-4
- Provides python-parse for compatibility
2020-10-29 11:48:35 +08:00
* Wed Oct 21 2020 wangxiao <wangxiao65@huawei.com> - 1.8.4-3
- drop python2 subpackage
2019-12-16 10:55:07 +08:00
* Fri Dec 13 2019 Shuaishuai Song <songshuaishuai2@huawei.com> - 1.8.4-2
- package init