From 4fd0b4be36694866a5992f1b4fcd9cb5e869c455 Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Tue, 30 Apr 2019 17:38:32 +0200 Subject: [PATCH] texlive: add copyright header to scripts --- packages/texlive/check_for_conflicts.py | 19 ++++++++++++++++++- packages/texlive/parse_tlpdb.py | 17 +++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/packages/texlive/check_for_conflicts.py b/packages/texlive/check_for_conflicts.py index 3649f7988..4ec8f3d87 100644 --- a/packages/texlive/check_for_conflicts.py +++ b/packages/texlive/check_for_conflicts.py @@ -1,6 +1,23 @@ #!/usr/bin/python3 +## +## Tiny script to check if all texlive's subpackages contain conflicting files +## +## Copyright (C) 2019 Henrik Grimler +## +## This program is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program. If not, see . + -# Tiny script to check if all texlive's subpackages contain conflicting files with open("collections.txt", "r") as f: pkgs = f.read().split("\n") diff --git a/packages/texlive/parse_tlpdb.py b/packages/texlive/parse_tlpdb.py index 240f771ec..8573078b8 100755 --- a/packages/texlive/parse_tlpdb.py +++ b/packages/texlive/parse_tlpdb.py @@ -1,4 +1,21 @@ #!/usr/bin/python3 +## +## Script to parse texlive.tlpdb and get list of files in a package +## +## Copyright (C) 2019 Henrik Grimler +## +## This program is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program. If not, see . def parse_tlpdb_to_dict(tlpdb_path): """Reads given tlpdb database and creates dict with packages and their dependencies and files