44 lines
996 B
RPMSpec
44 lines
996 B
RPMSpec
Name: python-parse
|
|
Version: 1.8.4
|
|
Release: 3
|
|
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
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
A python module which parses specific strings adopted the format() syntax.
|
|
|
|
%package -n python3-parse
|
|
Summary: Python3 Parse Module
|
|
BuildRequires: python3-devel
|
|
%description -n python3-parse
|
|
|
|
Parse Module for Python3.
|
|
|
|
%prep
|
|
%autosetup -n parse-%{version} -p1
|
|
|
|
%build
|
|
%py3_build
|
|
|
|
%install
|
|
%py3_install
|
|
|
|
%check
|
|
%{__python3} test_parse.py
|
|
|
|
%files -n python3-parse
|
|
%doc README.rst
|
|
%{python3_sitelib}/parse-%{version}-*.egg-info
|
|
%{python3_sitelib}/parse.py
|
|
%{python3_sitelib}/__pycache__/parse.*
|
|
|
|
%changelog
|
|
* 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
|