72e9b9b
Summary:        In memory VT-compatible terminal emulator
72e9b9b
Name:           python-pyte
5941439
Version:        0.8.2
51001a8
Release:        3%{?dist}
72e9b9b
License:        LGPLv3
72e9b9b
URL:            https://github.com/selectel/pyte
72e9b9b
Source0:        https://github.com/selectel/pyte/archive/%{version}/pyte-%{version}.tar.gz
72e9b9b
Patch0:         python-pyte-0.8.0-docs.patch
72e9b9b
BuildArch:      noarch
72e9b9b
BuildRequires:  make
72e9b9b
BuildRequires:  python3-devel
d51ef69
BuildRequires:  python3-setuptools
72e9b9b
BuildRequires:  python3-pytest-runner
72e9b9b
BuildRequires:  python3-sphinx
72e9b9b
BuildRequires:  python3-wcwidth
72e9b9b
%description
72e9b9b
In memory VTXXX-compatible terminal emulator.  XXX stands for a series
72e9b9b
of video terminals, developed by DEC between 1970 and 1995.
72e9b9b
72e9b9b
%package     -n python3-pyte
72e9b9b
Summary:        %{summary}
72e9b9b
%description -n python3-pyte
72e9b9b
In memory VTXXX-compatible terminal emulator.  XXX stands for a series
72e9b9b
of video terminals, developed by DEC between 1970 and 1995.
72e9b9b
72e9b9b
72e9b9b
%package     -n python3-pyte-docs
72e9b9b
Summary:        Documentation of API in Python module pyte
72e9b9b
%description -n python3-pyte-docs
72e9b9b
This contains documentation of the API in Python module pyte.
72e9b9b
72e9b9b
%prep
72e9b9b
%autosetup -p1 -n pyte-%{version}
72e9b9b
72e9b9b
%build
72e9b9b
%py3_build
72e9b9b
pushd docs && make all
72e9b9b
72e9b9b
%install
72e9b9b
%py3_install
72e9b9b
72e9b9b
%check
72e9b9b
%{__python3} setup.py test
72e9b9b
72e9b9b
%files -n python3-pyte
72e9b9b
%license LICENSE
72e9b9b
%doc AUTHORS CHANGES README 
72e9b9b
%{python3_sitelib}/pyte/
72e9b9b
%{python3_sitelib}/pyte-%{version}-py*.egg-info
72e9b9b
72e9b9b
%files -n python3-pyte-docs
72e9b9b
%license LICENSE
72e9b9b
%doc examples/
72e9b9b
%doc docs/_build/html
72e9b9b
72e9b9b
%changelog
51001a8
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-3
51001a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
51001a8
122f82f
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-2
122f82f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
122f82f
5941439
* Tue Nov 14 2023 Terje Rosten <terje.rosten@ntnu.no> - 0.8.2-1
5941439
- 0.8.2
5941439
99f5d97
* Sun Sep 24 2023 Terje Rosten <terje.rosten@ntnu.no> - 0.8.1-1
99f5d97
- 0.8.1
99f5d97
959c8d3
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-12
959c8d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
959c8d3
36c96a1
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 0.8.0-11
36c96a1
- Rebuilt for Python 3.12
36c96a1
f1053cf
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-10
f1053cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
f1053cf
9e13f27
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-9
9e13f27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
9e13f27
2bf72f7
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.8.0-8
2bf72f7
- Rebuilt for Python 3.11
2bf72f7
a30ddab
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-7
a30ddab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
a30ddab
2a6fa28
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-6
2a6fa28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2a6fa28
2c78ef4
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.8.0-5
2c78ef4
- Rebuilt for Python 3.10
2c78ef4
72e9b9b
* Mon Mar 08 2021 Terje Rosten <terje.rosten@ntnu.no> - 0.8.0-4
72e9b9b
- Fix changelog
72e9b9b
72e9b9b
* Sun Feb 21 2021 Terje Rosten <terje.rosten@ntnu.no> - 0.8.0-3
72e9b9b
- Fix source and url
72e9b9b
- Drop explicit requires, autodetected these days
72e9b9b
- Add AUTHORS and CHANGES to doc
72e9b9b
- Use py_provides macro for Fedora 32, automatically elsewhere
72e9b9b
- Add patch from Robert-Andre Mauchin to avoid network access during buil
72e9b9b
- Build and ship API docs in docs subpackage, include examples too
72e9b9b
72e9b9b
* Sun Feb 07 2021 Terje Rosten <terje.rosten@ntnu.no> - 0.8.0-2
72e9b9b
- Remove Python 2 support
72e9b9b
- Minor clean up
72e9b9b
72e9b9b
* Tue May 8 2018 Mateusz MikuĊ‚a <mati865 at gmail.com> - 0.8.0-1
72e9b9b
- Initial packaging