mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-28 05:22:12 +00:00
package/python-web2py: bump to version R-2.15.4
This patch bumps web2py to the latest version R-2.15.4 and bumps also the python-pydal dependency to the required latest version 17.8. Starting with version R-2.15.x web2py supports also python 3, so updating the package to support both versions. Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
371d3a7ab8
commit
5cf9897f5b
@@ -4,11 +4,12 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_WEB2PY_VERSION = R-2.14.6
|
||||
PYTHON_WEB2PY_VERSION = R-2.15.4
|
||||
PYTHON_WEB2PY_SITE = $(call github,web2py,web2py,$(PYTHON_WEB2PY_VERSION))
|
||||
PYTHON_WEB2PY_LICENSE = LGPL-3.0
|
||||
PYTHON_WEB2PY_LICENSE_FILES = LICENSE
|
||||
PYTHON_WEB2PY_DEPENDENCIES = python python-pydal host-python-pydal
|
||||
PYTHON_WEB2PY_DEPENDENCIES = $(if $(BR2_PACKAGE_PYTHON3),host-python3 python3,host-python python) \
|
||||
python-pydal host-python-pydal
|
||||
|
||||
PYTHON_WEB2PY_EXCLUSIONS = \
|
||||
welcome.w2p \
|
||||
@@ -30,7 +31,7 @@ PYTHON_WEB2PY_EXCLUSIONS = \
|
||||
tox.ini
|
||||
|
||||
define PYTHON_WEB2PY_GENERATE_PASSWORD
|
||||
$(HOST_DIR)/bin/python2 -c 'import os; \
|
||||
$(HOST_DIR)/bin/python -c 'import os; \
|
||||
os.chdir("$(@D)"); \
|
||||
from gluon.main import save_password; \
|
||||
save_password($(BR2_PACKAGE_PYTHON_WEB2PY_PASSWORD),8000)'
|
||||
|
||||
Reference in New Issue
Block a user