From af85f5bea767d35510b1d70b63ab38d5c7967146 Mon Sep 17 00:00:00 2001 From: Carl George Date: Sep 29 2023 21:03:45 +0000 Subject: Update to version 3.0.23, resolves rhbz#2148482 - Switch to SPDX license notation --- diff --git a/ptpython.spec b/ptpython.spec index 3799c9a..9669bd7 100644 --- a/ptpython.spec +++ b/ptpython.spec @@ -1,23 +1,23 @@ -%global common_description %{expand: -Ptpython is an advanced Python REPL built on top of the prompt_toolkit library. -It features syntax highlighting, multiline editing (the up arrow works), -autocompletion, mouse support, support for color schemes, support for bracketed -paste, both Vi and Emacs key bindings, support for double width (Chinese) -characters, and many other things.} - %if %{defined fedora} %bcond_without ptipython %endif Name: ptpython -Version: 3.0.20 +Version: 3.0.23 Release: %autorelease Summary: Python REPL build on top of prompt_toolkit -License: BSD +License: BSD-3-Clause URL: https://github.com/prompt-toolkit/ptpython -Source0: %pypi_source +Source: %{pypi_source ptpython} BuildArch: noarch +%global common_description %{expand: +Ptpython is an advanced Python REPL built on top of the prompt_toolkit library. +It features syntax highlighting, multiline editing (the up arrow works), +autocompletion, mouse support, support for color schemes, support for bracketed +paste, both Vi and Emacs key bindings, support for double width (Chinese) +characters, and many other things.} + %description %{common_description} @@ -25,9 +25,8 @@ BuildArch: noarch %package -n ptpython3 Summary: %{summary} BuildRequires: python3-devel -Suggests: python3-ipython Provides: ptpython = %{version}-%{release} -%py_provides python3-%{name} +%py_provides python3-ptpython %description -n ptpython3 %{common_description} @@ -48,7 +47,7 @@ find -name \*.py | xargs sed -i -e '1 {/^#!\//d}' %install %pyproject_install -%pyproject_save_files %{name} +%pyproject_save_files ptpython %if %{without ptipython} rm %{buildroot}%{_bindir}/ptipython* %endif diff --git a/sources b/sources index ed9038c..85ec3c8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ptpython-3.0.20.tar.gz) = 0cb7b9fa9714396a62e401220d065105ea287324dbae099efb765242d88477915358dcd0e71a69a27e2b838f56e310b8d20eebd26643947c72491fc5c777cdc8 +SHA512 (ptpython-3.0.23.tar.gz) = e3f7db8060a2b2e5ec9f9cdf7a6aacede447a42ea3d13f08e2cba604dc96ccf6504cd31b45327b144882bb12f0cc272406d501a8de98adc9598ec79dbcaf843e