diff options
author | Angelo Compagnucci <angelo.compagnucci@gmail.com> | 2017-09-04 09:03:08 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-09-06 23:34:57 +0200 |
commit | 5cf9897f5b1843ed44918512251e9828c574a197 (patch) | |
tree | db5d9cdb4de653b4cf83fbebcc82a4f0e9ee7020 /package/python-web2py/python-web2py.mk | |
parent | 371d3a7ab8d10e73243f33c564218306aec54a97 (diff) | |
download | buildroot-5cf9897f5b1843ed44918512251e9828c574a197.tar.gz buildroot-5cf9897f5b1843ed44918512251e9828c574a197.zip |
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>
Diffstat (limited to 'package/python-web2py/python-web2py.mk')
-rw-r--r-- | package/python-web2py/python-web2py.mk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/package/python-web2py/python-web2py.mk b/package/python-web2py/python-web2py.mk index 887925b64e..9ad5a7785a 100644 --- a/package/python-web2py/python-web2py.mk +++ b/package/python-web2py/python-web2py.mk @@ -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)' |