public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/jdupes/
@ 2021-08-11 21:04 Alexander Holcomb
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Holcomb @ 2021-08-11 21:04 UTC (permalink / raw
  To: gentoo-commits

commit:     53badd07b1a884e4f341cfac7174cf61d7f9c2a4
Author:     Alexander Edward Holcomb <alex <AT> alexsdigital <DOT> rodeo>
AuthorDate: Wed Aug 11 20:55:12 2021 +0000
Commit:     Alexander Holcomb <alex <AT> alexsdigital <DOT> rodeo>
CommitDate: Wed Aug 11 21:01:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=53badd07

app-misc/jdupes: Add ebuild for jdupes duplicate finder

Adds ebuild, metadata.xml, and Manifest files.
Added to app-misc because fdupes is located there in the gentoo repo.

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alex Holcomb <alex <AT> alexsdigital.rodeo>

 app-misc/jdupes/Manifest             |  1 +
 app-misc/jdupes/jdupes-1.20.0.ebuild | 28 ++++++++++++++++++++++++++++
 app-misc/jdupes/metadata.xml         | 15 +++++++++++++++
 3 files changed, 44 insertions(+)

diff --git a/app-misc/jdupes/Manifest b/app-misc/jdupes/Manifest
new file mode 100644
index 000000000..121841923
--- /dev/null
+++ b/app-misc/jdupes/Manifest
@@ -0,0 +1 @@
+DIST v1.20.0.tar.gz 93809 BLAKE2B cce6ca06794ee3af9523e3c86550ff2b49a5f42a13278bd61c99099b4c2cab1a392bc973c44593acb23b7e8f99d4f23518f526244182a0d9d3b4084e80cc1015 SHA512 62bb78a902e77f0c9acce93c7c139fc2aaa5911aa85322a372dd0e6b375ee5c4992e91b821fa3f9eb407820657f57591303c9bc14a9fe453d9a4c5651caf05ff

diff --git a/app-misc/jdupes/jdupes-1.20.0.ebuild b/app-misc/jdupes/jdupes-1.20.0.ebuild
new file mode 100644
index 000000000..aa250ca62
--- /dev/null
+++ b/app-misc/jdupes/jdupes-1.20.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+#inherit toolchain-funcs
+
+DESCRIPTION="Identify and manipulate duplicate files"
+HOMEPAGE="https://www.jodybruchon.com/software/#jdupes"
+SRC_URI="https://github.com/jbruchon/jdupes/archive/refs/tags/v1.20.0.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+#DOCS=( CHANGES CONTRIBUTORS README )
+src_configure() {
+#	econf
+	sed -in 's/local//' Makefile
+}
+src_compile() {
+	emake
+}

diff --git a/app-misc/jdupes/metadata.xml b/app-misc/jdupes/metadata.xml
new file mode 100644
index 000000000..311b7d127
--- /dev/null
+++ b/app-misc/jdupes/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>alex@alexsdigital.rodeo</email>
+		<name>Alex Holcomb</name>
+	</maintainer>
+	<upstream>
+		<bugs-to>https://github.com/jbruchon/jdupes/issues</bugs-to>
+	</upstream>
+	<longdescription>
+	jdupes is a program for finding and dealing with duplicate files. It was forked from fdupes, and intends to accomplish the same result while adding features and being noticeably faster.
+	</longdescription>
+</pkgmetadata>
+


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/jdupes/
@ 2021-08-13 19:02 Anna Vyalkova
  0 siblings, 0 replies; 3+ messages in thread
From: Anna Vyalkova @ 2021-08-13 19:02 UTC (permalink / raw
  To: gentoo-commits

commit:     d76d6154411bbaaa51a775817c806c225ea28311
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Aug 13 18:59:41 2021 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Fri Aug 13 19:01:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d76d6154

app-misc/jdupes: fix ebuild

Closes: https://bugs.gentoo.org/807961
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 app-misc/jdupes/Manifest             |  2 +-
 app-misc/jdupes/jdupes-1.20.0.ebuild | 28 +++++++++++++++++-----------
 app-misc/jdupes/metadata.xml         | 10 +++++++++-
 3 files changed, 27 insertions(+), 13 deletions(-)

diff --git a/app-misc/jdupes/Manifest b/app-misc/jdupes/Manifest
index 121841923..d6600033b 100644
--- a/app-misc/jdupes/Manifest
+++ b/app-misc/jdupes/Manifest
@@ -1 +1 @@
-DIST v1.20.0.tar.gz 93809 BLAKE2B cce6ca06794ee3af9523e3c86550ff2b49a5f42a13278bd61c99099b4c2cab1a392bc973c44593acb23b7e8f99d4f23518f526244182a0d9d3b4084e80cc1015 SHA512 62bb78a902e77f0c9acce93c7c139fc2aaa5911aa85322a372dd0e6b375ee5c4992e91b821fa3f9eb407820657f57591303c9bc14a9fe453d9a4c5651caf05ff
+DIST jdupes-1.20.0.tar.gz 93809 BLAKE2B cce6ca06794ee3af9523e3c86550ff2b49a5f42a13278bd61c99099b4c2cab1a392bc973c44593acb23b7e8f99d4f23518f526244182a0d9d3b4084e80cc1015 SHA512 62bb78a902e77f0c9acce93c7c139fc2aaa5911aa85322a372dd0e6b375ee5c4992e91b821fa3f9eb407820657f57591303c9bc14a9fe453d9a4c5651caf05ff

diff --git a/app-misc/jdupes/jdupes-1.20.0.ebuild b/app-misc/jdupes/jdupes-1.20.0.ebuild
index aa250ca62..02b728d3d 100644
--- a/app-misc/jdupes/jdupes-1.20.0.ebuild
+++ b/app-misc/jdupes/jdupes-1.20.0.ebuild
@@ -3,26 +3,32 @@
 
 EAPI=7
 
-#inherit toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="Identify and manipulate duplicate files"
-HOMEPAGE="https://www.jodybruchon.com/software/#jdupes"
-SRC_URI="https://github.com/jbruchon/jdupes/archive/refs/tags/v1.20.0.tar.gz"
+HOMEPAGE="https://www.jodybruchon.com/software/#jdupes
+https://github.com/jbruchon/jdupes"
+SRC_URI="https://github.com/jbruchon/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="low-memory"
 
-RDEPEND=""
+# ./test.sh: No such file or directory
+RESTRICT="test"
+
+DOCS=( CHANGES README.md README.stupid_dupes )
 
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-#DOCS=( CHANGES CONTRIBUTORS README )
 src_configure() {
-#	econf
-	sed -in 's/local//' Makefile
+	tc-export CC
 }
+
 src_compile() {
-	emake
+	emake ENABLE_DEDUPE=1 HARDEN=1 LOW_MEMORY=$(usex low-memory 1 0)
+}
+
+src_install() {
+	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+	einstalldocs
 }

diff --git a/app-misc/jdupes/metadata.xml b/app-misc/jdupes/metadata.xml
index 311b7d127..acdd717d8 100644
--- a/app-misc/jdupes/metadata.xml
+++ b/app-misc/jdupes/metadata.xml
@@ -6,10 +6,18 @@
 		<name>Alex Holcomb</name>
 	</maintainer>
 	<upstream>
+		<remote-id type="github">jbruchon/jdupes</remote-id>
 		<bugs-to>https://github.com/jbruchon/jdupes/issues</bugs-to>
 	</upstream>
 	<longdescription>
-	jdupes is a program for finding and dealing with duplicate files. It was forked from fdupes, and intends to accomplish the same result while adding features and being noticeably faster.
+		jdupes is a program for finding and dealing with duplicate
+		files. It was forked from fdupes, and intends to accomplish the
+		same result while adding features and being noticeably faster.
 	</longdescription>
+	<use>
+		<flag name="low-memory">
+			Build for low memory usage at the expense of speed and features
+		</flag>
+	</use>
 </pkgmetadata>
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/jdupes/
  2021-08-24 19:24 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
@ 2021-08-24 19:21 ` Andrew Ammerlaan
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Ammerlaan @ 2021-08-24 19:21 UTC (permalink / raw
  To: gentoo-commits

commit:     c678bb27abc7fd5273b184195b4f7527dfebc141
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 24 19:21:28 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Aug 24 19:21:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c678bb27

app-misc/jdupes: fix badfilename

and other QA fixes, || die etc

Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 app-misc/jdupes/Manifest             |  2 +-
 app-misc/jdupes/jdupes-1.20.0.ebuild | 21 +++++++++++----------
 2 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/app-misc/jdupes/Manifest b/app-misc/jdupes/Manifest
index 121841923..d6600033b 100644
--- a/app-misc/jdupes/Manifest
+++ b/app-misc/jdupes/Manifest
@@ -1 +1 @@
-DIST v1.20.0.tar.gz 93809 BLAKE2B cce6ca06794ee3af9523e3c86550ff2b49a5f42a13278bd61c99099b4c2cab1a392bc973c44593acb23b7e8f99d4f23518f526244182a0d9d3b4084e80cc1015 SHA512 62bb78a902e77f0c9acce93c7c139fc2aaa5911aa85322a372dd0e6b375ee5c4992e91b821fa3f9eb407820657f57591303c9bc14a9fe453d9a4c5651caf05ff
+DIST jdupes-1.20.0.tar.gz 93809 BLAKE2B cce6ca06794ee3af9523e3c86550ff2b49a5f42a13278bd61c99099b4c2cab1a392bc973c44593acb23b7e8f99d4f23518f526244182a0d9d3b4084e80cc1015 SHA512 62bb78a902e77f0c9acce93c7c139fc2aaa5911aa85322a372dd0e6b375ee5c4992e91b821fa3f9eb407820657f57591303c9bc14a9fe453d9a4c5651caf05ff

diff --git a/app-misc/jdupes/jdupes-1.20.0.ebuild b/app-misc/jdupes/jdupes-1.20.0.ebuild
index 6f4cdf110..31655aa05 100644
--- a/app-misc/jdupes/jdupes-1.20.0.ebuild
+++ b/app-misc/jdupes/jdupes-1.20.0.ebuild
@@ -5,26 +5,27 @@ EAPI=7
 
 DESCRIPTION="Identify and manipulate duplicate files"
 HOMEPAGE="https://www.jodybruchon.com/software/#jdupes"
-SRC_URI="https://github.com/jbruchon/jdupes/archive/refs/tags/v${PV}.tar.gz"
-PATCHES=(
-	"${FILESDIR}/${P}-test.sh.patch")
+SRC_URI="https://github.com/jbruchon/jdupes/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
-RDEPEND=""
+PATCHES=(
+	"${FILESDIR}/${P}-test.sh.patch"
+)
 
-DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
+
 src_prepare(){
-	eapply "${FILESDIR}/${P}-test.sh.patch"
-	chmod +x test.sh
-	eapply_user
+	default
+	chmod +x test.sh || die
 }
+
 src_configure() {
-	sed -in 's/local//' Makefile
+	sed -in 's/local//' Makefile || die
 }
+
 src_compile() {
 	emake
 }


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-24 19:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-13 19:02 [gentoo-commits] repo/proj/guru:dev commit in: app-misc/jdupes/ Anna Vyalkova
  -- strict thread matches above, loose matches on Subject: below --
2021-08-24 19:24 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-08-24 19:21 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-08-11 21:04 Alexander Holcomb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox