public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libpsl/
Date: Mon, 18 Mar 2019 16:20:47 +0000 (UTC)	[thread overview]
Message-ID: <1552926042.7aebbbc9c4f3e51af7ab3fb435c503c0cf26738d.polynomial-c@gentoo> (raw)

commit:     7aebbbc9c4f3e51af7ab3fb435c503c0cf26738d
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 18 16:20:23 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 16:20:42 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7aebbbc9

net-libs/libpsl: Initial commit

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 net-libs/libpsl/Manifest             |  1 +
 net-libs/libpsl/libpsl-0.20.2.ebuild | 67 ++++++++++++++++++++++++++++++++++++
 net-libs/libpsl/metadata.xml         | 14 ++++++++
 3 files changed, 82 insertions(+)

diff --git a/net-libs/libpsl/Manifest b/net-libs/libpsl/Manifest
new file mode 100644
index 00000000000..e9fbf64bcb0
--- /dev/null
+++ b/net-libs/libpsl/Manifest
@@ -0,0 +1 @@
+DIST libpsl-0.20.2.tar.gz 9228099 BLAKE2B d53b8a036ba557704c4d3a498b35fd25e3dfc466d5161040d02b7d8d47af2138cce2bdbb8203fca0591408440f1b4cfab776fe0d2ecd68959f426d903cab08d4 SHA512 fa9f6f7f0447d9fe00f5dfca5262c56ff26217eea44d0f7fc1e5d982224c41874e753f0aa06dd9e5d7d03d4f04e3dacd4f36034cc8dd0fc6e2c28b49a23e62fe

diff --git a/net-libs/libpsl/libpsl-0.20.2.ebuild b/net-libs/libpsl/libpsl-0.20.2.ebuild
new file mode 100644
index 00000000000..4873768c063
--- /dev/null
+++ b/net-libs/libpsl/libpsl-0.20.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="C library for the Public Suffix List"
+HOMEPAGE="https://github.com/rockdaboot/libpsl"
+SRC_URI="https://github.com/rockdaboot/${PN}/releases/download/${P}/${P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="icu +idn +man"
+
+REQUIRED_USE="^^ ( icu idn )"
+
+RDEPEND="
+	icu? ( dev-libs/icu:= )
+	idn? (
+		dev-libs/libunistring
+		net-dns/libidn2:=
+	)
+"
+
+DEPEND="
+	${RDEPEND}
+"
+BDEPEND="
+	dev-util/gtk-doc
+	sys-devel/gettext
+	virtual/pkgconfig
+	man? ( dev-libs/libxslt )
+"
+
+src_configure() {
+	local myeconfargs=(
+		--enable-ubsan
+		--disable-asan
+		--disable-cfi
+		$(use_enable man)
+	)
+
+	if use icu || use idn ; then
+		if use icu ; then
+			myeconfargs+=(
+				--enable-builtin=libicu
+				--enable-runtime=libicu
+			)
+		fi
+		if use idn ; then
+			myeconfargs+=(
+				--enable-builtin=libidn2
+				--enable-runtime=libidn2
+			)
+		fi
+	else
+		myeconfargs+=( --disable-runtime )
+	fi
+
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+
+	find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
+}

diff --git a/net-libs/libpsl/metadata.xml b/net-libs/libpsl/metadata.xml
new file mode 100644
index 00000000000..93c95ae3fa8
--- /dev/null
+++ b/net-libs/libpsl/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>polynomial-c@gentoo.org</email>
+    <name>Lars Wendler</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">rockdaboot/libpsl</remote-id>
+  </upstream>
+  <use>
+    <flag name="man">Build man-pages</flag>
+  </use>
+</pkgmetadata>


             reply	other threads:[~2019-03-18 16:20 UTC|newest]

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

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=1552926042.7aebbbc9c4f3e51af7ab3fb435c503c0cf26738d.polynomial-c@gentoo \
    --to=polynomial-c@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