Compare commits
10 Commits
a4e0869b13
...
f006b5283e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f006b5283e | ||
|
|
1d43152e41 | ||
|
|
22e7b51b60 | ||
|
|
6f71efdd87 | ||
|
|
1ab03f21c1 | ||
|
|
220dd92bf6 | ||
|
|
276599229c | ||
|
|
f18cc645f0 | ||
|
|
85d23afb0d | ||
|
|
7da943bf96 |
BIN
parse-1.19.1.tar.gz
Normal file
BIN
parse-1.19.1.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,26 +1,21 @@
|
||||
Name: python-parse
|
||||
Version: 1.8.4
|
||||
Release: 2
|
||||
Version: 1.19.1
|
||||
Release: 1
|
||||
Summary: Python Parse Module
|
||||
License: BSD
|
||||
URL: http://pypi.python.org/pypi/parse
|
||||
Source0: https://files.pythonhosted.org/packages/source/p/parse/parse-%{version}.tar.gz
|
||||
License: MIT
|
||||
URL: https://github.com/r1chardj0n3s/parse
|
||||
Source0: https://github.com/r1chardj0n3s/parse/archive/refs/tags/parse-1.19.1.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
A python module which parses specific strings adopted the format() syntax.
|
||||
|
||||
%package -n python2-parse
|
||||
Summary: Python2 Parse Module
|
||||
BuildRequires: python2-devel
|
||||
%description -n python2-parse
|
||||
|
||||
Parse Module for Python2.
|
||||
|
||||
|
||||
%package -n python3-parse
|
||||
Summary: Python3 Parse Module
|
||||
%{?python_provide:%python_provide python3-parse}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
%description -n python3-parse
|
||||
|
||||
Parse Module for Python3.
|
||||
@ -29,29 +24,33 @@ Parse Module for Python3.
|
||||
%autosetup -n parse-%{version} -p1
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
%py3_build
|
||||
%pyproject_build
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
%py3_install
|
||||
%pyproject_install
|
||||
|
||||
%check
|
||||
%{__python2} test_parse.py
|
||||
%{__python3} test_parse.py
|
||||
|
||||
%files -n python2-parse
|
||||
%doc README.rst
|
||||
%{python2_sitelib}/parse-%{version}-*.egg-info
|
||||
%{python2_sitelib}/parse.py*
|
||||
|
||||
%files -n python3-parse
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/parse-%{version}-*.egg-info
|
||||
%{python3_sitelib}/parse.py
|
||||
%{python3_sitelib}/__pycache__/parse.*
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Fri Jul 07 2023 niuyaru <niuyaru@kylinos.cn> - 1.19.1-1
|
||||
- Upgrade to version 1.19.1
|
||||
|
||||
* 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
|
||||
|
||||
* Wed Oct 21 2020 wangxiao <wangxiao65@huawei.com> - 1.8.4-3
|
||||
- drop python2 subpackage
|
||||
|
||||
* Fri Dec 13 2019 Shuaishuai Song <songshuaishuai2@huawei.com> - 1.8.4-2
|
||||
- package init
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user