mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bruno Thomsen <bruno.thomsen@gmail.com>
To: ptxdist@pengutronix.de
Cc: Bruno Thomsen <bruno.thomsen@gmail.com>
Subject: [ptxdist] [PATCH v2] python3: add license file and hash
Date: Wed, 13 Nov 2024 20:54:11 +0100	[thread overview]
Message-ID: <20241113195411.12867-1-bruno.thomsen@gmail.com> (raw)

Python-2.0.1 is an official SPDX license identifier:
https://spdx.org/licenses/Python-2.0.1.html

Use same license identifiers as Fedora python3 and python3-libs packages,
but don't include licenses used for python3-pip as it's not installed.

Name         : python3-libs
Version      : 3.13.0
Release      : 1.fc41
Architecture : x86_64
Size         : 9.1 M
Source       : python3.13-3.13.0-1.fc41.src.rpm
Repository   : fedora
Summary      : Python runtime libraries
URL          : https://www.python.org/
License      : Python-2.0.1 AND CC0-1.0 AND MIT
Description  : This package contains runtime libraries for use by Python:
             : - the majority of the Python standard library
             : - a dynamically linked library for use by applications that embed Python as
             :   a scripting language, and by the main "python3" executable

Name         : python3
Version      : 3.13.0
Release      : 1.fc41
Architecture : x86_64
Size         : 28 k
Source       : python3.13-3.13.0-1.fc41.src.rpm
Repository   : fedora
Summary      : Python 3.13 interpreter
URL          : https://www.python.org/
License      : Python-2.0.1
Description  : Python 3.13 is an accessible, high-level, dynamically typed, interpreted
             : programming language, designed with an emphasis on code readability.
             : It includes an extensive standard library, and has a vast ecosystem of
             : third-party libraries.

Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
---
 rules/python3.make | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/rules/python3.make b/rules/python3.make
index d39b8c642b4e..35cd47f12709 100644
--- a/rules/python3.make
+++ b/rules/python3.make
@@ -23,6 +23,11 @@ PYTHON3			:= Python-$(PYTHON3_VERSION)
 PYTHON3_SUFFIX		:= tar.xz
 PYTHON3_SOURCE		:= $(SRCDIR)/$(PYTHON3).$(PYTHON3_SUFFIX)
 PYTHON3_DIR		:= $(BUILDDIR)/$(PYTHON3)
+PYTHON3_LICENSE		:= Python-2.0.1 AND CC0-1.0 AND MIT
+PYTHON3_LICENSE_FILES	:= \
+	file://LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2 \
+	file://Doc/library/hashlib.rst;startline=775;endline=818;md5=d90bd3a9e536af73f965dc113b61143f \
+	file://Modules/_sha3/LICENSE;md5=4148c4dd09f4cd284990deacda8ba72f
 PYTHON3_DEVPKG		:= NO
 
 PYTHON3_URL		:= \

base-commit: 4f478fa2eed817f2f8b529443eaaab987f101578
-- 
2.47.0




                 reply	other threads:[~2024-11-13 19:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241113195411.12867-1-bruno.thomsen@gmail.com \
    --to=bruno.thomsen@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox