mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-01-19 04:30:14 +01:00
MycroftOS: Add python-lazy requirement
This commit is contained in:
parent
bfcaa9a189
commit
eb91fa52b2
6
buildroot-external/package/python-lazy/Config.in
Normal file
6
buildroot-external/package/python-lazy/Config.in
Normal file
@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_PYTHON_LAZY
|
||||
bool "python-lazy"
|
||||
help
|
||||
Lazy attributes for Python objects.
|
||||
|
||||
https://github.com/stefanholek/lazy
|
5
buildroot-external/package/python-lazy/python-lazy.hash
Normal file
5
buildroot-external/package/python-lazy/python-lazy.hash
Normal file
@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/lazy/json
|
||||
md5 f4e5a0a5d2add47352a7e10ee87f8211 lazy-1.4.zip
|
||||
sha256 2c6d27a5ab130fb85435320651a47403adcb37ecbcc501b0c6606391f65f5b43 lazy-1.4.zip
|
||||
# Locally computed sha256 checksums
|
||||
sha256 8ba489d9fecfaabf369f6ee4394e689d21b313547531898e2942173f877bfee2 LICENSE
|
20
buildroot-external/package/python-lazy/python-lazy.mk
Normal file
20
buildroot-external/package/python-lazy/python-lazy.mk
Normal file
@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-lazy
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_LAZY_VERSION = 1.4
|
||||
PYTHON_LAZY_SOURCE = lazy-$(PYTHON_LAZY_VERSION).zip
|
||||
PYTHON_LAZY_SITE = https://files.pythonhosted.org/packages/ce/10/2c0cd8a601fff792f814b89233859e3fce2e266a5defd8af3bcadbe5c7ef
|
||||
PYTHON_LAZY_SETUP_TYPE = setuptools
|
||||
PYTHON_LAZY_LICENSE = BSD-2-Clause
|
||||
PYTHON_LAZY_LICENSE_FILES = LICENSE
|
||||
|
||||
define PYTHON_LAZY_EXTRACT_CMDS
|
||||
$(UNZIP) -d $(@D) $(DL_DIR)/python-lazy/$(PYTHON_LAZY_SOURCE)
|
||||
mv $(@D)/lazy-$(PYTHON_LAZY_VERSION)/* $(@D)
|
||||
$(RM) -r $(@D)/lazy-$(PYTHON_LAZY_VERSION)
|
||||
endef
|
||||
|
||||
$(eval $(python-package))
|
Loading…
Reference in New Issue
Block a user