aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-pyserial.inc
diff options
context:
space:
mode:
authorDominic Sacré <dominic.sacre@gmx.de>2015-08-24 17:27:56 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2015-08-31 19:17:07 +0200
commite10dd1e57741f8cd226d6080d02ee356eace0538 (patch)
treeafb28fa97a978cbfdc1e287a06b75eb3bf24fc75 /meta-python/recipes-devtools/python/python-pyserial.inc
parent4058807b84c52438b6dbda967875ab1a74b35655 (diff)
downloadmeta-openembedded-e10dd1e57741f8cd226d6080d02ee356eace0538.tar.gz
meta-openembedded-e10dd1e57741f8cd226d6080d02ee356eace0538.tar.bz2
meta-openembedded-e10dd1e57741f8cd226d6080d02ee356eace0538.zip
python3-pyserial: Add new recipe
Use a common .inc file for the python-pyserial and python3-pyserial recipes. Remove ${bindir}/miniterm.py from the Python 3 version of the package. Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-pyserial.inc')
-rw-r--r--meta-python/recipes-devtools/python/python-pyserial.inc19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-pyserial.inc b/meta-python/recipes-devtools/python/python-pyserial.inc
new file mode 100644
index 000000000..0fd674756
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pyserial.inc
@@ -0,0 +1,19 @@
+SUMMARY = "Serial Port Support for Python"
+SECTION = "devel/python"
+LICENSE = "PSF"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c557c64905dac5b725980b9505bf8d7b"
+SRCNAME = "pyserial"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+# FIXME might stop packaging serialwin32 and serialjava files
+
+RDEPENDS_${PN} = "\
+ ${PYTHON_PN}-fcntl \
+ ${PYTHON_PN}-io \
+ ${PYTHON_PN}-stringold \
+"
+
+SRC_URI[md5sum] = "794506184df83ef2290de0d18803dd11"
+SRC_URI[sha256sum] = "3542ec0838793e61d6224e27ff05e8ce4ba5a5c5cc4ec5c6a3e8d49247985477"