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: Sun, 22 Sep 2024 11:08:54 +0000 (UTC)	[thread overview]
Message-ID: <1727003300.7d981fd7985e46026edc69a1c6055dc4f6c97a40.sam@gentoo> (raw)

commit:     7d981fd7985e46026edc69a1c6055dc4f6c97a40
Author:     Emanuele Torre <torreemanuele6 <AT> gmail <DOT> com>
AuthorDate: Fri Sep 20 08:05:32 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 22 11:08:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d981fd7

net-misc/trurl: add 0.16

https://github.com/curl/trurl/releases/tag/trurl-0.16

Signed-off-by: Emanuele Torre <torreemanuele6 <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38700
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/trurl/Manifest          |  1 +
 net-misc/trurl/trurl-0.16.ebuild | 49 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/net-misc/trurl/Manifest b/net-misc/trurl/Manifest
index 06eee8f0023a..909f70d23366 100644
--- a/net-misc/trurl/Manifest
+++ b/net-misc/trurl/Manifest
@@ -1,2 +1,3 @@
 DIST trurl-0.14.tar.gz 47830 BLAKE2B 15be36ef5c5989cf15d3983827055c793f15ae59efe8e02cc2f55ad9b19c528bb568aacc0583590017a6d6a3a74db1bd6bd3e18d3fee1c7c7d86e71f503d57f7 SHA512 25c1a3035095065368c8a11547e1d918b6f688e293982895a7bc27d9e161c0193ceccfaa0c2440f5c42a8ba4d5176a3f6a4fb843f5fa573328ef9baf5a438165
 DIST trurl-0.15.1.tar.gz 51397 BLAKE2B 41104b5e3b9bfbba17aaa829e5a0766879af963c73f5548d26eac8a80c0f8eb61da77de11a4dfd6321be522121f12ab239384e8e720d72564d4c841d395de0f2 SHA512 b2aabc77861686de137f0013c8782309bf04c0fa51a657384dca0d0f89aa0ca166d7de2c5d7c5c1ff63c1c4a5564e127658e2965dc4ab164939c1c4223f76eac
+DIST trurl-0.16.tar.gz 54414 BLAKE2B ace93c0ec54e81131bed91a78092bb5a2768a92cf2dee763f29327221a2b5ac3f657c7500e1f1cb895a29c1dd73500c15140eaadede72a6ee57a31d7ebe5c414 SHA512 4411769ba36109dc0e0c27ff605b7b6eb9dc9da3ab53290dc0049f44d853f7363699a9e22716dbf4c2d912f5c0c1556ea0d14f55475f44b48ea2e320b00a75e7

diff --git a/net-misc/trurl/trurl-0.16.ebuild b/net-misc/trurl/trurl-0.16.ebuild
new file mode 100644
index 000000000000..b27cb174ba1e
--- /dev/null
+++ b/net-misc/trurl/trurl-0.16.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit toolchain-funcs python-any-r1
+
+DESCRIPTION="Command line tool for URL parsing and manipulation"
+HOMEPAGE="https://curl.se/trurl/ https://daniel.haxx.se/blog/2023/04/03/introducing-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 ~arm ~arm64"
+fi
+
+LICENSE="curl"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+# Older curls may work but not all features will be present
+DEPEND=">=net-misc/curl-7.81.0"
+RDEPEND="${DEPEND}"
+BDEPEND="test? ( ${PYTHON_DEPS} )"
+
+pkg_setup() {
+	use test && python-any-r1_pkg_setup
+}
+
+src_compile() {
+	tc-export CC
+	export NDEBUG=1
+
+	default
+}
+
+src_test() {
+	emake PYTHON3="${EPYTHON}" test
+}
+
+src_install() {
+	emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
+}


             reply	other threads:[~2024-09-22 11:08 UTC|newest]

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