From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from eddie.linux-mips.org ([148.251.95.138] helo=cvs.linux-mips.org) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1iVLfP-0005s1-71 for ptxdist@pengutronix.de; Thu, 14 Nov 2019 21:24:36 +0100 Received: (from localhost user: 'ladis' uid#1021 fake: STDIN (ladis@eddie.linux-mips.org)) by eddie.linux-mips.org id S23992580AbfKNUYdTlsxN (ORCPT ); Thu, 14 Nov 2019 21:24:33 +0100 Date: Thu, 14 Nov 2019 21:24:32 +0100 From: Ladislav Michl Message-ID: <20191114202432.GA10558@lenoch> References: <20191114100914.24293-1-guille.rodriguez@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191114100914.24293-1-guille.rodriguez@gmail.com> Subject: Re: [ptxdist] [PATCH v5] 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: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Guillermo =?iso-8859-2?Q?Rodr=EDguez?= Hi, just in case v6 will follow see small nit bellow... On Thu, Nov 14, 2019 at 11:09:14AM +0100, Guillermo Rodr=EDguez 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 > v4: Update LICENSE and LICENSE_FILES with additional licenses > v5: Removed "unknown" from LICENSE > = > rules/python3-numpy.in | 10 +++++++ > rules/python3-numpy.make | 57 ++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 67 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..a8a0d4dfe > --- /dev/null > +++ b/rules/python3-numpy.make > @@ -0,0 +1,57 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2019 by Guillermo Rodriguez > +# > +# For further information about the PTXdist project and license conditio= ns > +# 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).$(PYTHON3_NUMPY_SUFFIX) > +PYTHON3_NUMPY_SOURCE :=3D $(SRCDIR)/$(PYTHON3_NUMPY).$(PYTHON3_NUMPY_SUF= FIX) > +PYTHON3_NUMPY_DIR :=3D $(BUILDDIR)/$(PYTHON3_NUMPY) > +PYTHON3_NUMPY_LICENSE :=3D BSD AND BSD-3-Clause AND MIT > +PYTHON3_NUMPY_LICENSE_FILES :=3D \ > + file://LICENSE.txt;md5=3Dd26bde5432613cce2334b93985576231 \ > + file://tools/npy_tempita/license.txt;md5=3Dc66b85ddcd09296abff87= 601467724fd \ > + file://numpy/core/src/multiarray/dragon4.c;startline=3D2;endline= =3D22;md5=3D19537439573c5696a922ed7957c5b37e ^^^ - those two lines above: TABs please. > + > + > +# ----------------------------------------------------------------------= ------ > +# Prepare > +# ----------------------------------------------------------------------= ------ > + > +PYTHON3_NUMPY_CONF_TOOL :=3D python3 > + > +# ----------------------------------------------------------------------= ------ > +# Target-Install > +# ----------------------------------------------------------------------= ------ > + > +$(STATEDIR)/python3-numpy.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, python3-numpy) > + @$(call install_fixup, python3-numpy, PRIORITY, optional) > + @$(call install_fixup, python3-numpy, SECTION, base) > + @$(call install_fixup, python3-numpy, AUTHOR, "Guillermo Rodriguez ") > + @$(call install_fixup, python3-numpy, DESCRIPTION, missing) > + > + @$(call install_glob, python3-numpy, 0, 0, -, \ > + /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/numpy,, *.py) > + > + @$(call install_finish, python3-numpy) > + > + @$(call touch) > + > +# vim: syntax=3Dmake > -- = > 2.21.0 > = > = > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de