pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/libyang2 devel/libyang2: import libyang2-2.0.7
details: https://anonhg.NetBSD.org/pkgsrc/rev/7ed348ecc1e6
branches: trunk
changeset: 456905:7ed348ecc1e6
user: kardel <kardel%pkgsrc.org@localhost>
date: Wed Aug 11 09:49:42 2021 +0000
description:
devel/libyang2: import libyang2-2.0.7
libyang is a YANG data modelling language parser and toolkit written (and
providing API) in C. The library is used e.g. in
* Parsing (and validating) schemas in YANG format.
* Parsing (and validating) schemas in YIN format.
* Parsing, validating and printing instance data in XML format.
* Parsing, validating and printing instance data in JSON format
diffstat:
devel/libyang2/DESCR | 7 +++++++
devel/libyang2/Makefile | 39 +++++++++++++++++++++++++++++++++++++++
devel/libyang2/PLIST | 30 ++++++++++++++++++++++++++++++
devel/libyang2/buildlink3.mk | 16 ++++++++++++++++
devel/libyang2/distinfo | 6 ++++++
5 files changed, 98 insertions(+), 0 deletions(-)
diffs (118 lines):
diff -r 5e6456a9e05d -r 7ed348ecc1e6 devel/libyang2/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libyang2/DESCR Wed Aug 11 09:49:42 2021 +0000
@@ -0,0 +1,7 @@
+libyang is a YANG data modelling language parser and toolkit written (and
+providing API) in C. The library is used e.g. in
+
+* Parsing (and validating) schemas in YANG format.
+* Parsing (and validating) schemas in YIN format.
+* Parsing, validating and printing instance data in XML format.
+* Parsing, validating and printing instance data in JSON format
diff -r 5e6456a9e05d -r 7ed348ecc1e6 devel/libyang2/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libyang2/Makefile Wed Aug 11 09:49:42 2021 +0000
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1 2021/08/11 09:49:42 kardel Exp $
+
+GITHUB_PROJECT= libyang
+GITHUB_TAG= v2.0.7
+DISTNAME= v2.0.7
+PKGNAME= ${GITHUB_PROJECT}2-${DISTNAME:S,^v,,}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=CESNET/}
+DIST_SUBDIR= ${GITHUB_PROJECT}
+CONFLICTS= libyang-[0-9]*
+
+MAINTAINER= kardel%NetBSD.org@localhost
+HOMEPAGE= https://github.com/CESNET/libyang/
+COMMENT= YANG data modeling language library
+LICENSE= modified-bsd
+
+WRKSRC= ${WRKDIR}/libyang-2.0.7
+USE_CMAKE= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+
+TOOL_DEPENDS+= cmocka>=1.1.5:../../devel/cmocka
+
+PKGCONFIG_OVERRIDE+= libyang.pc.in
+PKGCONFIG_OVERRIDE+= swig/libyang-cpp.pc.in
+
+CMAKE_ARG_PATH= ..
+CONFIGURE_DIRS= _build
+
+.include "../../mk/bsd.prefs.mk"
+
+pre-configure:
+ ${MKDIR} ${WRKSRC}/_build
+
+CMAKE_ARGS?= -DCMAKE_BUILD_TYPE:String="Release"
+
+.include "../../devel/pcre2/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r 5e6456a9e05d -r 7ed348ecc1e6 devel/libyang2/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libyang2/PLIST Wed Aug 11 09:49:42 2021 +0000
@@ -0,0 +1,30 @@
+@comment $NetBSD: PLIST,v 1.1 2021/08/11 09:49:42 kardel Exp $
+bin/yanglint
+bin/yangre
+include/libyang/config.h
+include/libyang/context.h
+include/libyang/dict.h
+include/libyang/in.h
+include/libyang/libyang.h
+include/libyang/log.h
+include/libyang/out.h
+include/libyang/parser_data.h
+include/libyang/parser_schema.h
+include/libyang/plugins.h
+include/libyang/plugins_exts.h
+include/libyang/plugins_exts_compile.h
+include/libyang/plugins_exts_print.h
+include/libyang/plugins_types.h
+include/libyang/printer_data.h
+include/libyang/printer_schema.h
+include/libyang/set.h
+include/libyang/tree.h
+include/libyang/tree_data.h
+include/libyang/tree_edit.h
+include/libyang/tree_schema.h
+include/libyang/version.h
+lib/libyang.so
+lib/libyang.so.2
+lib/libyang.so.2.1.4
+lib/pkgconfig/libyang.pc
+man/man1/yanglint.1
diff -r 5e6456a9e05d -r 7ed348ecc1e6 devel/libyang2/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libyang2/buildlink3.mk Wed Aug 11 09:49:42 2021 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/08/11 09:49:42 kardel Exp $
+
+BUILDLINK_TREE+= libyang2
+
+.if !defined(LIBYANG2_BUILDLINK3_MK)
+LIBYANG_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libyang2+= libyang2>=2.0.7
+BUILDLINK_PKGSRCDIR.libyang2?= ../../devel/libyang2
+TOOL_DEPENDS+= cmocka>=1.1.5:../../devel/cmocka
+
+.include "../../devel/pcre2/buildlink3.mk"
+
+.endif # LIBYANG_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libyang2
diff -r 5e6456a9e05d -r 7ed348ecc1e6 devel/libyang2/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libyang2/distinfo Wed Aug 11 09:49:42 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/08/11 09:49:42 kardel Exp $
+
+SHA1 (libyang/v2.0.7.tar.gz) = 3882fb9a6e40f1a6bdfbce21546ff8aec3f6144c
+RMD160 (libyang/v2.0.7.tar.gz) = 2298fe0aa9915c0360737c52d166aa5ff545e513
+SHA512 (libyang/v2.0.7.tar.gz) = edb1d8d372b25ed820fa312e0dc96d4af7c8cd5ddeb785964de73f64774062ea7a5586bb27e2039ad24189d4a2ba04268921ca86e82423fc48647d1d10a2a0a7
+Size (libyang/v2.0.7.tar.gz) = 1031818 bytes
Home |
Main Index |
Thread Index |
Old Index