Bump buildroot to version 2017-02
TG-3 #closed
This commit is contained in:
13
bsp/buildroot/package/python-gunicorn/Config.in
Normal file
13
bsp/buildroot/package/python-gunicorn/Config.in
Normal file
@@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_PYTHON_GUNICORN
|
||||
bool "python-gunicorn"
|
||||
select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
|
||||
select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime
|
||||
select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime
|
||||
help
|
||||
Gunicorn ‘Green Unicorn’ is a Python WSGI HTTP Server for
|
||||
UNIX. It’s a pre-fork worker model ported from Ruby’s
|
||||
Unicorn project. The Gunicorn server is broadly compatible
|
||||
with various web frameworks, simply implemented, light on
|
||||
server resource usage, and fairly speedy.
|
||||
|
||||
http://gunicorn.org/
|
||||
@@ -0,0 +1,3 @@
|
||||
# md5 from https://pypi.python.org/pypi/gunicorn/json, sha256 locally computed
|
||||
md5 338e5e8a83ea0f0625f768dba4597530 gunicorn-19.6.0.tar.gz
|
||||
sha256 813f6916d18a4c8e90efde72f419308b357692f81333cb1125f80013d22fb618 gunicorn-19.6.0.tar.gz
|
||||
26
bsp/buildroot/package/python-gunicorn/python-gunicorn.mk
Normal file
26
bsp/buildroot/package/python-gunicorn/python-gunicorn.mk
Normal file
@@ -0,0 +1,26 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-gunicorn
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_GUNICORN_VERSION = 19.6.0
|
||||
PYTHON_GUNICORN_SOURCE = gunicorn-$(PYTHON_GUNICORN_VERSION).tar.gz
|
||||
PYTHON_GUNICORN_SITE = https://pypi.python.org/packages/84/ce/7ea5396efad1cef682bbc4068e72a0276341d9d9d0f501da609fab9fcb80
|
||||
PYTHON_GUNICORN_SETUP_TYPE = setuptools
|
||||
PYTHON_GUNICORN_LICENSE = MIT
|
||||
PYTHON_GUNICORN_LICENSE_FILES = LICENSE
|
||||
|
||||
# At the end of the build, we try to compile all py files using the host python
|
||||
# that has been built.
|
||||
# The GAIO HTTP Worker is only compatible with Python3.4.2 and up. So don't try
|
||||
# to compile it with python 2.x
|
||||
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
||||
define PYTHON_GUNICORN_REMOVE_GAIO_WORKER
|
||||
find $(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages/ \
|
||||
-name "_gaiohttp.py" -exec rm -f {} \;
|
||||
endef
|
||||
PYTHON_GUNICORN_POST_INSTALL_TARGET_HOOKS += PYTHON_GUNICORN_REMOVE_GAIO_WORKER
|
||||
endif
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user