summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2022-12-19 22:16:58 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2022-12-19 22:18:33 +0100
commitd49ed7e9a94fe41be0ef8324d27ef745a69dcd20 (patch)
tree254c342d8789aa1c0c8b12e4df2413d8cfcb6165 /app-backup/rdiff-backup/files
parentprofiles: add loong 23.0 profiles (diff)
downloadgentoo-d49ed7e9a94fe41be0ef8324d27ef745a69dcd20.tar.gz
gentoo-d49ed7e9a94fe41be0ef8324d27ef745a69dcd20.tar.bz2
gentoo-d49ed7e9a94fe41be0ef8324d27ef745a69dcd20.zip
app-backup/rdiff-backup: manually install manpages
Using build/ generates errors when multiple python version are enabled Closes: https://bugs.gentoo.org/887261 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'app-backup/rdiff-backup/files')
-rw-r--r--app-backup/rdiff-backup/files/rdiff-backup-2.2.0-no-manpages.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/app-backup/rdiff-backup/files/rdiff-backup-2.2.0-no-manpages.patch b/app-backup/rdiff-backup/files/rdiff-backup-2.2.0-no-manpages.patch
new file mode 100644
index 000000000000..207bf6cfe106
--- /dev/null
+++ b/app-backup/rdiff-backup/files/rdiff-backup-2.2.0-no-manpages.patch
@@ -0,0 +1,35 @@
+diff -Naur rdiff-backup-2.2.0.orig/setup.py rdiff-backup-2.2.0/setup.py
+--- rdiff-backup-2.2.0.orig/setup.py 2022-12-18 09:19:30.000000000 +0100
++++ rdiff-backup-2.2.0/setup.py 2022-12-19 22:00:43.289239007 +0100
+@@ -283,10 +283,7 @@
+ ),
+ ],
+ data_files=[
+- ("share/man/man1", ["build/rdiff-backup.1",
+- "build/rdiff-backup-old.1",
+- "build/rdiff-backup-delete.1",
+- "build/rdiff-backup-statistics.1"]),
++ ("share/man/man1", ["build/rdiff-backup-old.1"]),
+ (
+ "share/doc/rdiff-backup", [
+ "CHANGELOG.adoc",
+@@ -311,19 +308,6 @@
+ ("tools/rdiff-backup.spec.template-fedora", "build/rdiff-backup.fedora.spec"),
+ ("docs/rdiff-backup-old.1", "build/rdiff-backup-old.1"),
+ ]},
+- "build_exec": {"commands": [
+- ("asciidoctor -b manpage -a revdate=\"{date}\" "
+- "-a revnumber=\"{ver}\" -o {outfile} {infile}",
+- ("docs", "rdiff-backup.1.adoc"), ("build", "rdiff-backup.1")),
+- ("asciidoctor -b manpage -a revdate=\"{date}\" "
+- "-a revnumber=\"{ver}\" -o {outfile} {infile}",
+- ("docs", "rdiff-backup-statistics.1.adoc"),
+- ("build", "rdiff-backup-statistics.1")),
+- ("asciidoctor -b manpage -a revdate=\"{date}\" "
+- "-a revnumber=\"{ver}\" -o {outfile} {infile}",
+- ("docs", "rdiff-backup-delete.1.adoc"),
+- ("build", "rdiff-backup-delete.1")),
+- ]},
+ },
+ cmdclass={
+ 'build_exec': build_exec,