mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-28 14:07:12 +08:00
first commit: base 2024.08
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
config BR2_PACKAGE_PYTHON_GREENLET_ARCH_SUPPORTS
|
||||
bool
|
||||
default y if BR2_arm || BR2_armeb
|
||||
default y if BR2_aarch64
|
||||
default y if BR2_m68k
|
||||
default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
||||
default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
|
||||
default y if BR2_riscv
|
||||
default y if BR2_sparc || BR2_sparc64
|
||||
default y if BR2_i386 || BR2_x86_64
|
||||
|
||||
config BR2_PACKAGE_PYTHON_GREENLET
|
||||
bool "python-greenlet"
|
||||
depends on BR2_PACKAGE_PYTHON_GREENLET_ARCH_SUPPORTS
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
Lightweight in-process concurrent programming.
|
||||
|
||||
https://github.com/python-greenlet/greenlet
|
||||
|
||||
comment "python-greenlet needs a toolchain w/ C++"
|
||||
depends on BR2_PACKAGE_PYTHON_GREENLET_ARCH_SUPPORTS
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_HOST_PYTHON_GREENLET
|
||||
bool "host python-greenlet"
|
||||
help
|
||||
Greenlets are lightweight coroutines for in-process concurrent
|
||||
programming.
|
||||
|
||||
https://greenlet.readthedocs.io/
|
||||
@@ -0,0 +1,6 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/greenlet/json
|
||||
md5 170495b0af3b63ca40ca637dd6e5c6ef greenlet-3.0.3.tar.gz
|
||||
sha256 43374442353259554ce33599da8b692d5aa96f8976d567d4badf263371fbe491 greenlet-3.0.3.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 769831d6e5dfaf2c20802faccff1fafb4c2025dd8f6253dfa47fcad59d4d0979 LICENSE
|
||||
sha256 e5ff3c23c110e494cd7d736c10fd96d462457bafeca310840db6527298c7d46b LICENSE.PSF
|
||||
@@ -0,0 +1,16 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-greenlet
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_GREENLET_VERSION = 3.0.3
|
||||
PYTHON_GREENLET_SOURCE = greenlet-$(PYTHON_GREENLET_VERSION).tar.gz
|
||||
PYTHON_GREENLET_SITE = https://files.pythonhosted.org/packages/17/14/3bddb1298b9a6786539ac609ba4b7c9c0842e12aa73aaa4d8d73ec8f8185
|
||||
PYTHON_GREENLET_SETUP_TYPE = setuptools
|
||||
PYTHON_GREENLET_LICENSE = MIT, PSF-2.0
|
||||
PYTHON_GREENLET_LICENSE_FILES = LICENSE LICENSE.PSF
|
||||
PYTHON_GREENLET_ENV = GREENLET_TEST_CPP=no
|
||||
|
||||
$(eval $(python-package))
|
||||
$(eval $(host-python-package))
|
||||
Reference in New Issue
Block a user