Skip to contentSkip to conversation

Ad pyopencl

PATCH New Jacob Stiffler 1 participant 5 messages May 27, 2016

lore
Share & tools
lore
#0 lore raw

cover Ad pyopencl

Add and integrate python-pyopencl and missing dependencies python-appdirs and python-pytools.

Jacob Stiffler (4):
python-appdirs: add version 1.4.0
python-pytools: add version 2016.2.1
python-pyopencl: add version 2016.1 packagegroup-arago-tisdk-opencl: add python-pyopencl package

 .../packagegroup-arago-tisdk-opencl-sdk-target.bb  |  3 ++-
 .../packagegroup-arago-tisdk-opencl.bb             |  3 ++-
 .../python/python-appdirs_1.4.0.bb                 |  8 ++++++++
 .../python/python-pyopencl_2016.1.bb               | 23 ++++++++++++++++++++++
 .../python/python-pytools_2016.2.1.bb              | 17 ++++++++++++++++
 5 files changed, 52 insertions(+), 2 deletions(-)
 create mode 100644 meta-arago-extras/recipes-devtools/python/python-appdirs_1.4.0.bb
 create mode 100644 meta-arago-extras/recipes-devtools/python/python-pyopencl_2016.1.bb
 create mode 100644 meta-arago-extras/recipes-devtools/python/python-pytools_2016.2.1.bb
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/4 python-appdirs: add version 1.4.0

---
 meta-arago-extras/recipes-devtools/python/python-appdirs_1.4.0.bb | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 meta-arago-extras/recipes-devtools/python/python-appdirs_1.4.0.bb
meta-arago-extras/recipes-devtools/python/python-appdirs_1.4.0.bb new file +8 -0
new file mode 100644
index 0000000..fdea221
@@ -0,0 +1,8 @@
+SUMMARY = "A small Python module for determining appropriate + platform-specific dirs, e.g. a "user data dir"."
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=31625363c45eb0c67c630a2f73e438e4"
+
+SRC_URI[md5sum] = "1d17b4c9694ab84794e228f28dc3275b"
+SRC_URI[sha256sum] = "8fc245efb4387a4e3e0ac8ebcc704582df7d72ff6a42a53f5600bbb18fdaadc5"
+
+inherit pypi setuptools
Signature · 1 line
2.7.4
#2 lore raw

PATCH 2/4 python-pytools: add version 2016.2.1

In reply to Jacob Stiffler

* Unfortunately the standard pypi SRC_URI is not available, so use link from pypi homepage

---
 .../recipes-devtools/python/python-pytools_2016.2.1.bb  | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 meta-arago-extras/recipes-devtools/python/python-pytools_2016.2.1.bb
meta-arago-extras/recipes-devtools/python/python-pytools_2016.2.1.bb new file +17 -0
new file mode 100644
index 0000000..fb597d4
@@ -0,0 +1,17 @@
+SUMMARY = "A collection of tools for Python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://MANIFEST.in;md5=d41d8cd98f00b204e9800998ecf8427e"
+
+RDEPENDS_${PN} = " python-decorator \
+                   python-appdirs \
+                   python-six \
+                   python-numpy \
+"
+
+SRC_URI[md5sum] = "452dfa3023733a675cc1bee91c536cbd"
+SRC_URI[sha256sum] = "8939d4a81e17ca30968126e9614100ab38df926b251b96a0b4736234195cca19"
+
+inherit pypi setuptools
+
+# Standard pypi SRC_URI is not available at this time
+SRC_URI = "https://pypi.python.org/packages/1a/1e/ce42d53bad97ad16732c8d9ac1dd6ed22a906ea07f291df5f6f90a6c7a2a/pytools-2016.2.1.tar.gz"
Signature · 1 line
2.7.4
#3 lore raw

PATCH 3/4 python-pyopencl: add version 2016.1

In reply to Jacob Stiffler

* Unfortunately the standard pypi SRC_URI is not available, so use link from pypi homepage

---
 .../python/python-pyopencl_2016.1.bb               | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 meta-arago-extras/recipes-devtools/python/python-pyopencl_2016.1.bb
meta-arago-extras/recipes-devtools/python/python-pyopencl_2016.1.bb new file +23 -0
new file mode 100644
index 0000000..9917ede
@@ -0,0 +1,23 @@
+SUMMARY = "OpenCL Integration for Python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2379446cdcffbf1c63a87311b816a656"
+
+DEPENDS = " python-cffi-native python-numpy-native opencl"
+RDEPENDS_${PN} = " opencl-runtime \
+                   python-numpy \
+                   python-pytest \
+                   python-pytools \
+                   python-decorator \
+                   python-cffi \
+                   python-appdirs \
+                   python-six \
+                   python-mako \
+"
+
+SRC_URI[md5sum] = "0c8a33b6a6b427bcd9c5966da461d9c6"
+SRC_URI[sha256sum] = "54b6e8ad02dc437807739bd53e43851efe979bd51ec87996e44b94ab67238297"
+
+inherit pypi setuptools
+
+# Standard pypi SRC_URI is not available at this time
+SRC_URI = "https://pypi.python.org/packages/cb/4e/fcb45db7d3005f5646f28a3de2a2f8e60a6e4b629f02bbb331320778f3a1/pyopencl-2016.1.tar.gz"
Signature · 1 line
2.7.4
#4 lore raw

PATCH 4/4 packagegroup-arago-tisdk-opencl: add python-pyopencl package

In reply to Jacob Stiffler
---
 .../packagegroups/packagegroup-arago-tisdk-opencl-sdk-target.bb        | 3 ++-
 .../recipes-core/packagegroups/packagegroup-arago-tisdk-opencl.bb      | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-opencl-sdk-target.bb +2 -1
index 211fcd3..ac235f0 100644
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to install headers and libraries of OpenCL/MP and related components"
 LICENSE = "MIT"
-PR = "r0"
+PR = "r1"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
@@ -9,6 +9,7 @@ inherit packagegroup
 UTILS = " \
     opencl-staticdev \
     openmpacc-dev \
+    python-pyopencl-dev \
 "
 
 UTILS_append_k2hk-evm = " \
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-opencl.bb +2 -1
index 24a8eef..6898dd6 100644
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to install OpenCL/MP and related components"
 LICENSE = "MIT"
-PR = "r0"
+PR = "r1"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
@@ -16,6 +16,7 @@ EXTRA_PKGS = " \
     opencl-staticdev \
     opencl-examples-dev \
     openmpacc-examples-dev \
+    python-pyopencl \
 "
 
 EXTRA_PKGS_append_k2hk-evm = " \
Signature · 1 line
2.7.4