From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BEA0715810F for ; Sat, 10 Jun 2023 16:38:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DE50BE088B; Sat, 10 Jun 2023 16:38:28 +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 pigeon.gentoo.org (Postfix) with ESMTPS id C017BE088B for ; Sat, 10 Jun 2023 16:38:28 +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 CBD103411A7 for ; Sat, 10 Jun 2023 16:38:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 37809A85 for ; Sat, 10 Jun 2023 16:38:26 +0000 (UTC) From: "Jakov Smolić" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" Message-ID: <1686415091.cf6f9b83bc364f8dd4c054fdcbf605a2cf39024d.jsmolic@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/jdupes/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/jdupes/Manifest app-misc/jdupes/jdupes-1.23.0.ebuild X-VCS-Directories: app-misc/jdupes/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: cf6f9b83bc364f8dd4c054fdcbf605a2cf39024d X-VCS-Branch: master Date: Sat, 10 Jun 2023 16:38:26 +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: f6328482-0044-4281-9cc6-05514810bd44 X-Archives-Hash: d67b80d44259cf7cbcc789b3946655ee commit: cf6f9b83bc364f8dd4c054fdcbf605a2cf39024d Author: Jakov Smolić gentoo org> AuthorDate: Sat Jun 10 16:34:13 2023 +0000 Commit: Jakov Smolić gentoo org> CommitDate: Sat Jun 10 16:38:11 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf6f9b83 app-misc/jdupes: add 1.23.0 Closes: https://bugs.gentoo.org/904994 Signed-off-by: Jakov Smolić gentoo.org> app-misc/jdupes/Manifest | 1 + app-misc/jdupes/jdupes-1.23.0.ebuild | 47 ++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/app-misc/jdupes/Manifest b/app-misc/jdupes/Manifest index f35e6827e877..8dc97db0aba6 100644 --- a/app-misc/jdupes/Manifest +++ b/app-misc/jdupes/Manifest @@ -1 +1,2 @@ DIST jdupes-1.21.3.tar.gz 155979 BLAKE2B b7d978aa8cc4574ce3a201e283a1cfccf6751689725f5307b78e47a9f1defd360d58be3ba2f558a6f40e7108a1ea4f0dd3c14d2332d14278c4114d303da3eea6 SHA512 22284adb1650dc44dfc74320799ac68e02e8d31685dd376d5f938d10308d117ae8af39273fbfec73f7e5a22e9685be96c92f0e12d9ebc81f11c255ada60abe83 +DIST jdupes-1.23.0.tar.gz 147647 BLAKE2B 10c09c39d54e78cbfa693f94c4305104cb46ae5f835ba4dfa308fcab5f0c920570d821aa48b1434e4fe63e754b6380e00daacc69ad05c33222a44fd05bff9e7e SHA512 27e3021592180e7573727a98290471693d92d98db72ace2a48b0b075f9762a9089338a65f112b93b07b33ecd9eb16f97f183da847e331e3af10627074875f810 diff --git a/app-misc/jdupes/jdupes-1.23.0.ebuild b/app-misc/jdupes/jdupes-1.23.0.ebuild new file mode 100644 index 000000000000..86270d6d71e7 --- /dev/null +++ b/app-misc/jdupes/jdupes-1.23.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Identify duplicate files on the filesystem" +HOMEPAGE="https://github.com/jbruchon/jdupes" +if [[ "${PV}" == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/jbruchon/jdupes.git" + inherit git-r3 +else + SRC_URI="https://github.com/jbruchon/jdupes/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi +LICENSE="MIT" +SLOT="0" + +DEPEND="dev-libs/libjodycode" +RDEPEND="${DEPEND}" + +IUSE="+dedupe lowmem hardened" + +# missing test.sh script +# https://github.com/jbruchon/jdupes/issues/191 +RESTRICT="test" + +src_prepare() { + sed -i -e '/PREFIX/s/=/?=/' Makefile || die + default +} + +src_compile() { + tc-export CC + local myconf=( + $(usex dedupe 'ENABLE_DEDUPE=1' '') + $(usex lowmem 'LOW_MEMORY=1' '') + $(usex hardened 'HARDEN=1' '') + ) + emake ${myconf[@]} +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install + einstalldocs +}