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> <20191114095605.hhfgwkogkoc3xyfj@pengutronix.de> In-Reply-To: <20191114095605.hhfgwkogkoc3xyfj@pengutronix.de> From: Guillermo Rodriguez Garcia Date: Thu, 14 Nov 2019 11:01:35 +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="===============1766639941==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: Roland Hieber Cc: ptxdist@pengutronix.de --===============1766639941== Content-Type: multipart/alternative; boundary="000000000000ed8bff05974b91c5" --000000000000ed8bff05974b91c5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable El jue., 14 nov. 2019 a las 10:56, Roland Hieber () escribi=C3=B3: > On Thu, Nov 14, 2019 at 10:36:56AM +0100, Guillermo Rodriguez Garcia wrot= e: > > 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 wr= ote: > > > > 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 < > guille.rodriguez@gmail.com > > > > > > > > +# > > > > +# 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 > > I don't have a LICENSES_bundled.txt in the extracted zip file with that > MD5sum from that URL... > Right, sorry. The tarball combines the LICENSE.txt and LICENSES_bundled.txt files from the Github repo into one single LICENSE.txt file. I mixed them up. Guillermo > > > 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. > > OK. That was not clear to me. > > - Roland > > > > > > > > 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 ca= n > > ignore this. > > > > > > > > > > > > > numpy/core/src/multiarray/dragon4.c seems to be a license found nowhe= re > > > 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=3Ddc37e8b18377b83250218fc557984e= 1a \ > > > > > > > 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 > > > _______________________________________________ > > ptxdist mailing list > > ptxdist@pengutronix.de > > > -- > Roland Hieber, Pengutronix e.K. | r.hieber@pengutronix.de | > Steuerwalder Str. 21 | https://www.pengutronix.de/ | > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | > --=20 Guillermo Rodriguez Garcia guille.rodriguez@gmail.com --000000000000ed8bff05974b91c5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
El jue., 14 nov. 2019 a las 10:56, Ro= land Hieber (<rhi@pengutronix.de>) escribi=C3=B3:
On Thu, Nov 14, 2019 at 10:36:56AM +0100, Guillermo Rodriguez Garcia= wrote:
> Hi Roland,
>
> 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=ADgue= z wrote:
> > > NumPy is the fundamental package for scientific computing wi= th Python.
> > >
> > > Signed-off-by: Guillermo Rodriguez <guille.rodriguez@gmail.com&g= t;
> > > ---
> > > v2: Switch to PyPi URL; this removes the dependency on Cytho= n.
> > > 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 scientific 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
> > >
> > > +#
> > > +# For further information about the PTXdist project and lic= ense
> > conditions
> > > +# 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 dafda51934f645d888866f9= 8424521ae
> > > +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
> > ht= tps://pypi.python.org/packages/source/n/numpy/$(PYTHON3_NUMPY).$(PYTHON3_NU= MPY_SUFFIX)
> > > +PYTHON3_NUMPY_SOURCE :=3D
> > $(SRCDIR)/$(PYTHON3_NUMPY).$(PYTHON3_NUMPY_SUFFIX)
> > > +PYTHON3_NUMPY_DIR=C2=A0 =C2=A0 :=3D $(BUILDDIR)/$(PYTHON3_N= UMPY)
> > > +PYTHON3_NUMPY_LICENSE=C2=A0 =C2=A0 =C2=A0 =C2=A0 :=3D BSD A= ND BSD-3-Clause AND MIT
> >
> > AND Apache-2.0, according to LICENSE.txt.
>
>
> I assume you mean LICENSES_bundled.txt and not LICENSE.txt

I don't have a LICENSES_bundled.txt in the extracted zip file with that=
MD5sum from that URL...

Right, sorry. T= he tarball combines the LICENSE.txt and LICENSES_bundled.txt files from the= Github repo into one single LICENSE.txt file. I mixed them up.
<= br>
Guillermo
=C2=A0

> 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.

OK. That was not clear to me.

=C2=A0- Roland

>
>
> > 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 t= his as
> > "AND UNKNOWN", and wait until the respective SPDX issue= is resolved...
> > https://github.com/spdx/license-list-XM= L/issues/919
>
>
> Same as above, this only applies to the Sphinx theme, so I assume we c= an
> ignore this.
>
>
> >
> >
> > numpy/core/src/multiarray/dragon4.c seems to be a license found n= owhere
> > else, so I would also add "AND UNKNOWN" to PYTHON3_NUMP= Y_LICENSE and add
> > its verbatim license text with startline and endline parameters i= n
> > PYTHON3_NUMPY_LICENSE_FILES. PTXdist extracts all those license > > texts mentioned in that variable and adds them to the license rep= ort,
> > so it doesn't get lost too :)
> >
>
> OK.
>
>
> >
> > > +PYTHON3_NUMPY_LICENSE_FILES :=3D \
> > > +=C2=A0 =C2=A0 =C2=A0file://LICENSE.txt;md5=3Dd26bde5432613c= ce2334b93985576231
> >
> >
> > file://doc/sphinxext/LICENSE.txt;md5=3Ddc37e8b18377b83250218fc557= 984e1a \
> >
> > file://doc/scipy-sphinx-theme/LICENSE.txt;md5=3Dea17c9a65c9ae0ccd= f3b0a7fd1ee4616
> > \
> >
> > file://tools/npy_tempita/license.txt;md5=3Dc66b85ddcd09296abff876= 01467724fd \
> >
> > 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/iss= ues/13295)
> >
> > For reference, that last one can be generated with a
> >
> >=C2=A0 =C2=A0 =C2=A0sed -n 2,22p < inputfilename | md5sum
> >
> > Please check if all of this (especially the MD5s) make sense to y= ou :)
> >
>
> Yes. Will double check and submit a new version of the patch.
>
> Thank you!
>
> Guillermo Rodriguez Garcia
> guille= .rodriguez@gmail.com

> _______________________________________________
> ptxdist mailing list
> ptxdist@pe= ngutronix.de


--
Roland Hieber, Pengutronix e.K.=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | r.hieber@pengutronix.= de=C2=A0 =C2=A0 =C2=A0|
Steuerwalder Str. 21=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0| https://www.pengutronix.de/ |
31137 Hildesheim, Germany=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 | Phone: +49-5121-206917-0=C2=A0 =C2=A0 |
Amtsgericht Hildesheim, HRA 2686=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| Fax:=C2= =A0 =C2=A0+49-5121-206917-5555 |


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