Home | History | Annotate | Download | only in etc

Lines Matching defs:Copyright

3 # Copyright (C) 2013-2025 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.
26 # update-copyright.py --this-year
29 # all copyright notices (and possibly at other times to check whether
32 # update-copyright.py --this-year libiberty
129 # Ignore references to copyright in changelog entries.
175 class Copyright:
182 # Non-whitespace characters in a copyright holder's name.
188 # Matches part of a year or copyright holder.
191 # Matches a full copyright notice:
193 # 1: 'Copyright (C)', etc.
198 '|[Cc]opyright\s+@copyright{}'
199 '|@set\s+copyright[\w-]+)'
209 # 4: the copyright holder. Don't allow multiple consecutive
215 # 'copyright' is too noisy, and 'copyright.*[0-9]' falls foul of
216 # HTML header markers, so check for 'copyright' and two digits.
217 self.other_copyright_re = re.compile ('(^|[^\._])copyright[^=]*[0-9][0-9]',
318 # If it looks like the copyright is incomplete, add the next line.
347 self.errors.report (pathname, 'missing copyright holder')
352 'unrecognised copyright holder: ' + holder)
356 # See whether the copyright is associated with the package
370 # Update the copyright years.
375 # A printed copyright date consists of the current year
439 # Check for copyright lines that might have slipped by.
442 'unrecognised copyright: %s'
474 def __init__ (self, copyright = Copyright):
476 self.copyright = copyright (self.errors)
515 self.copyright.set_use_quilt (True)
518 self.copyright.include_year (time.localtime().tm_year)
540 self.copyright.process_tree (dir, filter)
574 class BinutilsCopyright (Copyright):
576 Copyright.__init__ (self, errors)