From 9efcd3a84225d441661fde94e6c161f4a5cd73ab Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Wed, 15 Nov 2023 22:31:08 +0200 Subject: [PATCH] Update copyright * Cleanup inconsistencies in the headers while at it Signed-off-by: Alfred Wingate --- bin/euscan | 7 +++---- bin/euscan_patch_metadata | 3 +++ src/euscan/__init__.py | 3 +-- src/euscan/ebuild.py | 4 ++++ src/euscan/handlers/__init__.py | 4 ++++ src/euscan/handlers/berlios.py | 4 ++++ src/euscan/handlers/cpan.py | 4 ++++ src/euscan/handlers/deb.py | 4 ++++ src/euscan/handlers/freecode.py | 4 ++++ src/euscan/handlers/generic.py | 4 ++++ src/euscan/handlers/github.py | 4 ++++ src/euscan/handlers/gnome.py | 4 +++- src/euscan/handlers/google_code.py | 4 ++++ src/euscan/handlers/kde.py | 4 ++++ src/euscan/handlers/pear.py | 4 ++++ src/euscan/handlers/pecl.py | 4 ++++ src/euscan/handlers/php.py | 4 ++++ src/euscan/handlers/pypi.py | 4 ++++ src/euscan/handlers/rubygems.py | 4 ++++ src/euscan/handlers/sourceforge.py | 4 ++++ src/euscan/handlers/url.py | 4 ++++ src/euscan/helpers.py | 4 ++++ src/euscan/mangling.py | 4 ++++ src/euscan/out.py | 4 ++++ src/euscan/scan.py | 4 ++++ src/euscan/version.py | 4 ++++ 26 files changed, 98 insertions(+), 7 deletions(-) diff --git a/bin/euscan b/bin/euscan index 6c3502e..3427c96 100755 --- a/bin/euscan +++ b/bin/euscan @@ -1,8 +1,7 @@ #!/usr/bin/env python - -"""Copyright 2011 Gentoo Foundation -Distributed under the terms of the GNU General Public License v2 -""" +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 import os diff --git a/bin/euscan_patch_metadata b/bin/euscan_patch_metadata index 21cd3de..746fd2e 100755 --- a/bin/euscan_patch_metadata +++ b/bin/euscan_patch_metadata @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 import gzip import logging diff --git a/src/euscan/__init__.py b/src/euscan/__init__.py index 3fcdf2b..2fa6ac4 100644 --- a/src/euscan/__init__.py +++ b/src/euscan/__init__.py @@ -1,6 +1,5 @@ -#!/usr/bin/python -# # Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group # Distributed under the terms of the GNU General Public License v2 import configparser diff --git a/src/euscan/ebuild.py b/src/euscan/ebuild.py index 70ff038..2dae1f3 100644 --- a/src/euscan/ebuild.py +++ b/src/euscan/ebuild.py @@ -1,3 +1,7 @@ +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 + import importlib import os import sys diff --git a/src/euscan/handlers/__init__.py b/src/euscan/handlers/__init__.py index b19c57b..4e426c4 100644 --- a/src/euscan/handlers/__init__.py +++ b/src/euscan/handlers/__init__.py @@ -1,3 +1,7 @@ +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 + import os import pkgutil import sys diff --git a/src/euscan/handlers/berlios.py b/src/euscan/handlers/berlios.py index 690d66d..2759dbe 100644 --- a/src/euscan/handlers/berlios.py +++ b/src/euscan/handlers/berlios.py @@ -1,3 +1,7 @@ +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 + import re import urllib.error import urllib.parse diff --git a/src/euscan/handlers/cpan.py b/src/euscan/handlers/cpan.py index 42dfc28..4b44351 100644 --- a/src/euscan/handlers/cpan.py +++ b/src/euscan/handlers/cpan.py @@ -1,3 +1,7 @@ +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 + import json import re import urllib.error diff --git a/src/euscan/handlers/deb.py b/src/euscan/handlers/deb.py index f0de1fe..620f420 100644 --- a/src/euscan/handlers/deb.py +++ b/src/euscan/handlers/deb.py @@ -1,3 +1,7 @@ +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 + import bz2 import re import urllib.error diff --git a/src/euscan/handlers/freecode.py b/src/euscan/handlers/freecode.py index 8980d45..ad96d64 100644 --- a/src/euscan/handlers/freecode.py +++ b/src/euscan/handlers/freecode.py @@ -1,3 +1,7 @@ +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 + import re import urllib.error import urllib.parse diff --git a/src/euscan/handlers/generic.py b/src/euscan/handlers/generic.py index c6aa28c..9d3910a 100644 --- a/src/euscan/handlers/generic.py +++ b/src/euscan/handlers/generic.py @@ -1,3 +1,7 @@ +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 + import difflib import io import re diff --git a/src/euscan/handlers/github.py b/src/euscan/handlers/github.py index 247b457..86873e3 100644 --- a/src/euscan/handlers/github.py +++ b/src/euscan/handlers/github.py @@ -1,3 +1,7 @@ +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 + import json import re import urllib.error diff --git a/src/euscan/handlers/gnome.py b/src/euscan/handlers/gnome.py index 0ab8927..a488a46 100644 --- a/src/euscan/handlers/gnome.py +++ b/src/euscan/handlers/gnome.py @@ -1,4 +1,6 @@ -# -*- coding: utf-8 -*- +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 import re import urllib.error diff --git a/src/euscan/handlers/google_code.py b/src/euscan/handlers/google_code.py index b3591a3..7d4d195 100644 --- a/src/euscan/handlers/google_code.py +++ b/src/euscan/handlers/google_code.py @@ -1,3 +1,7 @@ +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 + import re import portage diff --git a/src/euscan/handlers/kde.py b/src/euscan/handlers/kde.py index 78457d0..a337fdb 100644 --- a/src/euscan/handlers/kde.py +++ b/src/euscan/handlers/kde.py @@ -1,3 +1,7 @@ +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 + from euscan.handlers import generic PRIORITY = 90 diff --git a/src/euscan/handlers/pear.py b/src/euscan/handlers/pear.py index f0b47b2..b146f7f 100644 --- a/src/euscan/handlers/pear.py +++ b/src/euscan/handlers/pear.py @@ -1,3 +1,7 @@ +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 + from euscan.handlers import php HANDLER_NAME = "pear" diff --git a/src/euscan/handlers/pecl.py b/src/euscan/handlers/pecl.py index 3265a86..449fbef 100644 --- a/src/euscan/handlers/pecl.py +++ b/src/euscan/handlers/pecl.py @@ -1,3 +1,7 @@ +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 + from euscan.handlers import php HANDLER_NAME = "pecl" diff --git a/src/euscan/handlers/php.py b/src/euscan/handlers/php.py index 4546b13..e661490 100644 --- a/src/euscan/handlers/php.py +++ b/src/euscan/handlers/php.py @@ -1,3 +1,7 @@ +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 + import re import urllib.error import urllib.parse diff --git a/src/euscan/handlers/pypi.py b/src/euscan/handlers/pypi.py index dff8522..aa09027 100644 --- a/src/euscan/handlers/pypi.py +++ b/src/euscan/handlers/pypi.py @@ -1,3 +1,7 @@ +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 + import re import xmlrpc.client diff --git a/src/euscan/handlers/rubygems.py b/src/euscan/handlers/rubygems.py index 045f6b2..0614ad9 100644 --- a/src/euscan/handlers/rubygems.py +++ b/src/euscan/handlers/rubygems.py @@ -1,3 +1,7 @@ +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 + import json import re import urllib.error diff --git a/src/euscan/handlers/sourceforge.py b/src/euscan/handlers/sourceforge.py index 2c89892..6d4a757 100644 --- a/src/euscan/handlers/sourceforge.py +++ b/src/euscan/handlers/sourceforge.py @@ -1,3 +1,7 @@ +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 + import re import portage diff --git a/src/euscan/handlers/url.py b/src/euscan/handlers/url.py index 730fce4..8662510 100644 --- a/src/euscan/handlers/url.py +++ b/src/euscan/handlers/url.py @@ -1,3 +1,7 @@ +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 + import re import urllib.error import urllib.parse diff --git a/src/euscan/helpers.py b/src/euscan/helpers.py index ab6e374..605479d 100644 --- a/src/euscan/helpers.py +++ b/src/euscan/helpers.py @@ -1,3 +1,7 @@ +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 + import errno import os import re diff --git a/src/euscan/mangling.py b/src/euscan/mangling.py index c50ea50..1db3776 100644 --- a/src/euscan/mangling.py +++ b/src/euscan/mangling.py @@ -1,3 +1,7 @@ +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 + import re import euscan.handlers diff --git a/src/euscan/out.py b/src/euscan/out.py index 32ed3d0..43dad06 100644 --- a/src/euscan/out.py +++ b/src/euscan/out.py @@ -1,3 +1,7 @@ +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 + import json import re import signal diff --git a/src/euscan/scan.py b/src/euscan/scan.py index 106a30f..d1f4689 100644 --- a/src/euscan/scan.py +++ b/src/euscan/scan.py @@ -1,3 +1,7 @@ +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 + import os import sys from datetime import datetime diff --git a/src/euscan/version.py b/src/euscan/version.py index 8ea5b78..0b8290a 100644 --- a/src/euscan/version.py +++ b/src/euscan/version.py @@ -1,3 +1,7 @@ +# Copyright 2011 Corentin Chary +# Copyright 2020-2023 src_prepare group +# Distributed under the terms of the GNU General Public License v2 + import re gentoo_unstable = ("alpha", "beta", "pre", "rc")