public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Fabian Groffen" <grobian@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage-utils:master commit in: man/include/, man/
Date: Fri, 18 May 2018 10:15:26 +0000 (UTC)	[thread overview]
Message-ID: <1526638092.213b183db62d05fc918f323098b19ac260fc2a3c.grobian@gentoo> (raw)

commit:     213b183db62d05fc918f323098b19ac260fc2a3c
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri May 18 10:08:12 2018 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri May 18 10:08:12 2018 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=213b183d

mkman.py: add additional authors to main authors section

 man/include/qfile-99-authors.include | 4 ----
 man/include/qfile-authors.include    | 1 +
 man/mkman.py                         | 5 ++++-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/man/include/qfile-99-authors.include b/man/include/qfile-99-authors.include
deleted file mode 100644
index df3dc39..0000000
--- a/man/include/qfile-99-authors.include
+++ /dev/null
@@ -1,4 +0,0 @@
-.SH "ADDITIONAL CONTRIBUTORS"
-.nf
-TGL degrenier[at]easyconnect.fr
-.fi

diff --git a/man/include/qfile-authors.include b/man/include/qfile-authors.include
new file mode 100644
index 0000000..d90fe2a
--- /dev/null
+++ b/man/include/qfile-authors.include
@@ -0,0 +1 @@
+TGL <degrenier[at]easyconnect.fr>

diff --git a/man/mkman.py b/man/mkman.py
index 8444311..7089320 100755
--- a/man/mkman.py
+++ b/man/mkman.py
@@ -139,7 +139,10 @@ def MkMan(applets, applet, output):
     # Handle any fragments this applet has available
     for frag in sorted(glob.glob(os.path.join(FRAGS_DIR, '%s-*.include' % applet))):
         with open(frag) as f:
-            extra_sections += [x.rstrip() for x in f.readlines()]
+            if "-authors." in frag:
+                authors += [x.rstrip() for x in f.readlines()]
+            else:
+                extra_sections += [x.rstrip() for x in f.readlines()]
 
     data = {
         'applet': applet,


             reply	other threads:[~2018-05-18 10:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-18 10:15 Fabian Groffen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-05-17 11:55 [gentoo-commits] proj/portage-utils:master commit in: man/include/, man/ Fabian Groffen
2019-05-04 11:53 Fabian Groffen
2019-04-28  8:52 Fabian Groffen
2018-04-03 20:00 Fabian Groffen
2018-04-02 18:59 Fabian Groffen
2018-04-02 17:52 Fabian Groffen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1526638092.213b183db62d05fc918f323098b19ac260fc2a3c.grobian@gentoo \
    --to=grobian@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox