Skip to content

Commit

Permalink
Relicense from Apache-2.0 to GPL-3.0-or-later
Browse files Browse the repository at this point in the history
  • Loading branch information
AntiCompositeNumber committed Mar 25, 2024
1 parent ae3b43a commit 1a89d70
Show file tree
Hide file tree
Showing 7 changed files with 679 additions and 262 deletions.
674 changes: 674 additions & 0 deletions COPYING

Large diffs are not rendered by default.

201 changes: 0 additions & 201 deletions LICENSE

This file was deleted.

16 changes: 1 addition & 15 deletions acnutils/__init__.py
@@ -1,22 +1,8 @@
#!/usr/bin/env python3
# coding: utf-8
# SPDX-License-Identifier: Apache-2.0


# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright 2021 AntiCompositeNumber

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at

# http://www.apache.org/licenses/LICENSE-2.0

# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import pywikibot # type: ignore
import logging
import logging.handlers
Expand Down
16 changes: 1 addition & 15 deletions acnutils/db.py
@@ -1,22 +1,8 @@
#!/usr/bin/env python3
# coding: utf-8
# SPDX-License-Identifier: Apache-2.0


# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright 2021 AntiCompositeNumber

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at

# http://www.apache.org/licenses/LICENSE-2.0

# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import toolforge
import datetime

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -3,7 +3,7 @@ name = "acnutils"
version = "0.6.2"
description = "Various utilities used in AntiCompositeNumber's bots"
authors = ["AntiCompositeNumber <anticompositenumber+pypi@gmail.com>"]
license = "Apache-2.0"
license = "GPL-3.0-or-later"
readme = "README.rst"
repository = "https://github.com/AntiCompositeNumber/acnutils"
keywords = ["pywikibot", "toolforge", "wikimedia", "wikipedia"]
Expand Down
16 changes: 1 addition & 15 deletions tests/test_acnutils.py
@@ -1,22 +1,8 @@
#!/usr/bin/env python3
# coding: utf-8
# SPDX-License-Identifier: Apache-2.0


# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright 2020 AntiCompositeNumber

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at

# http://www.apache.org/licenses/LICENSE-2.0

# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import os
import pywikibot
import unittest.mock as mock
Expand Down
16 changes: 1 addition & 15 deletions tests/test_db.py
@@ -1,22 +1,8 @@
#!/usr/bin/env python3
# coding: utf-8
# SPDX-License-Identifier: Apache-2.0


# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright 2020 AntiCompositeNumber

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at

# http://www.apache.org/licenses/LICENSE-2.0

# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from unittest import mock
from decimal import Decimal
import datetime
Expand Down

0 comments on commit 1a89d70

Please sign in to comment.