Accepting request 604645 from home:apersaud:branches:devel:languages:python

update to latest version

OBS-URL: https://build.opensuse.org/request/show/604645
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bpython?expand=0&rev=5
This commit is contained in:
Tomáš Chvátal
2018-05-07 13:50:19 +00:00
committed by Git OBS Bridge
parent a67523776d
commit d499bbb573
4 changed files with 36 additions and 31 deletions

3
bpython-0.17.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8907c510bca3c4d9bc0a157279bdc5e3b739cc68c0f247167279b6fe4becb02f
size 213638

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:342d8577e0a8d75b657e5cc2075cdceeb852e2e5ee04a59c5ea7418980806ad5
size 214230

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sun May 6 19:38:52 UTC 2018 - arun@gmx.de
- update to version 0.17.1:
* Fixes:
+ Reverted #670 temporarily due to performance impact on large
strings being output.
-------------------------------------------------------------------
Thu Apr 26 13:58:01 UTC 2018 - badshah400@gmail.com

View File

@@ -19,12 +19,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_with test
Name: python-bpython
Version: 0.17
Version: 0.17.1
Release: 0
Summary: Fancy Interface to the Python Interpreter
License: MIT
Group: Development/Languages/Python
Url: http://www.bpython-interpreter.org/
URL: http://www.bpython-interpreter.org/
Source: https://files.pythonhosted.org/packages/source/b/bpython/bpython-%{version}.tar.gz
BuildRequires: %{python_module Babel}
BuildRequires: %{python_module Sphinx}
@@ -34,6 +34,22 @@ BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: python-rpm-macros
BuildRequires: update-desktop-files
Requires: %{name}-common = %{version}
Requires: python-curtsies >= 0.1.18
Requires: python-greenlet
Requires: python-pygments
Requires: python-requests
Requires: python-six >= 1.5
Requires(post): update-alternatives
Requires(postun): update-alternatives
Recommends: python-jedi
Recommends: python-ndg-httpsclient
Recommends: python-pyOpenSSL
Recommends: python-pyasn1
Recommends: python-urwid
Recommends: python-watchdog
Recommends: python-wcwidth
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module curtsies >= 0.1.18}
BuildRequires: %{python_module greenlet}
@@ -43,27 +59,10 @@ BuildRequires: %{python_module six >= 1.5}
BuildRequires: %{python_module wcwidth}
BuildRequires: python-mock
%endif
Requires: %{name}-common = %{version}
Requires: python-curtsies >= 0.1.18
Requires: python-greenlet
Requires: python-pygments
Requires: python-requests
Requires: python-six >= 1.5
Recommends: python-pyOpenSSL
Recommends: python-pyasn1
Recommends: python-ndg-httpsclient
Recommends: python-jedi
Recommends: python-urwid
Recommends: python-watchdog
Recommends: python-wcwidth
%ifpython2
Provides: bpython = %{version}
Obsoletes: bpython <= %{version}
%endif
BuildArch: noarch
Requires(post): update-alternatives
Requires(postun): update-alternatives
%python_subpackages
%description
@@ -75,9 +74,9 @@ 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 -n %{name}-common
Provides: %{python_module bpython-common = %{version}}
Summary: Fancy Interface to the Python Interpreter - common files
Group: Development/Languages/Python
Provides: %{python_module bpython-common = %{version}}
%description -n %{name}-common
This package contains files shared between the various versions of
@@ -141,32 +140,30 @@ rm %{buildroot}%{_datadir}/applications/bpython.desktop
%endif
%post
%{python_install_alternative bpython bpython-curses bpython-urwid bpdb bpython.1%ext_man bpython-config.5%ext_man}
%{python_install_alternative bpython bpython-curses bpython-urwid bpdb bpython.1%{ext_man} bpython-config.5%{ext_man}}
%postun
%python_uninstall_alternative bpython
%files %{python_files}
%defattr(-,root,root,-)
%doc AUTHORS CHANGELOG LICENSE README.rst
%license LICENSE
%doc AUTHORS CHANGELOG README.rst
%{python_sitelib}/*
%python_alternative %{_bindir}/bpython
%python_alternative %{_bindir}/bpython-curses
%python_alternative %{_bindir}/bpython-urwid
%python_alternative %{_bindir}/bpdb
%python_alternative %{_mandir}/man1/bpython.1%ext_man
%python_alternative %{_mandir}/man5/bpython-config.5%ext_man
%python_alternative %{_mandir}/man1/bpython.1%{ext_man}
%python_alternative %{_mandir}/man5/bpython-config.5%{ext_man}
%dir %{_datadir}/appdata/
%{_datadir}/appdata/bpython-%{python_bin_suffix}.appdata.xml
%{_datadir}/applications/bpython-%{python_bin_suffix}.desktop
%files -n %{name}-common
%defattr(-,root,root,-)
%doc LICENSE
%license LICENSE
%{_datadir}/pixmaps/bpython.png
%files -n %{name}-doc
%defattr(-,root,root)
%doc build/sphinx/html
%changelog