package/python-pydal: bump to version v20200531.1
PATCH 1/2 package/python-pydal: bump to version v20200531.1
This patch bumps python-pydal to version v20200531.1.
It updates alse the LICENSE hash cause the file was cleaned and revised by the author, the license remains the same.
Signed-off-by Angelo Compagnucci <[email protected]>
--- package/python-pydal/python-pydal.hash | 4 ++-- package/python-pydal/python-pydal.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
package/python-pydal/python-pydal.hash +2 -2
@@ -1,3 +1,3 @@ # sha256 from https://pypi.org/project/pyDAL/#files -sha256 763ed017f431fc3d9fa9243f6be2519ff49b8a260d15763c4733762d9c086904 python-pydal-18.09.tar.gz -sha256 ae7d7b6888bb72f26af2bcbee69ae6f8a49e12f66c99e78f2a8b806effc5219d LICENSE +sha256 ae0de85bbecfef886db8f8888c9b6de794ba2615867a75d5daa463701152baa4 python-pydal-20200531.1.tar.gz +sha256 1f711e93f1e0c2eec576e2e60597dc2ed6f0a661e4749c6b8a39f0d4a72be468 LICENSE.txt
package/python-pydal/python-pydal.mk +2 -2
@@ -4,10 +4,10 @@ # ################################################################################ -PYTHON_PYDAL_VERSION = 18.09 +PYTHON_PYDAL_VERSION = 20200531.1 PYTHON_PYDAL_SITE = $(call github,web2py,pydal,v$(PYTHON_PYDAL_VERSION)) PYTHON_PYDAL_LICENSE = BSD-3-Clause -PYTHON_PYDAL_LICENSE_FILES = LICENSE +PYTHON_PYDAL_LICENSE_FILES = LICENSE.txt PYTHON_PYDAL_SETUP_TYPE = setuptools $(eval $(python-package))
Signature · 1 line
2.25.1
PATCH 2/2 package/python-web2py: bump version to 2.20.4
This patch bumps ptyhon-web2py to version 2.20.4
Signed-off-by Angelo Compagnucci <[email protected]>
--- ...py-import-escape-from-html-instead-o.patch | 49 ------------------- package/python-web2py/python-web2py.hash | 2 +- package/python-web2py/python-web2py.mk | 4 +- 3 files changed, 3 insertions(+), 52 deletions(-) delete mode 100644 package/python-web2py/0001-gluon-languages.py-import-escape-from-html-instead-o.patch
package/python-web2py/0001-gluon-languages.py-import-escape-from-html-instead-o.patch deleted +0 -49
@@ -1,49 +0,0 @@ -From cf3c8e6ac8c428151dc191510554b4ee2705958d Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine <[email protected]> -Date: Wed, 30 Oct 2019 10:08:35 +0100 -Subject: [PATCH] gluon/languages.py: import escape from html instead of cgi - -import escape from html and fallback on current import from cgi to fix -the following build failure with python 3.8: - -/home/buildroot/autobuild/run/instance-2/output-1/host/bin/python -c 'import os; os.chdir("/home/buildroot/autobuild/run/instance-2/output-1/build/python-web2py-2.17.2"); from gluon.main import save_password; save_password("web2py",8000)' -Traceback (most recent call last): - File "<string>", line 1, in <module> - File "/home/buildroot/autobuild/run/instance-2/output-1/build/python-web2py-2.17.2/gluon/__init__.py", line 34, in <module> - from .globals import current - File "/home/buildroot/autobuild/run/instance-2/output-1/build/python-web2py-2.17.2/gluon/globals.py", line 24, in <module> - from gluon.serializers import json, custom_json - File "/home/buildroot/autobuild/run/instance-2/output-1/build/python-web2py-2.17.2/gluon/serializers.py", line 10, in <module> - from gluon.languages import lazyT - File "/home/buildroot/autobuild/run/instance-2/output-1/build/python-web2py-2.17.2/gluon/languages.py", line 19, in <module> - from cgi import escape -ImportError: cannot import name 'escape' from 'cgi' (/home/buildroot/autobuild/run/instance-2/output-1/host/lib/python3.8/cgi.py) - -Fixes: - - http://autobuild.buildroot.org/results/fa515627ae888d08fc10074e8d9f6e9dbede91a7 - -Signed-off-by: Fabrice Fontaine <[email protected]> -[Upstream status: https://github.com/web2py/web2py/pull/2272] ---- - gluon/languages.py | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/gluon/languages.py b/gluon/languages.py -index 9ed60f9c..554d7339 100644 ---- a/gluon/languages.py -+++ b/gluon/languages.py -@@ -16,7 +16,10 @@ import re - import sys - import pkgutil - import logging --from cgi import escape -+try: -+ from html import escape -+except ImportError: -+ from cgi import escape - from threading import RLock - - from pydal._compat import copyreg, PY2, maketrans, iterkeys, unicodeT, to_unicode, to_bytes, iteritems, to_native, pjoin --- -2.23.0 -
package/python-web2py/python-web2py.hash +1 -1
@@ -1,3 +1,3 @@ # sha256 locally computed -sha256 8205a7a08595ca1a41919750a8dc4e431258966cb46c8021564b25003cf90863 python-web2py-2.17.2.tar.gz +sha256 e3f05266b4b97650b76bfb85028df5e2194955674c9b98cfc065c72ed5791690 python-web2py-2.20.4.tar.gz sha256 2aae96826184a492bc799add49aed7b29036e7aba2d2294fb65053bd30fe55fe LICENSE
package/python-web2py/python-web2py.mk +2 -2
@@ -4,8 +4,8 @@ # ################################################################################ -PYTHON_WEB2PY_VERSION = 2.17.2 -PYTHON_WEB2PY_SITE = $(call github,web2py,web2py,R-$(PYTHON_WEB2PY_VERSION)) +PYTHON_WEB2PY_VERSION = 2.20.4 +PYTHON_WEB2PY_SITE = $(call github,web2py,web2py,v$(PYTHON_WEB2PY_VERSION)) PYTHON_WEB2PY_LICENSE = LGPL-3.0 PYTHON_WEB2PY_LICENSE_FILES = LICENSE PYTHON_WEB2PY_DEPENDENCIES = $(if $(BR2_PACKAGE_PYTHON3),host-python3 python3,host-python python) \
Signature · 1 line
2.25.1
Thomas Petazzoni
AppliedPATCH 2/2 package/python-web2py: bump version to 2.20.4
Quoted 9 lines · On Sun, 7 Jun 2020 19:02:38 +0200 Angelo Compagnucci…
This patch bumps ptyhon-web2py to version 2.20.4
Signed-off-by Angelo Compagnucci <[email protected]>--- ...py-import-escape-from-html-instead-o.patch | 49 ------------------- package/python-web2py/python-web2py.hash | 2 +- package/python-web2py/python-web2py.mk | 4 +- 3 files changed, 3 insertions(+), 52 deletions(-) delete mode 100644 package/python-web2py/0001-gluon-languages.py-import-escape-from-html-instead-o.patch
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Thomas Petazzoni
AppliedPATCH 1/2 package/python-pydal: bump to version v20200531.1
In reply to Angelo CompagnucciQuoted 9 lines · On Sun, 7 Jun 2020 19:02:37 +0200 Angelo Compagnucci…
This patch bumps python-pydal to version v20200531.1.
It updates alse the LICENSE hash cause the file was cleaned and revised by the author, the license remains the same.Signed-off-by Angelo Compagnucci <[email protected]>--- package/python-pydal/python-pydal.hash | 4 ++-- package/python-pydal/python-pydal.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com