[oe] [meta-python][PATCH] python-automat: add an initial recipe for version 0.6.0

Derek Straka derek at asterius.io
Wed Nov 1 16:41:24 UTC 2017


Signed-off-by: Derek Straka <derek at asterius.io>
---
 meta-python/recipes-devtools/python/python-automat.inc   | 16 ++++++++++++++++
 .../recipes-devtools/python/python-automat_0.6.0.bb      |  2 ++
 .../recipes-devtools/python/python3-automat_0.6.0.bb     |  4 ++++
 3 files changed, 22 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-automat.inc
 create mode 100644 meta-python/recipes-devtools/python/python-automat_0.6.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-automat_0.6.0.bb

diff --git a/meta-python/recipes-devtools/python/python-automat.inc b/meta-python/recipes-devtools/python/python-automat.inc
new file mode 100644
index 0000000..1ac5d3b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-automat.inc
@@ -0,0 +1,16 @@
+DESCRIPTION = "Self-service finite-state machines for the programmer on the go"
+HOMEPAGE = "https://github.com/glyph/Automat"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4ad213bcca81688e94593e5f60c87477"
+
+SRC_URI[md5sum] = "ad7bba58d262d8956d732330cb5ef53d"
+SRC_URI[sha256sum] = "3c1fd04ecf08ac87b4dd3feae409542e9bf7827257097b2b6ed5692f69d6f6a8"
+
+PYPI_PACKAGE = "Automat"
+
+inherit pypi
+
+RDEPENDS_${PN} += "\
+   ${PYTHON_PN}-attrs \
+   ${PYTHON_PN}-six \
+"
diff --git a/meta-python/recipes-devtools/python/python-automat_0.6.0.bb b/meta-python/recipes-devtools/python/python-automat_0.6.0.bb
new file mode 100644
index 0000000..8ac8c9c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-automat_0.6.0.bb
@@ -0,0 +1,2 @@
+inherit setuptools
+require python-automat.inc
diff --git a/meta-python/recipes-devtools/python/python3-automat_0.6.0.bb b/meta-python/recipes-devtools/python/python3-automat_0.6.0.bb
new file mode 100644
index 0000000..0469e61
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-automat_0.6.0.bb
@@ -0,0 +1,4 @@
+inherit setuptools3
+require python-automat.inc
+
+RDEPENDS_${PN} += "${PYTHON_PN}-enum "
-- 
2.7.4




More information about the Openembedded-devel mailing list