Skip to contentSkip to conversation

Add 11 recipes to help integrating TensorFlow to Yocto

PATCH New Hongxu Jia 1 participant 13 messages Feb 15, 2019

lore
Share & tools
lore
author
#1 lore raw

PATCH 1/12 python3-protobuf: add cpp implementation support

In reply to Hongxu Jia

- Compiling with option `--cpp_implementation', add cpp implementation support which requires to build with protobuf.

- Workaround native compile failure while host gcc <= 4.8 Setting environment KOKORO_BUILD_NUMBER, the build will explicitly compile with option `-std=c++11', it could workaround native compile failure while host gcc <= 4.8
...
/usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options
...

- Add Python 3.7 compatibility

---
 .../recipes-devtools/python/python-protobuf.inc    |  1 +
 .../0001-Add-Python-3.7-compatibility-4862.patch   | 98 ++++++++++++++++++++++
 .../python/python3-protobuf_3.6.1.bb               |  9 ++
 3 files changed, 108 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-protobuf/0001-Add-Python-3.7-compatibility-4862.patch
meta-python/recipes-devtools/python/python-protobuf.inc +1 -0
index 5103791..54eacc0 100644
@@ -29,3 +29,4 @@ RDEPENDS_${PN} += " \
 
 # For usage in other recipies when compiling protobuf files (e.g. by grpcio-tools)
 BBCLASSEXTEND = "native nativesdk"
+
meta-python/recipes-devtools/python/python3-protobuf/0001-Add-Python-3.7-compatibility-4862.patch new file +98 -0

98 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-protobuf_3.6.1.bb +9 -0
index 781d1dc..9b0668a 100644
@@ -1,2 +1,11 @@
 inherit setuptools3
 require python-protobuf.inc
+
+SRC_URI += "file://0001-Add-Python-3.7-compatibility-4862.patch"
+DEPENDS += "protobuf"
+DISTUTILS_BUILD_ARGS += "--cpp_implementation"
+DISTUTILS_INSTALL_ARGS += "--cpp_implementation"
+
+do_compile_prepend_class-native () {
+    export KOKORO_BUILD_NUMBER="1"
+}
Signature · 1 line
2.8.1
author
#2 lore raw

PATCH 2/12 python3-pkgconfig: add version 1.4.0

In reply to Hongxu Jia
---
 .../recipes-devtools/python/python3-pkgconfig_1.4.0.bb | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pkgconfig_1.4.0.bb
meta-python/recipes-devtools/python/python3-pkgconfig_1.4.0.bb new file +18 -0
new file mode 100644
index 0000000..92eb8bf
@@ -0,0 +1,18 @@
+SUMMARY = "Python module to interface with the pkg-config command line too"
+HOMEPAGE = "http://github.com/matze/pkgconfig"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=faa7f82be8f220bff6156be4790344fc"
+
+SRC_URI = "git://github.com/matze/pkgconfig.git"
+SRCREV ?= "8af0102346847e8873af8e76ab3f34ba9da806e2"
+
+RDEPENDS_${PN} = "pkgconfig \
+                 "
+
+inherit setuptools3
+
+S = "${WORKDIR}/git"
+
+BBCLASSEXTEND = "native"
+
Signature · 1 line
2.8.1

Hongxu Jia

author
#0 lore raw

cover Add 11 recipes to help integrating TensorFlow to Yocto

All these newly added recipes are fundamental packages of machine leaning framework (such as TensorFlow).

//Hongxu

The following changes since commit d30d26c2796dc45ba274803815421e6f4aca9eb5:

packagegroup-meta-oe: espeak-data is gone (2019-02-11 07:21:08 -0800)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib hongxu/add-recipes-20190215
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=hongxu/add-recipes-20190215

