From 98bac18835e14188a7e96877cfa13194e78bf3ae Mon Sep 17 00:00:00 2001 From: Asaf Kahlon Date: Tue, 28 Sep 2021 14:02:10 +0300 Subject: [PATCH] package/python-prompt-toolkit: bump to version 3.0.20 * The package doesn't support python2 anymore. * The only reverse dependency, ipython, already depends on python3 * Update URL in Config.in. * Indent with two spaces in the hash file. Signed-off-by: Asaf Kahlon [yann.morin.1998@free.fr: - actually add dependency on python3 - add note about ipython ] Signed-off-by: Yann E. MORIN --- package/python-prompt-toolkit/Config.in | 6 +++--- package/python-prompt-toolkit/python-prompt-toolkit.hash | 6 +++--- package/python-prompt-toolkit/python-prompt-toolkit.mk | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package/python-prompt-toolkit/Config.in b/package/python-prompt-toolkit/Config.in index 1066e166d9..a16ac13d53 100644 --- a/package/python-prompt-toolkit/Config.in +++ b/package/python-prompt-toolkit/Config.in @@ -1,11 +1,11 @@ config BR2_PACKAGE_PYTHON_PROMPT_TOOLKIT bool "python-prompt-toolkit" + depends on BR2_PACKAGE_PYTHON3 select BR2_PACKAGE_PYTHON_SIX # runtime select BR2_PACKAGE_PYTHON_WCWIDTH # runtime - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime help Library for building powerful interactive command lines in Python. - https://github.com/jonathanslenders/python-prompt-toolkit + https://github.com/prompt-toolkit/python-prompt-toolkit diff --git a/package/python-prompt-toolkit/python-prompt-toolkit.hash b/package/python-prompt-toolkit/python-prompt-toolkit.hash index 2d0c7ec95e..5a24634a56 100644 --- a/package/python-prompt-toolkit/python-prompt-toolkit.hash +++ b/package/python-prompt-toolkit/python-prompt-toolkit.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/prompt-toolkit/json -md5 5016c523e603cd7119644fbc0f00ce53 prompt_toolkit-2.0.10.tar.gz -sha256 f15af68f66e664eaa559d4ac8a928111eebd5feda0c11738b5998045224829db prompt_toolkit-2.0.10.tar.gz +md5 ba9e63c3e7e5a4f4ce4e4770a4daba96 prompt_toolkit-3.0.20.tar.gz +sha256 eb71d5a6b72ce6db177af4a7d4d7085b99756bf656d98ffcc4fecd36850eea6c prompt_toolkit-3.0.20.tar.gz # Locally computed sha256 checksums -sha256 303574d9bdd85c757d6025017942bf17baeedf2778f62bd7f425d07d880f4c4a LICENSE +sha256 303574d9bdd85c757d6025017942bf17baeedf2778f62bd7f425d07d880f4c4a LICENSE diff --git a/package/python-prompt-toolkit/python-prompt-toolkit.mk b/package/python-prompt-toolkit/python-prompt-toolkit.mk index 183c7d258b..b575783f96 100644 --- a/package/python-prompt-toolkit/python-prompt-toolkit.mk +++ b/package/python-prompt-toolkit/python-prompt-toolkit.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_PROMPT_TOOLKIT_VERSION = 2.0.10 +PYTHON_PROMPT_TOOLKIT_VERSION = 3.0.20 PYTHON_PROMPT_TOOLKIT_SOURCE = prompt_toolkit-$(PYTHON_PROMPT_TOOLKIT_VERSION).tar.gz -PYTHON_PROMPT_TOOLKIT_SITE = https://files.pythonhosted.org/packages/0c/37/7ad3bf3c6dbe96facf9927ddf066fdafa0f86766237cff32c3c7355d3b7c +PYTHON_PROMPT_TOOLKIT_SITE = https://files.pythonhosted.org/packages/b4/56/9ab5868f34ab2657fba7e2192f41316252ab04edbbeb2a8583759960a1a7 PYTHON_PROMPT_TOOLKIT_SETUP_TYPE = setuptools PYTHON_PROMPT_TOOLKIT_LICENSE = BSD-3-Clause PYTHON_PROMPT_TOOLKIT_LICENSE_FILES = LICENSE