ac529de
# Created by pyp2rpm-3.3.4
ac529de
%global pypi_name textwrap3
ac529de
ac529de
Name:           python-%{pypi_name}
ac529de
Version:        0.9.2
9150bea
Release:        13%{?dist}
ac529de
Summary:        Text wrap backport
ac529de
ac529de
License:        Python
ac529de
URL:            https://github.com/jonathaneunice/textwrap3
ac529de
Source0:        %{pypi_source %{pypi_name} %{version} zip}
ac529de
BuildArch:      noarch
ac529de
ac529de
%description
ac529de
textwrap3 is a compatibility back-port of Python 3.6’s textwrap module. This
ac529de
makes a few new APIs such as shorten and the max_lines parameter available
ac529de
in a compatible way to all Python versions typically in current use.
ac529de
ac529de
%package -n     python3-%{pypi_name}
ac529de
Summary:        %{summary}
ac529de
BuildRequires:  python3-devel
ac529de
BuildRequires:  python3-coverage
ac529de
BuildRequires:  python3-pytest
ac529de
BuildRequires:  python3-pytest-cov
ac529de
BuildRequires:  python3-setuptools
ac529de
BuildRequires:  python3-tox
ac529de
%{?python_provide:%python_provide python3-%{pypi_name}}
ac529de
ac529de
%description -n python3-%{pypi_name}
ac529de
textwrap3 is a compatibility back-port of Python 3.6’s textwrap module. This
ac529de
makes a few new APIs such as shorten and the max_lines parameter available
ac529de
in a compatible way to all Python versions typically in current use.
ac529de
ac529de
%prep
ac529de
%autosetup -n %{pypi_name}-%{version}
ac529de
rm -rf %{pypi_name}.egg-info
ac529de
ac529de
%build
ac529de
%py3_build
ac529de
ac529de
%install
ac529de
%py3_install
ac529de
ac529de
%check
ac529de
PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v test
ac529de
ac529de
%files -n python3-%{pypi_name}
ac529de
%doc README.rst
ac529de
# Missing license file: https://github.com/jonathaneunice/textwrap3/issues/1
ac529de
%{python3_sitelib}/__pycache__/*
ac529de
%{python3_sitelib}/%{pypi_name}.py
ac529de
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
ac529de
ac529de
%changelog
9150bea
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-13
9150bea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
9150bea
7743f62
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-12
7743f62
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
7743f62
f87f25d
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-11
f87f25d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
f87f25d
e6846e6
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 0.9.2-10
e6846e6
- Rebuilt for Python 3.12
e6846e6
aaf7598
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-9
aaf7598
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
aaf7598
5fc0980
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-8
5fc0980
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
5fc0980
273f5ac
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.9.2-7
273f5ac
- Rebuilt for Python 3.11
273f5ac
024c8c6
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-6
024c8c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
024c8c6
8b15b88
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-5
8b15b88
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
8b15b88
8400f83
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.9.2-4
8400f83
- Rebuilt for Python 3.10
8400f83
3934a5a
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-3
3934a5a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
3934a5a
46f10ec
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-2
46f10ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
46f10ec
ac529de
* Tue May 12 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.9.2-1
ac529de
- Initial package for Fedora