Hongxu Jia (12):
python3-protobuf: add cpp implementation support
python3-pkgconfig: add version 1.4.0
hdf5: add version 1.8.19
python3-h5py: add version 2.9.0
python3-termcolor: add version 1.1.0
python3-markdown: add version 3.0.1
python3-wheel: add version 0.32.3
python3-absl: add version 0.7.0
python3-astor: add version 0.7.1
python3-gast: add version 0.2.2 python3-keras-applications: add version 1.0.6 python3-keras-preprocessing: add version 1.0.5

 meta-oe/licenses/HDF5                              |  92 ++
 .../hdf5/files/0001-cross-compiling-support.patch  |  71 ++
 ...ve-suffix-shared-from-shared-library-name.patch |  50 ++
 meta-oe/recipes-support/hdf5/files/H5Tinit.c       | 991 +++++++++++++++++++++
 .../recipes-support/hdf5/files/H5lib_settings.c    |  98 ++
 meta-oe/recipes-support/hdf5/hdf5_1.8.19.bb        |  56 ++
 .../recipes-devtools/python/python-protobuf.inc    |   1 +
 .../recipes-devtools/python/python3-absl_0.7.0.bb  |  14 +
 .../recipes-devtools/python/python3-astor_0.7.1.bb |  14 +
 .../recipes-devtools/python/python3-gast_0.2.2.bb  |  14 +
 .../0001-cross-compiling-support.patch             |  46 +
 .../recipes-devtools/python/python3-h5py_2.9.0.bb  |  30 +
 .../python/python3-keras-applications_1.0.6.bb     |  19 +
 .../python/python3-keras-preprocessing_1.0.5.bb    |  15 +
 .../python/python3-markdown_3.0.1.bb               |  12 +
 .../python/python3-pkgconfig_1.4.0.bb              |  18 +
 .../0001-Add-Python-3.7-compatibility-4862.patch   |  98 ++
 .../python/python3-protobuf_3.6.1.bb               |   9 +
 .../python/python3-termcolor_1.1.0.bb              |  12 +
 .../python/python3-wheel_0.32.3.bb                 |  16 +
 20 files changed, 1676 insertions(+)
 create mode 100644 meta-oe/licenses/HDF5
 create mode 100644 meta-oe/recipes-support/hdf5/files/0001-cross-compiling-support.patch
 create mode 100644 meta-oe/recipes-support/hdf5/files/0002-Remove-suffix-shared-from-shared-library-name.patch
 create mode 100644 meta-oe/recipes-support/hdf5/files/H5Tinit.c
 create mode 100644 meta-oe/recipes-support/hdf5/files/H5lib_settings.c
 create mode 100644 meta-oe/recipes-support/hdf5/hdf5_1.8.19.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-absl_0.7.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-astor_0.7.1.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-gast_0.2.2.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-h5py_2.9.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-keras-applications_1.0.6.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-keras-preprocessing_1.0.5.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-markdown_3.0.1.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pkgconfig_1.4.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-protobuf/0001-Add-Python-3.7-compatibility-4862.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-termcolor_1.1.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-wheel_0.32.3.bb
Signature · 1 line
2.8.1
author
#4 lore raw

PATCH 4/12 python3-h5py: add version 2.9.0

---
 .../0001-cross-compiling-support.patch             | 46 ++++++++++++++++++++++
 .../recipes-devtools/python/python3-h5py_2.9.0.bb  | 30 ++++++++++++++
 2 files changed, 76 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-h5py_2.9.0.bb
meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch new file +46 -0
new file mode 100644
index 0000000..ff50c85
@@ -0,0 +1,46 @@
+From 7e3b1745c1fef34683a0610381dd3308ad4d1ba9 Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <[email protected]>
+Date: Tue, 29 Jan 2019 17:08:32 +0800
+Subject: [PATCH] cross compiling support
+
+Remove useless dirs
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Hongxu Jia <[email protected]>
+---
+ setup_build.py     | 4 ----
+ setup_configure.py | 2 +-
+ 2 files changed, 1 insertion(+), 5 deletions(-)
+
+diff --git a/setup_build.py b/setup_build.py
+index 85b321a..2c78e92 100644
+--- a/setup_build.py
++++ b/setup_build.py
+@@ -53,10 +53,6 @@ if sys.platform.startswith('win'):
+         ('_HDF5USEDLL_', None),
+         ('H5_BUILT_AS_DYNAMIC_LIB', None)
+     ])
+-else:
+-    FALLBACK_PATHS['include_dirs'].extend(['/opt/local/include', '/usr/local/include'])
+-    FALLBACK_PATHS['library_dirs'].extend(['/opt/local/lib', '/usr/local/lib'])
+-
+ 
+ class h5py_build_ext(build_ext):
+ 
+diff --git a/setup_configure.py b/setup_configure.py
+index a2de76a..197f2da 100644
+--- a/setup_configure.py
++++ b/setup_configure.py
+@@ -208,7 +208,7 @@ def autodetect_version(hdf5_dir=None):
+     else:
+         regexp = re.compile(r'^libhdf5.so')
+ 
+-    libdirs = ['/usr/local/lib', '/opt/local/lib']
++    libdirs = []
+     try:
+         if pkgconfig.exists("hdf5"):
+             libdirs.extend(pkgconfig.parse("hdf5")['library_dirs'])
+-- 
+2.7.4
+
meta-python/recipes-devtools/python/python3-h5py_2.9.0.bb new file +30 -0
new file mode 100644
index 0000000..bca7757
@@ -0,0 +1,30 @@
+SUMMARY = "Provides both a high- and low-level interface to the HDF5 library from Python. "
+HOMEPAGE = "https://www.h5py.org/"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://setup.py;beginline=107;endline=107;md5=795ecad0d261c998cc526c84a822dff6"
+
+SRC_URI = "git://github.com/h5py/h5py.git \
+           file://0001-cross-compiling-support.patch \
+          "
+SRCREV ?= "8d96a14c3508de1bde77aec5db302e478dc5dbc4"
+
+inherit setuptools3
+
+S = "${WORKDIR}/git"
+
+BBCLASSEXTEND = "native"
+
+DEPENDS = "python3-pkgconfig-native \
+           python3-cython-native \
+           python3-numpy-native \
+           python3-six-native \
+           python3 \
+           hdf5 \
+          "
+
+RDEPENDS_${PN} = "python3-numpy \
+                  python3-six \
+                 "
+
+export HDF5_VERSION="1.8.19"
Signature · 1 line
2.8.1
author
#5 lore raw

PATCH 5/12 python3-termcolor: add version 1.1.0

In reply to Hongxu Jia
---
 .../recipes-devtools/python/python3-termcolor_1.1.0.bb       | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-termcolor_1.1.0.bb
meta-python/recipes-devtools/python/python3-termcolor_1.1.0.bb new file +12 -0
new file mode 100644
index 0000000..17df7f9
@@ -0,0 +1,12 @@
+SUMMARY = "ANSII Color formatting for output in terminal"
+HOMEPAGE = "https://pypi.python.org/pypi/termcolor"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=809e8749b63567978acfbd81d9f6a27d"
+
+inherit pypi setuptools3
+
+SRC_URI[md5sum] = "043e89644f8909d462fbbfa511c768df"
+SRC_URI[sha256sum] = "1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.8.1
author
#3 lore raw

PATCH 3/12 hdf5: add version 1.8.19

In reply to Hongxu Jia

License HDF5 is BSD-style.
https://support.hdfgroup.org/products/licenses.html

---
 meta-oe/licenses/HDF5                              |  92 ++
 .../hdf5/files/0001-cross-compiling-support.patch  |  71 ++
 ...ve-suffix-shared-from-shared-library-name.patch |  50 ++
 meta-oe/recipes-support/hdf5/files/H5Tinit.c       | 991 +++++++++++++++++++++
 .../recipes-support/hdf5/files/H5lib_settings.c    |  98 ++
 meta-oe/recipes-support/hdf5/hdf5_1.8.19.bb        |  56 ++
 6 files changed, 1358 insertions(+)
 create mode 100644 meta-oe/licenses/HDF5
 create mode 100644 meta-oe/recipes-support/hdf5/files/0001-cross-compiling-support.patch
 create mode 100644 meta-oe/recipes-support/hdf5/files/0002-Remove-suffix-shared-from-shared-library-name.patch
 create mode 100644 meta-oe/recipes-support/hdf5/files/H5Tinit.c
 create mode 100644 meta-oe/recipes-support/hdf5/files/H5lib_settings.c
 create mode 100644 meta-oe/recipes-support/hdf5/hdf5_1.8.19.bb
