mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] python3: add license file and hash
@ 2024-11-11 19:44 Bruno Thomsen
  2024-11-13 13:28 ` Michael Olbrich
  0 siblings, 1 reply; 3+ messages in thread
From: Bruno Thomsen @ 2024-11-11 19:44 UTC (permalink / raw)
  To: ptxdist; +Cc: Bruno Thomsen

SPDX list references to other web pages for this license:

https://spdx.org/licenses/Python-2.0.1.html

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

diff --git a/rules/python3.make b/rules/python3.make
index d39b8c642..f2aa78094 100644
--- a/rules/python3.make
+++ b/rules/python3.make
@@ -23,6 +23,9 @@ PYTHON3			:= Python-$(PYTHON3_VERSION)
 PYTHON3_SUFFIX		:= tar.xz
 PYTHON3_SOURCE		:= $(SRCDIR)/$(PYTHON3).$(PYTHON3_SUFFIX)
 PYTHON3_DIR		:= $(BUILDDIR)/$(PYTHON3)
+PYTHON3_LICENSE		:= Python-2.0.1
+PYTHON3_LICENSE_FILES	:= \
+	file://LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2
 PYTHON3_DEVPKG		:= NO
 
 PYTHON3_URL		:= \

base-commit: 3824c3233b369e9b226ae95467947382351c7f6c
-- 
2.47.0




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] [PATCH] python3: add license file and hash
  2024-11-11 19:44 [ptxdist] [PATCH] python3: add license file and hash Bruno Thomsen
@ 2024-11-13 13:28 ` Michael Olbrich
  2024-11-13 19:31   ` Bruno Thomsen
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Olbrich @ 2024-11-13 13:28 UTC (permalink / raw)
  To: Bruno Thomsen; +Cc: ptxdist

On Mon, Nov 11, 2024 at 08:44:10PM +0100, Bruno Thomsen wrote:
> SPDX list references to other web pages for this license:
> 
> https://spdx.org/licenses/Python-2.0.1.html
> 
> Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
> ---
>  rules/python3.make | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/rules/python3.make b/rules/python3.make
> index d39b8c642..f2aa78094 100644
> --- a/rules/python3.make
> +++ b/rules/python3.make
> @@ -23,6 +23,9 @@ PYTHON3			:= Python-$(PYTHON3_VERSION)
>  PYTHON3_SUFFIX		:= tar.xz
>  PYTHON3_SOURCE		:= $(SRCDIR)/$(PYTHON3).$(PYTHON3_SUFFIX)
>  PYTHON3_DIR		:= $(BUILDDIR)/$(PYTHON3)
> +PYTHON3_LICENSE		:= Python-2.0.1
> +PYTHON3_LICENSE_FILES	:= \
> +	file://LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2

Nack. As discussed on the list, there are quite a few files with a
different license. Those must be handled as well.

Regards,
Michael

>  PYTHON3_DEVPKG		:= NO
>  
>  PYTHON3_URL		:= \
> 
> base-commit: 3824c3233b369e9b226ae95467947382351c7f6c
> -- 
> 2.47.0
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] [PATCH] python3: add license file and hash
  2024-11-13 13:28 ` Michael Olbrich
@ 2024-11-13 19:31   ` Bruno Thomsen
  0 siblings, 0 replies; 3+ messages in thread
From: Bruno Thomsen @ 2024-11-13 19:31 UTC (permalink / raw)
  To: Michael Olbrich; +Cc: ptxdist

Den ons. 13. nov. 2024 kl. 14.28 skrev Michael Olbrich
<m.olbrich@pengutronix.de>:
>
> On Mon, Nov 11, 2024 at 08:44:10PM +0100, Bruno Thomsen wrote:
> > SPDX list references to other web pages for this license:
> >
> > https://spdx.org/licenses/Python-2.0.1.html
> >
> > Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
> > ---
> >  rules/python3.make | 3 +++
> >  1 file changed, 3 insertions(+)
> >
> > diff --git a/rules/python3.make b/rules/python3.make
> > index d39b8c642..f2aa78094 100644
> > --- a/rules/python3.make
> > +++ b/rules/python3.make
> > @@ -23,6 +23,9 @@ PYTHON3                     := Python-$(PYTHON3_VERSION)
> >  PYTHON3_SUFFIX               := tar.xz
> >  PYTHON3_SOURCE               := $(SRCDIR)/$(PYTHON3).$(PYTHON3_SUFFIX)
> >  PYTHON3_DIR          := $(BUILDDIR)/$(PYTHON3)
> > +PYTHON3_LICENSE              := Python-2.0.1
> > +PYTHON3_LICENSE_FILES        := \
> > +     file://LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2
>
> Nack. As discussed on the list, there are quite a few files with a
> different license. Those must be handled as well.
>

Hi Michael,

I used the Fedora 41 license information[1] for the python3 package
for this patch.
But I did not include python3-libs license information[2] nor the
python3-pip license information[3].

As we don't install pip on target, I guess that only the libs should
be included.

/Bruno

[1] $ dnf info python3
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.
             :
             : The python3 package provides the "python3" executable:
the reference
             : interpreter for the Python language, version 3.
             : The majority of its standard library is provided in the
python3-libs package,
             : which should be installed automatically along with python3.
             : The remaining parts of the Python standard library are
broken out into the
             : python3-tkinter and python3-test packages, which may
need to be installed
             : separately.
             :
             : Documentation for Python is provided in the python3-docs package.
             :
             : Packages containing additional libraries for Python are
generally named with
             : the "python3-" prefix.

[2] $ dnf info python3-libs
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

[3] $ dnf info python3-pip
Name         : python3-pip
Version      : 24.2
Release      : 1.fc41
Architecture : noarch
Size         : 2.7 M
Source       : python-pip-24.2-1.fc41.src.rpm
Repository   : fedora
Summary      : A tool for installing and managing Python3 packages
URL          : https://pip.pypa.io/
License      : MIT AND Python-2.0.1 AND Apache-2.0 AND BSD-2-Clause
AND BSD-3-Clause AND ISC AND MPL-2.0 AND (Apache-2.0 OR BSD-2-Clause)
Description  : pip is a package management system used to install and
manage software packages
             : written in Python. Many packages can be found in the
Python Package Index
             : (PyPI). pip is a recursive acronym that can stand for
either "Pip Installs
             : Packages" or "Pip Installs Python".



> Regards,
> Michael
>
> >  PYTHON3_DEVPKG               := NO
> >
> >  PYTHON3_URL          := \
> >
> > base-commit: 3824c3233b369e9b226ae95467947382351c7f6c
> > --
> > 2.47.0
> >
> >
> >
>
> --
> Pengutronix e.K.                           |                             |
> Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
> 31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-11-13 19:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-11 19:44 [ptxdist] [PATCH] python3: add license file and hash Bruno Thomsen
2024-11-13 13:28 ` Michael Olbrich
2024-11-13 19:31   ` Bruno Thomsen

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