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,13 @@
|
||||
config BR2_PACKAGE_PYTHON_DISTRO
|
||||
bool "python distro"
|
||||
help
|
||||
distro provides information about the OS distribution it
|
||||
runs on, such as a reliable machine-readable ID, or version
|
||||
information.
|
||||
|
||||
It is the recommended replacement for Python's original
|
||||
platform.linux_distribution function (removed in Python
|
||||
3.8). It also provides much more functionality which isn't
|
||||
necessarily Python bound, like a command-line interface.
|
||||
|
||||
https://github.com/nir0s/distro
|
||||
@@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/distro/json
|
||||
md5 c4eee99e1d05691230f223c37b895027 distro-1.9.0.tar.gz
|
||||
sha256 2fa77c6fd8940f116ee1d6b94a2f90b13b5ea8d019b98bc8bafdcabcdd9bdbed distro-1.9.0.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 cb5e8e7e5f4a3988e1063c142c60dc2df75605f4c46515e776e3aca6df976e14 LICENSE
|
||||
@@ -0,0 +1,14 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-distro
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_DISTRO_VERSION = 1.9.0
|
||||
PYTHON_DISTRO_SOURCE = distro-$(PYTHON_DISTRO_VERSION).tar.gz
|
||||
PYTHON_DISTRO_SITE = https://files.pythonhosted.org/packages/fc/f8/98eea607f65de6527f8a2e8885fc8015d3e6f5775df186e443e0964a11c3
|
||||
PYTHON_DISTRO_LICENSE = Apache-2.0
|
||||
PYTHON_DISTRO_LICENSE_FILES = LICENSE
|
||||
PYTHON_DISTRO_SETUP_TYPE = setuptools
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user