---
 repoman/lib/repoman/copyrights.py               |  4 ++--
 repoman/lib/repoman/tests/simple/test_simple.py | 10 ++++++++++
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/repoman/lib/repoman/copyrights.py 
b/repoman/lib/repoman/copyrights.py
index 94257c942..25627b3fc 100644
--- a/repoman/lib/repoman/copyrights.py
+++ b/repoman/lib/repoman/copyrights.py
@@ -15,9 +15,9 @@ from portage import util
 
 
 _copyright_re1 = \
-       re.compile(br'^(# Copyright \d\d\d\d)-\d\d\d\d( Gentoo Foundation)\b')
+       re.compile(br'^(# Copyright \d\d\d\d)-\d\d\d\d( Gentoo 
(Foundation|Authors))\b')
 _copyright_re2 = \
-       re.compile(br'^(# Copyright )(\d\d\d\d)( Gentoo Foundation)\b')
+       re.compile(br'^(# Copyright )(\d\d\d\d)( Gentoo 
(Foundation|Authors))\b')
 
 
 class _copyright_repl(object):
diff --git a/repoman/lib/repoman/tests/simple/test_simple.py 
b/repoman/lib/repoman/tests/simple/test_simple.py
index 3d7a70ad0..351dde2c7 100644
--- a/repoman/lib/repoman/tests/simple/test_simple.py
+++ b/repoman/lib/repoman/tests/simple/test_simple.py
@@ -35,6 +35,16 @@ class SimpleRepomanTestCase(TestCase):
                                '# Copyright 1999 Gentoo Foundation; 
Distributed under the GPL v2',
                                '# Copyright 1999 Gentoo Foundation; 
Distributed under the GPL v2',
                        ),
+                       (
+                               '2018',
+                               '# Copyright 1999-2008 Gentoo Authors; 
Distributed under the GPL v2',
+                               '# Copyright 1999-2018 Gentoo Authors; 
Distributed under the GPL v2',
+                       ),
+                       (
+                               '2018',
+                               '# Copyright 2017 Gentoo Authors; Distributed 
under the GPL v2',
+                               '# Copyright 2017-2018 Gentoo Authors; 
Distributed under the GPL v2',
+                       ),
                )
 
                for year, before, after in test_cases:
-- 
2.19.0


Reply via email to