3 %bcond_without tests # unit tests
5 Summary: parse() - the opposite of format()
6 Summary(pl.UTF-8): parse() - odwrotność format()
11 Group: Libraries/Python
12 #Source0Download: https://pypi.org/simple/parse/
13 Source0: https://files.pythonhosted.org/packages/source/p/parse/parse-%{version}.tar.gz
14 # Source0-md5: 15e1e590c964254ac5fbea308a6ec6d4
15 URL: https://pypi.org/project/parse/
16 BuildRequires: python3-modules >= 1:3.4
17 BuildRequires: python3-setuptools
18 BuildRequires: rpm-pythonprov
19 BuildRequires: rpmbuild(macros) >= 1.714
20 Requires: python3-modules >= 1:3.4
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Parse strings using a specification based on the Python format()
28 %description -l pl.UTF-8
29 Rozkład łańcuchów znaków przy użyciu specyfikacji opartej na składni
30 pythonowej metody format().
33 %setup -q -n parse-%{version}
39 %{__python3} test_parse.py
43 rm -rf $RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
52 %doc LICENSE README.rst
53 %{py3_sitescriptdir}/parse.py
54 %{py3_sitescriptdir}/__pycache__/parse.cpython-*.py[co]
55 %{py3_sitescriptdir}/parse-%{version}-py*.egg-info