public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-backup/pdumpfs/files/, app-backup/pdumpfs/
@ 2021-10-30 18:04 Jakov Smolić
  0 siblings, 0 replies; 2+ messages in thread
From: Jakov Smolić @ 2021-10-30 18:04 UTC (permalink / raw
  To: gentoo-commits

commit:     acefc0d43fdb9104de9ad35c3933c3c691ed7a16
Author:     Paul Healy <lmiphay <AT> gmail <DOT> com>
AuthorDate: Sat Oct 30 13:43:28 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sat Oct 30 17:58:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acefc0d4

app-backup/pdumpfs: bump to EAPI 8

Replace epatch, dohtml
Bump the minimum ruby version to >=ruby-2.7.4

Bug: https://bugs.gentoo.org/819687
Signed-off-by: Paul Healy <lmiphay <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/22764
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 app-backup/pdumpfs/files/pdumpfs-in-r3.patch   | 40 +++++++++++++++++++++++
 app-backup/pdumpfs/files/pdumpfs-test-r3.patch | 12 +++++++
 app-backup/pdumpfs/pdumpfs-1.3-r3.ebuild       | 44 ++++++++++++++++++++++++++
 3 files changed, 96 insertions(+)

diff --git a/app-backup/pdumpfs/files/pdumpfs-in-r3.patch b/app-backup/pdumpfs/files/pdumpfs-in-r3.patch
new file mode 100644
index 00000000000..b00f9bed575
--- /dev/null
+++ b/app-backup/pdumpfs/files/pdumpfs-in-r3.patch
@@ -0,0 +1,40 @@
+patch by proxy maintainer, P. Healy, April 2015
+# Bug 509960
+--- a/pdumpfs.in_orig	2004-12-21 02:43:12.000000000 +0000
++++ b/pdumpfs.in	2015-04-01 10:58:22.671131947 +0100
+@@ -48,7 +48,7 @@
+ #
+ 
+ require 'find'
+-require 'ftools'
++require 'fileutils'
+ require 'getoptlong'
+ require 'date'
+ 
+@@ -868,7 +868,7 @@
+       today  = File.join(dest, datedir(start_time), base)
+ 
+       File.umask(0077)
+-      File.mkpath(today) unless @dry_run
++      FileUtils.mkpath(today) unless @dry_run
+       if latest
+         update_snapshot(src, latest, today)
+       else
+@@ -1018,7 +1018,7 @@
+ 
+       case type
+       when "directory"
+-        File.mkpath(today)
++        FileUtils.mkpath(today)
+       when "unchanged"
+         File.force_link(latest, today)
+       when "updated"
+@@ -1089,7 +1089,7 @@
+ 
+           case type
+           when "directory"
+-            File.mkpath(t)
++            FileUtils.mkpath(t)
+           when "new_file"
+             copy(s, t)
+           when "symlink"

diff --git a/app-backup/pdumpfs/files/pdumpfs-test-r3.patch b/app-backup/pdumpfs/files/pdumpfs-test-r3.patch
new file mode 100644
index 00000000000..30cd0292dae
--- /dev/null
+++ b/app-backup/pdumpfs/files/pdumpfs-test-r3.patch
@@ -0,0 +1,12 @@
+patch by proxy maintainer, P. Healy, April 2015
+# Bug 509960
+--- a/tests/pdumpfs-test_orig	2004-08-10 07:54:28.000000000 +0100
++++ b/tests/pdumpfs-test	2015-04-01 11:24:35.948633870 +0100
+@@ -17,6 +17,7 @@
+ 
+ ../pdumpfs src dest > tmp.log || exit 1
+ diff -r src dest/$today/src || exit 1
++mkdir -p dest/$yesterday && rmdir dest/$yesterday
+ mv dest/$today dest/$yesterday
+ 
+ echo update > src/foo

diff --git a/app-backup/pdumpfs/pdumpfs-1.3-r3.ebuild b/app-backup/pdumpfs/pdumpfs-1.3-r3.ebuild
new file mode 100644
index 00000000000..38091aedbe1
--- /dev/null
+++ b/app-backup/pdumpfs/pdumpfs-1.3-r3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A daily backup system similar to Plan9's dumpfs"
+HOMEPAGE="http://0xcc.net/pdumpfs/"
+SRC_URI="http://0xcc.net/pdumpfs/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="l10n_ja"
+
+DEPEND=">=dev-lang/ruby-2.7.4"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-in-r3.patch"
+	"${FILESDIR}/${PN}-test-r3.patch"
+)
+
+src_compile() {
+	emake pdumpfs
+}
+
+src_test() {
+	# RUBYOPT=-rauto_gem without rubygems installed will cause ruby to fail, bug #158455 and #163473.
+	export RUBYOPT="${GENTOO_RUBYOPT}"
+	emake check
+}
+
+src_install() {
+	dobin pdumpfs
+
+	doman man/man8/pdumpfs.8
+	dodoc -r doc/*
+
+	if use l10n_ja; then
+		insinto /usr/share/man/ja/man8
+		doins man/ja/man8/pdumpfs.8
+	fi
+
+	dodoc ChangeLog README
+}


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

* [gentoo-commits] repo/gentoo:master commit in: app-backup/pdumpfs/files/, app-backup/pdumpfs/
@ 2021-10-30 18:04 Jakov Smolić
  0 siblings, 0 replies; 2+ messages in thread
From: Jakov Smolić @ 2021-10-30 18:04 UTC (permalink / raw
  To: gentoo-commits

commit:     6ec94f16878058cf1d197f2ecd22a221ffe1e94c
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 30 18:04:17 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sat Oct 30 18:04:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ec94f16

app-backup/pdumpfs: drop 1.3-r2

Closes: https://bugs.gentoo.org/819687
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 app-backup/pdumpfs/files/pdumpfs-in.patch   | 40 ------------------------
 app-backup/pdumpfs/files/pdumpfs-test.patch | 12 --------
 app-backup/pdumpfs/pdumpfs-1.3-r2.ebuild    | 47 -----------------------------
 3 files changed, 99 deletions(-)

diff --git a/app-backup/pdumpfs/files/pdumpfs-in.patch b/app-backup/pdumpfs/files/pdumpfs-in.patch
deleted file mode 100644
index cddfb995918..00000000000
--- a/app-backup/pdumpfs/files/pdumpfs-in.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-patch by proxy maintainer, P. Healy, April 2015
-# Bug 509960
---- pdumpfs.in_orig	2004-12-21 02:43:12.000000000 +0000
-+++ pdumpfs.in	2015-04-01 10:58:22.671131947 +0100
-@@ -48,7 +48,7 @@
- #
- 
- require 'find'
--require 'ftools'
-+require 'fileutils'
- require 'getoptlong'
- require 'date'
- 
-@@ -868,7 +868,7 @@
-       today  = File.join(dest, datedir(start_time), base)
- 
-       File.umask(0077)
--      File.mkpath(today) unless @dry_run
-+      FileUtils.mkpath(today) unless @dry_run
-       if latest
-         update_snapshot(src, latest, today)
-       else
-@@ -1018,7 +1018,7 @@
- 
-       case type
-       when "directory"
--        File.mkpath(today)
-+        FileUtils.mkpath(today)
-       when "unchanged"
-         File.force_link(latest, today)
-       when "updated"
-@@ -1089,7 +1089,7 @@
- 
-           case type
-           when "directory"
--            File.mkpath(t)
-+            FileUtils.mkpath(t)
-           when "new_file"
-             copy(s, t)
-           when "symlink"

diff --git a/app-backup/pdumpfs/files/pdumpfs-test.patch b/app-backup/pdumpfs/files/pdumpfs-test.patch
deleted file mode 100644
index e81e8b0f2d8..00000000000
--- a/app-backup/pdumpfs/files/pdumpfs-test.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-patch by proxy maintainer, P. Healy, April 2015
-# Bug 509960
---- tests/pdumpfs-test_orig	2004-08-10 07:54:28.000000000 +0100
-+++ tests/pdumpfs-test	2015-04-01 11:24:35.948633870 +0100
-@@ -17,6 +17,7 @@
- 
- ../pdumpfs src dest > tmp.log || exit 1
- diff -r src dest/$today/src || exit 1
-+mkdir -p dest/$yesterday && rmdir dest/$yesterday
- mv dest/$today dest/$yesterday
- 
- echo update > src/foo

diff --git a/app-backup/pdumpfs/pdumpfs-1.3-r2.ebuild b/app-backup/pdumpfs/pdumpfs-1.3-r2.ebuild
deleted file mode 100644
index 224e6c596e4..00000000000
--- a/app-backup/pdumpfs/pdumpfs-1.3-r2.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit epatch
-
-DESCRIPTION="A daily backup system similar to Plan9's dumpfs"
-HOMEPAGE="http://0xcc.net/pdumpfs/"
-SRC_URI="http://0xcc.net/pdumpfs/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-IUSE="l10n_ja"
-
-DEPEND=">=dev-lang/ruby-2.0.0_p598"
-
-src_prepare() {
-	# Bug #509960
-	epatch "${FILESDIR}/${PN}-in.patch" \
-		"${FILESDIR}/${PN}-test.patch"
-}
-
-src_compile() {
-	emake pdumpfs
-}
-
-src_test() {
-	# RUBYOPT=-rauto_gem without rubygems installed will cause ruby to fail, bug #158455 and #163473.
-	export RUBYOPT="${GENTOO_RUBYOPT}"
-	emake check
-}
-
-src_install() {
-	dobin pdumpfs
-
-	doman man/man8/pdumpfs.8
-	dohtml -r doc/*
-
-	if use l10n_ja; then
-		insinto /usr/share/man/ja/man8
-		doins man/ja/man8/pdumpfs.8
-	fi
-
-	dodoc ChangeLog README
-}


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

end of thread, other threads:[~2021-10-30 18:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-30 18:04 [gentoo-commits] repo/gentoo:master commit in: app-backup/pdumpfs/files/, app-backup/pdumpfs/ Jakov Smolić
  -- strict thread matches above, loose matches on Subject: below --
2021-10-30 18:04 Jakov Smolić

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