Skip to content

Commit

Permalink
Relicense as GPL-2.0-or-later
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Górny <mgorny@gentoo.org>
  • Loading branch information
mgorny committed Jun 17, 2024
1 parent fd200fc commit 6ed34d7
Show file tree
Hide file tree
Showing 27 changed files with 365 additions and 49 deletions.
362 changes: 339 additions & 23 deletions COPYING

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion gemato/__main__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gemato: __main__ wrapper
# (c) 2023 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later

from gemato.cli import setuptools_main

Expand Down
2 changes: 1 addition & 1 deletion gemato/cli.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gemato: CLI routines
# (c) 2017-2023 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later


import argparse
Expand Down
2 changes: 1 addition & 1 deletion gemato/compression.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gemato: compressed file support
# (c) 2017-2023 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later

import bz2
import gzip
Expand Down
2 changes: 1 addition & 1 deletion gemato/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gemato: exceptions
# (c) 2017-2023 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later

class GematoException(Exception):
"""
Expand Down
2 changes: 1 addition & 1 deletion gemato/find_top_level.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gemato: Top-level Manifest finding routine
# (c) 2017-2022 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later

import os
import os.path
Expand Down
2 changes: 1 addition & 1 deletion gemato/hash.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gemato: hash support
# (c) 2017-2022 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later

import hashlib
import io
Expand Down
2 changes: 1 addition & 1 deletion gemato/manifest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gemato: Manifest file objects
# (c) 2017-2022 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later

import datetime
import io
Expand Down
2 changes: 1 addition & 1 deletion gemato/openpgp.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gemato: OpenPGP verification support
# (c) 2017-2023 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later

import base64
import dataclasses
Expand Down
2 changes: 1 addition & 1 deletion gemato/profile.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gemato: Profile support
# (c) 2017-2022 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later

import os.path

Expand Down
2 changes: 1 addition & 1 deletion gemato/recursiveloader.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gemato: Recursive loader for Manifests
# (c) 2017-2022 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later

import os.path

Expand Down
2 changes: 1 addition & 1 deletion gemato/util.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gemato: Utility functions
# (c) 2017-2022 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later


class MultiprocessingPoolWrapper:
Expand Down
2 changes: 1 addition & 1 deletion gemato/verify.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gemato: File verification routines
# (c) 2017-2022 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later

import contextlib
import errno
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "flit_core.buildapi"
[project]
name = "gemato"
authors = [{name = "Michał Górny", email = "mgorny@gentoo.org"}]
license = {file = "COPYING"}
license = {text = "GPL-2.0-or-later"}
readme = "README.rst"
dynamic = ["version", "description"]
classifiers = [
Expand Down
2 changes: 1 addition & 1 deletion tests/keydata.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gemato: OpenPGP key data for tests
# (c) 2017-2023 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later

import base64

Expand Down
2 changes: 1 addition & 1 deletion tests/test_compression.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gemato: compressed file tests
# (c) 2017-2022 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later

import base64
import io
Expand Down
2 changes: 1 addition & 1 deletion tests/test_find_top_level.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gemato: Top-level Manifest finding tests
# (c) 2017-2022 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later

import gzip
import os
Expand Down
2 changes: 1 addition & 1 deletion tests/test_hash.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gemato: hash support tests
# (c) 2017-2022 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later

import io

Expand Down
2 changes: 1 addition & 1 deletion tests/test_manifest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gemato: Manifest file support tests
# (c) 2017-2022 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later

import datetime
import io
Expand Down
2 changes: 1 addition & 1 deletion tests/test_openpgp.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gemato: OpenPGP signature support tests
# (c) 2017-2023 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later

import base64
import contextlib
Expand Down
2 changes: 1 addition & 1 deletion tests/test_profile.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gemato: Profile behavior tests
# (c) 2017-2022 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later

import itertools
import os
Expand Down
2 changes: 1 addition & 1 deletion tests/test_recursiveloader.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gemato: Recursive loader tests
# (c) 2017-2022 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later

import base64
import contextlib
Expand Down
2 changes: 1 addition & 1 deletion tests/test_util.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gemato: Utility function tests
# (c) 2017-2022 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later

import pytest

Expand Down
2 changes: 1 addition & 1 deletion tests/test_verify.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gemato: Verification tests
# (c) 2017-2022 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later

import contextlib
import errno
Expand Down
2 changes: 1 addition & 1 deletion tests/testutil.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gemato: Test utility functions
# (c) 2017-2023 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later

import errno
import functools
Expand Down
2 changes: 1 addition & 1 deletion utils/gen_fast_manifest.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# Ultra-optimized Manifest writing.
# (c) 2017-2023 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later

import gzip
import hashlib
Expand Down
2 changes: 1 addition & 1 deletion utils/gen_fast_metamanifest.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# Ultra-optimized Meta-Manifest writing.
# (c) 2017-2023 Michał Górny
# Licensed under the terms of 2-clause BSD license
# SPDX-License-Identifier: GPL-2.0-or-later

import datetime
import glob
Expand Down

0 comments on commit 6ed34d7

Please sign in to comment.