[oe-commits] =?UTF-8?Q?Dominic=20Sacr=C3=A9=20?=: python3-pyinotify: Add new recipe

git at git.openembedded.org git at git.openembedded.org
Thu Aug 27 13:43:38 UTC 2015


Module: meta-openembedded.git
Branch: master-next
Commit: 97bdf6838aa602ce736e58a054ce148c037d95c8
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=97bdf6838aa602ce736e58a054ce148c037d95c8

Author: Dominic Sacré <dominic.sacre at gmx.de>
Date:   Mon Aug 24 17:27:57 2015 +0200

python3-pyinotify: Add new recipe

Use a common .inc file for the python-pyinotify and python3-pyinotify
recipes.

Signed-off-by: Dominic Sacré <dominic.sacre at gmx.de>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../recipes-devtools/python/python-pyinotify.inc        | 15 +++++++++++++++
 .../recipes-devtools/python/python-pyinotify_0.9.6.bb   | 17 +----------------
 .../recipes-devtools/python/python3-pyinotify_0.9.6.bb  |  2 ++
 3 files changed, 18 insertions(+), 16 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-pyinotify.inc b/meta-python/recipes-devtools/python/python-pyinotify.inc
new file mode 100644
index 0000000..285fe33
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pyinotify.inc
@@ -0,0 +1,15 @@
+DESCRIPTION = "Python pyinotify: Linux filesystem events monitoring"
+HOMEPAGE = "https://pypi.python.org/pypi/pyinotify"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ab173cade7965b411528464589a08382"
+
+RDEPENDS_${PN} += "python-threading python-io python-subprocess python-misc python-shell"
+
+SRCNAME = "pyinotify"
+SRC_URI = "https://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "8e580fa1ff3971f94a6f81672b76c406"
+SRC_URI[sha256sum] = "9c998a5d7606ca835065cdabc013ae6c66eb9ea76a00a1e3bc6e0cfe2b4f71f4"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
diff --git a/meta-python/recipes-devtools/python/python-pyinotify_0.9.6.bb b/meta-python/recipes-devtools/python/python-pyinotify_0.9.6.bb
index 42956ce..d1f84c3 100644
--- a/meta-python/recipes-devtools/python/python-pyinotify_0.9.6.bb
+++ b/meta-python/recipes-devtools/python/python-pyinotify_0.9.6.bb
@@ -1,17 +1,2 @@
-DESCRIPTION = "Python pyinotify: Linux filesystem events monitoring"
-HOMEPAGE = "https://pypi.python.org/pypi/pyinotify"
-SECTION = "devel/python"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYING;md5=ab173cade7965b411528464589a08382"
-
-RDEPENDS_${PN} += "python-threading python-io python-subprocess python-misc python-shell"
-
-SRCNAME = "pyinotify"
-SRC_URI = "https://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "8e580fa1ff3971f94a6f81672b76c406"
-SRC_URI[sha256sum] = "9c998a5d7606ca835065cdabc013ae6c66eb9ea76a00a1e3bc6e0cfe2b4f71f4"
-
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
 inherit setuptools
+require python-pyinotify.inc
diff --git a/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb b/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb
new file mode 100644
index 0000000..b3bab98
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-pyinotify.inc



More information about the Openembedded-commits mailing list