Bump buidlroot version to 2018.02.6
This commit is contained 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
|
||||
@@ -14,6 +16,15 @@ config BR2_PACKAGE_PYTHON_WEB2PY
|
||||
|
||||
if BR2_PACKAGE_PYTHON_WEB2PY
|
||||
|
||||
config BR2_PACKAGE_PYTHON_WEB2PY_INSTALL_ADMIN
|
||||
bool "install admin panel application"
|
||||
default y
|
||||
help
|
||||
This option install web2py admin panel application.
|
||||
It can be removed to save space on embedded systems.
|
||||
|
||||
if BR2_PACKAGE_PYTHON_WEB2PY_INSTALL_ADMIN
|
||||
|
||||
config BR2_PACKAGE_PYTHON_WEB2PY_PASSWORD
|
||||
string "admin panel password"
|
||||
default web2py
|
||||
@@ -21,3 +32,5 @@ config BR2_PACKAGE_PYTHON_WEB2PY_PASSWORD
|
||||
Set the admin panel password.
|
||||
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -4,19 +4,49 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
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 = LGPLv3
|
||||
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
|
||||
|
||||
define PYTHON_WEB2PY_INSTALL_TARGET_CMDS
|
||||
$(HOST_DIR)/usr/bin/python2 -c 'import os; \
|
||||
PYTHON_WEB2PY_EXCLUSIONS = \
|
||||
welcome.w2p \
|
||||
applications/examples \
|
||||
applications/welcome \
|
||||
deposit \
|
||||
docs \
|
||||
examples \
|
||||
extras \
|
||||
handlers \
|
||||
scripts \
|
||||
ABOUT \
|
||||
anyserver.py \
|
||||
CHANGELOG \
|
||||
Makefile \
|
||||
MANIFEST.in \
|
||||
README.markdown \
|
||||
setup.py \
|
||||
tox.ini
|
||||
|
||||
define PYTHON_WEB2PY_GENERATE_PASSWORD
|
||||
$(HOST_DIR)/bin/python -c 'import os; \
|
||||
os.chdir("$(@D)"); \
|
||||
from gluon.main import save_password; \
|
||||
save_password($(BR2_PACKAGE_PYTHON_WEB2PY_PASSWORD),8000)'
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON_WEB2PY_INSTALL_ADMIN),y)
|
||||
PYTHON_WEB2PY_POST_BUILD_HOOKS += PYTHON_WEB2PY_GENERATE_PASSWORD
|
||||
else
|
||||
PYTHON_WEB2PY_EXCLUSIONS += applications/admin
|
||||
endif
|
||||
|
||||
define PYTHON_WEB2PY_INSTALL_TARGET_CMDS
|
||||
mkdir -p $(TARGET_DIR)/var/www/web2py
|
||||
cp -dpfr $(@D)/* $(TARGET_DIR)/var/www/web2py
|
||||
rsync -a $(@D)/ $(TARGET_DIR)/var/www/web2py/ \
|
||||
$(addprefix --exclude=,$(PYTHON_WEB2PY_EXCLUSIONS))
|
||||
endef
|
||||
|
||||
define PYTHON_WEB2PY_INSTALL_INIT_SYSV
|
||||
|
||||
Reference in New Issue
Block a user