mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v2] python3: add license file and hash
@ 2024-11-13 19:54 Bruno Thomsen
  0 siblings, 0 replies; only message in thread
From: Bruno Thomsen @ 2024-11-13 19:54 UTC (permalink / raw)
  To: ptxdist; +Cc: Bruno Thomsen

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-11-13 19:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-13 19:54 [ptxdist] [PATCH v2] python3: add license file and hash Bruno Thomsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox