All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] python-logutils: Add python3 version
@ 2019-09-04  2:23 Zang Ruochen
  2019-09-05 13:57 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Zang Ruochen @ 2019-09-04  2:23 UTC (permalink / raw)
  To: meta-virtualization

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

diff --git a/meta-openstack/recipes-devtools/python/python-logutils.inc b/meta-openstack/recipes-devtools/python/python-logutils.inc
new file mode 100644
index 0000000..87ab631
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-logutils.inc
@@ -0,0 +1,16 @@
+DESCRIPTION = "Set of handlers for the Python standard library's logging package"
+HOMEPAGE = "https://pypi.python.org/pypi/logutils"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=44c35f0b8e2a27a2f33a4e4a5c65d014"
+
+SRC_URI[md5sum] = "fcd2f8e9217bfa0b580f253b35a9d954"
+SRC_URI[sha256sum] = "bc058a25d5c209461f134e1f03cab637d66a7a5ccc12e593db56fbb279899a82"
+
+inherit pypi
+
+# avoid "error: option --single-version-externally-managed not recognized"
+DISTUTILS_INSTALL_ARGS = "--root=${D} \
+    --prefix=${prefix} \
+    --install-lib=${PYTHON_SITEPACKAGES_DIR} \
+    --install-data=${datadir}"
diff --git a/meta-openstack/recipes-devtools/python/python-logutils_0.3.5.bb b/meta-openstack/recipes-devtools/python/python-logutils_0.3.5.bb
index 51177b3..9331a16 100644
--- a/meta-openstack/recipes-devtools/python/python-logutils_0.3.5.bb
+++ b/meta-openstack/recipes-devtools/python/python-logutils_0.3.5.bb
@@ -1,16 +1,2 @@
-DESCRIPTION = "Set of handlers for the Python standard library's logging package"
-HOMEPAGE = "https://pypi.python.org/pypi/logutils"
-SECTION = "devel/python"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=44c35f0b8e2a27a2f33a4e4a5c65d014"
-
-SRC_URI[md5sum] = "fcd2f8e9217bfa0b580f253b35a9d954"
-SRC_URI[sha256sum] = "bc058a25d5c209461f134e1f03cab637d66a7a5ccc12e593db56fbb279899a82"
-
-inherit setuptools pypi
-
-# avoid "error: option --single-version-externally-managed not recognized"
-DISTUTILS_INSTALL_ARGS = "--root=${D} \
-    --prefix=${prefix} \
-    --install-lib=${PYTHON_SITEPACKAGES_DIR} \
-    --install-data=${datadir}"
+inherit setuptools
+require python-logutils.inc
diff --git a/meta-openstack/recipes-devtools/python/python3-logutils_0.3.5.bb b/meta-openstack/recipes-devtools/python/python3-logutils_0.3.5.bb
new file mode 100644
index 0000000..4d760e0
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-logutils_0.3.5.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-logutils.inc
-- 
2.7.4





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

* Re: [PATCH] python-logutils: Add python3 version
  2019-09-04  2:23 [PATCH] python-logutils: Add python3 version Zang Ruochen
@ 2019-09-05 13:57 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2019-09-05 13:57 UTC (permalink / raw)
  To: Zang Ruochen; +Cc: meta-virtualization

merged.

Bruce

In message: [meta-virtualization] [PATCH] python-logutils: Add python3 version
on 04/09/2019 Zang Ruochen wrote:

> Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
> ---
>  .../recipes-devtools/python/python-logutils.inc        | 16 ++++++++++++++++
>  .../recipes-devtools/python/python-logutils_0.3.5.bb   | 18 ++----------------
>  .../recipes-devtools/python/python3-logutils_0.3.5.bb  |  2 ++
>  3 files changed, 20 insertions(+), 16 deletions(-)
>  create mode 100644 meta-openstack/recipes-devtools/python/python-logutils.inc
>  create mode 100644 meta-openstack/recipes-devtools/python/python3-logutils_0.3.5.bb
> 
> diff --git a/meta-openstack/recipes-devtools/python/python-logutils.inc b/meta-openstack/recipes-devtools/python/python-logutils.inc
> new file mode 100644
> index 0000000..87ab631
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python-logutils.inc
> @@ -0,0 +1,16 @@
> +DESCRIPTION = "Set of handlers for the Python standard library's logging package"
> +HOMEPAGE = "https://pypi.python.org/pypi/logutils"
> +SECTION = "devel/python"
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=44c35f0b8e2a27a2f33a4e4a5c65d014"
> +
> +SRC_URI[md5sum] = "fcd2f8e9217bfa0b580f253b35a9d954"
> +SRC_URI[sha256sum] = "bc058a25d5c209461f134e1f03cab637d66a7a5ccc12e593db56fbb279899a82"
> +
> +inherit pypi
> +
> +# avoid "error: option --single-version-externally-managed not recognized"
> +DISTUTILS_INSTALL_ARGS = "--root=${D} \
> +    --prefix=${prefix} \
> +    --install-lib=${PYTHON_SITEPACKAGES_DIR} \
> +    --install-data=${datadir}"
> diff --git a/meta-openstack/recipes-devtools/python/python-logutils_0.3.5.bb b/meta-openstack/recipes-devtools/python/python-logutils_0.3.5.bb
> index 51177b3..9331a16 100644
> --- a/meta-openstack/recipes-devtools/python/python-logutils_0.3.5.bb
> +++ b/meta-openstack/recipes-devtools/python/python-logutils_0.3.5.bb
> @@ -1,16 +1,2 @@
> -DESCRIPTION = "Set of handlers for the Python standard library's logging package"
> -HOMEPAGE = "https://pypi.python.org/pypi/logutils"
> -SECTION = "devel/python"
> -LICENSE = "BSD"
> -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=44c35f0b8e2a27a2f33a4e4a5c65d014"
> -
> -SRC_URI[md5sum] = "fcd2f8e9217bfa0b580f253b35a9d954"
> -SRC_URI[sha256sum] = "bc058a25d5c209461f134e1f03cab637d66a7a5ccc12e593db56fbb279899a82"
> -
> -inherit setuptools pypi
> -
> -# avoid "error: option --single-version-externally-managed not recognized"
> -DISTUTILS_INSTALL_ARGS = "--root=${D} \
> -    --prefix=${prefix} \
> -    --install-lib=${PYTHON_SITEPACKAGES_DIR} \
> -    --install-data=${datadir}"
> +inherit setuptools
> +require python-logutils.inc
> diff --git a/meta-openstack/recipes-devtools/python/python3-logutils_0.3.5.bb b/meta-openstack/recipes-devtools/python/python3-logutils_0.3.5.bb
> new file mode 100644
> index 0000000..4d760e0
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python3-logutils_0.3.5.bb
> @@ -0,0 +1,2 @@
> +inherit setuptools3
> +require python-logutils.inc
> -- 
> 2.7.4
> 
> 
> 
> -- 
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization


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

end of thread, other threads:[~2019-09-05 13:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-04  2:23 [PATCH] python-logutils: Add python3 version Zang Ruochen
2019-09-05 13:57 ` 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.