Blame SPECS/python-urwid.spec

d80ad1
Name:          python-urwid
d80ad1
Version:       1.3.1
d80ad1
Release:       4%{?dist}
d80ad1
Summary:       Console user interface library
d80ad1
d80ad1
License:       LGPLv2+
d80ad1
URL:           http://excess.org/urwid/
d80ad1
Source0:       https://pypi.python.org/packages/source/u/urwid/urwid-%{version}.tar.gz
d80ad1
d80ad1
# https://github.com/urwid/urwid/pull/237/commits/f68f2cf089cfd5ec45863baf59a91d5aeb0cf5c3
d80ad1
Patch0:        python-urwid-test_vterm-EINTR.patch
d80ad1
d80ad1
# https://github.com/urwid/urwid/commit/701138a380fac06023e5915448af92ba13614cb9
d80ad1
Patch1:        python-urwid-test_vterm-NUL.patch
d80ad1
d80ad1
# https://github.com/urwid/urwid/commit/4b0ed8b6030450e6d99909a7c683e9642e546387
d80ad1
Patch2:        python-urwid-test_event_loops.patch
d80ad1
d80ad1
%global _description\
d80ad1
Urwid is a Python library for making text console applications.  It has\
d80ad1
many features including fluid interface resizing, support for UTF-8 and\
d80ad1
CJK encodings, standard and custom text layout modes, simple markup for\
d80ad1
setting text attributes, and a powerful, dynamic list box that handles a\
d80ad1
mix of widget types.  It is flexible, modular, and leaves the developer in\
d80ad1
control.
d80ad1
d80ad1
%description %_description
d80ad1
%package -n python3-urwid
d80ad1
Summary: %summary
d80ad1
%{?python_provide:%python_provide python3-urwid}
d80ad1
BuildRequires: python3-devel
d80ad1
BuildRequires: python3-setuptools
d80ad1
BuildRequires: python3-test
d80ad1
# needed by selftest suite for test.support
d80ad1
BuildRequires: %{_bindir}/2to3
d80ad1
d80ad1
%description -n python3-urwid %_description
d80ad1
d80ad1
%prep
d80ad1
%setup -q -n urwid-%{version}
d80ad1
%patch0 -p1
d80ad1
%patch1 -p1
d80ad1
%patch2 -p1
d80ad1
find urwid -type f -name "*.py" -exec sed -i -e '/^#!\//, 1d' {} \;
d80ad1
find urwid -type f -name "*.py" -exec chmod 644 {} \;
d80ad1
d80ad1
%build
d80ad1
%py3_build
d80ad1
d80ad1
find examples -type f -exec chmod 0644 \{\} \;
d80ad1
d80ad1
%install
d80ad1
%py3_install
d80ad1
d80ad1
%check
d80ad1
%{__python3} setup.py test
d80ad1
d80ad1
%files -n python3-urwid
d80ad1
%license COPYING
d80ad1
%doc README.rst examples docs
d80ad1
%{python3_sitearch}/urwid
d80ad1
%{python3_sitearch}/urwid-%{version}*.egg-info
d80ad1
d80ad1
%changelog
d80ad1
* Thu May 31 2018 Petr Viktorin <pviktori@redhat.com> - 1.3.1-4
d80ad1
- Remove Python 2 subpackage
d80ad1
  https://bugzilla.redhat.com/show_bug.cgi?id=1567166
d80ad1
d80ad1
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-3
d80ad1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d80ad1
d80ad1
* Wed Nov 15 2017 David Cantrell <dcantrell@redhat.com> - 1.3.1-2
d80ad1
- Apply upstream fix for EINTR handling in test_vterm test case
d80ad1
- Apply upstream fix for test_remove_watch_file flakiness
d80ad1
- Apply upstream fix for test_vterm handling of NUL characters
d80ad1
d80ad1
* Sat Aug 19 2017 Petr Viktorin <pviktori@redhat.com> - 1.3.1-1
d80ad1
- Update to upstream bugfix release 1.3.1
d80ad1
  See http://urwid.org/changelog.html#urwid-1-3-1
