From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: MIME-Version: 1.0 References: <20191112095115.v3ya4sdcibxvpojr@pengutronix.de> <20191112115103.9265-1-guille.rodriguez@gmail.com> <20191113093624.wqssgtvjmhueu3ei@pengutronix.de> In-Reply-To: <20191113093624.wqssgtvjmhueu3ei@pengutronix.de> From: Guillermo Rodriguez Garcia Date: Thu, 14 Nov 2019 10:36:56 +0100 Message-ID: Subject: Re: [ptxdist] [PATCH v3] python3-numpy: New package List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============1368742836==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: Roland Hieber Cc: ptxdist@pengutronix.de --===============1368742836== Content-Type: multipart/alternative; boundary="000000000000ba21e805974b397b" --000000000000ba21e805974b397b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Roland, El mi=C3=A9., 13 nov. 2019 a las 10:36, Roland Hieber (= ) escribi=C3=B3: > On Tue, Nov 12, 2019 at 12:51:03PM +0100, Guillermo Rodr=C3=ADguez wrote: > > NumPy is the fundamental package for scientific computing with Python. > > > > Signed-off-by: Guillermo Rodriguez > > --- > > v2: Switch to PyPi URL; this removes the dependency on Cython. > > v3: Update LICENSE, add LICENSE_FILES > > > > rules/python3-numpy.in | 10 ++++++++ > > rules/python3-numpy.make | 54 ++++++++++++++++++++++++++++++++++++++++ > > 2 files changed, 64 insertions(+) > > create mode 100644 rules/python3-numpy.in > > create mode 100644 rules/python3-numpy.make > > > > diff --git a/rules/python3-numpy.in b/rules/python3-numpy.in > > new file mode 100644 > > index 000000000..1440e409a > > --- /dev/null > > +++ b/rules/python3-numpy.in > > @@ -0,0 +1,10 @@ > > +## SECTION=3Dpython3 > > + > > +config PYTHON3_NUMPY > > + tristate > > + select PYTHON3 > > + select HOST_PYTHON3_SETUPTOOLS > > + prompt "python3-numpy" > > + help > > + NumPy is the fundamental package for scientific computing with > > + Python. > > diff --git a/rules/python3-numpy.make b/rules/python3-numpy.make > > new file mode 100644 > > index 000000000..40cc351d3 > > --- /dev/null > > +++ b/rules/python3-numpy.make > > @@ -0,0 +1,54 @@ > > +# -*-makefile-*- > > +# > > +# Copyright (C) 2019 by Guillermo Rodriguez > > > +# > > +# For further information about the PTXdist project and license > conditions > > +# see the README file. > > +# > > + > > +# > > +# We provide this package > > +# > > +PACKAGES-$(PTXCONF_PYTHON3_NUMPY) +=3D python3-numpy > > + > > +# > > +# Paths and names > > +# > > +PYTHON3_NUMPY_VERSION :=3D 1.16.1 > > +PYTHON3_NUMPY_MD5 :=3D dafda51934f645d888866f98424521ae > > +PYTHON3_NUMPY :=3D numpy-$(PYTHON3_NUMPY_VERSION) > > +PYTHON3_NUMPY_SUFFIX :=3D zip > > +PYTHON3_NUMPY_URL :=3D > https://pypi.python.org/packages/source/n/numpy/$(PYTHON3_NUMPY).$(PYTHON= 3_NUMPY_SUFFIX) > > +PYTHON3_NUMPY_SOURCE :=3D > $(SRCDIR)/$(PYTHON3_NUMPY).$(PYTHON3_NUMPY_SUFFIX) > > +PYTHON3_NUMPY_DIR :=3D $(BUILDDIR)/$(PYTHON3_NUMPY) > > +PYTHON3_NUMPY_LICENSE :=3D BSD AND BSD-3-Clause AND MIT > > AND Apache-2.0, according to LICENSE.txt. I assume you mean LICENSES_bundled.txt and not LICENSE.txt If I am reading that correctly, the Apache license only applies to the Sphinx theme. Since we are not bundling any documentation, I assume we can ignore this one. > I would also add all the other > license files mentioned therein so we notice when they change or vanish. > > The Python-2.0 license in doc/scipy-sphinx-theme/LICENSE.txt is > currently not available as an SPDX identifier, so I would leave this as > "AND UNKNOWN", and wait until the respective SPDX issue is resolved... > https://github.com/spdx/license-list-XML/issues/919 Same as above, this only applies to the Sphinx theme, so I assume we can ignore this. > > > numpy/core/src/multiarray/dragon4.c seems to be a license found nowhere > else, so I would also add "AND UNKNOWN" to PYTHON3_NUMPY_LICENSE and add > its verbatim license text with startline and endline parameters in > PYTHON3_NUMPY_LICENSE_FILES. PTXdist extracts all those license > texts mentioned in that variable and adds them to the license report, > so it doesn't get lost too :) > OK. > > > +PYTHON3_NUMPY_LICENSE_FILES :=3D \ > > + file://LICENSE.txt;md5=3Dd26bde5432613cce2334b93985576231 > > > file://doc/sphinxext/LICENSE.txt;md5=3Ddc37e8b18377b83250218fc557984e1a \ > > file://doc/scipy-sphinx-theme/LICENSE.txt;md5=3Dea17c9a65c9ae0ccdf3b0a7fd= 1ee4616 > \ > > file://tools/npy_tempita/license.txt;md5=3Dc66b85ddcd09296abff87601467724= fd \ > > file://numpy/core/src/multiarray/dragon4.c;startline=3D2;endline=3D22;md5= =3D19537439573c5696a922ed7957c5b37e > \ > > (numpy/linalg/lapack_lite/LICENSE.txt is currently missing in the > tarball, see https://github.com/numpy/numpy/issues/13295) > > For reference, that last one can be generated with a > > sed -n 2,22p < inputfilename | md5sum > > Please check if all of this (especially the MD5s) make sense to you :) > Yes. Will double check and submit a new version of the patch. Thank you! Guillermo Rodriguez Garcia guille.rodriguez@gmail.com --000000000000ba21e805974b397b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Rola= nd,