meta-oe/licenses/HDF5 new file +92 -0
new file mode 100644
index 0000000..10481dd
@@ -0,0 +1,92 @@
+Copyright Notice and License Terms for 
+HDF5 (Hierarchical Data Format 5) Software Library and Utilities
+-----------------------------------------------------------------------------
+
+HDF5 (Hierarchical Data Format 5) Software Library and Utilities
+Copyright (c) 2006-2018, The HDF Group. 
+
+NCSA HDF5 (Hierarchical Data Format 5) Software Library and Utilities
+Copyright (c) 1998-2006, The Board of Trustees of the University of Illinois. 
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without 
+modification, are permitted for any purpose (including commercial purposes) 
+provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, 
+   this list of conditions, and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice, 
+   this list of conditions, and the following disclaimer in the documentation 
+   and/or materials provided with the distribution.
+
+3. Neither the name of The HDF Group, the name of the University, nor the 
+   name of any Contributor may be used to endorse or promote products derived 
+   from this software without specific prior written permission from 
+   The HDF Group, the University, or the Contributor, respectively.
+
+DISCLAIMER: 
+THIS SOFTWARE IS PROVIDED BY THE HDF GROUP AND THE CONTRIBUTORS 
+"AS IS" WITH NO WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. IN NO EVENT SHALL THE HDF GROUP OR THE CONTRIBUTORS BE LIABLE FOR ANY DAMAGES SUFFERED BY THE USERS ARISING OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ 
+You are under no obligation whatsoever to provide any bug fixes, patches, or upgrades to the features, functionality or performance of the source code ("Enhancements") to anyone; however, if you choose to make your Enhancements available either publicly, or directly to The HDF Group, without imposing a separate written license agreement for such Enhancements, then you hereby grant the following license: a non-exclusive, royalty-free perpetual license to install, use, modify, prepare derivative works, incorporate into other computer software, distribute, and sublicense such enhancements or derivative works thereof, in binary and source code form.
+
+-----------------------------------------------------------------------------
+-----------------------------------------------------------------------------
+
+Limited portions of HDF5 were developed by Lawrence Berkeley National 
+Laboratory (LBNL). LBNL's Copyright Notice and Licensing Terms can be
+found here: COPYING_LBNL_HDF5 file in this directory or at 
+http://support.hdfgroup.org/ftp/HDF5/releases/COPYING_LBNL_HDF5. 
+
+-----------------------------------------------------------------------------
+-----------------------------------------------------------------------------
+
+Contributors:   National Center for Supercomputing Applications (NCSA) at 
+the University of Illinois, Fortner Software, Unidata Program Center (netCDF), The Independent JPEG Group (JPEG), Jean-loup Gailly and Mark Adler (gzip), and Digital Equipment Corporation (DEC).
+
+-----------------------------------------------------------------------------
+ 
+Portions of HDF5 were developed with support from the Lawrence Berkeley 
+National Laboratory (LBNL) and the United States Department of Energy 
+under Prime Contract No. DE-AC02-05CH11231.
+
+-----------------------------------------------------------------------------
+
+Portions of HDF5 were developed with support from the University of 
+California, Lawrence Livermore National Laboratory (UC LLNL).  
+The following statement applies to those portions of the product and must 
+be retained in any redistribution of source code, binaries, documentation, 
+and/or accompanying materials:
+
+   This work was partially produced at the University of California, 
+   Lawrence Livermore National Laboratory (UC LLNL) under contract 
+   no. W-7405-ENG-48 (Contract 48) between the U.S. Department of Energy 
+   (DOE) and The Regents of the University of California (University) 
+   for the operation of UC LLNL.
+
+   DISCLAIMER: 
+   This work was prepared as an account of work sponsored by an agency of 
+   the United States Government. Neither the United States Government nor 
+   the University of California nor any of their employees, makes any 
+   warranty, express or implied, or assumes any liability or responsibility 
+   for the accuracy, completeness, or usefulness of any information, 
+   apparatus, product, or process disclosed, or represents that its use 
+   would not infringe privately- owned rights. Reference herein to any 
+   specific commercial products, process, or service by trade name, 
+   trademark, manufacturer, or otherwise, does not necessarily constitute 
+   or imply its endorsement, recommendation, or favoring by the United 
+   States Government or the University of California. The views and 
+   opinions of authors expressed herein do not necessarily state or reflect 
+   those of the United States Government or the University of California, 
+   and shall not be used for advertising or product endorsement purposes.
+
+-----------------------------------------------------------------------------
+
+HDF5 is available with the SZIP compression library but SZIP is not part 
+of HDF5 and has separate copyright and license terms. See SZIP Compression 
+in HDF Products (www.hdfgroup.org/doc_resource/SZIP/) for further details.
+
+-----------------------------------------------------------------------------
+
meta-oe/recipes-support/hdf5/files/0001-cross-compiling-support.patch new file +71 -0

