generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
7
package/python-rtoml/Config.in
Normal file
7
package/python-rtoml/Config.in
Normal file
@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_PYTHON_RTOML
|
||||
bool "python-rtoml"
|
||||
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
|
||||
help
|
||||
A better TOML library for python implemented in rust.
|
||||
|
||||
https://github.com/samuelcolvin/rtoml
|
||||
4
package/python-rtoml/python-rtoml.hash
Normal file
4
package/python-rtoml/python-rtoml.hash
Normal file
@ -0,0 +1,4 @@
|
||||
# Locally calculated after vendoring
|
||||
sha256 821a430ab6587bdaaf7cb95044e8e0d99c77c6aed0adce5a370045b270f7ee20 rtoml-0.8.0.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 cd5ffde80e6d3286a2e2e5f02fb2cb07b823931ca368e7c735a6c5f5aebe7103 LICENSE
|
||||
22
package/python-rtoml/python-rtoml.mk
Normal file
22
package/python-rtoml/python-rtoml.mk
Normal file
@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-rtoml
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_RTOML_VERSION = 0.8.0
|
||||
PYTHON_RTOML_SOURCE = rtoml-$(PYTHON_RTOML_VERSION).tar.gz
|
||||
PYTHON_RTOML_SITE = https://files.pythonhosted.org/packages/33/a6/b42d8e0e28bec9fd7fdbafb2d76db3f8578f151a669eba564d422756d909
|
||||
PYTHON_RTOML_SETUP_TYPE = setuptools
|
||||
PYTHON_RTOML_LICENSE = MIT
|
||||
PYTHON_RTOML_LICENSE_FILES = LICENSE
|
||||
PYTHON_RTOML_DEPENDENCIES = host-python-setuptools-rust host-rustc
|
||||
PYTHON_RTOML_ENV = \
|
||||
$(PKG_CARGO_ENV) \
|
||||
PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)"
|
||||
# We need to vendor the Cargo crates at download time
|
||||
PYTHON_RTOML_DOWNLOAD_POST_PROCESS = cargo
|
||||
PYTHON_RTOML_DOWNLOAD_DEPENDENCIES = host-rustc
|
||||
PYTHON_RTOML_DL_ENV = $(PKG_CARGO_ENV)
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user