Hello community,

here is the log from the commit of package python-ptpython for 
openSUSE:Leap:15.2 checked in at 2020-05-21 13:00:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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"

Thu May 21 13:00:03 2020 rev:5 rq:807943 version:2.0.4

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-ptpython/python-ptpython.changes        
2020-04-21 19:08:35.136118648 +0200
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-ptpython.new.2738/python-ptpython.changes  
    2020-05-21 13:00:12.258908063 +0200
@@ -2,18 +1,0 @@
-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-3.0.1.tar.gz

New:
----
  ptpython-2.0.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-ptpython.spec ++++++
--- /var/tmp/diff_new_pack.wdztcc/_old  2020-05-21 13:00:12.602908812 +0200
+++ /var/tmp/diff_new_pack.wdztcc/_new  2020-05-21 13:00:12.606908821 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ptpython
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,45 +17,44 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
 Name:           python-ptpython
-Version:        3.0.1
+Version:        2.0.4
 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 >= 3.0.0}
+BuildRequires:  %{python_module prompt_toolkit >= 2.0.6}
 # /SECTION
-Recommends:     python-ptpython-ptipython
+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
+
 %python_subpackages
 
 %description
 Ptpython is an advanced Python REPL.
 
-%package ptipython
+%package     -n python3-ptpython-ptipython
 Summary:        Python REPL build on top of prompt_toolkit - IPython support
 Group:          Development/Languages/Python
-Requires:       python-ipython
-Requires:       python-ptpython
+Requires:       python3-ipython
+Requires:       python3-ptpython
 
-%description ptipython
+%description -n python3-ptpython-ptipython
 Ptpython is an advanced Python REPL.
 
 This package provides IPython support to Ptpython.
@@ -70,33 +69,20 @@
 %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
 
-%check
-# no upstream tests under tests/
+rm %{buildroot}%{_bindir}/ptpython
+rm %{buildroot}%{_bindir}/ptipython
+rm %{buildroot}%{_bindir}/ptipython2*
 
 %files %{python_files}
 %doc CHANGELOG README.rst
 %license LICENSE
+%python2_only %{_bindir}/ptpython2*
+%python3_only %{_bindir}/ptpython3*
 %{python_sitelib}/*
-%python_alternative %{_bindir}/ptpython
 
-%files %{python_files ptipython}
+%files -n python3-ptpython-ptipython
 %license LICENSE
-%python_alternative %{_bindir}/ptipython
+%{_bindir}/ptipython3*
 
 %changelog

++++++ ptpython-3.0.1.tar.gz -> ptpython-2.0.4.tar.gz ++++++
++++ 6203 lines of diff (skipped)


Reply via email to