From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CFD4958973 for ; Fri, 5 Feb 2016 08:19:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 98C3B21C022; Fri, 5 Feb 2016 08:19:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0A7F421C022 for ; Fri, 5 Feb 2016 08:19:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9FAE7340A84 for ; Fri, 5 Feb 2016 08:19:45 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 068F08F0 for ; Fri, 5 Feb 2016 08:19:41 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1454625376.e56d2b3c4b3b4133195f26e9501d9236771e3897.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libucl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libucl/Manifest dev-libs/libucl/libucl-0.7.3.ebuild dev-libs/libucl/metadata.xml X-VCS-Directories: dev-libs/libucl/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: e56d2b3c4b3b4133195f26e9501d9236771e3897 X-VCS-Branch: master Date: Fri, 5 Feb 2016 08:19:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b6ab4e47-1891-41cf-8564-4bc18b0eb865 X-Archives-Hash: a5b092f9c06c6c593f5ea069aa9860ff commit: e56d2b3c4b3b4133195f26e9501d9236771e3897 Author: Johan Bergström bergstroem nu> AuthorDate: Thu Feb 4 03:36:27 2016 +0000 Commit: Patrice Clement gentoo org> CommitDate: Thu Feb 4 22:36:16 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e56d2b3c dev-libs/libucl: New package Libucl is a configuration library parser and a set of optional utilities. dev-libs/libucl/Manifest | 1 + dev-libs/libucl/libucl-0.7.3.ebuild | 45 +++++++++++++++++++++++++++++++++++++ dev-libs/libucl/metadata.xml | 25 +++++++++++++++++++++ 3 files changed, 71 insertions(+) diff --git a/dev-libs/libucl/Manifest b/dev-libs/libucl/Manifest new file mode 100644 index 0000000..7f98a55 --- /dev/null +++ b/dev-libs/libucl/Manifest @@ -0,0 +1 @@ +DIST libucl-0.7.3.tar.gz 1986726 SHA256 2f69995c7f8320350f56c1183c395cc4a2a958331f22d60b7839a117c9c601e1 SHA512 29b466254887f7be1168ce31de9f852f3f1868a3afaa5a73859a4cd43b915510850e786ff778613fa48579ee6f0f78e5898c83ce9423f1fb688cce8d969a8eab WHIRLPOOL 2f72d5a5b938719f59661abe827cfc7f0b20db22c478fdc98c40d664c652d0b67096aa82b5ec161d3212bfd38924b3be364bd797ea090ec620f7c2efc82a4157 diff --git a/dev-libs/libucl/libucl-0.7.3.ebuild b/dev-libs/libucl/libucl-0.7.3.ebuild new file mode 100644 index 0000000..585a76b --- /dev/null +++ b/dev-libs/libucl/libucl-0.7.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit autotools + +DESCRIPTION="Universal configuration library parser" +HOMEPAGE="https://github.com/vstakhov/libucl" +SRC_URI="https://github.com/vstakhov/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +IUSE="lua +regex signatures static-libs urlfetch utils" +DEPEND="lua? ( >=dev-lang/lua-5.1:= ) + signatures? ( dev-libs/openssl:0 ) + urlfetch? ( net-misc/curl )" +RDEPEND="${DEPEND}" + +DOCS=( README.md doc/api.md ) + +src_prepare() { + eapply_user + eautoreconf +} + +src_configure() { + local myeconf="" + use urlfetch && myeconf="--with-urls" + econf \ + $(use_enable lua) \ + $(use_enable regex) \ + $(use_enable signatures) \ + $(use_enable utils) \ + ${myeconf} +} + +src_install() { + default + use lua && DOCS+=( doc/lua_api.md ) + # no .a's it seems + use static-libs || find "${ED}" -name "*.la" -delete +} diff --git a/dev-libs/libucl/metadata.xml b/dev-libs/libucl/metadata.xml new file mode 100644 index 0000000..4f528bc --- /dev/null +++ b/dev-libs/libucl/metadata.xml @@ -0,0 +1,25 @@ + + + + + bugs@bergstroem.nu + Johan Bergström + Co-maintainer, CC on bugs. + + + + proxy-maint@gentoo.org + Proxy Maintainers + + UCL is heavily infused by nginx configuration as the example + of a convenient configuration system. However, UCL is fully compatible with + JSON format and is able to parse json files. It can also emit UCL objects + into different formats such as "nginx like", json, yaml and + compact json + + Enable regex checking for schema + Enable signatures check + Enable URLs fetch + Builds and installs utils + +