Hello community,
here is the log from the commit of package python-ptpython for
openSUSE:Leap:15.2 checked in at 2020-04-21 19:07:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-ptpython (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-ptpython.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ptpython"
Tue Apr 21 19:07:01 2020 rev:4 rq:796032 version:3.0.1
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-ptpython/python-ptpython.changes
2020-03-19 11:03:29.315883470 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-ptpython.new.2738/python-ptpython.changes
2020-04-21 19:08:35.136118648 +0200
@@ -1,0 +2,18 @@
+Tue Mar 24 07:39:09 UTC 2020 - [email protected]
+
+- version update to 3.0.1
+ - Fix backwards-compatibility of the `run_config` function. (used by
+ django-extensions).
+ - Fix input mode in status bar for block selection.
+ - Upgrade to prompt_toolkit 3.0.
+ - Requires at least Python 3.6.
+ - Uses XDG base directory specification.
+ - Added dictionary completer (off by default).
+ - Added fuzzy completion (off by default).
+ - Highlight keywords in completion dropdown menu.
+ - Enable universal wheels.
+ - Fixed embedding repl as asyncio coroutine.
+ - Fixed patching stdout in embedded repl.
+ - Fixed ResourceWarning in setup.py.
+
+-------------------------------------------------------------------
Old:
----
ptpython-2.0.4.tar.gz
New:
----
ptpython-3.0.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-ptpython.spec ++++++
--- /var/tmp/diff_new_pack.iFtNYT/_old 2020-04-21 19:08:35.740119878 +0200
+++ /var/tmp/diff_new_pack.iFtNYT/_new 2020-04-21 19:08:35.740119878 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-ptpython
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,44 +17,45 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
Name: python-ptpython
-Version: 2.0.4
+Version: 3.0.1
Release: 0
Summary: Python REPL build on top of prompt_toolkit
License: ISC
Group: Development/Languages/Python
-Url: https://github.com/jonathanslenders/ptpython
+URL: https://github.com/jonathanslenders/ptpython
Source:
https://files.pythonhosted.org/packages/source/p/ptpython/ptpython-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: python-Pygments
+Requires: python-appdirs
+Requires: python-docopt
+Requires: python-jedi >= 0.9.0
+Requires: python-prompt_toolkit >= 3.0.0
+BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module Pygments}
+BuildRequires: %{python_module appdirs}
BuildRequires: %{python_module docopt}
+BuildRequires: %{python_module ipython}
BuildRequires: %{python_module jedi >= 0.9.0}
-BuildRequires: %{python_module prompt_toolkit >= 2.0.6}
+BuildRequires: %{python_module prompt_toolkit >= 3.0.0}
# /SECTION
-Requires: python-Pygments
-Requires: python-docopt
-Requires: python-jedi >= 0.9.0
-Requires: python-prompt_toolkit >= 2.0.6
-%ifpython3
-Recommends: python3-ptpython-ptipython
-%endif
-BuildArch: noarch
-
+Recommends: python-ptpython-ptipython
%python_subpackages
%description
Ptpython is an advanced Python REPL.
-%package -n python3-ptpython-ptipython
+%package ptipython
Summary: Python REPL build on top of prompt_toolkit - IPython support
Group: Development/Languages/Python
-Requires: python3-ipython
-Requires: python3-ptpython
+Requires: python-ipython
+Requires: python-ptpython
-%description -n python3-ptpython-ptipython
+%description ptipython
Ptpython is an advanced Python REPL.
This package provides IPython support to Ptpython.
@@ -69,20 +70,33 @@
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+rm %{buildroot}%{_bindir}/pt{,i}python?*
+%python_clone -a %{buildroot}%{_bindir}/ptpython
+%python_clone -a %{buildroot}%{_bindir}/ptipython
+
+%post
+%python_install_alternative ptpython
+
+%post ptipython
+%python_install_alternative ptipython
+
+%postun
+%python_uninstall_alternative ptpython
+
+%postun ptipython
+%python_uninstall_alternative ptipython
-rm %{buildroot}%{_bindir}/ptpython
-rm %{buildroot}%{_bindir}/ptipython
-rm %{buildroot}%{_bindir}/ptipython2*
+%check
+# no upstream tests under tests/
%files %{python_files}
%doc CHANGELOG README.rst
%license LICENSE
-%python2_only %{_bindir}/ptpython2*
-%python3_only %{_bindir}/ptpython3*
%{python_sitelib}/*
+%python_alternative %{_bindir}/ptpython
-%files -n python3-ptpython-ptipython
+%files %{python_files ptipython}
%license LICENSE
-%{_bindir}/ptipython3*
+%python_alternative %{_bindir}/ptipython
%changelog
++++++ ptpython-2.0.4.tar.gz -> ptpython-3.0.1.tar.gz ++++++
++++ 6206 lines of diff (skipped)