commit:     effe59a4a91e6d4988c61a044ad9e3c35f3dd1ba
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Sun Apr 26 16:09:58 2020 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Sat Jun  6 01:53:00 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=effe59a4

dev-libs/libucl: revert retired package + new proxy-maintainer

Reverts: 62c1d41b30e26f3d611b1c4bf595d460d7182ca8
Closes: https://bugs.gentoo.org/719670
Readded for potential new wayland window manager hikari

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 dev-libs/libucl/Manifest            |  1 +
 dev-libs/libucl/libucl-0.8.1.ebuild | 57 +++++++++++++++++++++++++++++++++++++
 dev-libs/libucl/libucl-9999.ebuild  | 57 +++++++++++++++++++++++++++++++++++++
 dev-libs/libucl/metadata.xml        | 25 ++++++++++++++++
 4 files changed, 140 insertions(+)

diff --git a/dev-libs/libucl/Manifest b/dev-libs/libucl/Manifest
new file mode 100644
index 00000000000..a4cbed7b873
--- /dev/null
+++ b/dev-libs/libucl/Manifest
@@ -0,0 +1 @@
+DIST libucl-0.8.1.tar.gz 2028394 BLAKE2B 
18fda317b4b4aed3d6b72c599d191f141bf4722d1c08244deda9c5e77300e2bef7de029889a05d9b4573472928d9d49a797123ac392a4cdd3b690ac277ad673d
 SHA512 
36a059561eadb2dd7253ca22ff56f6a0c6cdd28580e28451c0cf47e1aec321a2e1589fc83ccb2033346f2dbca31a7e6afa9666ea544a0c190b7f80ed0e9f45af

diff --git a/dev-libs/libucl/libucl-0.8.1.ebuild 
b/dev-libs/libucl/libucl-0.8.1.ebuild
new file mode 100644
index 00000000000..a019e11cbc8
--- /dev/null
+++ b/dev-libs/libucl/libucl-0.8.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Universal configuration library parser"
+HOMEPAGE="https://github.com/vstakhov/libucl";
+
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/vstakhov/libucl.git";
+else
+       SRC_URI="https://github.com/vstakhov/libucl/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD-2"
+SLOT="0"
+
+IUSE="lua +regex sign urls +utils static"
+
+DEPEND="!!dev-libs/ucl
+       lua? ( >=dev-lang/lua-5.1:= )
+       urls? ( net-misc/curl )
+       sign? ( dev-libs/openssl:0 )
+"
+BDEPEND="${DEPEND}
+       virtual/pkgconfig
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( README.md doc/api.md )
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+       local myeconfargs=(
+               "$(use_enable lua)"
+               "$(use_enable regex)"
+               "$(use_enable sign signatures)"
+               "$(use_enable urls)"
+               "$(use_enable utils)"
+       )
+       econf "${myeconfargs}"
+}
+
+src_install() {
+       default
+       DOCS+=( $(usex lua "doc/lua_api.md" "") )
+       einstalldocs
+       use static || find "${ED}" -name "*.la" -delete
+}

diff --git a/dev-libs/libucl/libucl-9999.ebuild 
b/dev-libs/libucl/libucl-9999.ebuild
new file mode 100644
index 00000000000..a019e11cbc8
--- /dev/null
+++ b/dev-libs/libucl/libucl-9999.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Universal configuration library parser"
+HOMEPAGE="https://github.com/vstakhov/libucl";
+
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/vstakhov/libucl.git";
+else
+       SRC_URI="https://github.com/vstakhov/libucl/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD-2"
+SLOT="0"
+
+IUSE="lua +regex sign urls +utils static"
+
+DEPEND="!!dev-libs/ucl
+       lua? ( >=dev-lang/lua-5.1:= )
+       urls? ( net-misc/curl )
+       sign? ( dev-libs/openssl:0 )
+"
+BDEPEND="${DEPEND}
+       virtual/pkgconfig
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( README.md doc/api.md )
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+       local myeconfargs=(
+               "$(use_enable lua)"
+               "$(use_enable regex)"
+               "$(use_enable sign signatures)"
+               "$(use_enable urls)"
+               "$(use_enable utils)"
+       )
+       econf "${myeconfargs}"
+}
+
+src_install() {
+       default
+       DOCS+=( $(usex lua "doc/lua_api.md" "") )
+       einstalldocs
+       use static || find "${ED}" -name "*.la" -delete
+}

diff --git a/dev-libs/libucl/metadata.xml b/dev-libs/libucl/metadata.xml
new file mode 100644
index 00000000000..b357b63e2e5
--- /dev/null
+++ b/dev-libs/libucl/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <longdescription>
+    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
+  </longdescription>
+  <maintainer type="person">
+    <email>[email protected]</email>
+    <name>Aisha Tammy</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>[email protected]</email>
+    <name>Proxy Maintainers</name>
+  </maintainer>
+  <use>
+    <flag name="regex">Enable regex support</flag>
+    <flag name="sign">Enable signatures check</flag>
+    <flag name="urls">Enable URLs fetch</flag>
+    <flag name="utils">Install utils for checking other configs</flag>
+  </use>
+</pkgmetadata>

Reply via email to