* [PATCH] python-debtcollector: Add python3 version
@ 2019-08-26 7:39 Zheng Ruoqin
2019-08-30 4:19 ` Bruce Ashfield
0 siblings, 1 reply; 2+ messages in thread
From: Zheng Ruoqin @ 2019-08-26 7:39 UTC (permalink / raw)
To: meta-virtualization
Providing a python3 version of python-debtcollector.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
---
.../python/python-debtcollector.inc | 25 +++++++++++++++++++
.../python/python-debtcollector_1.21.0.bb | 25 +++----------------
.../python/python3-debtcollector_1.21.0.bb | 2 ++
3 files changed, 30 insertions(+), 22 deletions(-)
create mode 100644 meta-openstack/recipes-devtools/python/python-debtcollector.inc
create mode 100644 meta-openstack/recipes-devtools/python/python3-debtcollector_1.21.0.bb
diff --git a/meta-openstack/recipes-devtools/python/python-debtcollector.inc b/meta-openstack/recipes-devtools/python/python-debtcollector.inc
new file mode 100644
index 0000000..629a059
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-debtcollector.inc
@@ -0,0 +1,25 @@
+DESCRIPTION = "A collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner."
+HOMEPAGE = "http://docs.openstack.org/developer/debtcollector/"
+SECTION = "devel/python"
+LICENSE = "Apache-2"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+SRC_URI[md5sum] = "ec899623b37fdee65b888243f0a46735"
+SRC_URI[sha256sum] = "f6ce5a383ad73c23e1138dbb69bf45d33f4a4bdec38f02dbf2b89477ec5e55bc"
+
+inherit pypi
+
+DEPENDS += " \
+ ${PYTHON_PN}-pip \
+ ${PYTHON_PN}-pbr \
+ "
+
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+ ${PYTHON_PN}-pbr-native \
+ "
+
+# RDEPENDS_default:
+RDEPENDS_${PN} += " \
+ ${PYTHON_PN}-pbr \
+ "
diff --git a/meta-openstack/recipes-devtools/python/python-debtcollector_1.21.0.bb b/meta-openstack/recipes-devtools/python/python-debtcollector_1.21.0.bb
index 18b910b..1cdfc3a 100644
--- a/meta-openstack/recipes-devtools/python/python-debtcollector_1.21.0.bb
+++ b/meta-openstack/recipes-devtools/python/python-debtcollector_1.21.0.bb
@@ -1,26 +1,7 @@
-DESCRIPTION = "A collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner."
-HOMEPAGE = "http://docs.openstack.org/developer/debtcollector/"
-SECTION = "devel/python"
-LICENSE = "Apache-2"
-LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+inherit setuptools
+require python-debtcollector.inc
-SRC_URI[md5sum] = "ec899623b37fdee65b888243f0a46735"
-SRC_URI[sha256sum] = "f6ce5a383ad73c23e1138dbb69bf45d33f4a4bdec38f02dbf2b89477ec5e55bc"
-
-inherit setuptools pypi
-
-DEPENDS += " \
- python-pip \
- python-pbr \
- "
-
-# Satisfy setup.py 'setup_requires'
-DEPENDS += " \
- python-pbr-native \
- "
-
-# RDEPENDS_default:
+# Only for Python2 depends on funcsigs
RDEPENDS_${PN} += " \
- python-pbr \
python-funcsigs \
"
diff --git a/meta-openstack/recipes-devtools/python/python3-debtcollector_1.21.0.bb b/meta-openstack/recipes-devtools/python/python3-debtcollector_1.21.0.bb
new file mode 100644
index 0000000..7947185
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-debtcollector_1.21.0.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-debtcollector.inc
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] python-debtcollector: Add python3 version
2019-08-26 7:39 [PATCH] python-debtcollector: Add python3 version Zheng Ruoqin
@ 2019-08-30 4:19 ` Bruce Ashfield
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2019-08-30 4:19 UTC (permalink / raw)
To: Zheng Ruoqin; +Cc: meta-virtualization
merged
Bruce
On Mon, Aug 26, 2019 at 3:40 AM Zheng Ruoqin
<zhengrq.fnst@cn.fujitsu.com> wrote:
>
> Providing a python3 version of python-debtcollector.
>
> Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
> ---
> .../python/python-debtcollector.inc | 25 +++++++++++++++++++
> .../python/python-debtcollector_1.21.0.bb | 25 +++----------------
> .../python/python3-debtcollector_1.21.0.bb | 2 ++
> 3 files changed, 30 insertions(+), 22 deletions(-)
> create mode 100644 meta-openstack/recipes-devtools/python/python-debtcollector.inc
> create mode 100644 meta-openstack/recipes-devtools/python/python3-debtcollector_1.21.0.bb
>
> diff --git a/meta-openstack/recipes-devtools/python/python-debtcollector.inc b/meta-openstack/recipes-devtools/python/python-debtcollector.inc
> new file mode 100644
> index 0000000..629a059
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python-debtcollector.inc
> @@ -0,0 +1,25 @@
> +DESCRIPTION = "A collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner."
> +HOMEPAGE = "http://docs.openstack.org/developer/debtcollector/"
> +SECTION = "devel/python"
> +LICENSE = "Apache-2"
> +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
> +
> +SRC_URI[md5sum] = "ec899623b37fdee65b888243f0a46735"
> +SRC_URI[sha256sum] = "f6ce5a383ad73c23e1138dbb69bf45d33f4a4bdec38f02dbf2b89477ec5e55bc"
> +
> +inherit pypi
> +
> +DEPENDS += " \
> + ${PYTHON_PN}-pip \
> + ${PYTHON_PN}-pbr \
> + "
> +
> +# Satisfy setup.py 'setup_requires'
> +DEPENDS += " \
> + ${PYTHON_PN}-pbr-native \
> + "
> +
> +# RDEPENDS_default:
> +RDEPENDS_${PN} += " \
> + ${PYTHON_PN}-pbr \
> + "
> diff --git a/meta-openstack/recipes-devtools/python/python-debtcollector_1.21.0.bb b/meta-openstack/recipes-devtools/python/python-debtcollector_1.21.0.bb
> index 18b910b..1cdfc3a 100644
> --- a/meta-openstack/recipes-devtools/python/python-debtcollector_1.21.0.bb
> +++ b/meta-openstack/recipes-devtools/python/python-debtcollector_1.21.0.bb
> @@ -1,26 +1,7 @@
> -DESCRIPTION = "A collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner."
> -HOMEPAGE = "http://docs.openstack.org/developer/debtcollector/"
> -SECTION = "devel/python"
> -LICENSE = "Apache-2"
> -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
> +inherit setuptools
> +require python-debtcollector.inc
>
> -SRC_URI[md5sum] = "ec899623b37fdee65b888243f0a46735"
> -SRC_URI[sha256sum] = "f6ce5a383ad73c23e1138dbb69bf45d33f4a4bdec38f02dbf2b89477ec5e55bc"
> -
> -inherit setuptools pypi
> -
> -DEPENDS += " \
> - python-pip \
> - python-pbr \
> - "
> -
> -# Satisfy setup.py 'setup_requires'
> -DEPENDS += " \
> - python-pbr-native \
> - "
> -
> -# RDEPENDS_default:
> +# Only for Python2 depends on funcsigs
> RDEPENDS_${PN} += " \
> - python-pbr \
> python-funcsigs \
> "
> diff --git a/meta-openstack/recipes-devtools/python/python3-debtcollector_1.21.0.bb b/meta-openstack/recipes-devtools/python/python3-debtcollector_1.21.0.bb
> new file mode 100644
> index 0000000..7947185
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python3-debtcollector_1.21.0.bb
> @@ -0,0 +1,2 @@
> +inherit setuptools3
> +require python-debtcollector.inc
> --
> 2.17.1
>
>
>
> --
> _______________________________________________
> 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-08-30 4:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-26 7:39 [PATCH] python-debtcollector: Add python3 version Zheng Ruoqin
2019-08-30 4:19 ` 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.