71 lines not on this page · raw message

meta-oe/recipes-support/hdf5/files/0002-Remove-suffix-shared-from-shared-library-name.patch new file +50 -0

50 lines not on this page · raw message

meta-oe/recipes-support/hdf5/files/H5Tinit.c new file +991 -0

991 lines not on this page · raw message

meta-oe/recipes-support/hdf5/files/H5lib_settings.c new file +98 -0

98 lines not on this page · raw message

meta-oe/recipes-support/hdf5/hdf5_1.8.19.bb new file +56 -0

56 lines not on this page · raw message

Signature · 1 line
2.8.1
author
#7 lore raw

PATCH 7/12 python3-wheel: add version 0.32.3

In reply to Hongxu Jia
---
 .../recipes-devtools/python/python3-wheel_0.32.3.bb      | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-wheel_0.32.3.bb
meta-python/recipes-devtools/python/python3-wheel_0.32.3.bb new file +16 -0
new file mode 100644
index 0000000..e8c08a7
@@ -0,0 +1,16 @@
+SUMMARY = "The official binary distribution format for Python "
+HOMEPAGE = "https://github.com/pypa/wheel"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9d66b41bc2a080e7174acc5dffecd752"
+
+SRC_URI = "git://github.com/pypa/wheel.git"
+SRCREV ?= "11584b78a56b4eedba4eedc55c9dac8aa2dd7070"
+
+
+inherit setuptools3
+
+S = "${WORKDIR}/git"
+
+BBCLASSEXTEND = "native"
+
Signature · 1 line
2.8.1
author
#8 lore raw

PATCH 8/12 python3-absl: add version 0.7.0

In reply to Hongxu Jia
---
 meta-python/recipes-devtools/python/python3-absl_0.7.0.bb | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-absl_0.7.0.bb
meta-python/recipes-devtools/python/python3-absl_0.7.0.bb new file +14 -0
new file mode 100644
index 0000000..c65a6d7
@@ -0,0 +1,14 @@
+SUMMARY = "Abseil Python Common Libraries"
+HOMEPAGE = "https://github.com/abseil/abseil-py"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+SRC_URI = "git://github.com/abseil/abseil-py.git"
+SRCREV ?= "e3ce504183c57fc4eca52fe84732c11cda99d131"
+
+inherit setuptools3
+
+S = "${WORKDIR}/git"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.8.1
author
#6 lore raw

PATCH 6/12 python3-markdown: add version 3.0.1

In reply to Hongxu Jia
---
 .../recipes-devtools/python/python3-markdown_3.0.1.bb        | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-markdown_3.0.1.bb
meta-python/recipes-devtools/python/python3-markdown_3.0.1.bb new file +12 -0
new file mode 100644
index 0000000..b6d2f18
@@ -0,0 +1,12 @@
+SUMMARY = "A Python implementation of John Gruber's Markdown."
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=745aaad0c69c60039e638bff9ffc59ed"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "Markdown"
+PYPI_SRC_URI = "https://files.pythonhosted.org/packages/3c/52/7bae9e99a7a4be6af4a713fe9b692777e6468d28991c54c273dfb6ec9fb2/Markdown-${PV}.tar.gz"
+SRC_URI[md5sum] = "72219f46ca440b657bf227500731bdf1"
+SRC_URI[sha256sum] = "d02e0f9b04c500cde6637c11ad7c72671f359b87b9fe924b2383649d8841db7c"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.8.1
author
#10 lore raw

