Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/miniircd miniircd: Fix `--help' option
details: https://anonhg.NetBSD.org/pkgsrc/rev/62a857efd510
branches: trunk
changeset: 437357:62a857efd510
user: leot <leot%pkgsrc.org@localhost>
date: Fri Aug 21 16:44:11 2020 +0000
description:
miniircd: Fix `--help' option
Backported from upstream commit.
PKGREVISION++
diffstat:
chat/miniircd/Makefile | 3 ++-
chat/miniircd/distinfo | 3 ++-
chat/miniircd/patches/patch-miniircd | 27 +++++++++++++++++++++++++++
3 files changed, 31 insertions(+), 2 deletions(-)
diffs (55 lines):
diff -r 7db2d18d340e -r 62a857efd510 chat/miniircd/Makefile
--- a/chat/miniircd/Makefile Fri Aug 21 16:32:51 2020 +0000
+++ b/chat/miniircd/Makefile Fri Aug 21 16:44:11 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2020/07/16 15:32:11 leot Exp $
+# $NetBSD: Makefile,v 1.3 2020/08/21 16:44:11 leot Exp $
DISTNAME= miniircd-2.0
+PKGREVISION= 1
CATEGORIES= chat python
MASTER_SITES= ${MASTER_SITE_GITHUB:=jrosdahl/}
GITHUB_TAG= v${PKGVERSION_NOREV}
diff -r 7db2d18d340e -r 62a857efd510 chat/miniircd/distinfo
--- a/chat/miniircd/distinfo Fri Aug 21 16:32:51 2020 +0000
+++ b/chat/miniircd/distinfo Fri Aug 21 16:44:11 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2020/07/16 15:32:11 leot Exp $
+$NetBSD: distinfo,v 1.3 2020/08/21 16:44:11 leot Exp $
SHA1 (miniircd-2.0.tar.gz) = e44fd1aca1760942304deccdf229a117df2943cc
RMD160 (miniircd-2.0.tar.gz) = c200bdb13b7a190c0e6152e6c17a2df9f61f9c09
SHA512 (miniircd-2.0.tar.gz) = b3a65d5b54d2e4163b878fb311221dd1e16bcdc9d53718b687e18d1af8ec3f331903b0ef73fd94e2540ff6d41693bf491a8de04b45d1e00c3215b7427108ff56
Size (miniircd-2.0.tar.gz) = 22151 bytes
+SHA1 (patch-miniircd) = 39d26714e24fb280a754df79937db9cedcf691c7
diff -r 7db2d18d340e -r 62a857efd510 chat/miniircd/patches/patch-miniircd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/miniircd/patches/patch-miniircd Fri Aug 21 16:44:11 2020 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-miniircd,v 1.1 2020/08/21 16:44:11 leot Exp $
+
+Properly format default parameter in argparse help messages (fixes
+`--help' option).
+
+Backport from upstream commit dd04e1352102f5d30920334e71f4b376b75c4f17.
+
+--- miniircd.orig 2020-07-16 11:48:28.000000000 +0000
++++ miniircd
+@@ -1087,7 +1087,7 @@ def main(argv: Sequence[str]) -> None:
+ metavar="X",
+ default=10,
+ type=int,
+- help="keep X log files; default: %default",
++ help="keep X log files; default: %(default)s",
+ )
+ ap.add_argument("--log-file", metavar="X", help="store log in file X")
+ ap.add_argument(
+@@ -1095,7 +1095,7 @@ def main(argv: Sequence[str]) -> None:
+ metavar="X",
+ default=10,
+ type=int,
+- help="set maximum log file size to X MiB; default: %default MiB",
++ help="set maximum log file size to X MiB; default: %(default)s MiB",
+ )
+ ap.add_argument(
+ "--motd", metavar="X", help="display file X as message of the day"
Home |
Main Index |
Thread Index |
Old Index