Skip to contentSkip to conversation

python-pyfirmata: move in from meta-intel-iot-middleware and upgrade

PATCH New Paul Eggleton 1 participant 2 messages Sep 26, 2017

lore
Share & tools
lore
#0 lore raw

cover python-pyfirmata: move in from meta-intel-iot-middleware and upgrade

Move in python-pyfirmata from meta-intel-iot-middleware.

The following changes since commit f841648657069051dffa1012a42eb1524b894d50:

openwsman: Fix build with musl (2017-09-22 22:56:13 +0000)

are available in the git repository at:

git://git.openembedded.org/meta-openembedded-contrib paule/python-pyfirmata
http://cgit.openembedded.org/meta-openembedded-contrib/log/?h=paule/python-pyfirmata

Paul Eggleton (1):
python-pyfirmata: move in from meta-intel-iot-middleware and upgrade

 meta-python/recipes-devtools/python/python-pyfirmata.inc    | 13 +++++++++++++
 .../recipes-devtools/python/python-pyfirmata_1.0.3.bb       |  3 +++
 .../recipes-devtools/python/python3-pyfirmata_1.0.3.bb      |  3 +++
 3 files changed, 19 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-pyfirmata.inc
 create mode 100644 meta-python/recipes-devtools/python/python-pyfirmata_1.0.3.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pyfirmata_1.0.3.bb
Signature · 1 line
2.9.5
#1 lore raw

PATCH 1/1 python-pyfirmata: move in from meta-intel-iot-middleware and upgrade

The following improvements have been made over the recipe that was in meta-intel-iot-middleware (a layer which is no longer actively maintained):

* Upgrade to 1.0.3
* Inherit from setuptools instead of distutils since that changed with the upgrade
* Inherit pypi and also provide Python 3 version
* Use the correct LICENSE (changed BSD -> MIT back at version 0.9.5)
* Set short description in SUMMARY instead of DESCRIPTION

---
 meta-python/recipes-devtools/python/python-pyfirmata.inc    | 13 +++++++++++++
 .../recipes-devtools/python/python-pyfirmata_1.0.3.bb       |  3 +++
 .../recipes-devtools/python/python3-pyfirmata_1.0.3.bb      |  3 +++
 3 files changed, 19 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-pyfirmata.inc
 create mode 100644 meta-python/recipes-devtools/python/python-pyfirmata_1.0.3.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pyfirmata_1.0.3.bb
meta-python/recipes-devtools/python/python-pyfirmata.inc new file +13 -0
new file mode 100644
index 0000000..2365379
@@ -0,0 +1,13 @@
+SUMMARY = "A Python interface for the Firmata protocol"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=84ddcef430b7c44caa22b2ff4b37a3df"
+PYPI_PACKAGE = "pyFirmata"
+
+RDEPENDS_${PN} = "\
+    ${PYTHON_PN}-pyserial \
+"
+
+SRC_URI[md5sum] = "ee4c23ca5c35d3091d550a63540811a3"
+SRC_URI[sha256sum] = "b54d49d66a9d93c1ef9c72ca01264414cb2de177baac116c12d5cce0c380160c"
+
+inherit pypi
meta-python/recipes-devtools/python/python-pyfirmata_1.0.3.bb new file +3 -0
new file mode 100644
index 0000000..d77e0f3
@@ -0,0 +1,3 @@
+inherit setuptools
+require python-pyfirmata.inc
+
meta-python/recipes-devtools/python/python3-pyfirmata_1.0.3.bb new file +3 -0
new file mode 100644
index 0000000..25af1b5
@@ -0,0 +1,3 @@
+inherit setuptools3
+require python-pyfirmata.inc
+
Signature · 1 line
2.9.5