All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] python-happybase: Add python3 version
@ 2019-08-30  5:46 Zang Ruochen
  2019-09-03 19:53 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Zang Ruochen @ 2019-08-30  5:46 UTC (permalink / raw)
  To: meta-virtualization

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
---
 .../recipes-devtools/python/python-happybase.inc     | 18 ++++++++++++++++++
 .../python/python-happybase_1.2.0.bb                 | 20 ++------------------
 .../python/python3-happybase_1.2.0.bb                |  2 ++
 3 files changed, 22 insertions(+), 18 deletions(-)
 create mode 100644 meta-openstack/recipes-devtools/python/python-happybase.inc
 create mode 100644 meta-openstack/recipes-devtools/python/python3-happybase_1.2.0.bb

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
-- 
2.7.4





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] python-happybase: Add python3 version
  2019-08-30  5:46 [PATCH] python-happybase: Add python3 version Zang Ruochen
@ 2019-09-03 19:53 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2019-09-03 19:53 UTC (permalink / raw)
  To: Zang Ruochen; +Cc: meta-virtualization

merged.

Bruce

On Fri, Aug 30, 2019 at 1:50 AM Zang Ruochen <zangrc.fnst@cn.fujitsu.com> wrote:
>
> Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
> ---
>  .../recipes-devtools/python/python-happybase.inc     | 18 ++++++++++++++++++
>  .../python/python-happybase_1.2.0.bb                 | 20 ++------------------
>  .../python/python3-happybase_1.2.0.bb                |  2 ++
>  3 files changed, 22 insertions(+), 18 deletions(-)
>  create mode 100644 meta-openstack/recipes-devtools/python/python-happybase.inc
>  create mode 100644 meta-openstack/recipes-devtools/python/python3-happybase_1.2.0.bb
>
> 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
> --
> 2.7.4
>
>
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-03 19:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-30  5:46 [PATCH] python-happybase: Add python3 version Zang Ruochen
2019-09-03 19:53 ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.