summaryrefslogtreecommitdiffstats
path: root/package/python-web2py
diff options
context:
space:
mode:
Diffstat (limited to 'package/python-web2py')
-rw-r--r--package/python-web2py/Config.in10
-rw-r--r--package/python-web2py/python-web2py.hash2
-rw-r--r--package/python-web2py/python-web2py.mk7
3 files changed, 11 insertions, 8 deletions
diff --git a/package/python-web2py/Config.in b/package/python-web2py/Config.in
index 3b55153236..bc2e6054e6 100644
--- a/package/python-web2py/Config.in
+++ b/package/python-web2py/Config.in
@@ -1,10 +1,12 @@
config BR2_PACKAGE_PYTHON_WEB2PY
bool "python-web2py"
- depends on BR2_PACKAGE_PYTHON
select BR2_PACKAGE_PYTHON_PYDAL
- select BR2_PACKAGE_PYTHON_ZLIB
- select BR2_PACKAGE_PYTHON_PYEXPAT
- select BR2_PACKAGE_PYTHON_SQLITE
+ select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime
+ select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime
+ select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime
+ select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime
+ select BR2_PACKAGE_PYTHON_SQLITE if BR2_PACKAGE_PYTHON # runtime
+ select BR2_PACKAGE_PYTHON3_SQLITE if BR2_PACKAGE_PYTHON3 # runtime
help
web2py is a free open source full-stack framework for rapid
development of fast, scalable, secure and portable
diff --git a/package/python-web2py/python-web2py.hash b/package/python-web2py/python-web2py.hash
index 9c1de904cb..adc7bc5d5c 100644
--- a/package/python-web2py/python-web2py.hash
+++ b/package/python-web2py/python-web2py.hash
@@ -1,2 +1,2 @@
# sha256 locally computed
-sha256 6079aeaa352ec51e0da5e6abc71fa74cdb3a781e06a311b5826618624362a7b2 python-web2py-R-2.14.6.tar.gz
+sha256 e432e051ebb826b77835bda03ddb16364b37d137b37ac33005b6ac0fd5d56280 python-web2py-R-2.15.4.tar.gz
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)'
OpenPOWER on IntegriCloud