From effe59a4a91e6d4988c61a044ad9e3c35f3dd1ba Mon Sep 17 00:00:00 2001 From: Aisha Tammy Date: Sun, 26 Apr 2020 12:09:58 -0400 Subject: 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 Signed-off-by: Aaron Bauman --- 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(+) create mode 100644 dev-libs/libucl/Manifest create mode 100644 dev-libs/libucl/libucl-0.8.1.ebuild create mode 100644 dev-libs/libucl/libucl-9999.ebuild create mode 100644 dev-libs/libucl/metadata.xml (limited to 'dev-libs/libucl') diff --git a/dev-libs/libucl/Manifest b/dev-libs/libucl/Manifest new file mode 100644 index 000000000000..a4cbed7b873c --- /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 000000000000..a019e11cbc80 --- /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 000000000000..a019e11cbc80 --- /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 000000000000..b357b63e2e53 --- /dev/null +++ b/dev-libs/libucl/metadata.xml @@ -0,0 +1,25 @@ + + + + + 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 + + + gentoo@aisha.cc + Aisha Tammy + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Enable regex support + Enable signatures check + Enable URLs fetch + Install utils for checking other configs + + -- cgit v1.2.3-65-gdbad