Package Details: libyang 2.0.97-1

Git Clone URL: https://aur.archlinux.org/libyang.git (read-only, click to copy)
Package Base: libyang
Description: A YANG data modelling language parser and toolkit written (and providing API) in C.
Upstream URL: https://github.com/CESNET/libyang
Licenses: BSD
Conflicts: libyang-devel-git, libyang-git
Submitter: leonshaw
Maintainer: k0ste
Last Packager: k0ste
Votes: 3
Popularity: 0.001095
First Submitted: 2018-03-29 02:33
Last Updated: 2021-10-08 13:41

Latest Comments

1 2 Next › Last »

bidulock commented on 2021-05-27 19:21

@k0ste thank you.

k0ste commented on 2021-05-27 18:28

@bidulock, done.

bidulock commented on 2021-05-27 18:22

Please change pcre depdendency to pcre2 (as the library is linking with libpcre2 instead of libpcre). This is because systemd requires pcre2 so it is always present and the build for libyang detects it and uses it instead of pcre.

k0ste commented on 2020-11-05 07:40

@Undated4, done.

Undated4 commented on 2020-11-04 15:01

Please add aarch64 as a supported platform.

k0ste commented on 2020-02-10 05:19

@ivoronin, this package already in base-devel.

ivoronin commented on 2020-02-09 15:53

@k0ste you should add pkg-config to build-deps

lieter commented on 2020-02-06 08:11

Here's the diff to build 1.0.130:

diff --git .SRCINFO .SRCINFO
index c8db810..a7bd2c6 100644
--- .SRCINFO
+++ .SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = libyang
        pkgdesc = A YANG data modelling language parser and toolkit written (and providing API) in C.
-       pkgver = 1.0.109
-       pkgrel = 2
+       pkgver = 1.0.130
+       pkgrel = 1
        url = https://github.com/CESNET/libyang
        arch = x86_64
        license = BSD
@@ -10,8 +10,8 @@ pkgbase = libyang
        depends = pcre
        conflicts = libyang-git
        conflicts = libyang-devel-git
-       source = https://github.com/CESNET/libyang/archive/v1.0.109.tar.gz
-       sha256sums = 1686a381a8cce775102e60c8eb93f7ba64c6d4ae10591fc05d9f969a07815f60
+       source = https://github.com/CESNET/libyang/archive/v1.0.130.tar.gz
+       sha256sums = c9703079f10fbf7154882562322b4b01764bc7735345da555ca51201b02e536c

 pkgname = libyang

diff --git PKGBUILD PKGBUILD
index eafbaf7..bf54fc6 100644
--- PKGBUILD
+++ PKGBUILD
@@ -2,8 +2,8 @@
 # Contributor: Konstantin Shalygin <k0ste@k0ste.ru>

 pkgname='libyang'
-pkgver='1.0.109'
-pkgrel='2'
+pkgver='1.0.130'
+pkgrel='1'
 pkgdesc='A YANG data modelling language parser and toolkit written (and providing API) in C.'
 url="https://github.com/CESNET/${pkgname}"
 arch=('x86_64')
@@ -13,7 +13,7 @@ makedepends=('cmake')
 checkdepends=('cmocka')
 conflicts=('libyang-git' 'libyang-devel-git')
 source=("${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('1686a381a8cce775102e60c8eb93f7ba64c6d4ae10591fc05d9f969a07815f60')
+sha256sums=('c9703079f10fbf7154882562322b4b01764bc7735345da555ca51201b02e536c')

 prepare() {
   cd "${srcdir}/${pkgname}-${pkgver}"

k0ste commented on 2020-01-23 08:52

@lieter, done.

lieter commented on 2020-01-23 08:47

Hi,

I've added the C++ language bindings to the package with this patch:

diff --git PKGBUILD PKGBUILD
index ab104b8..eafbaf7 100644
--- PKGBUILD
+++ PKGBUILD
@@ -3,7 +3,7 @@

 pkgname='libyang'
 pkgver='1.0.109'
-pkgrel='1'
+pkgrel='2'
 pkgdesc='A YANG data modelling language parser and toolkit written (and providing API) in C.'
 url="https://github.com/CESNET/${pkgname}"
 arch=('x86_64')
@@ -27,7 +27,10 @@ build() {
     -DCMAKE_INSTALL_LIBDIR=lib \
     -DCMAKE_BUILD_TYPE=Release \
     -DENABLE_LYD_PRIV=ON \
-    -DENABLE_BUILD_TESTS=ON
+    -DENABLE_BUILD_TESTS=ON \
+    -DGEN_LANGUAGE_BINDINGS=ON \
+    -DGEN_PYTHON_BINDINGS=OFF \
+    -DGEN_CPP_BINDINGS=ON
   make
 }

Would you be so kind to pull them in?