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-misc/trurl/
Date: Mon,  3 Apr 2023 22:06:33 +0000 (UTC)	[thread overview]
Message-ID: <1680559535.bd10c614994c083dd8087e4b77008c3e60353ff8.sam@gentoo> (raw)

commit:     bd10c614994c083dd8087e4b77008c3e60353ff8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  3 22:04:54 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr  3 22:05:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd10c614

net-misc/trurl: new package, add 0.2, add 9999

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

 net-misc/trurl/Manifest          |  1 +
 net-misc/trurl/metadata.xml      | 11 +++++++++++
 net-misc/trurl/trurl-0.2.ebuild  | 38 ++++++++++++++++++++++++++++++++++++++
 net-misc/trurl/trurl-9999.ebuild | 38 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 88 insertions(+)

diff --git a/net-misc/trurl/Manifest b/net-misc/trurl/Manifest
new file mode 100644
index 000000000000..47c21657781a
--- /dev/null
+++ b/net-misc/trurl/Manifest
@@ -0,0 +1 @@
+DIST trurl-0.2.tar.gz 9095 BLAKE2B 1fab191158ca914c6a8e561095edc5329f7b565849dc1add85d17c05062f46fa82160bc6595c16e28a216821ffab7944edbce3be4a38895191f3c901ccef611f SHA512 e6ad68183acefb09985b453d0bdc7d0afe9e4c916c4e32fe67cee9afd23aa437e0b538cdc9456bc2ed93dc8996c9c64efeeff74a1415f044d0c1e52d0f5f00c7

diff --git a/net-misc/trurl/metadata.xml b/net-misc/trurl/metadata.xml
new file mode 100644
index 000000000000..9c4ccfbaf759
--- /dev/null
+++ b/net-misc/trurl/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>sam@gentoo.org</email>
+		<name>Sam James</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">curl/trurl</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/net-misc/trurl/trurl-0.2.ebuild b/net-misc/trurl/trurl-0.2.ebuild
new file mode 100644
index 000000000000..d746c034e362
--- /dev/null
+++ b/net-misc/trurl/trurl-0.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Command line tool for URL parsing and manipulation"
+HOMEPAGE="https://daniel.haxx.se/blog/2023/04/03/introducing-trurl/ https://github.com/curl/trurl"
+
+if [[ ${PV} == 9999 ]] ; then
+	EGIT_REPO_URI="https://github.com/curl/trurl"
+	inherit git-r3
+else
+	SRC_URI="https://github.com/curl/trurl/archive/refs/tags/${P}.tar.gz"
+	S="${WORKDIR}"/${PN}-${P}
+
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="curl"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND=">=net-misc/curl-7.62.0"
+RDEPEND="${DEPEND}"
+BDEPEND="test? ( dev-lang/perl )"
+
+src_compile() {
+	tc-export CC
+
+	default
+}
+
+src_install() {
+	emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
+}

diff --git a/net-misc/trurl/trurl-9999.ebuild b/net-misc/trurl/trurl-9999.ebuild
new file mode 100644
index 000000000000..d746c034e362
--- /dev/null
+++ b/net-misc/trurl/trurl-9999.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Command line tool for URL parsing and manipulation"
+HOMEPAGE="https://daniel.haxx.se/blog/2023/04/03/introducing-trurl/ https://github.com/curl/trurl"
+
+if [[ ${PV} == 9999 ]] ; then
+	EGIT_REPO_URI="https://github.com/curl/trurl"
+	inherit git-r3
+else
+	SRC_URI="https://github.com/curl/trurl/archive/refs/tags/${P}.tar.gz"
+	S="${WORKDIR}"/${PN}-${P}
+
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="curl"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND=">=net-misc/curl-7.62.0"
+RDEPEND="${DEPEND}"
+BDEPEND="test? ( dev-lang/perl )"
+
+src_compile() {
+	tc-export CC
+
+	default
+}
+
+src_install() {
+	emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
+}


             reply	other threads:[~2023-04-03 22:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-03 22:06 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-04-06  8:15 [gentoo-commits] repo/gentoo:master commit in: net-misc/trurl/ Sam James
2023-04-10  9:50 Sam James
2023-04-18  4:29 Sam James
2023-04-25 13:44 Arthur Zamarin
2023-04-25 19:01 Sam James
2023-05-31  3:39 Sam James
2024-08-22  1:26 Eli Schwartz
2024-09-18  6:17 Sam James
2024-09-22 11:08 Sam James
2024-10-08  7:09 Sam James
2025-01-20  4:14 Sam James
2025-01-20  4:14 Sam James

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=1680559535.bd10c614994c083dd8087e4b77008c3e60353ff8.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