dev-util/quilttools: Add patch and bump python version

Add patch for picking up Reviewed-and-tested-by tags and bump python version to
3.8 as notmuch has been updated.

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
This commit is contained in:
Kurt Kanzenbach
2020-08-29 14:06:22 +02:00
parent eb9a65aa24
commit 5d375d1949
2 changed files with 44 additions and 1 deletions

View File

@@ -0,0 +1,41 @@
From: Kurt Kanzenbach <kurt@kmk-computers.de>
Subject: mb2q: Pickup Reviewed-and-tested-by tags
Date: Sat, 22 Aug 2020 12:49:06 +0200
From: Kurt Kanzenbach <kurt@kmk-computers.de>
Currently Reviewed-and-tested-by tags are ignored. Pick them up in the same way
as Reported-and-tested-by is handled.
Example mail:
https://lkml.kernel.org/netdev/87k0ylgv80.fsf@mellanox.com/
Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
---
mb2q | 4 ++++
1 file changed, 4 insertions(+)
Index: quilttools/mb2q
===================================================================
--- quilttools.orig/mb2q
+++ quilttools/mb2q
@@ -211,6 +211,7 @@ tag_order = [
'Originally-by',
'Co-developed-by',
'Signed-off-by',
+ 'Reviewed-and-tested-by',
'Tested-by',
'Reviewed-by',
'Acked-by',
@@ -360,6 +361,9 @@ class patchmsg(object):
if tag == 'Reported-and-tested-by':
self.add_tag('Reported-by', addr)
tag = 'Tested-by'
+ if tag == 'Reviewed-and-tested-by':
+ self.add_tag('Reviewed-by', addr)
+ tag = 'Tested-by'
self.add_tag(tag, addr)
return True
i += 1

View File

@@ -3,7 +3,7 @@
EAPI=7 EAPI=7
PYTHON_COMPAT=(python3_{6,7}) PYTHON_COMPAT=(python3_{6..8})
inherit python-single-r1 inherit python-single-r1
@@ -25,6 +25,8 @@ RDEPEND="${PYTHON_DEPS}
net-mail/notmuch[python,${PYTHON_MULTI_USEDEP}] net-mail/notmuch[python,${PYTHON_MULTI_USEDEP}]
')" ')"
PATCHES=( "${FILESDIR}/${P}-tags.patch" )
src_compile() { src_compile() {
emake -C Documentation man emake -C Documentation man
use doc && emake -C Documentation html use doc && emake -C Documentation html