PATCH 10/12 python3-gast: add version 0.2.2

In reply to Hongxu Jia
---
 meta-python/recipes-devtools/python/python3-gast_0.2.2.bb | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-gast_0.2.2.bb
meta-python/recipes-devtools/python/python3-gast_0.2.2.bb new file +14 -0
new file mode 100644
index 0000000..6e08a19
@@ -0,0 +1,14 @@
+SUMMARY = "A generic AST to represent Python2 and Python3's Abstract Syntax Tree(AST)."
+HOMEPAGE = "https://github.com/serge-sans-paille/gast"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a3ad9b6802e713fc5e307e1230f1ea90"
+
+SRC_URI = "git://github.com/serge-sans-paille/gast.git"
+SRCREV ?= "ed82e2a507505c6b18eb665d3738b6c0602da5e7"
+
+inherit setuptools3
+
+S = "${WORKDIR}/git"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.8.1
author
#11 lore raw

PATCH 11/12 python3-keras-applications: add version 1.0.6

In reply to Hongxu Jia
---
 .../python/python3-keras-applications_1.0.6.bb        | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-keras-applications_1.0.6.bb
meta-python/recipes-devtools/python/python3-keras-applications_1.0.6.bb new file +19 -0
new file mode 100644
index 0000000..d38b992
@@ -0,0 +1,19 @@
+SUMMARY = "Reference implementations of popular deep learning models"
+HOMEPAGE = "https://github.com/keras-team/keras-applications"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=366e2fd3c9714f162d3663b6f97cfe41"
+
+SRC_URI = "git://github.com/keras-team/keras-applications.git"
+SRCREV ?= "61de21815728aa66377ebb2a7b4c2f5492a34dd2"
+
+
+inherit setuptools3
+
+S = "${WORKDIR}/git"
+
+BBCLASSEXTEND = "native"
+
+RDEPENDS_${PN} = "python3-numpy \
+                  python3-h5py \
+                 "
Signature · 1 line
2.8.1
author
#9 lore raw

PATCH 9/12 python3-astor: add version 0.7.1

In reply to Hongxu Jia
---
 meta-python/recipes-devtools/python/python3-astor_0.7.1.bb | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-astor_0.7.1.bb
meta-python/recipes-devtools/python/python3-astor_0.7.1.bb new file +14 -0
new file mode 100644
index 0000000..c2dc924
@@ -0,0 +1,14 @@
+SUMMARY = "Easy manipulation of Python source via the AST."
+HOMEPAGE = "https://github.com/berkerpeksag/astor"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=561205fdabc3ec52cae2d30815b8ade7"
+
+SRC_URI = "git://github.com/berkerpeksag/astor.git"
+SRCREV ?= "4ca3a26e52f08678854c2841cd0fdf223461e47d"
+
+inherit setuptools3
+
+S = "${WORKDIR}/git"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.8.1
author
#12 lore raw

PATCH 12/12 python3-keras-preprocessing: add version 1.0.5

In reply to Hongxu Jia
---
 .../python/python3-keras-preprocessing_1.0.5.bb           | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-keras-preprocessing_1.0.5.bb
meta-python/recipes-devtools/python/python3-keras-preprocessing_1.0.5.bb new file +15 -0
new file mode 100644
index 0000000..58b8c62
@@ -0,0 +1,15 @@
+SUMMARY = "Easy data preprocessing and data augmentation for deep learning models"
+HOMEPAGE = "https://github.com/keras-team/keras-preprocessing"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1744b320500cc2e3112964d00cce7aa4"
+
+SRC_URI = "git://github.com/keras-team/keras-preprocessing.git"
+SRCREV ?= "362fe9f8daf556151328eb5d02bd5ae638c653b8"
+
+inherit setuptools3
+
+S = "${WORKDIR}/git"
+
+BBCLASSEXTEND = "native"
+
Signature · 1 line
2.8.1