commit:     e984f4a10dd30c3d3254d5a3579c59687f95dab5
Author:     Jonas Frei <freijon <AT> pm <DOT> me>
AuthorDate: Thu Apr 24 18:06:27 2025 +0000
Commit:     Jonas Frei <freijon <AT> pm <DOT> me>
CommitDate: Thu Apr 24 18:09:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e984f4a1

app-arch/ouch: add 0.6.1

Closes: https://bugs.gentoo.org/954216
Closes: https://bugs.gentoo.org/954229
Signed-off-by: Jonas Frei <freijon <AT> pm.me>

 app-arch/ouch/Manifest          |  2 ++
 app-arch/ouch/ouch-0.6.1.ebuild | 52 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/app-arch/ouch/Manifest b/app-arch/ouch/Manifest
index 669bf561a..e4f228dc9 100644
--- a/app-arch/ouch/Manifest
+++ b/app-arch/ouch/Manifest
@@ -1,2 +1,4 @@
 DIST ouch-0.6.0-crates.tar.xz 18626848 BLAKE2B 
ff297077d364a6c63ac088385b09493f2af382484ffb80889eca35c96a147868e1882c980d1090759b1ac7110992832bb3ba6172b3e32d955cee8ebe349ff07c
 SHA512 
8a4f34015fb3fbfb5a9d4a91e475571be55eaa4061d2732d15cf90e9ab1c0b67af9da1a72b95b47a9e077aad68e376e7e69708ddaedc5f872c14494b7363d59d
 DIST ouch-0.6.0.tar.gz 78063 BLAKE2B 
04bad756403977b7419e640bac4373fc148ee5e70d5d20fcb319389d101117b433c9c79e5467a30361505efe4367e227fc7e933d845134be0f85db94bf986777
 SHA512 
8a4e2c172ef51f867631419a346dc0075aff06bc3c0d3d0ef09f3a6e445cef232cf39b453ceb78f5be4d3aaac502c9814b2741f56affc7ab3c764c8cfc5d9e57
+DIST ouch-0.6.1-crates.tar.xz 19393412 BLAKE2B 
fb864b2ff06a5d2fd5bf5d2265256ae92004d58c9aff632e0101ad3a2360e947cc93984c31a5b74dc7162b78da57cdaf5887aede632a8516300adb8a3416ab9c
 SHA512 
b73f10c073bb0b8fdf833e0ed9dec62cf93128af9fa3a865ce2425fbc1dc003143a5af903bcb9573b584788a52ad35095c33e55c05f5fd10442fffdba5cee6dd
+DIST ouch-0.6.1.tar.gz 78107 BLAKE2B 
70a46c94b1af414b118af49ecf3651e2cba5e6d567a3234783401534b660937f608cf09d53a955f470d314264255967240e8b7aa6729a9caad6d546562eb29dc
 SHA512 
53bd164230739640de9c79deb6d34c72daf80908eaf1040c69f92af8c3d247dfeee3e2f3daaecfc027f3df21d36ad82e6f8cc9a2ec8d7f2290bbdbeb350fe60b

diff --git a/app-arch/ouch/ouch-0.6.1.ebuild b/app-arch/ouch/ouch-0.6.1.ebuild
new file mode 100644
index 000000000..3b2deb234
--- /dev/null
+++ b/app-arch/ouch/ouch-0.6.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES=""
+
+LLVM_COMPAT=( {17..19} )
+RUST_NEEDS_LLVM=1
+
+inherit llvm-r1 cargo shell-completion
+
+DESCRIPTION="A cli utility for easily compressing and decompressing files and 
directories."
+HOMEPAGE="https://github.com/ouch-org/ouch";
+SRC_URI="https://github.com/ouch-org/${PN}/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+DEPS_URI="https://github.com/freijon/${PN}/releases/download/${PV}/${P}-crates.tar.xz";
+SRC_URI+=" ${DEPS_URI}"
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0 BSD MIT Unicode-DFS-2016 ZLIB"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+       app-arch/bzip2
+       app-arch/bzip3
+       app-arch/xz-utils
+       sys-libs/zlib
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+       $(llvm_gen_dep 'llvm-core/clang:${LLVM_SLOT}=')
+"
+
+QA_FLAGS_IGNORED="usr/bin/${PN}"
+QA_PRESTRIPPED="usr/bin/${PN}"
+
+src_compile() {
+       local -x OUCH_ARTIFACTS_FOLDER=artifacts
+       cargo_src_compile
+}
+
+src_install() {
+       cargo_src_install
+
+       doman artifacts/*.1
+
+       newbashcomp "artifacts/${PN}.bash" "${PN}"
+       dozshcomp "artifacts/_${PN}"
+       dofishcomp "artifacts/${PN}.fish"
+}

Reply via email to