]> git.pld-linux.org Git - packages/python3-parse.git/blame - python3-parse.spec
rebuild with python 3.10
[packages/python3-parse.git] / python3-parse.spec
CommitLineData
467bb0b7
JB
1#
2# Conditional build:
3%bcond_without tests # unit tests
467bb0b7
JB
4
5Summary: parse() - the opposite of format()
6Summary(pl.UTF-8): parse() - odwrotność format()
88a5914f
JB
7Name: python3-parse
8Version: 1.19.0
0152023f 9Release: 3
467bb0b7
JB
10License: MIT
11Group: Libraries/Python
12#Source0Download: https://pypi.org/simple/parse/
13Source0: https://files.pythonhosted.org/packages/source/p/parse/parse-%{version}.tar.gz
88a5914f 14# Source0-md5: 15e1e590c964254ac5fbea308a6ec6d4
467bb0b7 15URL: https://pypi.org/project/parse/
467bb0b7
JB
16BuildRequires: python3-modules >= 1:3.4
17BuildRequires: python3-setuptools
467bb0b7
JB
18BuildRequires: rpm-pythonprov
19BuildRequires: rpmbuild(macros) >= 1.714
88a5914f 20Requires: python3-modules >= 1:3.4
467bb0b7
JB
21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Parse strings using a specification based on the Python format()
26syntax.
27
28%description -l pl.UTF-8
29Rozkład łańcuchów znaków przy użyciu specyfikacji opartej na składni
30pythonowej metody format().
31
467bb0b7
JB
32%prep
33%setup -q -n parse-%{version}
34
35%build
467bb0b7
JB
36%py3_build
37
38%if %{with tests}
39%{__python3} test_parse.py
40%endif
467bb0b7
JB
41
42%install
43rm -rf $RPM_BUILD_ROOT
44
467bb0b7 45%py3_install
467bb0b7
JB
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
467bb0b7
JB
50%files
51%defattr(644,root,root,755)
88a5914f 52%doc LICENSE README.rst
467bb0b7
JB
53%{py3_sitescriptdir}/parse.py
54%{py3_sitescriptdir}/__pycache__/parse.cpython-*.py[co]
55%{py3_sitescriptdir}/parse-%{version}-py*.egg-info
This page took 0.133293 seconds and 4 git commands to generate.