Skip to content

Commit

Permalink
🏷️: SPDX_LICENSE_MAP: dict[str, Sequence[str]]
Browse files Browse the repository at this point in the history
Signed-off-by: rjdbcm <[email protected]>
  • Loading branch information
rjdbcm committed Jun 29, 2024
1 parent f7bbaa5 commit 22a5ed5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ozi/spec/_license.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
# See LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
"""License specification constants."""
from __future__ import annotations

from typing import TYPE_CHECKING

if TYPE_CHECKING:
from collections.abc import Sequence

NOT_SUPPORTED = {
'Aladdin Free Public License (AFPL)',
'CeCILL-B Free Software License Agreement (CECILL-B)',
Expand Down Expand Up @@ -46,7 +53,7 @@
'OSI Approved :: Zope Public License',
}

SPDX_LICENSE_MAP = {
SPDX_LICENSE_MAP: dict[str, Sequence[str]] = {
'Private': ('LicenseRef-Proprietary',),
'DFSG approved': (
'AGPL-3.0-only',
Expand Down

0 comments on commit 22a5ed5

Please sign in to comment.