mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] python3-numpy: New package
@ 2019-11-11 15:13 Guillermo Rodríguez
  2019-11-12  9:32 ` [ptxdist] [PATCH v2] " Guillermo Rodríguez
  2019-11-12  9:51 ` [ptxdist] [PATCH] " Roland Hieber
  0 siblings, 2 replies; 26+ messages in thread
From: Guillermo Rodríguez @ 2019-11-11 15:13 UTC (permalink / raw)
  To: ptxdist; +Cc: Guillermo Rodríguez

NumPy is the fundamental package for scientific computing with Python.

Signed-off-by: Guillermo Rodriguez <guille.rodriguez@gmail.com>
---
 rules/python3-numpy.in   | 11 +++++++++
 rules/python3-numpy.make | 52 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 63 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..2edbab146
--- /dev/null
+++ b/rules/python3-numpy.in
@@ -0,0 +1,11 @@
+## SECTION=python3
+
+config PYTHON3_NUMPY
+	tristate
+	select PYTHON3
+	select HOST_PYTHON3_CYTHON
+	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..4c1ee70c3
--- /dev/null
+++ b/rules/python3-numpy.make
@@ -0,0 +1,52 @@
+# -*-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) += python3-numpy
+
+#
+# Paths and names
+#
+PYTHON3_NUMPY_VERSION	:= 1.16.1
+PYTHON3_NUMPY_MD5	:= bddcc682669b4be438db5eab61aa39b5
+PYTHON3_NUMPY		:= Numpy-$(PYTHON3_NUMPY_VERSION)
+PYTHON3_NUMPY_SUFFIX	:= tar.gz
+PYTHON3_NUMPY_URL	:= https://github.com/numpy/numpy/archive/v$(PYTHON3_NUMPY_VERSION).$(PYTHON3_NUMPY_SUFFIX)
+PYTHON3_NUMPY_SOURCE	:= $(SRCDIR)/$(PYTHON3_NUMPY).$(PYTHON3_NUMPY_SUFFIX)
+PYTHON3_NUMPY_DIR	:= $(BUILDDIR)/$(PYTHON3_NUMPY)
+PYTHON3_NUMPY_LICENSE	:= BSD
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_NUMPY_CONF_TOOL	:= 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 <guille.rodriguez@gmail.com>")
+	@$(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=make
-- 
2.21.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2019-11-25  9:35 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-11 15:13 [ptxdist] [PATCH] python3-numpy: New package Guillermo Rodríguez
2019-11-12  9:32 ` [ptxdist] [PATCH v2] " Guillermo Rodríguez
2019-11-12  9:51 ` [ptxdist] [PATCH] " Roland Hieber
2019-11-12 11:48   ` Guillermo Rodriguez Garcia
2019-11-12 11:51   ` [ptxdist] [PATCH v3] " Guillermo Rodríguez
2019-11-13  9:36     ` Roland Hieber
2019-11-14  9:36       ` Guillermo Rodriguez Garcia
2019-11-14  9:56         ` Roland Hieber
2019-11-14 10:01           ` Guillermo Rodriguez Garcia
2019-11-14 10:03             ` [ptxdist] [PATCH v4] " Guillermo Rodríguez
2019-11-14 10:07           ` [ptxdist] [PATCH v3] " Guillermo Rodriguez Garcia
2019-11-14 10:09             ` [ptxdist] [PATCH v5] " Guillermo Rodríguez
2019-11-14 20:24               ` Ladislav Michl
2019-11-14 11:18             ` [ptxdist] [PATCH v3] " Roland Hieber
2019-11-14 11:40               ` Guillermo Rodriguez Garcia
2019-11-14 13:31                 ` Roland Hieber
2019-11-14 18:50                   ` Guillermo Rodriguez Garcia
2019-11-15  8:51                     ` [ptxdist] [PATCH v6] " Guillermo Rodríguez
2019-11-15 14:19                       ` Michael Olbrich
2019-11-15 20:11                         ` [ptxdist] [PATCH] " Guillermo Rodriguez Garcia
2019-11-19  9:10                           ` Guillermo Rodriguez Garcia
2019-11-19  9:23                             ` Michael Olbrich
2019-11-19 10:15                               ` Guillermo Rodriguez Garcia
2019-11-19 12:39                                 ` [ptxdist] [PATCH v7] " Guillermo Rodríguez
2019-11-25  6:32                                   ` Michael Olbrich
2019-11-25  9:35                                     ` Guillermo Rodriguez Garcia

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