mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-03 22:33:02 +02:00
package/python-libyang: new package
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_PYTHON_LIBYANG
|
||||
bool "python-libyang"
|
||||
select BR2_PACKAGE_PYTHON_PIP # buildtime
|
||||
select BR2_PACKAGE_PYTHON_CFFI # runtime
|
||||
help
|
||||
CFFI bindings to libyang.
|
||||
|
||||
https://github.com/CESNET/libyang-python
|
||||
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_HOST_PYTHON_LIBYANG
|
||||
bool "host python-libyang"
|
||||
select BR2_PACKAGE_HOST_PYTHON_CFFI # runtime
|
||||
help
|
||||
CFFI bindings to libyang.
|
||||
|
||||
https://github.com/CESNET/libyang-python
|
||||
@@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/libyang/json
|
||||
md5 46332891cac852441b523f7e71a507f7 libyang-3.0.1.tar.gz
|
||||
sha256 57f8b234131fb073518313351288194e535d74cc8fdff7f0ff7e31c0ab33e663 libyang-3.0.1.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 c8d554f918d32b1467f35829e1cfb753764dd683c6edcecc877a4d7e9f05b2a7 LICENSE
|
||||
@@ -0,0 +1,15 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-libyang
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_LIBYANG_VERSION = 3.0.1
|
||||
PYTHON_LIBYANG_SOURCE = libyang-$(PYTHON_LIBYANG_VERSION).tar.gz
|
||||
PYTHON_LIBYANG_SITE = https://files.pythonhosted.org/packages/91/2e/ff13ee16c874d232d5d3fdff83f629cbc9ac47f9aaf2b59256b6a1bdbc16
|
||||
PYTHON_LIBYANG_SETUP_TYPE = setuptools
|
||||
PYTHON_LIBYANG_LICENSE = MIT
|
||||
PYTHON_LIBYANG_LICENSE_FILES = LICENSE
|
||||
HOST_PYTHON_LIBYANG_DEPENDENCIES = host-python-cython host-python-cffi
|
||||
|
||||
$(eval $(host-python-package))
|
||||
Reference in New Issue
Block a user