Initial Commit
- initial default booting image
This commit is contained in:
18
package/python-libyang/Config.in
Normal file
18
package/python-libyang/Config.in
Normal file
@@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_PYTHON_LIBYANG
|
||||
bool "python-libyang"
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libyang
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libyang
|
||||
depends on !BR2_STATIC_LIBS # libyang
|
||||
select BR2_PACKAGE_LIBYANG
|
||||
select BR2_PACKAGE_PYTHON_CFFI # runtime
|
||||
help
|
||||
Python CFFI bindings for the libyang YANG library.
|
||||
|
||||
This package provides the 'libyang' Python module, used by
|
||||
higher-level tooling such as python-sysrepo.
|
||||
|
||||
https://github.com/CESNET/libyang-python
|
||||
|
||||
comment "python-libyang needs a toolchain w/ threads, dynamic library"
|
||||
depends on !BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||
5
package/python-libyang/python-libyang.hash
Normal file
5
package/python-libyang/python-libyang.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# From https://pypi.org/pypi/libyang/3.3.0/json
|
||||
sha256 97da2c908a8a3607ac834f2acec224ea53a4b9e9770c13e5598513641decf637 libyang-3.3.0.tar.gz
|
||||
|
||||
# Locally computed
|
||||
sha256 c8d554f918d32b1467f35829e1cfb753764dd683c6edcecc877a4d7e9f05b2a7 LICENSE
|
||||
21
package/python-libyang/python-libyang.mk
Normal file
21
package/python-libyang/python-libyang.mk
Normal file
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-libyang
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_LIBYANG_VERSION = 3.3.0
|
||||
PYTHON_LIBYANG_SOURCE = libyang-$(PYTHON_LIBYANG_VERSION).tar.gz
|
||||
PYTHON_LIBYANG_SITE = https://files.pythonhosted.org/packages/source/l/libyang
|
||||
|
||||
PYTHON_LIBYANG_LICENSE = MIT
|
||||
PYTHON_LIBYANG_LICENSE_FILES = LICENSE
|
||||
|
||||
# pyproject.toml (PEP517)
|
||||
PYTHON_LIBYANG_SETUP_TYPE = pep517
|
||||
|
||||
PYTHON_LIBYANG_DEPENDENCIES = \
|
||||
libyang \
|
||||
host-python-cffi
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user