From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1719853-garchives=archives.gentoo.org@lists.gentoo.org> 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 894541582EF for <garchives@archives.gentoo.org>; Fri, 21 Feb 2025 05:26:32 +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)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 70A16343088 for <garchives@archives.gentoo.org>; Fri, 21 Feb 2025 05:26:32 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 669E81102A2; Fri, 21 Feb 2025 05:26:31 +0000 (UTC) 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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 5C2751102A2 for <gentoo-commits@lists.gentoo.org>; Fri, 21 Feb 2025 05:26:31 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0324A343059 for <gentoo-commits@lists.gentoo.org>; Fri, 21 Feb 2025 05:26:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8E6EC2654 for <gentoo-commits@lists.gentoo.org>; Fri, 21 Feb 2025 05:26:29 +0000 (UTC) From: "Jonas Frei" <freijon@pm.me> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jonas Frei" <freijon@pm.me> Message-ID: <1740115241.067bff8af750caae56badbcda1f02ffcced66696.freijon@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/xh/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-misc/xh/Manifest net-misc/xh/xh-0.24.0.ebuild X-VCS-Directories: net-misc/xh/ X-VCS-Committer: freijon X-VCS-Committer-Name: Jonas Frei X-VCS-Revision: 067bff8af750caae56badbcda1f02ffcced66696 X-VCS-Branch: dev Date: Fri, 21 Feb 2025 05:26:29 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c3c760a4-92b2-47fc-bbff-1cbf630148be X-Archives-Hash: a004677950af2e99230c1ccf2b931230 commit: 067bff8af750caae56badbcda1f02ffcced66696 Author: Jonas Frei <freijon <AT> pm <DOT> me> AuthorDate: Thu Feb 20 04:32:52 2025 +0000 Commit: Jonas Frei <freijon <AT> pm <DOT> me> CommitDate: Fri Feb 21 05:20:41 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=067bff8a net-misc/xh: add 0.24.0 Signed-off-by: Jonas Frei <freijon <AT> pm.me> net-misc/xh/Manifest | 2 ++ net-misc/xh/xh-0.24.0.ebuild | 57 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/net-misc/xh/Manifest b/net-misc/xh/Manifest index 5929b4295..bb46d933d 100644 --- a/net-misc/xh/Manifest +++ b/net-misc/xh/Manifest @@ -1,2 +1,4 @@ DIST xh-0.23.1-crates.tar.xz 25520712 BLAKE2B 070403ebf0c590f3acd1844f76fa2f5c1bea1c52522b2bc7e183c5fe2e60e9e55fa65b8b047602183b836671894dfd86dce01fe8faebe83a8bf66268867eb084 SHA512 fe767c4e8da398c56482a0516319ff773e072e822878e44fe717c2602e64ade689efe93d9e4ad2a55d6fc522843a05bcc454546a8c1405ba183760c604fc82df DIST xh-0.23.1.tar.gz 303570 BLAKE2B 304c868f490a102de85ceb113cd57e03b2760835b6b823fec0831f2626cd7aac2d9841dcba561b27fcd9789633828f70e73f993ed61a44090c83b5d1e408f1d5 SHA512 b9097bacb9b4a28038db3f687077e013cde6074023c2a73a934989edd109b495ca2abac39f2c7bc6a98e8050260ec2161e88e7e10e2a40a2ae5288bf81d73f0e +DIST xh-0.24.0-crates.tar.xz 23258888 BLAKE2B 15c1142abf224677ba14fb163e6b353c53803e02ab663f904569017a226f63440b0b62d5b831e52b6a0a7c37b0faaeecb871f756c378f63fc5275a32ea93ed2a SHA512 f9242d433cdf8f9090a9c6e99153cb0a8b4720ec747ff534907f2a5708b896793f9b155d65b8257e6e02cd8d8f013e9743478cf702c687e5b139d7413acc7b45 +DIST xh-0.24.0.tar.gz 303464 BLAKE2B 7e9eb7bc24e77e310261b70bab63c3325539c232da118210b9b7c43138265c1b526ecdd600f713188758bbb7b48f8f84b032673b668743b2f5a2282d5fdb882f SHA512 13bdfbc8598cc5f826dc6ae8df14ff3463061140dcc1b8db26dd8659d1d4f396ef5c1cd9b98e9a0779f91a0719140c67e9a623c0c49188979b20cc9b092614eb diff --git a/net-misc/xh/xh-0.24.0.ebuild b/net-misc/xh/xh-0.24.0.ebuild new file mode 100644 index 000000000..ad0acd400 --- /dev/null +++ b/net-misc/xh/xh-0.24.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES="" + +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" +DEPS_URI="https://github.com/freijon/${PN}/releases/download/v${PV}/${P}-crates.tar.xz" +SRC_URI+=" ${DEPS_URI}" + +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" +}