Skip to content

Commit

Permalink
chore: add license info to source files
Browse files Browse the repository at this point in the history
closes #195
  • Loading branch information
actionless committed Jul 5, 2018
1 parent 4e7a254 commit 7380b93
Show file tree
Hide file tree
Showing 35 changed files with 83 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Makefile
@@ -1,3 +1,5 @@
# This file is licensed under GPLv3, see https://www.gnu.org/licenses/

LANGS := fr ru pt de is tr da nl es

LOCALEDIR := locale
Expand Down
2 changes: 2 additions & 0 deletions maintenance_scripts/Dockerfile
@@ -1,3 +1,5 @@
# This file is licensed under GPLv3, see https://www.gnu.org/licenses/

FROM base/archlinux
WORKDIR /opt/app-build/

Expand Down
3 changes: 3 additions & 0 deletions maintenance_scripts/docker_test.sh
@@ -1,4 +1,7 @@
#!/usr/bin/env bash

# This file is licensed under GPLv3, see https://www.gnu.org/licenses/

#set -euo pipefail
IFS=$'\n\t'

Expand Down
3 changes: 3 additions & 0 deletions maintenance_scripts/tag_release.sh
@@ -1,5 +1,8 @@
#!/usr/bin/env bash
# shellcheck disable=SC2016

# This file is licensed under GPLv3, see https://www.gnu.org/licenses/

set -euo pipefail
IFS=$'\n\t'
aur_repo_dir=~/build/pikaur
Expand Down
3 changes: 3 additions & 0 deletions maintenance_scripts/vulture_whitelist.py
@@ -1,5 +1,8 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

from vulture.whitelist_utils import Whitelist


whitelist = Whitelist()

whitelist.build.PackageBuild._get_deps.deps_destination
Expand Down
1 change: 1 addition & 0 deletions packaging/usr/bin/pikaur
@@ -1,5 +1,6 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

from pikaur.main import main

Expand Down
1 change: 1 addition & 0 deletions pikaur.py
@@ -1,5 +1,6 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

from pikaur.main import main

Expand Down
14 changes: 14 additions & 0 deletions pikaur/__init__.py
@@ -0,0 +1,14 @@
"""
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 <https://www.gnu.org/licenses/>.
"""
2 changes: 2 additions & 0 deletions pikaur/args.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

import sys
from typing import List, Any, Tuple

Expand Down
2 changes: 2 additions & 0 deletions pikaur/aur.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

import gzip
import json
from multiprocessing.pool import ThreadPool
Expand Down
2 changes: 2 additions & 0 deletions pikaur/aur_deps.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

from multiprocessing.pool import ThreadPool
from typing import List, Dict

Expand Down
2 changes: 2 additions & 0 deletions pikaur/build.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

import os
import sys
import shutil
Expand Down
2 changes: 2 additions & 0 deletions pikaur/config.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

import os
import sys
import configparser
Expand Down
2 changes: 2 additions & 0 deletions pikaur/conflicts.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

from typing import List, Dict

from .pacman import PackageDB
Expand Down
2 changes: 2 additions & 0 deletions pikaur/core.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

import os
import shutil
import subprocess
Expand Down
2 changes: 2 additions & 0 deletions pikaur/exceptions.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

from typing import TYPE_CHECKING, List, Optional

from .core import DataType
Expand Down
2 changes: 2 additions & 0 deletions pikaur/i18n.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

import gettext


Expand Down
2 changes: 2 additions & 0 deletions pikaur/install_cli.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

# pylint: disable=too-many-lines
import os
import hashlib
Expand Down
2 changes: 2 additions & 0 deletions pikaur/install_info_fetcher.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

from multiprocessing.pool import ThreadPool
from typing import List, Optional, Dict

Expand Down
2 changes: 2 additions & 0 deletions pikaur/main.py
@@ -1,6 +1,8 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-

""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

import os
import sys
import readline
Expand Down
2 changes: 2 additions & 0 deletions pikaur/makepkg_config.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

import os
from typing import (
Dict, Any, List, Tuple, Union, Optional,
Expand Down
2 changes: 2 additions & 0 deletions pikaur/news.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

import datetime
import urllib.request
import urllib.error
Expand Down
2 changes: 2 additions & 0 deletions pikaur/pacman.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

import gettext
import re
from typing import List, Dict, Tuple, Iterable, Optional, Union, TYPE_CHECKING
Expand Down
2 changes: 2 additions & 0 deletions pikaur/pikspect.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

import sys
import subprocess
import tty
Expand Down
2 changes: 2 additions & 0 deletions pikaur/pprint.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

import sys
import shutil
from threading import Lock
Expand Down
2 changes: 2 additions & 0 deletions pikaur/print_department.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

import sys
from typing import List, Tuple

Expand Down
2 changes: 2 additions & 0 deletions pikaur/progressbar.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

import sys
from threading import Lock
from typing import Callable, Dict
Expand Down
2 changes: 2 additions & 0 deletions pikaur/prompt.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

import sys
import tty
from typing import List
Expand Down
2 changes: 2 additions & 0 deletions pikaur/search_cli.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

import sys
from datetime import datetime
from multiprocessing.pool import ThreadPool
Expand Down
2 changes: 2 additions & 0 deletions pikaur/srcinfo.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

import os
from typing import List, Dict, Optional

Expand Down
2 changes: 2 additions & 0 deletions pikaur/threading.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

import traceback
import uuid
from threading import Lock
Expand Down
2 changes: 2 additions & 0 deletions pikaur/updates.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

from datetime import datetime
from typing import List, Tuple, Optional

Expand Down
2 changes: 2 additions & 0 deletions pikaur/version.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

from typing import Callable, Tuple, List, Optional

import pyalpm
Expand Down
5 changes: 2 additions & 3 deletions pikaur_test/helpers.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

import sys
import tempfile
from subprocess import Popen
Expand All @@ -7,9 +9,6 @@
from pikaur.main import main


NOT_FOUND_ATOM = object()


class TestPopen(Popen):
stderr_text: Optional[str] = None
stdout_text: Optional[str] = None
Expand Down
2 changes: 2 additions & 0 deletions run_tests.py
@@ -1,3 +1,5 @@
""" This file is licensed under GPLv3, see https://www.gnu.org/licenses/ """

import sys
# monkey-patch to force always uncolored output:
from pikaur import pprint
Expand Down

0 comments on commit 7380b93

Please sign in to comment.