summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python
diff options
context:
space:
mode:
authorzangrc <zangrc.fnst@cn.fujitsu.com>2019-12-04 15:52:04 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-12-06 14:10:45 -0500
commitc0230947230e4f73823d14504a7a72df2e59f3da (patch)
tree8f8b0ebe17b1318f4eede631c1540bbe392cefe5 /meta-openstack/recipes-devtools/python
parent702a69fc3083294951dea4fa1f11910c9b64121d (diff)
downloadmeta-cloud-services-c0230947230e4f73823d14504a7a72df2e59f3da.tar.gz
python-python-editor: Add python3 version
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python')
-rw-r--r--meta-openstack/recipes-devtools/python/python-python-editor.inc20
-rw-r--r--meta-openstack/recipes-devtools/python/python-python-editor_git.bb22
-rw-r--r--meta-openstack/recipes-devtools/python/python3-python-editor_git.bb2
3 files changed, 23 insertions, 21 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-python-editor.inc b/meta-openstack/recipes-devtools/python/python-python-editor.inc
new file mode 100644
index 0000000..07692a3
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-python-editor.inc
@@ -0,0 +1,20 @@
1DESCRIPTION = "Programmatically open an editor, capture the result"
2HOMEPAGE = "https://github.com/fmoo/python-editor"
3SECTION = "devel/python"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
6
7PV = "0.4+git${SRCPV}"
8SRCREV = "d6fa2a6bb3106a1ba00fe40f9af62e4ddc539e1e"
9
10SRCNAME = "python-editor"
11SRC_URI = "git://github.com/fmoo/${SRCNAME}.git"
12
13S = "${WORKDIR}/git"
14
15DEPENDS += " \
16 ${PYTHON_PN}-pip \
17 "
18
19RDEPENDS_${PN} += " \
20 "
diff --git a/meta-openstack/recipes-devtools/python/python-python-editor_git.bb b/meta-openstack/recipes-devtools/python/python-python-editor_git.bb
index db668d7..322aca4 100644
--- a/meta-openstack/recipes-devtools/python/python-python-editor_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-python-editor_git.bb
@@ -1,22 +1,2 @@
1DESCRIPTION = "Programmatically open an editor, capture the result" 1require python-python-editor.inc
2HOMEPAGE = "https://github.com/fmoo/python-editor"
3SECTION = "devel/python"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
6
7PV = "0.4+git${SRCPV}"
8SRCREV = "d6fa2a6bb3106a1ba00fe40f9af62e4ddc539e1e"
9
10SRCNAME = "python-editor"
11SRC_URI = "git://github.com/fmoo/${SRCNAME}.git"
12
13S = "${WORKDIR}/git"
14
15inherit setuptools 2inherit setuptools
16
17DEPENDS += " \
18 python-pip \
19 "
20
21RDEPENDS_${PN} += " \
22 "
diff --git a/meta-openstack/recipes-devtools/python/python3-python-editor_git.bb b/meta-openstack/recipes-devtools/python/python3-python-editor_git.bb
new file mode 100644
index 0000000..7529398
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-python-editor_git.bb
@@ -0,0 +1,2 @@
1require python-python-editor.inc
2inherit setuptools3