Update to 8.7.0 (rhbz#2149289)

This commit is contained in:
Lumir Balhar 2022-11-29 20:22:46 +01:00
parent 94d11e31cd
commit 465497e36d
3 changed files with 45 additions and 2 deletions

39
fix_entry_points.patch Normal file
View File

@ -0,0 +1,39 @@
From c8d7e1ff6504515c11d4bc0d34011773472927e2 Mon Sep 17 00:00:00 2001
From: Lumir Balhar <lbalhar@redhat.com>
Date: Wed, 30 Nov 2022 23:07:23 +0100
Subject: [PATCH] fix entry points
---
setup.cfg | 3 +++
setup.py | 1 -
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/setup.cfg b/setup.cfg
index 9e6753e..1d87cbb 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -106,6 +106,9 @@ IPython.lib.tests = *.wav
IPython.testing.plugin = *.txt
[options.entry_points]
+console_scripts =
+ ipython = IPython:start_ipython
+ ipython3 = IPython:start_ipython
pygments.lexers =
ipythonconsole = IPython.lib.lexers:IPythonConsoleLexer
ipython = IPython.lib.lexers:IPythonLexer
diff --git a/setup.py b/setup.py
index 4939ca5..1ca6d98 100644
--- a/setup.py
+++ b/setup.py
@@ -139,7 +139,6 @@ setup_args['cmdclass'] = {
'install_scripts_sym': install_scripts_for_symlink,
'unsymlink': unsymlink,
}
-setup_args["entry_points"] = {"console_scripts": find_entry_points()}
#---------------------------------------------------------------------------
# Do the actual setup now
--
2.38.1

View File

@ -13,7 +13,7 @@
%endif
Name: ipython
Version: 8.6.0
Version: 8.7.0
Release: 1%{?dist}
Summary: An enhanced interactive Python shell
@ -23,6 +23,7 @@ Summary: An enhanced interactive Python shell
License: (BSD and MIT and Python) and GPLv2+
URL: http://ipython.org/
Source0: %pypi_source
Patch0: fix_entry_points.patch
BuildArch: noarch
BuildRequires: make
@ -256,6 +257,9 @@ rm -r %{buildroot}%{python3_sitelib}/IPython/*/tests
%changelog
* Tue Nov 29 2022 Lumír Balhar <lbalhar@redhat.com> - 8.7.0-1
- Update to 8.7.0 (rhbz#2149289)
* Wed Nov 23 2022 Lumír Balhar <lbalhar@redhat.com> - 8.6.0-1
- Update to 8.6.0 (rhbz#2138766)

View File

@ -1 +1 @@
SHA512 (ipython-8.6.0.tar.gz) = 54c9e354754b1086e5b87d4d76fa4fe5aa261b095d18210f6660fa9e0a3177db4c9b66d26da5e5d6880a40534477d8c6ea59615c4069327939bca41d49addb47
SHA512 (ipython-8.7.0.tar.gz) = 4652d06d1a0cf33a2b55f640d6bcc3fd9f1f644c848e869bc3807da8f4166060798ea5629fa80cc98a4a79b8ea1cde6013507eae859354a5db270b7fb3cca6bf