diff --git a/pmb/__init__.py b/pmb/__init__.py index 90e87937..88feb678 100644 --- a/pmb/__init__.py +++ b/pmb/__init__.py @@ -1,22 +1,6 @@ +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later # PYTHON_ARGCOMPLETE_OK -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" import sys import logging import os diff --git a/pmb/aportgen/__init__.py b/pmb/aportgen/__init__.py index 89a63968..3b9c12db 100644 --- a/pmb/aportgen/__init__.py +++ b/pmb/aportgen/__init__.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import logging import pmb.aportgen.binutils diff --git a/pmb/aportgen/binutils.py b/pmb/aportgen/binutils.py index 55849d48..3922d485 100644 --- a/pmb/aportgen/binutils.py +++ b/pmb/aportgen/binutils.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import pmb.aportgen.core import pmb.helpers.git import pmb.helpers.run diff --git a/pmb/aportgen/busybox_static.py b/pmb/aportgen/busybox_static.py index 019877e8..503dd301 100644 --- a/pmb/aportgen/busybox_static.py +++ b/pmb/aportgen/busybox_static.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import glob import os import pmb.helpers.run diff --git a/pmb/aportgen/core.py b/pmb/aportgen/core.py index b5042171..736ff91b 100644 --- a/pmb/aportgen/core.py +++ b/pmb/aportgen/core.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import fnmatch import logging import re diff --git a/pmb/aportgen/device.py b/pmb/aportgen/device.py index 30afb9fd..63f02061 100644 --- a/pmb/aportgen/device.py +++ b/pmb/aportgen/device.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import logging import os import pmb.helpers.run diff --git a/pmb/aportgen/gcc.py b/pmb/aportgen/gcc.py index 9b306fca..9304c1ee 100644 --- a/pmb/aportgen/gcc.py +++ b/pmb/aportgen/gcc.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import pmb.aportgen.core import pmb.helpers.git import pmb.helpers.run diff --git a/pmb/aportgen/grub_efi.py b/pmb/aportgen/grub_efi.py index 3c26abd7..7aa2ae12 100644 --- a/pmb/aportgen/grub_efi.py +++ b/pmb/aportgen/grub_efi.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Nick Reitemeyer - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Nick Reitemeyer +# SPDX-License-Identifier: GPL-3.0-or-later import glob import os import pmb.helpers.run diff --git a/pmb/aportgen/linux.py b/pmb/aportgen/linux.py index dd82d847..b2888566 100644 --- a/pmb/aportgen/linux.py +++ b/pmb/aportgen/linux.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import pmb.helpers.run import pmb.aportgen.core import pmb.parse.apkindex diff --git a/pmb/aportgen/musl.py b/pmb/aportgen/musl.py index b1197bb4..38ef0cd7 100644 --- a/pmb/aportgen/musl.py +++ b/pmb/aportgen/musl.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import glob import os import pmb.helpers.run diff --git a/pmb/build/__init__.py b/pmb/build/__init__.py index a230a143..885175da 100644 --- a/pmb/build/__init__.py +++ b/pmb/build/__init__.py @@ -1,22 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" -# Exported functions +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later from pmb.build.init import init from pmb.build.envkernel import package_kernel from pmb.build.menuconfig import menuconfig diff --git a/pmb/build/_package.py b/pmb/build/_package.py index 8a5799c4..47eead4c 100644 --- a/pmb/build/_package.py +++ b/pmb/build/_package.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import datetime import logging import os diff --git a/pmb/build/autodetect.py b/pmb/build/autodetect.py index 1ca6c8c5..119d161f 100644 --- a/pmb/build/autodetect.py +++ b/pmb/build/autodetect.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import fnmatch import logging import os diff --git a/pmb/build/checksum.py b/pmb/build/checksum.py index 3f8fa1c0..e41c7521 100644 --- a/pmb/build/checksum.py +++ b/pmb/build/checksum.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import logging import pmb.chroot diff --git a/pmb/build/envkernel.py b/pmb/build/envkernel.py index f0867755..382e0940 100644 --- a/pmb/build/envkernel.py +++ b/pmb/build/envkernel.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Robert Yang - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Robert Yang +# SPDX-License-Identifier: GPL-3.0-or-later import logging import os import re diff --git a/pmb/build/init.py b/pmb/build/init.py index 6135f302..8d4e869f 100644 --- a/pmb/build/init.py +++ b/pmb/build/init.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import logging import glob diff --git a/pmb/build/menuconfig.py b/pmb/build/menuconfig.py index ebf9d67e..4c3f2884 100644 --- a/pmb/build/menuconfig.py +++ b/pmb/build/menuconfig.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import logging diff --git a/pmb/build/newapkbuild.py b/pmb/build/newapkbuild.py index 90ba9b1c..d9bdbebc 100644 --- a/pmb/build/newapkbuild.py +++ b/pmb/build/newapkbuild.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import glob import os import logging diff --git a/pmb/build/other.py b/pmb/build/other.py index 61c89e51..7928f22c 100644 --- a/pmb/build/other.py +++ b/pmb/build/other.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import glob import logging import os diff --git a/pmb/chroot/__init__.py b/pmb/chroot/__init__.py index 06deb090..74902ded 100644 --- a/pmb/chroot/__init__.py +++ b/pmb/chroot/__init__.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later from pmb.chroot.init import init from pmb.chroot.mount import mount, mount_native_into_foreign from pmb.chroot.root import root diff --git a/pmb/chroot/apk.py b/pmb/chroot/apk.py index 41aa2112..d9b65b11 100644 --- a/pmb/chroot/apk.py +++ b/pmb/chroot/apk.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import logging import shlex diff --git a/pmb/chroot/apk_static.py b/pmb/chroot/apk_static.py index 0e754e0a..7b9b12d1 100644 --- a/pmb/chroot/apk_static.py +++ b/pmb/chroot/apk_static.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import logging import shutil diff --git a/pmb/chroot/binfmt.py b/pmb/chroot/binfmt.py index f09ef65d..178de9d5 100644 --- a/pmb/chroot/binfmt.py +++ b/pmb/chroot/binfmt.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import logging diff --git a/pmb/chroot/distccd.py b/pmb/chroot/distccd.py index 35ab920e..25ce6faf 100644 --- a/pmb/chroot/distccd.py +++ b/pmb/chroot/distccd.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import errno import json import logging diff --git a/pmb/chroot/init.py b/pmb/chroot/init.py index 9fc4a80c..0347f713 100644 --- a/pmb/chroot/init.py +++ b/pmb/chroot/init.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import logging import os import glob diff --git a/pmb/chroot/initfs.py b/pmb/chroot/initfs.py index 904f222d..08e07d82 100644 --- a/pmb/chroot/initfs.py +++ b/pmb/chroot/initfs.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import logging import pmb.chroot.initfs_hooks diff --git a/pmb/chroot/initfs_hooks.py b/pmb/chroot/initfs_hooks.py index 034dae02..9ae20a57 100644 --- a/pmb/chroot/initfs_hooks.py +++ b/pmb/chroot/initfs_hooks.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import glob import logging diff --git a/pmb/chroot/mount.py b/pmb/chroot/mount.py index f1c88438..0f46c7fb 100644 --- a/pmb/chroot/mount.py +++ b/pmb/chroot/mount.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import glob import logging import os diff --git a/pmb/chroot/other.py b/pmb/chroot/other.py index fddb9545..1cc1dfaf 100644 --- a/pmb/chroot/other.py +++ b/pmb/chroot/other.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import glob import logging diff --git a/pmb/chroot/root.py b/pmb/chroot/root.py index eff6853b..6e398fc0 100644 --- a/pmb/chroot/root.py +++ b/pmb/chroot/root.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import shutil diff --git a/pmb/chroot/shutdown.py b/pmb/chroot/shutdown.py index 22c9def9..ed486ab8 100644 --- a/pmb/chroot/shutdown.py +++ b/pmb/chroot/shutdown.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import logging import glob import os diff --git a/pmb/chroot/user.py b/pmb/chroot/user.py index e76e5185..a288081f 100644 --- a/pmb/chroot/user.py +++ b/pmb/chroot/user.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import pmb.chroot.root import pmb.helpers.run diff --git a/pmb/chroot/zap.py b/pmb/chroot/zap.py index 02504af3..1d873bd9 100644 --- a/pmb/chroot/zap.py +++ b/pmb/chroot/zap.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import glob import logging import math diff --git a/pmb/config/__init__.py b/pmb/config/__init__.py index dca84a0d..618d11b8 100644 --- a/pmb/config/__init__.py +++ b/pmb/config/__init__.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import multiprocessing import os diff --git a/pmb/config/init.py b/pmb/config/init.py index 0190b7d9..594af7ca 100644 --- a/pmb/config/init.py +++ b/pmb/config/init.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import logging import glob import os diff --git a/pmb/config/load.py b/pmb/config/load.py index 48987f77..7aed778c 100644 --- a/pmb/config/load.py +++ b/pmb/config/load.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import logging import configparser import os diff --git a/pmb/config/merge_with_args.py b/pmb/config/merge_with_args.py index da99299d..d0903494 100644 --- a/pmb/config/merge_with_args.py +++ b/pmb/config/merge_with_args.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import pmb.config diff --git a/pmb/config/pmaports.py b/pmb/config/pmaports.py index f1be7111..b6aa875f 100644 --- a/pmb/config/pmaports.py +++ b/pmb/config/pmaports.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import configparser import logging import os diff --git a/pmb/config/save.py b/pmb/config/save.py index 89e7cc85..d83133d9 100644 --- a/pmb/config/save.py +++ b/pmb/config/save.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import logging diff --git a/pmb/export/__init__.py b/pmb/export/__init__.py index a57b52dd..d7906d13 100644 --- a/pmb/export/__init__.py +++ b/pmb/export/__init__.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later from pmb.export.frontend import frontend from pmb.export.odin import odin from pmb.export.symlinks import symlinks diff --git a/pmb/export/odin.py b/pmb/export/odin.py index 7b647c67..6ac6aa9c 100644 --- a/pmb/export/odin.py +++ b/pmb/export/odin.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import logging import os diff --git a/pmb/export/symlinks.py b/pmb/export/symlinks.py index 67e8e945..cacd2f43 100644 --- a/pmb/export/symlinks.py +++ b/pmb/export/symlinks.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import logging import os import glob diff --git a/pmb/flasher/__init__.py b/pmb/flasher/__init__.py index 30b18ca7..26752264 100644 --- a/pmb/flasher/__init__.py +++ b/pmb/flasher/__init__.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later from pmb.flasher.init import init from pmb.flasher.run import run from pmb.flasher.run import check_partition_blacklist diff --git a/pmb/flasher/frontend.py b/pmb/flasher/frontend.py index 705803e5..702c0bb8 100644 --- a/pmb/flasher/frontend.py +++ b/pmb/flasher/frontend.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import logging import os diff --git a/pmb/flasher/init.py b/pmb/flasher/init.py index af4a8e4b..96e04530 100644 --- a/pmb/flasher/init.py +++ b/pmb/flasher/init.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import pmb.config import pmb.chroot.apk import pmb.helpers.mount diff --git a/pmb/flasher/run.py b/pmb/flasher/run.py index 9905c087..e0523735 100644 --- a/pmb/flasher/run.py +++ b/pmb/flasher/run.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import pmb.flasher import pmb.chroot.initfs diff --git a/pmb/flasher/variables.py b/pmb/flasher/variables.py index 601055f7..ee60db59 100644 --- a/pmb/flasher/variables.py +++ b/pmb/flasher/variables.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later def variables(args, flavor, method): diff --git a/pmb/helpers/__init__.py b/pmb/helpers/__init__.py index 000adcb8..52066387 100644 --- a/pmb/helpers/__init__.py +++ b/pmb/helpers/__init__.py @@ -1,18 +1,2 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later diff --git a/pmb/helpers/aportupgrade.py b/pmb/helpers/aportupgrade.py index 52c82091..42642d13 100644 --- a/pmb/helpers/aportupgrade.py +++ b/pmb/helpers/aportupgrade.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Luca Weiss - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Luca Weiss +# SPDX-License-Identifier: GPL-3.0-or-later import datetime import fnmatch import logging diff --git a/pmb/helpers/args.py b/pmb/helpers/args.py index 06450461..5ec78c53 100644 --- a/pmb/helpers/args.py +++ b/pmb/helpers/args.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import copy import os import pmb.config diff --git a/pmb/helpers/cli.py b/pmb/helpers/cli.py index 71c0caea..8fc10a68 100644 --- a/pmb/helpers/cli.py +++ b/pmb/helpers/cli.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import datetime import logging import re diff --git a/pmb/helpers/devices.py b/pmb/helpers/devices.py index 603927a7..d537ea81 100644 --- a/pmb/helpers/devices.py +++ b/pmb/helpers/devices.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import glob import pmb.parse diff --git a/pmb/helpers/file.py b/pmb/helpers/file.py index 07743710..8f38353c 100644 --- a/pmb/helpers/file.py +++ b/pmb/helpers/file.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import time diff --git a/pmb/helpers/frontend.py b/pmb/helpers/frontend.py index 3227aa3c..4281f164 100644 --- a/pmb/helpers/frontend.py +++ b/pmb/helpers/frontend.py @@ -1,24 +1,5 @@ -#!/usr/bin/env python3 - -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" - +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import glob import json import logging diff --git a/pmb/helpers/git.py b/pmb/helpers/git.py index 4de42251..cb456a32 100644 --- a/pmb/helpers/git.py +++ b/pmb/helpers/git.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import logging import os diff --git a/pmb/helpers/http.py b/pmb/helpers/http.py index 38b97b14..7cecf313 100644 --- a/pmb/helpers/http.py +++ b/pmb/helpers/http.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import hashlib import json import logging diff --git a/pmb/helpers/lint.py b/pmb/helpers/lint.py index 1a1f80e3..45bb0160 100644 --- a/pmb/helpers/lint.py +++ b/pmb/helpers/lint.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Danct12 - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Danct12 +# SPDX-License-Identifier: GPL-3.0-or-later import logging import pmb.chroot diff --git a/pmb/helpers/logging.py b/pmb/helpers/logging.py index 87d0ae3c..54de70cd 100644 --- a/pmb/helpers/logging.py +++ b/pmb/helpers/logging.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import logging import os import sys diff --git a/pmb/helpers/mount.py b/pmb/helpers/mount.py index 27157f20..17642adf 100644 --- a/pmb/helpers/mount.py +++ b/pmb/helpers/mount.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import pmb.helpers.run diff --git a/pmb/helpers/other.py b/pmb/helpers/other.py index 342f5854..b2cb0038 100644 --- a/pmb/helpers/other.py +++ b/pmb/helpers/other.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import logging import os import re diff --git a/pmb/helpers/package.py b/pmb/helpers/package.py index 75ffaaa8..6bfb0336 100644 --- a/pmb/helpers/package.py +++ b/pmb/helpers/package.py @@ -1,30 +1,10 @@ -#!/usr/bin/env python3 - -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" - +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later """ Functions that work on both pmaports and (binary package) repos. See also: - pmb/helpers/pmaports.py (work on pmaports) - pmb/helpers/repo.py (work on binary package repos) """ - import copy import pmb.helpers.pmaports diff --git a/pmb/helpers/pkgrel_bump.py b/pmb/helpers/pkgrel_bump.py index b65febff..74bddc06 100644 --- a/pmb/helpers/pkgrel_bump.py +++ b/pmb/helpers/pkgrel_bump.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import logging import os diff --git a/pmb/helpers/pmaports.py b/pmb/helpers/pmaports.py index 83903fab..12fddbf6 100644 --- a/pmb/helpers/pmaports.py +++ b/pmb/helpers/pmaports.py @@ -1,30 +1,10 @@ -#!/usr/bin/env python3 - -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" - +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later """ Functions that work only on pmaports. See also: - pmb/helpers/repo.py (only work on binary package repos) - pmb/helpers/package.py (work on both) """ - import glob import logging import os diff --git a/pmb/helpers/repo.py b/pmb/helpers/repo.py index f4fb29de..b9decfff 100644 --- a/pmb/helpers/repo.py +++ b/pmb/helpers/repo.py @@ -1,28 +1,10 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" - +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later """ Functions that work on both (binary package) repos. See also: - pmb/helpers/pmaports.py (work on pmaports) - pmb/helpers/package.py (work on both) """ - import os import hashlib import logging diff --git a/pmb/helpers/repo_missing.py b/pmb/helpers/repo_missing.py index b0f4c865..4325f5cd 100644 --- a/pmb/helpers/repo_missing.py +++ b/pmb/helpers/repo_missing.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import logging import pmb.build diff --git a/pmb/helpers/run.py b/pmb/helpers/run.py index c760938b..5cdeb781 100644 --- a/pmb/helpers/run.py +++ b/pmb/helpers/run.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import shlex import pmb.helpers.run_core diff --git a/pmb/helpers/run_core.py b/pmb/helpers/run_core.py index 5739126b..0d45999e 100644 --- a/pmb/helpers/run_core.py +++ b/pmb/helpers/run_core.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import fcntl import logging import selectors diff --git a/pmb/helpers/ui.py b/pmb/helpers/ui.py index 50f2d143..b903cbcb 100644 --- a/pmb/helpers/ui.py +++ b/pmb/helpers/ui.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Clayton Craft - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Clayton Craft +# SPDX-License-Identifier: GPL-3.0-or-later import os import glob import pmb.parse diff --git a/pmb/install/__init__.py b/pmb/install/__init__.py index 20b02b82..1607831e 100644 --- a/pmb/install/__init__.py +++ b/pmb/install/__init__.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later from pmb.install._install import install from pmb.install._install import get_kernel_package from pmb.install.partition import partition diff --git a/pmb/install/_install.py b/pmb/install/_install.py index c14ca100..9296060e 100644 --- a/pmb/install/_install.py +++ b/pmb/install/_install.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import logging import os import re diff --git a/pmb/install/blockdevice.py b/pmb/install/blockdevice.py index 13f13aab..c2f3501f 100644 --- a/pmb/install/blockdevice.py +++ b/pmb/install/blockdevice.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import logging import os import glob diff --git a/pmb/install/file.py b/pmb/install/file.py index b3daad51..a41c5267 100644 --- a/pmb/install/file.py +++ b/pmb/install/file.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Pablo Castellano - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Pablo Castellano +# SPDX-License-Identifier: GPL-3.0-or-later import logging import pmb.config diff --git a/pmb/install/format.py b/pmb/install/format.py index 5316b467..94222f9f 100644 --- a/pmb/install/format.py +++ b/pmb/install/format.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import logging import pmb.chroot diff --git a/pmb/install/losetup.py b/pmb/install/losetup.py index 7c804a34..80b18f66 100644 --- a/pmb/install/losetup.py +++ b/pmb/install/losetup.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import glob import json import logging diff --git a/pmb/install/partition.py b/pmb/install/partition.py index 00e7fbcd..a4e0f011 100644 --- a/pmb/install/partition.py +++ b/pmb/install/partition.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import logging import os import time diff --git a/pmb/install/recovery.py b/pmb/install/recovery.py index 6efecc78..6bb77b67 100644 --- a/pmb/install/recovery.py +++ b/pmb/install/recovery.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Attila Szollosi - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Attila Szollosi +# SPDX-License-Identifier: GPL-3.0-or-later import logging import pmb.chroot diff --git a/pmb/parse/__init__.py b/pmb/parse/__init__.py index 3a179dca..4205c18a 100644 --- a/pmb/parse/__init__.py +++ b/pmb/parse/__init__.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later from pmb.parse.arguments import arguments from pmb.parse._apkbuild import apkbuild from pmb.parse._apkbuild import function_body diff --git a/pmb/parse/_apkbuild.py b/pmb/parse/_apkbuild.py index 3bbd2644..be751ff4 100644 --- a/pmb/parse/_apkbuild.py +++ b/pmb/parse/_apkbuild.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import logging import os import re diff --git a/pmb/parse/apkindex.py b/pmb/parse/apkindex.py index a27f1091..e07539b1 100644 --- a/pmb/parse/apkindex.py +++ b/pmb/parse/apkindex.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import collections import logging import os diff --git a/pmb/parse/arch.py b/pmb/parse/arch.py index fc62a3d7..84cc92d8 100644 --- a/pmb/parse/arch.py +++ b/pmb/parse/arch.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import platform import fnmatch diff --git a/pmb/parse/arguments.py b/pmb/parse/arguments.py index 0ddeecc7..dcc305aa 100644 --- a/pmb/parse/arguments.py +++ b/pmb/parse/arguments.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import argparse import copy diff --git a/pmb/parse/binfmt_info.py b/pmb/parse/binfmt_info.py index a8342cbe..c0236335 100644 --- a/pmb/parse/binfmt_info.py +++ b/pmb/parse/binfmt_info.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import logging import pmb.config diff --git a/pmb/parse/bootimg.py b/pmb/parse/bootimg.py index 280e826a..35dbd821 100644 --- a/pmb/parse/bootimg.py +++ b/pmb/parse/bootimg.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import logging import pmb diff --git a/pmb/parse/depends.py b/pmb/parse/depends.py index 0d42ec5c..032ae1f4 100644 --- a/pmb/parse/depends.py +++ b/pmb/parse/depends.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import logging import pmb.chroot import pmb.chroot.apk diff --git a/pmb/parse/deviceinfo.py b/pmb/parse/deviceinfo.py index b0fb7fd7..1a1b57eb 100644 --- a/pmb/parse/deviceinfo.py +++ b/pmb/parse/deviceinfo.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import logging import os import pmb.config diff --git a/pmb/parse/kconfig.py b/pmb/parse/kconfig.py index f3176044..6217fb68 100644 --- a/pmb/parse/kconfig.py +++ b/pmb/parse/kconfig.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Attila Szollosi - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Attila Szollosi +# SPDX-License-Identifier: GPL-3.0-or-later import glob import logging import re diff --git a/pmb/parse/version.py b/pmb/parse/version.py index 1afa5be7..0e5aa2fd 100644 --- a/pmb/parse/version.py +++ b/pmb/parse/version.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import collections """ diff --git a/pmb/qemu/__init__.py b/pmb/qemu/__init__.py index 496dfa8b..1f7b3197 100644 --- a/pmb/qemu/__init__.py +++ b/pmb/qemu/__init__.py @@ -1,19 +1,3 @@ -""" -Copyright 2020 Pablo Castellano - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Pablo Castellano +# SPDX-License-Identifier: GPL-3.0-or-later from pmb.qemu.run import run diff --git a/pmb/qemu/run.py b/pmb/qemu/run.py index 59e72ae3..9df746ee 100644 --- a/pmb/qemu/run.py +++ b/pmb/qemu/run.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Pablo Castellano, Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Pablo Castellano, Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import logging import os import re diff --git a/pmbootstrap.py b/pmbootstrap.py index 30e03aab..2ba209ea 100755 --- a/pmbootstrap.py +++ b/pmbootstrap.py @@ -1,25 +1,7 @@ #!/usr/bin/env python3 +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later # PYTHON_ARGCOMPLETE_OK - -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" - import sys import pmb diff --git a/test/pmb_test/__init__.py b/test/pmb_test/__init__.py index b0370f42..71d56d70 100644 --- a/test/pmb_test/__init__.py +++ b/test/pmb_test/__init__.py @@ -1,22 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" - +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import sys diff --git a/test/pmb_test/const.py b/test/pmb_test/const.py index 0dff26e7..dd071946 100644 --- a/test/pmb_test/const.py +++ b/test/pmb_test/const.py @@ -1,22 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" - +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import pmb.config diff --git a/test/static_code_analysis.sh b/test/static_code_analysis.sh index 2baea893..f629920c 100755 --- a/test/static_code_analysis.sh +++ b/test/static_code_analysis.sh @@ -1,21 +1,6 @@ #!/bin/sh -# Copyright 2017 Oliver Smith -# -# This file is part of pmbootstrap. -# -# pmbootstrap 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. -# -# pmbootstrap 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 pmbootstrap. If not, see . - +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: AGPL-3.0-or-later set -e DIR="$(cd "$(dirname "$0")" && pwd -P)" cd "$DIR/.." diff --git a/test/test_apk_static.py b/test/test_apk_static.py index 824d0bdd..af16db6f 100644 --- a/test/test_apk_static.py +++ b/test/test_apk_static.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import sys import tarfile diff --git a/test/test_aportgen.py b/test/test_aportgen.py index af3ec7f2..8e32e162 100644 --- a/test/test_aportgen.py +++ b/test/test_aportgen.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import sys import pytest diff --git a/test/test_aportgen_device_wizard.py b/test/test_aportgen_device_wizard.py index 133ce33d..a1ff86d0 100644 --- a/test/test_aportgen_device_wizard.py +++ b/test/test_aportgen_device_wizard.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import logging import pytest import sys diff --git a/test/test_bootimg.py b/test/test_bootimg.py index 615b2bee..e4e37cf5 100644 --- a/test/test_bootimg.py +++ b/test/test_bootimg.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import sys import pytest diff --git a/test/test_build_is_necessary.py b/test/test_build_is_necessary.py index a0cf4ae9..0f43f4a4 100644 --- a/test/test_build_is_necessary.py +++ b/test/test_build_is_necessary.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import sys import pytest diff --git a/test/test_build_package.py b/test/test_build_package.py index fb4da0ce..6ca0f3cc 100644 --- a/test/test_build_package.py +++ b/test/test_build_package.py @@ -1,26 +1,6 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" - -""" -This file tests all functions from pmb.build._package. -""" - +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later +""" Tests all functions from pmb.build._package """ import datetime import glob import os diff --git a/test/test_chroot_interactive_shell.py b/test/test_chroot_interactive_shell.py index d653ca21..170f22b1 100644 --- a/test/test_chroot_interactive_shell.py +++ b/test/test_chroot_interactive_shell.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import subprocess import os import pmb_test # noqa diff --git a/test/test_config_init.py b/test/test_config_init.py index 558f88ec..46378373 100644 --- a/test/test_config_init.py +++ b/test/test_config_init.py @@ -1,21 +1,5 @@ -""" -Copyright 2019 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import pytest import pmb_test # noqa diff --git a/test/test_config_user.py b/test/test_config_user.py index 935d9708..fffd26ee 100644 --- a/test/test_config_user.py +++ b/test/test_config_user.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import sys import pytest diff --git a/test/test_cross_compile_distcc.py b/test/test_cross_compile_distcc.py index 5dec67dd..4f556ad6 100644 --- a/test/test_cross_compile_distcc.py +++ b/test/test_cross_compile_distcc.py @@ -1,22 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" - +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import pytest import sys diff --git a/test/test_crossdirect.py b/test/test_crossdirect.py index 2a7e92fa..dd65e986 100644 --- a/test/test_crossdirect.py +++ b/test/test_crossdirect.py @@ -1,22 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" - +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import pytest import sys diff --git a/test/test_envkernel.py b/test/test_envkernel.py index 3ba89ca4..25658bfe 100644 --- a/test/test_envkernel.py +++ b/test/test_envkernel.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import sys import pytest diff --git a/test/test_file.py b/test/test_file.py index 2785e13f..e0824cdf 100644 --- a/test/test_file.py +++ b/test/test_file.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import sys import time diff --git a/test/test_folder_size.py b/test/test_folder_size.py index ba6d02ec..a5484af3 100644 --- a/test/test_folder_size.py +++ b/test/test_folder_size.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import sys import pytest diff --git a/test/test_frontend.py b/test/test_frontend.py index 27fbd035..bd9a11a8 100644 --- a/test/test_frontend.py +++ b/test/test_frontend.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import sys import pytest diff --git a/test/test_helpers_git.py b/test/test_helpers_git.py index a8049339..ff2efa76 100644 --- a/test/test_helpers_git.py +++ b/test/test_helpers_git.py @@ -1,22 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" - +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import sys import pytest diff --git a/test/test_helpers_package.py b/test/test_helpers_package.py index 157ca5c2..8200e647 100644 --- a/test/test_helpers_package.py +++ b/test/test_helpers_package.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import sys import pytest diff --git a/test/test_helpers_pmaports.py b/test/test_helpers_pmaports.py index 848a777a..13f894f5 100644 --- a/test/test_helpers_pmaports.py +++ b/test/test_helpers_pmaports.py @@ -1,22 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" - +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import pytest import sys diff --git a/test/test_helpers_repo_missing.py b/test/test_helpers_repo_missing.py index 8215b584..fa77b219 100644 --- a/test/test_helpers_repo_missing.py +++ b/test/test_helpers_repo_missing.py @@ -1,22 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" - +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import pytest import sys diff --git a/test/test_install.py b/test/test_install.py index 37cb0fc1..a3a906de 100644 --- a/test/test_install.py +++ b/test/test_install.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import pytest import sys diff --git a/test/test_keys.py b/test/test_keys.py index ccaff3c1..21e5138f 100644 --- a/test/test_keys.py +++ b/test/test_keys.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import os import sys import pytest diff --git a/test/test_mount.py b/test/test_mount.py index df7cf85d..fb6ea3a9 100644 --- a/test/test_mount.py +++ b/test/test_mount.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import pmb_test # noqa import pmb.helpers.mount diff --git a/test/test_newapkbuild.py b/test/test_newapkbuild.py index ac650650..dd1776d1 100644 --- a/test/test_newapkbuild.py +++ b/test/test_newapkbuild.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import glob import os import pytest diff --git a/test/test_parse_apkbuild.py b/test/test_parse_apkbuild.py index 6376a689..31e1b769 100644 --- a/test/test_parse_apkbuild.py +++ b/test/test_parse_apkbuild.py @@ -1,22 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" - +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import pytest import sys diff --git a/test/test_parse_apkindex.py b/test/test_parse_apkindex.py index 560ce63d..1ae3c574 100644 --- a/test/test_parse_apkindex.py +++ b/test/test_parse_apkindex.py @@ -1,26 +1,6 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" - -""" -This file tests all functions from pmb.parse.apkindex. -""" - +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later +""" Test pmb.parse.apkindex """ import collections import os import pytest diff --git a/test/test_parse_depends.py b/test/test_parse_depends.py index c9fc088b..28b630f6 100644 --- a/test/test_parse_depends.py +++ b/test/test_parse_depends.py @@ -1,26 +1,6 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" - -""" -This file tests all functions from pmb.parse.depends. -""" - +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later +""" Test pmb.parse.depends """ import collections import pytest import sys diff --git a/test/test_pkgrel_bump.py b/test/test_pkgrel_bump.py index 303644a1..1d5d998d 100644 --- a/test/test_pkgrel_bump.py +++ b/test/test_pkgrel_bump.py @@ -1,26 +1,6 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" - -""" -This file tests pmb.helper.pkgrel_bump -""" - +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later +""" Test pmb.helper.pkgrel_bump """ import glob import os import pytest diff --git a/test/test_qemu_running_processes.py b/test/test_qemu_running_processes.py index ce3f6b65..480452e8 100644 --- a/test/test_qemu_running_processes.py +++ b/test/test_qemu_running_processes.py @@ -1,22 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" - +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later """ This file runs various installations and boots into them with QEMU, then checks via SSH if expected processes are running. @@ -24,7 +7,6 @@ via SSH if expected processes are running. We use an extra config file (based on ~/.config/pmbootstrap.cfg), because we need to change it a lot (e.g. UI, username, ...). """ - import os import pytest import sys diff --git a/test/test_questions.py b/test/test_questions.py index 01b407b0..f6b0f021 100644 --- a/test/test_questions.py +++ b/test/test_questions.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import logging import os import pytest diff --git a/test/test_repo.py b/test/test_repo.py index fd61880e..42e8d53e 100644 --- a/test/test_repo.py +++ b/test/test_repo.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import pytest import sys diff --git a/test/test_run_core.py b/test/test_run_core.py index 6fa2df9e..62dea54e 100644 --- a/test/test_run_core.py +++ b/test/test_run_core.py @@ -1,26 +1,6 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" - -""" -This file tests functions from pmb.helpers.run_core -""" - +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later +""" Test pmb.helpers.run_core """ import sys import subprocess import pytest diff --git a/test/test_shell_escape.py b/test/test_shell_escape.py index e5b1327f..6cad71ee 100644 --- a/test/test_shell_escape.py +++ b/test/test_shell_escape.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import sys import pytest diff --git a/test/test_version.py b/test/test_version.py index 763e3383..c07c3b65 100644 --- a/test/test_version.py +++ b/test/test_version.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import sys import pytest diff --git a/test/test_version_validate.py b/test/test_version_validate.py index eedf81b5..688c45b7 100644 --- a/test/test_version_validate.py +++ b/test/test_version_validate.py @@ -1,21 +1,5 @@ -""" -Copyright 2020 Oliver Smith - -This file is part of pmbootstrap. - -pmbootstrap 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. - -pmbootstrap 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 pmbootstrap. If not, see . -""" +# Copyright 2020 Oliver Smith +# SPDX-License-Identifier: GPL-3.0-or-later import pmb_test # noqa import pmb.parse.version