Home | History | Annotate | Download | only in contrib

Lines Matching defs:Copyright

3 # Copyright (C) 2013-2024 Free Software Foundation, Inc.
10 # This script adjusts the copyright notices at the top of source files
13 # Copyright XXXX-YYYY Free Software Foundation, Inc.
16 # that carries a non-FSF copyright.
31 # update-copyright.py --this-year
34 # all copyright notices (and possibly at other times to check whether
37 # update-copyright.py --this-year libitm
121 # Ignore references to copyright in changelog entries.
167 class Copyright:
174 # Non-whitespace characters in a copyright holder's name.
180 # Matches part of a year or copyright holder.
183 # Matches a full copyright notice:
185 # 1: 'Copyright (C)', etc.
190 '|[Cc]opyright\s+@copyright{}'
191 '|copyright = u\''
192 '|@set\s+copyright[\w-]+)'
202 # 4: the copyright holder. Don't allow multiple consecutive
208 # 'copyright' is too noisy, and 'copyright.*[0-9]' falls foul of
209 # HTML header markers, so check for 'copyright' and two digits.
210 self.other_copyright_re = re.compile ('copyright.*[0-9][0-9]',
311 # If it looks like the copyright is incomplete, add the next line.
340 self.errors.report (pathname, 'missing copyright holder')
345 'unrecognised copyright holder: ' + holder)
349 # See whether the copyright is associated with the package
363 # Update the copyright years.
372 + ('' if intro.startswith ('copyright = ') else ' ')
427 # Check for copyright lines that might have slipped by.
430 'unrecognised copyright: %s'
462 def __init__ (self, copyright = Copyright):
464 self.copyright = copyright (self.errors)
503 self.copyright.set_use_quilt (True)
506 self.copyright.include_year (time.localtime().tm_year)
528 self.copyright.process_tree (dir, filter)
561 # Weird ways to compose copyright year
608 # g++.niklas/README contains historical copyright information
665 # Contains no copyright of its own, but quotes the GPL.
681 # Contains markup around the copyright owner.
687 return re.compile ('// \(C\) Copyright Jeremy Siek')
703 class GCCCopyright (Copyright):
705 Copyright.__init__ (self, errors)