package/python-flask-jsonrpc: bump to version 2.2.1

Add new python-typeguard and python-typing-inspect runtime
dependencies.

Add a patch to remove invalid setup_requires.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
James Hilliard 2022-05-17 15:59:33 -06:00 committed by Thomas Petazzoni
parent e55c3a917b
commit b8dbcf8c8f
4 changed files with 44 additions and 10 deletions

View File

@ -0,0 +1,32 @@
From 8f07768085fa4c8d21dbe27805b7238e67d3aea5 Mon Sep 17 00:00:00 2001
From: James Hilliard <james.hilliard1@gmail.com>
Date: Tue, 17 May 2022 15:52:58 -0600
Subject: [PATCH] Move pytest-runner to tests_require
This isn't a build requirement so it shouldn't be under
setup_requires.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[Upstream status:
https://github.com/cenobites/flask-jsonrpc/pull/227]
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 197d6c9..f23c472 100755
--- a/setup.py
+++ b/setup.py
@@ -42,8 +42,8 @@ setuptools.setup(
'async': ['Flask[async]>=1.0.0,<3.0'],
'dotenv': ['Flask[dotenv]>=1.0.0,<3.0'],
},
- setup_requires=['pytest-runner'],
tests_require=[
+ 'pytest-runner',
'mock==4.0.3',
'coverage==6.3.2;python_version>"3.6"',
'coverage<6.2;python_version<="3.6"',
--
2.36.0

View File

@ -1,7 +1,8 @@
config BR2_PACKAGE_PYTHON_FLASK_JSONRPC
bool "python-flask-jsonrpc"
# runtime dependency
select BR2_PACKAGE_PYTHON_FLASK
select BR2_PACKAGE_PYTHON_FLASK # runtime
select BR2_PACKAGE_PYTHON_TYPEGUARD # runtime
select BR2_PACKAGE_PYTHON_TYPING_INSPECT # runtime
help
A basic JSON-RPC implementation for your Flask-powered sites.

View File

@ -1,5 +1,6 @@
# md5 from https://pypi.python.org/pypi/flask-jsonrpc/json
md5 5c0592f53b2f18e34d5be435acee8842 Flask-JSONRPC-0.3.1.tar.gz
# Locally computed
sha256 4d0cc9c20874093306af91f5a48009fb8659a041428dcdb11703598ffbbc97d0 Flask-JSONRPC-0.3.1.tar.gz
sha256 f613b06cbe766fd514b1b619a71a12c353cccaa55fa4f547be55563d9829be6f setup.py
# md5, sha256 from https://pypi.org/pypi/flask-jsonrpc/json
md5 f2b7bf5222f3aaf050f396522d7f692d Flask-JSONRPC-2.2.1.tar.gz
sha256 f994f8dd80bf31cf7272eb1a3030c6caf30fef3ced5866e66b56871d4047be68 Flask-JSONRPC-2.2.1.tar.gz
# Locally computed sha256 checksums
sha256 5e6175926ba7dde28c7d292a8b0350aa82c40a8c5691a878fe02b0c9c6b43b39 LICENSE
sha256 5e6175926ba7dde28c7d292a8b0350aa82c40a8c5691a878fe02b0c9c6b43b39 COPYING

View File

@ -4,11 +4,11 @@
#
################################################################################
PYTHON_FLASK_JSONRPC_VERSION = 0.3.1
PYTHON_FLASK_JSONRPC_VERSION = 2.2.1
PYTHON_FLASK_JSONRPC_SOURCE = Flask-JSONRPC-$(PYTHON_FLASK_JSONRPC_VERSION).tar.gz
PYTHON_FLASK_JSONRPC_SITE = https://pypi.python.org/packages/cb/1f/e6d66e8498609ba04bac76155b2ea884df95531e93501bf4ef009d40a83c
PYTHON_FLASK_JSONRPC_SITE = https://files.pythonhosted.org/packages/ca/2a/3f2bd79840d9643fc909cf27f730b2c5006351746ba09c4dab1b898ddee9
PYTHON_FLASK_JSONRPC_LICENSE = BSD-3-Clause
PYTHON_FLASK_JSONRPC_LICENSE_FILES = setup.py
PYTHON_FLASK_JSONRPC_LICENSE_FILES = LICENSE COPYING
PYTHON_FLASK_JSONRPC_SETUP_TYPE = setuptools
$(eval $(python-package))