* [PATCH] python-fasteners: Add python3 version
@ 2019-09-04 2:38 Zang Ruochen
2019-09-05 14:04 ` Bruce Ashfield
0 siblings, 1 reply; 2+ messages in thread
From: Zang Ruochen @ 2019-09-04 2:38 UTC (permalink / raw)
To: meta-virtualization
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
---
.../recipes-devtools/python/python-fasteners.inc | 24 ++++++++++++++++++++
.../python/python-fasteners_git.bb | 26 +---------------------
.../python/python3-fasteners_git.bb | 2 ++
3 files changed, 27 insertions(+), 25 deletions(-)
create mode 100644 meta-openstack/recipes-devtools/python/python-fasteners.inc
create mode 100644 meta-openstack/recipes-devtools/python/python3-fasteners_git.bb
diff --git a/meta-openstack/recipes-devtools/python/python-fasteners.inc b/meta-openstack/recipes-devtools/python/python-fasteners.inc
new file mode 100644
index 0000000..6e5e5f0
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-fasteners.inc
@@ -0,0 +1,24 @@
+DESCRIPTION = "A python package that provides useful locks."
+HOMEPAGE = "https://github.com/harlowja/fasteners"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4476c4be31402271e101d9a4a3430d52"
+
+SRCNAME = "fasteners"
+
+PV = "0.15+git${SRCPV}"
+SRCREV = "75148cb679c351966cd4ad5e9d177048a0ea8380"
+
+SRC_URI = "git://github.com/harlowja/${SRCNAME}.git"
+
+S = "${WORKDIR}/git"
+
+DEPENDS += " \
+ ${PYTHON_PN}-pip \
+ ${PYTHON_PN}-pbr \
+ "
+
+# RDEPENDS_default:
+RDEPENDS_${PN} += " \
+ ${PYTHON_PN}-pbr \
+ "
diff --git a/meta-openstack/recipes-devtools/python/python-fasteners_git.bb b/meta-openstack/recipes-devtools/python/python-fasteners_git.bb
index 2dd3698..3a7326b 100644
--- a/meta-openstack/recipes-devtools/python/python-fasteners_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-fasteners_git.bb
@@ -1,26 +1,2 @@
-DESCRIPTION = "A python package that provides useful locks."
-HOMEPAGE = "https://github.com/harlowja/fasteners"
-SECTION = "devel/python"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=4476c4be31402271e101d9a4a3430d52"
-
-SRCNAME = "fasteners"
-
-PV = "0.15+git${SRCPV}"
-SRCREV = "75148cb679c351966cd4ad5e9d177048a0ea8380"
-
-SRC_URI = "git://github.com/harlowja/${SRCNAME}.git"
-
-S = "${WORKDIR}/git"
-
inherit setuptools
-
-DEPENDS += " \
- python-pip \
- python-pbr \
- "
-
-# RDEPENDS_default:
-RDEPENDS_${PN} += " \
- python-pbr \
- "
+require python-fasteners.inc
diff --git a/meta-openstack/recipes-devtools/python/python3-fasteners_git.bb b/meta-openstack/recipes-devtools/python/python3-fasteners_git.bb
new file mode 100644
index 0000000..9b2053c
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-fasteners_git.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-fasteners.inc
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] python-fasteners: Add python3 version
2019-09-04 2:38 [PATCH] python-fasteners: Add python3 version Zang Ruochen
@ 2019-09-05 14:04 ` Bruce Ashfield
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2019-09-05 14:04 UTC (permalink / raw)
To: Zang Ruochen; +Cc: meta-virtualization
merged.
Bruce
In message: [meta-virtualization] [PATCH] python-fasteners: Add python3 version
on 04/09/2019 Zang Ruochen wrote:
> Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
> ---
> .../recipes-devtools/python/python-fasteners.inc | 24 ++++++++++++++++++++
> .../python/python-fasteners_git.bb | 26 +---------------------
> .../python/python3-fasteners_git.bb | 2 ++
> 3 files changed, 27 insertions(+), 25 deletions(-)
> create mode 100644 meta-openstack/recipes-devtools/python/python-fasteners.inc
> create mode 100644 meta-openstack/recipes-devtools/python/python3-fasteners_git.bb
>
> diff --git a/meta-openstack/recipes-devtools/python/python-fasteners.inc b/meta-openstack/recipes-devtools/python/python-fasteners.inc
> new file mode 100644
> index 0000000..6e5e5f0
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python-fasteners.inc
> @@ -0,0 +1,24 @@
> +DESCRIPTION = "A python package that provides useful locks."
> +HOMEPAGE = "https://github.com/harlowja/fasteners"
> +SECTION = "devel/python"
> +LICENSE = "Apache-2.0"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=4476c4be31402271e101d9a4a3430d52"
> +
> +SRCNAME = "fasteners"
> +
> +PV = "0.15+git${SRCPV}"
> +SRCREV = "75148cb679c351966cd4ad5e9d177048a0ea8380"
> +
> +SRC_URI = "git://github.com/harlowja/${SRCNAME}.git"
> +
> +S = "${WORKDIR}/git"
> +
> +DEPENDS += " \
> + ${PYTHON_PN}-pip \
> + ${PYTHON_PN}-pbr \
> + "
> +
> +# RDEPENDS_default:
> +RDEPENDS_${PN} += " \
> + ${PYTHON_PN}-pbr \
> + "
> diff --git a/meta-openstack/recipes-devtools/python/python-fasteners_git.bb b/meta-openstack/recipes-devtools/python/python-fasteners_git.bb
> index 2dd3698..3a7326b 100644
> --- a/meta-openstack/recipes-devtools/python/python-fasteners_git.bb
> +++ b/meta-openstack/recipes-devtools/python/python-fasteners_git.bb
> @@ -1,26 +1,2 @@
> -DESCRIPTION = "A python package that provides useful locks."
> -HOMEPAGE = "https://github.com/harlowja/fasteners"
> -SECTION = "devel/python"
> -LICENSE = "Apache-2.0"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=4476c4be31402271e101d9a4a3430d52"
> -
> -SRCNAME = "fasteners"
> -
> -PV = "0.15+git${SRCPV}"
> -SRCREV = "75148cb679c351966cd4ad5e9d177048a0ea8380"
> -
> -SRC_URI = "git://github.com/harlowja/${SRCNAME}.git"
> -
> -S = "${WORKDIR}/git"
> -
> inherit setuptools
> -
> -DEPENDS += " \
> - python-pip \
> - python-pbr \
> - "
> -
> -# RDEPENDS_default:
> -RDEPENDS_${PN} += " \
> - python-pbr \
> - "
> +require python-fasteners.inc
> diff --git a/meta-openstack/recipes-devtools/python/python3-fasteners_git.bb b/meta-openstack/recipes-devtools/python/python3-fasteners_git.bb
> new file mode 100644
> index 0000000..9b2053c
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python3-fasteners_git.bb
> @@ -0,0 +1,2 @@
> +inherit setuptools3
> +require python-fasteners.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 14:04 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:38 [PATCH] python-fasteners: Add python3 version Zang Ruochen
2019-09-05 14:04 ` 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.