public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libucl/
@ 2016-02-05  8:19 Patrice Clement
  0 siblings, 0 replies; 11+ messages in thread
From: Patrice Clement @ 2016-02-05  8:19 UTC (permalink / raw
  To: gentoo-commits

commit:     e56d2b3c4b3b4133195f26e9501d9236771e3897
Author:     Johan Bergström <bugs <AT> bergstroem <DOT> nu>
AuthorDate: Thu Feb  4 03:36:27 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>bugs@bergstroem.nu</email>
+    <name>Johan Bergström</name>
+    <description>Co-maintainer, CC on bugs.</description>
+  </maintainer>
+
+  <maintainer type="project">
+    <email>proxy-maint@gentoo.org</email>
+    <name>Proxy Maintainers</name>
+  </maintainer>
+  <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>
+  <use>
+    <flag name="regex">Enable regex checking for schema</flag>
+    <flag name="signatures">Enable signatures check</flag>
+    <flag name="urlfetch">Enable URLs fetch</flag>
+    <flag name="utils">Builds and installs utils</flag>
+  </use>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libucl/
@ 2016-11-03 16:19 Göktürk Yüksek
  0 siblings, 0 replies; 11+ messages in thread
From: Göktürk Yüksek @ 2016-11-03 16:19 UTC (permalink / raw
  To: gentoo-commits

commit:     80a3628c8e7bbb546163e204c60a291b0d1d17f2
Author:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  3 15:50:16 2016 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Thu Nov  3 16:16:57 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80a3628c

dev-libs/libucl: remove proxied maintainer per his request

Package-Manager: portage-2.2.28

 dev-libs/libucl/metadata.xml | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/dev-libs/libucl/metadata.xml b/dev-libs/libucl/metadata.xml
index 70179d0..28f6c86 100644
--- a/dev-libs/libucl/metadata.xml
+++ b/dev-libs/libucl/metadata.xml
@@ -1,16 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <maintainer type="project">
-    <email>proxy-maint@gentoo.org</email>
-    <name>Proxy Maintainers</name>
-  </maintainer>
-  <maintainer type="person">
-    <email>bugs@bergstroem.nu</email>
-    <name>Johan Bergström</name>
-    <description>Co-maintainer, CC on bugs.</description>
-  </maintainer>
-
+  <!-- maintainer-needed -->
   <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


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libucl/
@ 2017-05-06 15:21 Michael Orlitzky
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Orlitzky @ 2017-05-06 15:21 UTC (permalink / raw
  To: gentoo-commits

commit:     b071e217316205e7e189e6f903b59dc594c66080
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sat May  6 15:19:51 2017 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat May  6 15:20:11 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b071e217

dev-libs/libucl: update flag description for USE=utils.

The "utils" USE flag enables two utilities currently: chargen and
objdump. I've mentioned them explicitly in metadata.xml, and left
a comment about a new utility in a future (unpackaged) version.

Gentoo-Bug: 600762

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-libs/libucl/metadata.xml | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/dev-libs/libucl/metadata.xml b/dev-libs/libucl/metadata.xml
index f564bfde4e3..6d4d014359b 100644
--- a/dev-libs/libucl/metadata.xml
+++ b/dev-libs/libucl/metadata.xml
@@ -2,16 +2,20 @@
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
   <!-- maintainer-needed -->
-  <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>
+  <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>
   <use>
     <flag name="regex">Enable regex checking for schema</flag>
     <flag name="signatures">Enable signatures check</flag>
     <flag name="urlfetch">Enable URLs fetch</flag>
-    <flag name="utils">Builds and installs utils</flag>
+
+    <!-- in v0.8.0, also the ucl-tool utility -->
+    <flag name="utils">Install the chargen and objdump utilities</flag>
   </use>
   <upstream>
     <remote-id type="github">vstakhov/libucl</remote-id>


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libucl/
@ 2020-06-06  2:00 Aaron Bauman
  0 siblings, 0 replies; 11+ messages in thread
From: Aaron Bauman @ 2020-06-06  2:00 UTC (permalink / raw
  To: gentoo-commits

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>gentoo@aisha.cc</email>
+    <name>Aisha Tammy</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>proxy-maint@gentoo.org</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>


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libucl/
@ 2020-06-15  2:29 Aaron Bauman
  0 siblings, 0 replies; 11+ messages in thread
From: Aaron Bauman @ 2020-06-15  2:29 UTC (permalink / raw
  To: gentoo-commits

commit:     8aba75f223d0b5d4f4f5620120b3df688fdc94c4
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Mon Jun 15 00:00:52 2020 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Mon Jun 15 02:29:00 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aba75f2

dev-libs/libucl: remove static libs + libtool .la

Closes: https://bugs.gentoo.org/727388
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
Closes: https://github.com/gentoo/gentoo/pull/16247
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 dev-libs/libucl/{libucl-0.8.1.ebuild => libucl-0.8.1-r1.ebuild} | 7 +++++--
 dev-libs/libucl/libucl-9999.ebuild                              | 7 +++++--
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/dev-libs/libucl/libucl-0.8.1.ebuild b/dev-libs/libucl/libucl-0.8.1-r1.ebuild
similarity index 84%
rename from dev-libs/libucl/libucl-0.8.1.ebuild
rename to dev-libs/libucl/libucl-0.8.1-r1.ebuild
index a019e11cbc8..3a7e1f46c4f 100644
--- a/dev-libs/libucl/libucl-0.8.1.ebuild
+++ b/dev-libs/libucl/libucl-0.8.1-r1.ebuild
@@ -19,7 +19,7 @@ fi
 LICENSE="BSD-2"
 SLOT="0"
 
-IUSE="lua +regex sign urls +utils static"
+IUSE="lua +regex sign urls +utils static-libs"
 
 DEPEND="!!dev-libs/ucl
 	lua? ( >=dev-lang/lua-5.1:= )
@@ -53,5 +53,8 @@ src_install() {
 	default
 	DOCS+=( $(usex lua "doc/lua_api.md" "") )
 	einstalldocs
-	use static || find "${ED}" -name "*.la" -delete
+	if ! use static-libs; then
+		find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || \
+			die "error while deleting static library"
+	fi
 }

diff --git a/dev-libs/libucl/libucl-9999.ebuild b/dev-libs/libucl/libucl-9999.ebuild
index a019e11cbc8..3a7e1f46c4f 100644
--- a/dev-libs/libucl/libucl-9999.ebuild
+++ b/dev-libs/libucl/libucl-9999.ebuild
@@ -19,7 +19,7 @@ fi
 LICENSE="BSD-2"
 SLOT="0"
 
-IUSE="lua +regex sign urls +utils static"
+IUSE="lua +regex sign urls +utils static-libs"
 
 DEPEND="!!dev-libs/ucl
 	lua? ( >=dev-lang/lua-5.1:= )
@@ -53,5 +53,8 @@ src_install() {
 	default
 	DOCS+=( $(usex lua "doc/lua_api.md" "") )
 	einstalldocs
-	use static || find "${ED}" -name "*.la" -delete
+	if ! use static-libs; then
+		find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || \
+			die "error while deleting static library"
+	fi
 }


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libucl/
@ 2020-10-02  6:43 Joonas Niilola
  0 siblings, 0 replies; 11+ messages in thread
From: Joonas Niilola @ 2020-10-02  6:43 UTC (permalink / raw
  To: gentoo-commits

commit:     14417032265abdc663c6f7c65da3eedd9b2dc008
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Thu Oct  1 16:38:35 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Oct  2 06:35:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14417032

dev-libs/libucl: remove failing tests

no version bump as these tests were
remote calls and removal has no effect on anything

Closes: https://bugs.gentoo.org/732090
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
Closes: https://github.com/gentoo/gentoo/pull/17734
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-libs/libucl/libucl-0.8.1-r1.ebuild | 2 ++
 dev-libs/libucl/libucl-9999.ebuild     | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/dev-libs/libucl/libucl-0.8.1-r1.ebuild b/dev-libs/libucl/libucl-0.8.1-r1.ebuild
index 3a7e1f46c4f..c4c4911fe04 100644
--- a/dev-libs/libucl/libucl-0.8.1-r1.ebuild
+++ b/dev-libs/libucl/libucl-0.8.1-r1.ebuild
@@ -35,6 +35,8 @@ DOCS=( README.md doc/api.md )
 
 src_prepare() {
 	default
+	rm tests/schema/{definitions,ref{,Remote}}.json || die
+
 	eautoreconf
 }
 

diff --git a/dev-libs/libucl/libucl-9999.ebuild b/dev-libs/libucl/libucl-9999.ebuild
index 3a7e1f46c4f..c4c4911fe04 100644
--- a/dev-libs/libucl/libucl-9999.ebuild
+++ b/dev-libs/libucl/libucl-9999.ebuild
@@ -35,6 +35,8 @@ DOCS=( README.md doc/api.md )
 
 src_prepare() {
 	default
+	rm tests/schema/{definitions,ref{,Remote}}.json || die
+
 	eautoreconf
 }
 


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libucl/
@ 2020-12-27 17:53 Sam James
  0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2020-12-27 17:53 UTC (permalink / raw
  To: gentoo-commits

commit:     e350fb836f6e37b8acfcc62f42a8607ef233065d
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Sun Dec 27 17:02:37 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 27 17:53:16 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e350fb83

dev-libs/libucl: fix lua USE flag

remove calling lua_setup and co. when
not with USE lua
Closes: https://bugs.gentoo.org/761808

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
Closes: https://github.com/gentoo/gentoo/pull/18837
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/libucl/libucl-0.8.1-r100.ebuild | 4 +++-
 dev-libs/libucl/libucl-9999.ebuild       | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libucl/libucl-0.8.1-r100.ebuild b/dev-libs/libucl/libucl-0.8.1-r100.ebuild
index 66e66cd2dc8..d576b86cdf0 100644
--- a/dev-libs/libucl/libucl-0.8.1-r100.ebuild
+++ b/dev-libs/libucl/libucl-0.8.1-r100.ebuild
@@ -42,7 +42,7 @@ src_prepare() {
 }
 
 src_configure() {
-	lua_setup
+	use lua && lua_setup
 
 	local myeconfargs=(
 		"$(use_enable lua)"
@@ -50,6 +50,8 @@ src_configure() {
 		"$(use_enable sign signatures)"
 		"$(use_enable urls)"
 		"$(use_enable utils)"
+	)
+	use lua && myeconfargs+=(
 		LUA_INCLUDE="$(lua_get_CFLAGS)"
 		LIB_LIBS="$(lua_get_LIBS)"
 	)

diff --git a/dev-libs/libucl/libucl-9999.ebuild b/dev-libs/libucl/libucl-9999.ebuild
index 66e66cd2dc8..d576b86cdf0 100644
--- a/dev-libs/libucl/libucl-9999.ebuild
+++ b/dev-libs/libucl/libucl-9999.ebuild
@@ -42,7 +42,7 @@ src_prepare() {
 }
 
 src_configure() {
-	lua_setup
+	use lua && lua_setup
 
 	local myeconfargs=(
 		"$(use_enable lua)"
@@ -50,6 +50,8 @@ src_configure() {
 		"$(use_enable sign signatures)"
 		"$(use_enable urls)"
 		"$(use_enable utils)"
+	)
+	use lua && myeconfargs+=(
 		LUA_INCLUDE="$(lua_get_CFLAGS)"
 		LIB_LIBS="$(lua_get_LIBS)"
 	)


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libucl/
@ 2021-03-26 19:46 Conrad Kostecki
  0 siblings, 0 replies; 11+ messages in thread
From: Conrad Kostecki @ 2021-03-26 19:46 UTC (permalink / raw
  To: gentoo-commits

commit:     18fcd4bd01d9f190d7591081e89dac38cfd08186
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 26 19:07:39 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Mar 26 19:45:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18fcd4bd

dev-libs/libucl: drop old version

Dropping old version, which does not support slotted lua

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-libs/libucl/libucl-0.8.1-r1.ebuild | 62 ----------------------------------
 1 file changed, 62 deletions(-)

diff --git a/dev-libs/libucl/libucl-0.8.1-r1.ebuild b/dev-libs/libucl/libucl-0.8.1-r1.ebuild
deleted file mode 100644
index 8c59554dfc5..00000000000
--- a/dev-libs/libucl/libucl-0.8.1-r1.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# 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-libs"
-
-DEPEND="!!dev-libs/ucl
-	lua? ( >=dev-lang/lua-5.1:0= )
-	urls? ( net-misc/curl )
-	sign? ( dev-libs/openssl:0 )
-"
-BDEPEND="${DEPEND}
-	virtual/pkgconfig
-"
-RDEPEND="${DEPEND}"
-
-DOCS=( README.md doc/api.md )
-
-src_prepare() {
-	default
-	rm tests/schema/{definitions,ref{,Remote}}.json || die
-
-	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
-	if ! use static-libs; then
-		find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || \
-			die "error while deleting static library"
-	fi
-}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libucl/
@ 2022-10-24 15:52 Sam James
  0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2022-10-24 15:52 UTC (permalink / raw
  To: gentoo-commits

commit:     3bb07c1c0ddc91c019d9406c45796391525af5c8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 24 14:36:31 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 24 15:51:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bb07c1c

dev-libs/libucl: fix build with USE=-lua

Closes: https://bugs.gentoo.org/878031
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/libucl/libucl-0.8.1-r100.ebuild | 8 +++++---
 dev-libs/libucl/libucl-9999.ebuild       | 8 +++++---
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/dev-libs/libucl/libucl-0.8.1-r100.ebuild b/dev-libs/libucl/libucl-0.8.1-r100.ebuild
index 2eb9fa97c158..8b3e4c0b5cc2 100644
--- a/dev-libs/libucl/libucl-0.8.1-r100.ebuild
+++ b/dev-libs/libucl/libucl-0.8.1-r100.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -35,6 +35,10 @@ RDEPEND="${DEPEND}"
 
 DOCS=( README.md doc/api.md )
 
+pkg_setup() {
+	use lua && lua_pkg_setup
+}
+
 src_prepare() {
 	default
 	rm tests/schema/{definitions,ref{,Remote}}.json || die
@@ -42,8 +46,6 @@ src_prepare() {
 }
 
 src_configure() {
-	use lua && lua_setup
-
 	local myeconfargs=(
 		"$(use_enable lua)"
 		"$(use_enable regex)"

diff --git a/dev-libs/libucl/libucl-9999.ebuild b/dev-libs/libucl/libucl-9999.ebuild
index 2eb9fa97c158..8b3e4c0b5cc2 100644
--- a/dev-libs/libucl/libucl-9999.ebuild
+++ b/dev-libs/libucl/libucl-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -35,6 +35,10 @@ RDEPEND="${DEPEND}"
 
 DOCS=( README.md doc/api.md )
 
+pkg_setup() {
+	use lua && lua_pkg_setup
+}
+
 src_prepare() {
 	default
 	rm tests/schema/{definitions,ref{,Remote}}.json || die
@@ -42,8 +46,6 @@ src_prepare() {
 }
 
 src_configure() {
-	use lua && lua_setup
-
 	local myeconfargs=(
 		"$(use_enable lua)"
 		"$(use_enable regex)"


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libucl/
@ 2024-02-23 18:52 Arthur Zamarin
  0 siblings, 0 replies; 11+ messages in thread
From: Arthur Zamarin @ 2024-02-23 18:52 UTC (permalink / raw
  To: gentoo-commits

commit:     defc14e523cb6a873f8a3cd39cd581390c5652ba
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 23 18:51:49 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 23 18:51:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=defc14e5

dev-libs/libucl: sync live

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-libs/libucl/libucl-9999.ebuild | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/dev-libs/libucl/libucl-9999.ebuild b/dev-libs/libucl/libucl-9999.ebuild
index 8b3e4c0b5cc2..3c35afc0af65 100644
--- a/dev-libs/libucl/libucl-9999.ebuild
+++ b/dev-libs/libucl/libucl-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 LUA_COMPAT=( lua5-{1..3} )
 inherit lua-single autotools
@@ -18,7 +18,7 @@ else
 fi
 
 LICENSE="BSD-2"
-SLOT="0"
+SLOT="0/9"
 IUSE="lua +regex sign urls +utils static-libs test"
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"
@@ -36,12 +36,11 @@ RDEPEND="${DEPEND}"
 DOCS=( README.md doc/api.md )
 
 pkg_setup() {
-	use lua && lua_pkg_setup
+	use lua && lua-single_pkg_setup
 }
 
 src_prepare() {
 	default
-	rm tests/schema/{definitions,ref{,Remote}}.json || die
 	eautoreconf
 }
 
@@ -60,10 +59,6 @@ src_configure() {
 	econf "${myeconfargs[@]}"
 }
 
-src_test() {
-	emake check
-}
-
 src_install() {
 	default
 	use lua && DOCS+=( "doc/lua_api.md" )


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libucl/
@ 2024-04-25 17:56 Arthur Zamarin
  0 siblings, 0 replies; 11+ messages in thread
From: Arthur Zamarin @ 2024-04-25 17:56 UTC (permalink / raw
  To: gentoo-commits

commit:     78d3ec1a1550bcf1973333f32ea9c7bad7147f4d
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 25 17:06:09 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 25 17:06:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78d3ec1a

dev-libs/libucl: add 0.9.2

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-libs/libucl/Manifest            |  1 +
 dev-libs/libucl/libucl-0.9.2.ebuild | 70 +++++++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/dev-libs/libucl/Manifest b/dev-libs/libucl/Manifest
index e934da0c046a..d74b4cc231c5 100644
--- a/dev-libs/libucl/Manifest
+++ b/dev-libs/libucl/Manifest
@@ -1,2 +1,3 @@
 DIST libucl-0.8.1.tar.gz 2028394 BLAKE2B 18fda317b4b4aed3d6b72c599d191f141bf4722d1c08244deda9c5e77300e2bef7de029889a05d9b4573472928d9d49a797123ac392a4cdd3b690ac277ad673d SHA512 36a059561eadb2dd7253ca22ff56f6a0c6cdd28580e28451c0cf47e1aec321a2e1589fc83ccb2033346f2dbca31a7e6afa9666ea544a0c190b7f80ed0e9f45af
 DIST libucl-0.9.0.tar.gz 2043656 BLAKE2B eb2aeb1a818caffbadee9e351d144cc58d149b88e171750e1edfb679c9a42d1c0e8ef2a2dac763445e215370a359791f65364658d3d138e2262a46eba341c0f1 SHA512 a7bcb03dc3b5e3b8e5c141fb3edee0c749e20d63ad69fba4d3c6ca56ef56b1130287b0f497de37bf9789c2263a46121c662fedc7a870354c2849d2e14d90cab5
+DIST libucl-0.9.2.tar.gz 2044512 BLAKE2B c0290584517df16ea0e06aa8b5e8c62e8d4f883242a06bec0c385e4d0f5fe8092e076dcb80754963bfca38a9dff62744946096ae16eb547bfc61ffb158951ac4 SHA512 4df54788406baf81c80156cadd938b33aa9a16859981aaa4f82ff447183d87016f647ed22fcdf29fda51b25a58f99f7a1892305aff7c97615f05c125f5966066

diff --git a/dev-libs/libucl/libucl-0.9.2.ebuild b/dev-libs/libucl/libucl-0.9.2.ebuild
new file mode 100644
index 000000000000..3c35afc0af65
--- /dev/null
+++ b/dev-libs/libucl/libucl-0.9.2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1..3} )
+inherit lua-single 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/9"
+IUSE="lua +regex sign urls +utils static-libs test"
+REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
+
+DEPEND="!!dev-libs/ucl
+	lua? ( ${LUA_DEPS} )
+	urls? ( net-misc/curl )
+	sign? ( dev-libs/openssl:0= )
+"
+BDEPEND="${DEPEND}
+	virtual/pkgconfig
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( README.md doc/api.md )
+
+pkg_setup() {
+	use lua && lua-single_pkg_setup
+}
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	local myeconfargs=(
+		"$(use_enable lua)"
+		"$(use_enable regex)"
+		"$(use_enable sign signatures)"
+		"$(use_enable urls)"
+		"$(use_enable utils)"
+	)
+	use lua && myeconfargs+=(
+		LUA_INCLUDE="$(lua_get_CFLAGS)"
+		LIB_LIBS="$(lua_get_LIBS)"
+	)
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+	use lua && DOCS+=( "doc/lua_api.md" )
+	einstalldocs
+	if ! use static-libs; then
+		find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || \
+			die "error while deleting static library"
+	fi
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-04-25 17:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-27 17:53 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libucl/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-04-25 17:56 Arthur Zamarin
2024-02-23 18:52 Arthur Zamarin
2022-10-24 15:52 Sam James
2021-03-26 19:46 Conrad Kostecki
2020-10-02  6:43 Joonas Niilola
2020-06-15  2:29 Aaron Bauman
2020-06-06  2:00 Aaron Bauman
2017-05-06 15:21 Michael Orlitzky
2016-11-03 16:19 Göktürk Yüksek
2016-02-05  8:19 Patrice Clement

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox