mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-27 13:37:13 +08:00
first commit: base 2024.08
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
config BR2_PACKAGE_PYTHON_UVLOOP
|
||||
bool "python-uvloop"
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
|
||||
depends on BR2_USE_MMU # libuv
|
||||
depends on !BR2_STATIC_LIBS # libuv
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libuv
|
||||
select BR2_PACKAGE_LIBUV
|
||||
select BR2_PACKAGE_PYTHON3_SSL
|
||||
help
|
||||
Fast implementation of asyncio event loop on top of libuv.
|
||||
|
||||
http://github.com/MagicStack/uvloop
|
||||
|
||||
comment "python-uvloop needs a toolchain w/ NPTL, dynamic library, gcc >= 4.9"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \
|
||||
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on BR2_USE_MMU
|
||||
@@ -0,0 +1,6 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/uvloop/json
|
||||
md5 0107f6e04c23bdcd93a0a712a0e52ffb uvloop-0.19.0.tar.gz
|
||||
sha256 0246f4fd1bf2bf702e06b0d45ee91677ee5c31242f39aab4ea6fe0c51aedd0fd uvloop-0.19.0.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 377025287798f9dcd819e1f826fa5fc5e2f382528691ab0528c5cf8c8c282c27 LICENSE-APACHE
|
||||
sha256 6dd4c399f26de043d77a2ad7e31db4cb5bf08ea8368b0a42d6e158635cc8ab62 LICENSE-MIT
|
||||
@@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-uvloop
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_UVLOOP_VERSION = 0.19.0
|
||||
PYTHON_UVLOOP_SOURCE = uvloop-$(PYTHON_UVLOOP_VERSION).tar.gz
|
||||
PYTHON_UVLOOP_SITE = https://files.pythonhosted.org/packages/9c/16/728cc5dde368e6eddb299c5aec4d10eaf25335a5af04e8c0abd68e2e9d32
|
||||
PYTHON_UVLOOP_SETUP_TYPE = setuptools
|
||||
PYTHON_UVLOOP_LICENSE = Apache-2.0, MIT
|
||||
PYTHON_UVLOOP_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT
|
||||
PYTHON_UVLOOP_DEPENDENCIES = libuv
|
||||
PYTHON_UVLOOP_BUILD_OPTS = \
|
||||
--skip-dependency-check \
|
||||
-C--build-option=build_ext \
|
||||
-C--build-option=--inplace \
|
||||
-C--build-option=--use-system-libuv
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user