El mi=C3=A9., 13 nov. 2019 a las 10:36, Roland Hieber (<rhi@pengutronix.de>) escribi=C3=B3:
On Tue, Nov 12, 2019 at= 12:51:03PM +0100, Guillermo Rodr=C3=ADguez wrote:
> NumPy is the fundamental package for scientific computing with Python.=
>
> Signed-off-by: Guillermo Rodriguez <guille.rodriguez@gmail.com>
> ---
> v2: Switch to PyPi URL; this removes the dependency on Cython.
> v3: Update LICENSE, add LICENSE_FILES
>
>=C2=A0 rules/python3-numpy.in=C2=A0 =C2=A0| 10 ++++++++
>=C2=A0 rules/python3-numpy.make | 54 ++++++++++++++++++++++++++++++++++= ++++++
>=C2=A0 2 files changed, 64 insertions(+)
>=C2=A0 create mode 100644 rules/python3-numpy.in
>=C2=A0 create mode 100644 rules/python3-numpy.make
>
> diff --git a/rules/python3-numpy.in b/rules/python3-numpy.in
> new file mode 100644
> index 000000000..1440e409a
> --- /dev/null
> +++ b/rules/python3-numpy.in
> @@ -0,0 +1,10 @@
> +## SECTION=3Dpython3
> +
> +config PYTHON3_NUMPY
> +=C2=A0 =C2=A0 =C2=A0tristate
> +=C2=A0 =C2=A0 =C2=A0select PYTHON3
> +=C2=A0 =C2=A0 =C2=A0select HOST_PYTHON3_SETUPTOOLS
> +=C2=A0 =C2=A0 =C2=A0prompt "python3-numpy"
> +=C2=A0 =C2=A0 =C2=A0help
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0NumPy is the fundamental package for scien= tific computing with
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0Python.
> diff --git a/rules/python3-numpy.make b/rules/python3-numpy.make
> new file mode 100644
> index 000000000..40cc351d3
> --- /dev/null
> +++ b/rules/python3-numpy.make
> @@ -0,0 +1,54 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2019 by Guillermo Rodriguez <guille.rodriguez@gmail.com&g= t;
> +#
> +# For further information about the PTXdist project and license condi= tions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_PYTHON3_NUMPY) +=3D python3-numpy
> +
> +#
> +# Paths and names
> +#
> +PYTHON3_NUMPY_VERSION=C2=A0 =C2=A0 =C2=A0 =C2=A0 :=3D 1.16.1
> +PYTHON3_NUMPY_MD5=C2=A0 =C2=A0 :=3D dafda51934f645d888866f98424521ae<= br> > +PYTHON3_NUMPY=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = :=3D numpy-$(PYTHON3_NUMPY_VERSION)
> +PYTHON3_NUMPY_SUFFIX :=3D zip
> +PYTHON3_NUMPY_URL=C2=A0 =C2=A0 :=3D https://pypi.python.org/packages/source/n/num= py/$(PYTHON3_NUMPY).$(PYTHON3_NUMPY_SUFFIX)
> +PYTHON3_NUMPY_SOURCE :=3D $(SRCDIR)/$(PYTHON3_NUMPY).$(PYTHON3_NUMPY_= SUFFIX)
> +PYTHON3_NUMPY_DIR=C2=A0 =C2=A0 :=3D $(BUILDDIR)/$(PYTHON3_NUMPY)
> +PYTHON3_NUMPY_LICENSE=C2=A0 =C2=A0 =C2=A0 =C2=A0 :=3D BSD AND BSD-3-C= lause AND MIT