d80ad1
d80ad1
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3.0-11
d80ad1
- Python 2 binary package renamed to python2-urwid
d80ad1
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
d80ad1
d80ad1
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-10
d80ad1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
d80ad1
d80ad1
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-9
d80ad1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d80ad1
d80ad1
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-8
d80ad1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
d80ad1
d80ad1
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-7
d80ad1
- Rebuild for Python 3.6
d80ad1
d80ad1
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-6
d80ad1
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
d80ad1
d80ad1
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-5
d80ad1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d80ad1
d80ad1
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-4
d80ad1
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
d80ad1
d80ad1
* Tue Nov  3 2015 Toshio Kuratomi <toshio@fedoraproject.org> - 1.3.0-3
d80ad1
- Remove executable bit on docs so that they do not bring in extra rpm
d80ad1
  dependencies.  This complies with packaging guidelines and fixes the
d80ad1
  problem of python3-urwid requiring the python2 package.
d80ad1
d80ad1
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-2
d80ad1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d80ad1
d80ad1
* Tue Nov 25 2014 David Cantrell <dcantrell@redhat.com> - 1.3.0-1
d80ad1
- Upgrade to urwid-1.3.0 (#1150540)
d80ad1
d80ad1
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-2
d80ad1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
d80ad1
d80ad1
* Thu Jun 12 2014 David Cantrell <dcantrell@redhat.com> - 1.2.1-1
d80ad1
- Upgrade to urwid-1.2.1 (#1047698)
d80ad1
d80ad1
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-5
d80ad1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d80ad1
d80ad1
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 1.1.1-4
d80ad1
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
d80ad1
d80ad1
* Fri Dec 06 2013 Pierre-Yves Chibon <pingou@pingoured>fr - 1.1.1-3
d80ad1
- Change BR from python-setuptools-devel to python-setuptools
d80ad1
  See https://fedoraproject.org/wiki/Changes/Remove_Python-setuptools-devel
d80ad1
d80ad1
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
d80ad1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
d80ad1
d80ad1
* Wed Nov 21 2012 Fabian Deutsch <fabiand@fedoraproject.org> - 1.1.1 -1
d80ad1
- Bugfix update
d80ad1
d80ad1
* Tue Oct 23 2012 Fabian Deutsch <fabiand@fedoraproject.org> - 1.1.0-2
d80ad1
- Add new docs and examples dir
d80ad1
d80ad1
* Tue Oct 23 2012 Fabian Deutsch <fabiand@fedoraproject.org> - 1.1.0-1
d80ad1
- Update to upstream 1.1.0
d80ad1
d80ad1
* Wed Sep 26 2012 Fabian Deutsch <fabian.deutsch@gmx.de> - 1.0.2-1
d80ad1
- Update to upstream 1.0.2
d80ad1
d80ad1
* Mon Aug 27 2012 David Malcolm <dmalcolm@redhat.com> - 1.0.0-7
d80ad1
- add missing BRs on python-test and python3-test (for test.support)
d80ad1
d80ad1
* Fri Aug 24 2012 David Malcolm <dmalcolm@redhat.com> - 1.0.0-6
d80ad1
- remove rhel logic from with_python3 conditional
d80ad1
- remove stray references to mako
d80ad1
d80ad1
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 1.0.0-5
d80ad1
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
d80ad1
d80ad1
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-4
d80ad1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d80ad1
d80ad1
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3
d80ad1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d80ad1
d80ad1
* Mon Oct 24 2011 Luke Macken <lmacken@redhat.com> - 1.0.0-2
d80ad1
- Add a python3-urwid subpackage (#746627)
d80ad1
d80ad1
* Wed Oct 19 2011 Luke Macken <lmacken@redhat.com> - 1.0.0
d80ad1
- Update to version 1.0.0
d80ad1
- Add python-setuptools-devel to the BuildRequires
d80ad1
- Run the test suite using the setup.py
d80ad1
d80ad1
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.9.1-3
d80ad1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d80ad1
d80ad1
* Tue Jul 27 2010 David Malcolm <dmalcolm@redhat.com> - 0.9.9.1-2
d80ad1
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
d80ad1
d80ad1
* Wed May 19 2010 David Cantrell <dcantrell@redhat.com> - 0.9.9.1-1
d80ad1
- Initial package