From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9959A1581B9 for ; Sun, 28 Sep 2025 17:22:13 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 83C22340D19 for ; Sun, 28 Sep 2025 17:22:13 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 3C0F91104A0; Sun, 28 Sep 2025 17:22:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 2E9471104A0 for ; Sun, 28 Sep 2025 17:22:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AF255340CD7 for ; Sun, 28 Sep 2025 17:22:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3C3A311BD for ; Sun, 28 Sep 2025 17:22:10 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1758771334.14a0ecdd9ca89e611e9543b10de94621dd396d22.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: net-misc/xh/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-misc/xh/Manifest net-misc/xh/xh-0.25.0.ebuild X-VCS-Directories: net-misc/xh/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 14a0ecdd9ca89e611e9543b10de94621dd396d22 X-VCS-Branch: master Date: Sun, 28 Sep 2025 17:22:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e14d3c76-6e49-4111-8fca-0305c8fd2797 X-Archives-Hash: d1b43279e2404bd89abb651080c95d5b commit: 14a0ecdd9ca89e611e9543b10de94621dd396d22 Author: Jonas Frei pm me> AuthorDate: Thu Sep 25 03:25:47 2025 +0000 Commit: David Roman gmail com> CommitDate: Thu Sep 25 03:35:34 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=14a0ecdd net-misc/xh: add 0.25.0 Signed-off-by: Jonas Frei pm.me> net-misc/xh/Manifest | 2 ++ net-misc/xh/xh-0.25.0.ebuild | 56 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/net-misc/xh/Manifest b/net-misc/xh/Manifest index a6a2c5a4a2..30e277953f 100644 --- a/net-misc/xh/Manifest +++ b/net-misc/xh/Manifest @@ -1,2 +1,4 @@ DIST xh-0.24.1-crates.tar.xz 23274872 BLAKE2B d50151439333bc7719f68187867e29e805b2bb64fe169d98ba456e9c1b0942f3a4d1146d82b2fd240591faf296826fa8f04d16341165eeb715ff502eb7d118ce SHA512 d2c88e5f140292e152013ba665c9990aa08209e2039c8b2f46ad0f2aa68d7428226b004c9bf1a1a6a2a353f6a57f680c5624020b8cfcbb901df1ecaa28c5044b DIST xh-0.24.1.tar.gz 308352 BLAKE2B bc1018d22826f4dee2d52071ae76940564cf2defdba4effff57f6460a123922df46274daa94adbc7bf8fd59181c13e8244e2217f01c52d2ac1bf26f06eca48b5 SHA512 89df24e63e81e925d6f4806ab2b9819d4f9265828128d83d03b874792befebf238c17109bedcbeb0bc56b0eaf621cd3843cbc9851cd9dd8c48aefe36dce452d2 +DIST xh-0.25.0-crates.tar.xz 25724028 BLAKE2B 25d6d942f400c4486c9e399d7e31910ae1b048673d6e2a579ace18ba41b815f759a438d882632bbf0755df7c223232b2c7b153aec3d5fe88ab51dab3d389e1b0 SHA512 b3d087c1c08b05a4d2f6ace4f1e096eb2c94f64e8cc7a95ce2c974d68571f475d5e515faeb9a39f440a1170bcff4462d687b3f1f2e62bae0975a0d572eb11506 +DIST xh-0.25.0.tar.gz 311469 BLAKE2B 6e8f2ac2bae89bcbc5f417d82b6dd4d89db0d1181cf97eee9812617f7d180e73cfa5ac12d49319613fec5b24b8ec67e8dde6776c8f4869f6aecd9fdc0296ed48 SHA512 52d7f87019c23bb89a189f3e79a2f29255b52dcc7616ef7a9ed32c262bf05c021c6e6cdb677c3e75e50e7118fad73e27094793ec57e69d92d46793dfea44bdc9 diff --git a/net-misc/xh/xh-0.25.0.ebuild b/net-misc/xh/xh-0.25.0.ebuild new file mode 100644 index 0000000000..8ec6745cc1 --- /dev/null +++ b/net-misc/xh/xh-0.25.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +RUST_MIN_VER=1.82.0 + +inherit cargo shell-completion + +DESCRIPTION="Friendly and fast tool for sending HTTP requests" +HOMEPAGE="https://github.com/ducaale/xh" +SRC_URI="https://github.com/ducaale/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://github.com/freijon/${PN}/releases/download/v${PV}/${P}-crates.tar.xz" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" Apache-2.0 BSD ISC MIT MPL-2.0 Unicode-DFS-2016" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="test" + +DEPEND=" + dev-libs/oniguruma:= + dev-libs/openssl:0= +" +RDEPEND="${DEPEND}" + +DOCS=( {CHANGELOG,README}.md ) + +QA_FLAGS_IGNORED="usr/bin/${PN}" + +src_configure() { + # high magic to allow system-libs + export OPENSSL_NO_VENDOR=true + export RUSTONIG_SYSTEM_LIBONIG=1 + + myfeatures=( + native-tls + ) + + cargo_src_configure --no-default-features +} + +src_install() { + cargo_src_install + + # See https://github.com/ducaale/xh#making-https-requests-by-default + dosym "${PN}" "/usr/bin/${PN}s" + + einstalldocs + doman "doc/${PN}.1" + + newbashcomp "completions/${PN}.bash" "${PN}" + dozshcomp "completions/_${PN}" + dofishcomp "completions/${PN}.fish" +}