AND Apache-2.0, according to LICENSE.txt.

I= assume you mean=C2=A0LICENSES_bundled.txt and not LICENSE.txt
If I am reading that correctly, the Apache license only applie= s to the Sphinx theme. Since we are not bundling any documentation, I assum= e we can ignore this one.
=C2=A0
I would also add all the other
license files mentioned therein so we notice when they change or vanish.
The Python-2.0 license in doc/scipy-sphinx-theme/LICENSE.txt is
currently not available as an SPDX identifier, so I would leave this as
"AND UNKNOWN", and wait until the respective SPDX issue is resolv= ed...
https://github.com/spdx/license-list-XML/issues/9= 19

Same as above, this only applies to = the Sphinx theme, so I assume we can ignore this.
=C2=A0


numpy/core/src/multiarray/dragon4.c seems to be a license found nowhere
else, so I would also add "AND UNKNOWN" to PYTHON3_NUMPY_LICENSE = and add
its verbatim license text with startline and endline parameters in
PYTHON3_NUMPY_LICENSE_FILES. PTXdist extracts all those license
texts mentioned in that variable and adds them to the license report,
so it doesn't get lost too :)

OK.
=C2=A0

> +PYTHON3_NUMPY_LICENSE_FILES :=3D \
> +=C2=A0 =C2=A0 =C2=A0file://LICENSE.txt;md5=3Dd26bde5432613cce2334b939= 85576231

=C2=A0 =C2=A0 =C2=A0 =C2=A0 file://doc/sphinxext/LICENSE.txt;md5=3Ddc37e8b1= 8377b83250218fc557984e1a \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 file://doc/scipy-sphinx-theme/LICENSE.txt;md5= =3Dea17c9a65c9ae0ccdf3b0a7fd1ee4616 \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 file://tools/npy_tempita/license.txt;md5=3Dc66b= 85ddcd09296abff87601467724fd \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 file://numpy/core/src/multiarray/dragon4.c;star= tline=3D2;endline=3D22;md5=3D19537439573c5696a922ed7957c5b37e \

(numpy/linalg/lapack_lite/LICENSE.txt is currently missing in the
tarball, see https://github.com/numpy/numpy/issues/13295<= /a>)

For reference, that last one can be generated with a

=C2=A0 =C2=A0 sed -n 2,22p < inputfilename | md5sum

Please check if all of this (especially the MD5s) make sense to you :)
<= /blockquote>

Yes. Will double check and submit a new ver= sion of the patch.

Thank you!

=
Guillermo Rodriguez Garcia
--000000000000ba21e805974b397b-- --===============1368742836== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de --===============1368742836==--