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,20 @@
|
||||
config BR2_PACKAGE_PYTHON_QRCODE
|
||||
bool "python-qrcode"
|
||||
select BR2_PACKAGE_PYTHON_PYPNG # runtime
|
||||
select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime
|
||||
help
|
||||
Pure python QR Code generator
|
||||
|
||||
https://github.com/lincolnloop/python-qrcode
|
||||
|
||||
if BR2_PACKAGE_PYTHON_QRCODE
|
||||
|
||||
config BR2_PACKAGE_PYTHON_QRCODE_SVG
|
||||
bool "SVG support"
|
||||
select BR2_PACKAGE_PYTHON3_PYEXPAT
|
||||
|
||||
config BR2_PACKAGE_PYTHON_QRCODE_PIL
|
||||
bool "PIL support"
|
||||
select BR2_PACKAGE_PYTHON_PILLOW
|
||||
|
||||
endif
|
||||
@@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/qrcode/json
|
||||
md5 a4c47fe5ff966b105098998cfb2294de qrcode-7.4.2.tar.gz
|
||||
sha256 9dd969454827e127dbd93696b20747239e6d540e082937c90f14ac95b30f5845 qrcode-7.4.2.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 40dfb903c94ee3f789500131311186548ecba5cefd3557623d7700e2522ab994 LICENSE
|
||||
@@ -0,0 +1,14 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-qrcode
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_QRCODE_VERSION = 7.4.2
|
||||
PYTHON_QRCODE_SOURCE = qrcode-$(PYTHON_QRCODE_VERSION).tar.gz
|
||||
PYTHON_QRCODE_SITE = https://files.pythonhosted.org/packages/30/35/ad6d4c5a547fe9a5baf85a9edbafff93fc6394b014fab30595877305fa59
|
||||
PYTHON_QRCODE_SETUP_TYPE = setuptools
|
||||
PYTHON_QRCODE_LICENSE = BSD-3-Clause
|
||||
PYTHON_QRCODE_LICENSE_FILES = LICENSE
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user