commit python-ptpython for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package python-ptpython for openSUSE:Factory checked in at 2018-10-29 14:21:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ptpython (Old) and /work/SRC/openSUSE:Factory/.python-ptpython.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-ptpython" Mon Oct 29 14:21:59 2018 rev:2 rq:644905 version:2.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ptpython/python-ptpython.changes 2018-06-02 12:02:56.216259982 +0200 +++ /work/SRC/openSUSE:Factory/.python-ptpython.new/python-ptpython.changes 2018-10-29 14:25:39.973821337 +0100 @@ -1,0 +2,19 @@ +Fri Oct 26 15:41:55 UTC 2018 - Todd R <toddrme2178@gmail.com> + +- Update to version 2.0.3 + * Allow changing the min/max brightness. + * Some changes for compatibility with the latest prompt_toolkit. +- Update to version 2.0.2 + * Don't crash the history browser when there was no history. + * Set last exception in the sys module, when an exception was + raised. + * Require prompt_toolkit 2.0.5. +- Update to version 2.0.1 + * Upgrade to prompt_toolkit 2.0.x. +- Split IPython support into its own subpackage and make it + python3-only. Due to the python2 version of IPython using + prompt_toolkit 1.x and both the python3 version of IPython + and Ptpython using prompt_toolkit 2.x, the python2 version of + Ptpython cannot be used with IPython anymore. + +------------------------------------------------------------------- Old: ---- ptpython-0.41.tar.gz New: ---- ptpython-2.0.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ptpython.spec ++++++ --- /var/tmp/diff_new_pack.S7fXAq/_old 2018-10-29 14:25:40.481799018 +0100 +++ /var/tmp/diff_new_pack.S7fXAq/_new 2018-10-29 14:25:40.481799018 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ptpython -Version: 0.41 +Version: 2.0.3 Release: 0 Summary: Python REPL build on top of prompt_toolkit License: ISC @@ -33,15 +33,15 @@ BuildRequires: %{python_module Pygments} BuildRequires: %{python_module docopt} BuildRequires: %{python_module jedi >= 0.9.0} -BuildRequires: %{python_module parso >= 0.1.0} -BuildRequires: %{python_module prompt_toolkit >= 1.0.14} +BuildRequires: %{python_module prompt_toolkit >= 2.0.6} # /SECTION Requires: python-Pygments Requires: python-docopt Requires: python-jedi >= 0.9.0 -Requires: python-prompt_toolkit >= 1.0.14 -Recommends: python-parso >= 0.1.0 -Recommends: python-jupyter_ipython +Requires: python-prompt_toolkit >= 2.0.6 +%ifpython3 +Recommends: python3-ptpython-ptipython +%endif BuildArch: noarch %python_subpackages @@ -51,6 +51,18 @@ Python versions from 2.6 up to 3.5 and work cross platform (Linux, BSD, OS X and Windows). +%package -n python3-ptpython-ptipython +Summary: Python REPL build on top of prompt_toolkit - IPython support +Requires: python3-ptpython +Requires: python3-jupyter_ipython + +%description -n python3-ptpython-ptipython +Ptpython is an advanced Python REPL. It should work on all +Python versions from 2.6 up to 3.5 and work cross platform (Linux, +BSD, OS X and Windows). + +This package provides IPython support to Ptpython. + %prep %setup -q -n ptpython-%{version} sed -i -e '/^#!\//, 1d' ptpython/entry_points/run_*.py @@ -64,14 +76,17 @@ 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 -%python2_only %{_bindir}/ptipython2 -%python3_only %{_bindir}/ptpython3 -%python3_only %{_bindir}/ptipython3 +%python2_only %{_bindir}/ptpython2* +%python3_only %{_bindir}/ptpython3* %{python_sitelib}/* +%files -n python3-ptpython-ptipython +%license LICENSE +%{_bindir}/ptipython3* + %changelog ++++++ ptpython-0.41.tar.gz -> ptpython-2.0.3.tar.gz ++++++ ++++ 3721 lines of diff (skipped)
participants (1)
-
root