public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libpsl/
Date: Tue, 27 Dec 2022 10:42:50 +0000 (UTC)	[thread overview]
Message-ID: <1672137741.85b87fcaed4c750bfa90343e8fa122ce476728ea.sam@gentoo> (raw)

commit:     85b87fcaed4c750bfa90343e8fa122ce476728ea
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 27 10:36:34 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 27 10:42:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85b87fca

net-libs/libpsl: add 0.21.2

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/libpsl/Manifest             |  1 +
 net-libs/libpsl/libpsl-0.21.2.ebuild | 59 ++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/net-libs/libpsl/Manifest b/net-libs/libpsl/Manifest
index aa270fd801d1..7bd4b6bebd02 100644
--- a/net-libs/libpsl/Manifest
+++ b/net-libs/libpsl/Manifest
@@ -1 +1,2 @@
 DIST libpsl-0.21.1.tar.gz 9199351 BLAKE2B 87c72651303a7870fd3f742e9ce8028e0dd48d3ded78ae7dea317ce54b98975f372429399b6a2d6746fd8e074d6a3ed13772b6c173f96c3a86aa7d726fd75586 SHA512 a5084b9df4ff2a0b1f5074b20972efe0da846473396d27b57967c7f6aa190ab3c910b4bfc4f8f03802f08decbbad5820d850c36ad59610262ae37fe77de0c7f5
+DIST libpsl-0.21.2.tar.gz 7617025 BLAKE2B b50f805bb467dc3284bc91645a37a2208098ad809d3771c74ef13c3b8f6029a07ad80a56702c7e3d1a1125d272403c85dd97b64a28465b9ff2d095eaf94b9a4d SHA512 f1df72220bf4391d4701007100b0df66c833a2cbcb7481c9d13f0b9e0cad3b66d2d15d4b976e5bad60d2ad1540355112fa1acb07aa925c241d2d7cd20681c71d

diff --git a/net-libs/libpsl/libpsl-0.21.2.ebuild b/net-libs/libpsl/libpsl-0.21.2.ebuild
new file mode 100644
index 000000000000..0a8623f9e742
--- /dev/null
+++ b/net-libs/libpsl/libpsl-0.21.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit meson-multilib python-any-r1
+
+DESCRIPTION="C library for the Public Suffix List"
+HOMEPAGE="https://github.com/rockdaboot/libpsl"
+SRC_URI="https://github.com/rockdaboot/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="icu +idn"
+
+RDEPEND="
+	icu? ( !idn? ( dev-libs/icu:=[${MULTILIB_USEDEP}] ) )
+	idn? (
+		dev-libs/libunistring:=[${MULTILIB_USEDEP}]
+		net-dns/libidn2:=[${MULTILIB_USEDEP}]
+	)
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	${PYTHON_DEPS}
+	sys-devel/gettext
+	virtual/pkgconfig
+"
+
+pkg_pretend() {
+	if use icu && use idn ; then
+		ewarn "\"icu\" and \"idn\" USE flags are enabled. Using \"idn\"."
+	fi
+}
+
+multilib_src_configure() {
+	local emesonargs=()
+
+	# Prefer idn even if icu is in USE as well
+	if use idn ; then
+		emesonargs+=(
+			-Druntime=libidn2
+			-Dbuiltin=true
+		)
+	elif use icu ; then
+		emesonargs+=(
+			-Druntime=libicu
+			-Dbuiltin=true
+		)
+	else
+		emesonargs+=(
+			-Druntime=no
+		)
+	fi
+
+	meson_src_configure
+}


             reply	other threads:[~2022-12-27 10:42 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-27 10:42 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-09 17:31 [gentoo-commits] repo/gentoo:master commit in: net-libs/libpsl/ Eli Schwartz
2024-08-20 15:45 Eli Schwartz
2024-03-19  3:42 Ionen Wolkens
2024-03-02 18:34 Arthur Zamarin
2024-03-02 10:18 Arthur Zamarin
2024-02-29 22:17 Sam James
2024-02-21  0:38 Sam James
2024-02-21  0:38 Sam James
2024-02-21  0:38 Sam James
2024-02-21  0:38 Sam James
2024-02-13 21:31 Matt Jolly
2024-01-20 20:17 Fabian Groffen
2024-01-14  2:30 Sam James
2023-06-22  3:28 Matt Turner
2023-03-17 17:30 Sam James
2023-03-17 17:22 Sam James
2023-03-17 16:45 Arthur Zamarin
2023-03-17 16:09 Arthur Zamarin
2023-03-17 16:04 Arthur Zamarin
2022-12-19  8:56 Florian Schmaus
2022-12-18 12:46 Sam James
2022-12-18 12:11 Sam James
2022-12-18 12:11 Sam James
2022-12-18 11:39 Sam James
2022-12-18 11:34 Sam James
2022-12-18 11:32 Sam James
2022-11-06 18:25 Matt Turner
2022-11-06 18:25 Matt Turner
2022-05-17 12:48 WANG Xuerui
2022-03-24 22:21 Lars Wendler
2021-08-15 22:45 James Le Cuirot
2021-05-24  4:30 Joshua Kinard
2020-10-06 15:07 Lars Wendler
2020-07-19  7:39 Lars Wendler
2020-07-19  7:29 Lars Wendler
2020-04-17 18:55 Andreas Sturmlechner
2020-04-17 18:55 Andreas Sturmlechner
2020-01-11 20:01 Mart Raudsepp
2019-07-13 12:08 Sergei Trofimovich
2019-07-03  7:11 Agostino Sarubbo
2019-06-27 12:35 Agostino Sarubbo
2019-06-17 19:40 Sergei Trofimovich
2019-06-17 10:07 Mikle Kolyada
2019-06-12 11:21 Lars Wendler
2019-05-23 13:02 Mikle Kolyada
2019-05-10 17:49 Mikle Kolyada
2019-05-10 17:33 Mikle Kolyada
2019-05-09 20:04 Aaron Bauman
2019-05-08  9:33 Mikle Kolyada
2019-05-07 20:48 Matt Turner
2019-05-01 19:52 Sergei Trofimovich
2019-05-01 19:52 Sergei Trofimovich
2019-04-17 12:20 Lars Wendler
2019-04-08 22:48 Aaron Bauman
2019-03-28  6:41 Lars Wendler
2019-03-25 11:43 Mikle Kolyada
2019-03-24 19:38 Sergei Trofimovich
2019-03-24 13:08 Sergei Trofimovich
2019-03-20 19:37 Sergei Trofimovich
2019-03-19 16:00 Lars Wendler
2019-03-19 12:21 Alexis Ballier
2019-03-19  9:40 Lars Wendler
2019-03-18 16:34 Lars Wendler
2019-03-18 16:24 Lars Wendler
2019-03-18 16:20 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1672137741.85b87fcaed4c750bfa90343e8fa122ce476728ea.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox