Hello community, here is the log from the commit of package bpython for openSUSE:Factory checked in at 2016-10-20 23:07:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bpython (Old) and /work/SRC/openSUSE:Factory/.bpython.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bpython" Changes: -------- --- /work/SRC/openSUSE:Factory/bpython/bpython.changes 2016-03-26 15:23:38.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.bpython.new/bpython.changes 2016-10-20 23:07:23.000000000 +0200 @@ -1,0 +2,50 @@ +Wed Aug 24 14:25:26 UTC 2016 - [email protected] + +- update to version 0.15: + * New features: + + #425: Added curtsies 0.2.x support. + + #528: Hide private attribute from initial autocompletion + suggestions. Thanks to Jeppe Toustrup. + + #538: Multi-line banners are allowed. + + #229: inspect.getsource works on interactively defined + functions. Thanks to Michael Mulley. + + Attribute completion works on literals and some expressions + containing builtin objects. + + Ctrl-e can be used to autocomplete current fish-style + suggestion. Thanks to Amjith Ramanujam. + * Fixes: + + #484: Switch `bpython.embed` to the curtsies frontend. + + #548 Fix transpose character bug. Thanks to Wes E. Vial. + + #527 -q disables version banner. + + #544 Fix Jedi completion error. + + #536 Fix completion on old-style classes with custom + __getattr__. + + #480 Fix old-style class autocompletion. Thanks to Joe Jevnik. + + #506 In python -i mod.py sys.modules[__name__] refers to module + dict. + + #590 Fix "None" not being displayed. + + #546 Paste detection uses events instead of bytes returned in a + single os.read call. + + Exceptions in autocompletion are now logged instead of crashing + bpython. + + Fix reload in Python 3. Thanks to sharow. + + Fix keyword argument parameter name completion. + * Changes to dependencies: + + requests[security] has been changed to pyOpenSSL, pyasn1, and + ndg-httpsclient. These dependencies are required before Python + 2.7.7. +- use bpython-%{py3_ver} in .desktop file +- Fix unicode issue +- update copyright year +- Correct the reference to .desktop file in appdata.xml: should + be bpython3.desktop instead of bpython.desktop. +- Fix update-alternatives implementation. +- Split documentation into own subpackage. + +------------------------------------------------------------------- +Fri Jul 15 18:17:58 UTC 2016 - [email protected] + +- Icon is installed in /usr/share/pixmaps, do not remove the + "Icon=" reference from .desktop file. + +------------------------------------------------------------------- Old: ---- bpython-0.14.2.tar.gz New: ---- bpython-0.15.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bpython.spec ++++++ --- /var/tmp/diff_new_pack.yg8h5Z/_old 2016-10-20 23:07:24.000000000 +0200 +++ /var/tmp/diff_new_pack.yg8h5Z/_new 2016-10-20 23:07:24.000000000 +0200 @@ -17,7 +17,7 @@ Name: bpython -Version: 0.14.2 +Version: 0.15 Release: 0 Url: http://www.bpython-interpreter.org Summary: Fancy Curses Interface to the Python Interactive Interpreter @@ -36,15 +36,15 @@ BuildRequires: python-curses BuildRequires: python-mock BuildRequires: python-nose +Requires: python-Pygments Requires: python-curses Requires: python-curtsies Requires: python-greenlet Requires: python-jedi -Requires: python-pygments Requires: python-pyparsing Requires: python-six Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(preun): update-alternatives %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else @@ -59,40 +59,61 @@ submit your code and return a URL. Its goal is to bring together a few handy ideas to enhance the standard interpreter without getting carried away. +%package doc +Summary: Documentation for %{name} +Group: Documentation/HTML +Recommends: %{name} = %{version} + +%description doc +Documentation and help files for %{name}. + %prep -%setup -q -sed -i "s/\(html_last_updated_fmt = \).*/\\1None/" doc/sphinx/source/conf.py -# Drop non-existing icon reference -sed -i -e "/Icon.*/d" \ - -e "s/bpython/bpython-%{py_ver}/g" data/bpython.desktop +%setup -q -n bpython-%{version} + +mv data/bpython.desktop data/bpython2.desktop +mv data/bpython.png data/bpython2.png +mv data/bpython.appdata.xml data/bpython2.appdata.xml + +sed -i -e "s|Icon=bpython|Icon=bpython2|" \ + -e "s|Exec=/usr/bin/bpython|Exec=bpython-%{py_ver}|" data/bpython2.desktop +sed -i "s|bpython.desktop|bpython2.desktop|" data/bpython2.appdata.xml +sed -i -e "s|bpython.desktop|bpython2.desktop|" \ + -e "s|bpython.png|bpython2.png|" \ + -e "s|bpython.appdata.xml|bpython2.appdata.xml|" setup.py %build +export LC_ALL=en_US.utf8 python setup.py build python setup.py build_sphinx && rm build/sphinx/html/.buildinfo # HTML documentation +gzip build/man/bpython.1 +gzip build/man/bpython-config.5 + %install +export LC_ALL=en_US.utf8 python setup.py install --prefix=%{_prefix} --root=%{buildroot} mkdir -p %{buildroot}%{_sysconfdir}/alternatives -for p in bpython bpython-urwid bpython-curses bpdb; do +for p in bpdb bpython bpython-urwid bpython-curses ; do mv %{buildroot}%{_bindir}/$p %{buildroot}%{_bindir}/$p-%{py_ver} ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p - touch %{buildroot}%{_sysconfdir}/alternatives/$p done install -d %{buildroot}%{_mandir}/man1/ install -m 644 build/man/bpython.1 %{buildroot}%{_mandir}/man1/bpython-%{py_ver}.1 +gzip %{buildroot}%{_mandir}/man1/bpython.1 +mv %{buildroot}%{_mandir}/man1/bpython.1.gz %{buildroot}%{_mandir}/man1/bpython-%{py_ver}.1.gz ln -s -f %{_sysconfdir}/alternatives/bpython.1.gz %{buildroot}%{_mandir}/man1/bpython.1.gz -touch %{buildroot}%{_sysconfdir}/alternatives/bpython.1.gz install -d %{buildroot}%{_mandir}/man5/ install -m 644 build/man/bpython-config.5 %{buildroot}%{_mandir}/man5/bpython-config-%{py_ver}.5 +gzip %{buildroot}%{_mandir}/man5/bpython-config.5 +mv %{buildroot}%{_mandir}/man5/bpython-config.5.gz %{buildroot}%{_mandir}/man5/bpython-config-%{py_ver}.5.gz ln -s -f %{_sysconfdir}/alternatives/bpython-config.5.gz %{buildroot}%{_mandir}/man5/bpython-config.5.gz -touch %{buildroot}%{_sysconfdir}/alternatives/bpython-config.5.gz rm -r %{buildroot}%{python_sitelib}/bpython/test # Don't ship tests %if 0%{?suse_version} -%suse_update_desktop_file -G bpython -r %{name} Development IDE +%suse_update_desktop_file -G bpython -r bpython2 Development IDE %endif #NOTE(saschpe): Check the one failing test @@ -100,48 +121,52 @@ #nosetests %post -update-alternatives \ +%_sbindir/update-alternatives \ --install %{_bindir}/bpython bpython %{_bindir}/bpython-%{py_ver} 30 \ --slave %{_bindir}/bpdb bpdb %{_bindir}/bpdb-%{py_ver} \ - --slave %{_bindir}/bpython-urwid bpython-urwid %{_bindir}/bpython-urwid-%{py_ver} \ --slave %{_bindir}/bpython-curses bpython-curses %{_bindir}/bpython-curses-%{py_ver} \ + --slave %{_bindir}/bpython-urwid bpython-urwid %{_bindir}/bpython-urwid-%{py_ver} \ --slave %{_mandir}/man1/bpython.1.gz bpython.1.gz %{_mandir}/man1/bpython-%{py_ver}.1.gz \ --slave %{_mandir}/man5/bpython-config.5.gz bpython-config.5.gz %{_mandir}/man5/bpython-config-%{py_ver}.5.gz %preun if [ $1 -eq 0 ] ; then - update-alternatives --remove bpython %{_bindir}/bpython-%{py_ver} + %_sbindir/update-alternatives --remove bpython %{_bindir}/bpython-%{py_ver} fi %files %defattr(-,root,root) -%doc AUTHORS CHANGELOG LICENSE build/sphinx/html -%{_bindir}/bpython -%{_bindir}/bpython-%{py_ver} +%doc AUTHORS CHANGELOG LICENSE README.rst %{_bindir}/bpdb -%{_bindir}/bpdb-%{py_ver} +%{_bindir}/bpython %{_bindir}/bpython-curses -%{_bindir}/bpython-curses-%{py_ver} %{_bindir}/bpython-urwid +%{_bindir}/bpdb-%{py_ver} +%{_bindir}/bpython-%{py_ver} +%{_bindir}/bpython-curses-%{py_ver} %{_bindir}/bpython-urwid-%{py_ver} -%{python_sitelib}/bpdb -%{python_sitelib}/bpython-%{version}-py%{py_ver}.egg-info -%{python_sitelib}/bpython -%{_mandir}/man1/bpython.1.gz -%{_mandir}/man1/bpython-%{py_ver}.1.gz -%{_mandir}/man5/bpython-config.5.gz -%{_mandir}/man5/bpython-config-%{py_ver}.5.gz %ghost %{_sysconfdir}/alternatives/bpdb %ghost %{_sysconfdir}/alternatives/bpython %ghost %{_sysconfdir}/alternatives/bpython-curses %ghost %{_sysconfdir}/alternatives/bpython-urwid +%{_mandir}/man1/bpython.1.gz +%{_mandir}/man5/bpython-config.5.gz +%{_mandir}/man1/bpython-%{py_ver}.1.gz +%{_mandir}/man5/bpython-config-%{py_ver}.5.gz %ghost %{_sysconfdir}/alternatives/bpython.1.gz %ghost %{_sysconfdir}/alternatives/bpython-config.5.gz +%{python_sitelib}/bpdb +%{python_sitelib}/bpython-%{version}-py*.egg-info +%{python_sitelib}/bpython/ %if %{suse_version} <= 1315 %dir %{_datadir}/appdata %endif -%{_datadir}/appdata/bpython.appdata.xml -%{_datadir}/pixmaps/bpython.png -%{_datadir}/applications/%{name}.desktop +%{_datadir}/appdata/bpython2.appdata.xml +%{_datadir}/applications/bpython2.desktop +%{_datadir}/pixmaps/bpython2.png + +%files doc +%defattr(-,root,root) +%doc build/sphinx/html %changelog ++++++ bpython-0.14.2.tar.gz -> bpython-0.15.tar.gz ++++++ ++++ 9442 lines of diff (skipped)
