aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack
diff options
context:
space:
mode:
authorZang Ruochen <zangrc.fnst@cn.fujitsu.com>2019-08-30 13:46:27 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-09-03 15:51:20 -0400
commit97fb59d6183ddbc78f5cb7f95cb9ba88c470fd8e (patch)
treefff4653ed737e1589a509227894b2d5d955f7de9 /meta-openstack
parent76779b613ed16667d1c39dfad4b91620e9549f89 (diff)
downloadmeta-cloud-services-97fb59d6183ddbc78f5cb7f95cb9ba88c470fd8e.tar.gz
meta-cloud-services-97fb59d6183ddbc78f5cb7f95cb9ba88c470fd8e.tar.bz2
meta-cloud-services-97fb59d6183ddbc78f5cb7f95cb9ba88c470fd8e.zip
python-happybase: 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')
-rw-r--r--meta-openstack/recipes-devtools/python/python-happybase.inc18
-rw-r--r--meta-openstack/recipes-devtools/python/python-happybase_1.2.0.bb20
-rw-r--r--meta-openstack/recipes-devtools/python/python3-happybase_1.2.0.bb2
3 files changed, 22 insertions, 18 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-happybase.inc b/meta-openstack/recipes-devtools/python/python-happybase.inc
new file mode 100644
index 0000000..325b2d1
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-happybase.inc
@@ -0,0 +1,18 @@
+DESCRIPTION = "Python library to interact with Apache HBase"
+HOMEPAGE = "https://pypi.python.org/pypi/happybase/"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=41f55ae3d7000e4323e84c468d8b42ee"
+
+SRC_URI[md5sum] = "96cb7ea8163f531907fabd0dddc8b87e"
+SRC_URI[sha256sum] = "850b4ee651128588a57e1e152dd1252e5ec39776a5d3d14ee892b8bac0fa9e1a"
+
+inherit pypi
+
+do_install_append() {
+ perm_files=$(find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "top_level.txt")
+ perm_files="$perm_files "$(find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "PKG-INFO")
+ for f in $perm_files; do
+ chmod 644 "${f}"
+ done
+}
diff --git a/meta-openstack/recipes-devtools/python/python-happybase_1.2.0.bb b/meta-openstack/recipes-devtools/python/python-happybase_1.2.0.bb
index a8066b6..26e39a8 100644
--- a/meta-openstack/recipes-devtools/python/python-happybase_1.2.0.bb
+++ b/meta-openstack/recipes-devtools/python/python-happybase_1.2.0.bb
@@ -1,18 +1,2 @@
-DESCRIPTION = "Python library to interact with Apache HBase"
-HOMEPAGE = "https://pypi.python.org/pypi/happybase/"
-SECTION = "devel/python"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=41f55ae3d7000e4323e84c468d8b42ee"
-
-SRC_URI[md5sum] = "96cb7ea8163f531907fabd0dddc8b87e"
-SRC_URI[sha256sum] = "850b4ee651128588a57e1e152dd1252e5ec39776a5d3d14ee892b8bac0fa9e1a"
-
-inherit setuptools pypi
-
-do_install_append() {
- perm_files=$(find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "top_level.txt")
- perm_files="$perm_files "$(find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "PKG-INFO")
- for f in $perm_files; do
- chmod 644 "${f}"
- done
-}
+inherit setuptools
+require python-happybase.inc
diff --git a/meta-openstack/recipes-devtools/python/python3-happybase_1.2.0.bb b/meta-openstack/recipes-devtools/python/python3-happybase_1.2.0.bb
new file mode 100644
index 0000000..8b5571b
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-happybase_1.2.0.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-happybase.inc