Initial Commit
- initial default booting image
This commit is contained in:
12
package/python-ujson/Config.in
Normal file
12
package/python-ujson/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_PYTHON_UJSON
|
||||
bool "python-ujson"
|
||||
depends on BR2_INSTALL_LIBSTDCPP # double-conversion
|
||||
select BR2_PACKAGE_DOUBLE_CONVERSION
|
||||
help
|
||||
UltraJSON is an ultra fast JSON encoder and decoder written
|
||||
in pure C with bindings for Python 3.
|
||||
|
||||
https://pypi.python.org/pypi/ujson
|
||||
|
||||
comment "python-ujson needs a toolchain w/ C++"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
5
package/python-ujson/python-ujson.hash
Normal file
5
package/python-ujson/python-ujson.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/ujson/json
|
||||
md5 a1104b826ed8414130553e4482bd714d ujson-5.12.0.tar.gz
|
||||
sha256 14b2e1eb528d77bc0f4c5bd1a7ebc05e02b5b41beefb7e8567c9675b8b13bcf4 ujson-5.12.0.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 36866344f0a486541bd9800f1a407a056c0c214a82c658f059694daf3dc394d2 LICENSE.txt
|
||||
19
package/python-ujson/python-ujson.mk
Normal file
19
package/python-ujson/python-ujson.mk
Normal file
@@ -0,0 +1,19 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-ujson
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_UJSON_VERSION = 5.12.0
|
||||
PYTHON_UJSON_SOURCE = ujson-$(PYTHON_UJSON_VERSION).tar.gz
|
||||
PYTHON_UJSON_SITE = https://files.pythonhosted.org/packages/cb/3e/c35530c5ffc25b71c59ae0cd7b8f99df37313daa162ce1e2f7925f7c2877
|
||||
PYTHON_UJSON_SETUP_TYPE = setuptools
|
||||
PYTHON_UJSON_LICENSE = BSD-3-Clause, TCL
|
||||
PYTHON_UJSON_LICENSE_FILES = LICENSE.txt
|
||||
PYTHON_UJSON_DEPENDENCIES = host-python-setuptools-scm double-conversion
|
||||
PYTHON_UJSON_ENV = \
|
||||
UJSON_BUILD_DC_INCLUDES="$(STAGING_DIR)/usr/include/double-conversion" \
|
||||
UJSON_BUILD_DC_LIBS="-ldouble-conversion" \
|
||||
UJSON_BUILD_NO_STRIP=1
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user