All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] python-setuptools-git: Add python3 version
@ 2019-09-24  4:00 Zang Ruochen
  2019-09-24 21:55 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Zang Ruochen @ 2019-09-24  4:00 UTC (permalink / raw)
  To: meta-virtualization

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

diff --git a/meta-openstack/recipes-devtools/python/python-setuptools-git.inc b/meta-openstack/recipes-devtools/python/python-setuptools-git.inc
new file mode 100644
index 0000000..18bc1dc
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-setuptools-git.inc
@@ -0,0 +1,16 @@
+DESCRIPTION = "Plugin for setuptools that enables git integration"
+HOMEPAGE = "https://github.com/wichert/setuptools-git"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3775480a712fc46a69647678acb234cb"
+
+SRC_URI[md5sum] = "40b2ef7687a384ea144503c2e5bc67e2"
+SRC_URI[sha256sum] = "ff64136da01aabba76ae88b050e7197918d8b2139ccbf6144e14d472b9c40445"
+
+inherit pypi
+
+# conflicting file prevention
+do_install_append() {
+	rm -f ${D}${libdir}/python*/site-packages/site.py*
+}
+BBCLASSEXTEND = "native"
diff --git a/meta-openstack/recipes-devtools/python/python-setuptools-git_1.2.bb b/meta-openstack/recipes-devtools/python/python-setuptools-git_1.2.bb
index 2514017..0317002 100644
--- a/meta-openstack/recipes-devtools/python/python-setuptools-git_1.2.bb
+++ b/meta-openstack/recipes-devtools/python/python-setuptools-git_1.2.bb
@@ -1,16 +1,2 @@
-DESCRIPTION = "Plugin for setuptools that enables git integration"
-HOMEPAGE = "https://github.com/wichert/setuptools-git"
-SECTION = "devel/python"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3775480a712fc46a69647678acb234cb"
-
-SRC_URI[md5sum] = "40b2ef7687a384ea144503c2e5bc67e2"
-SRC_URI[sha256sum] = "ff64136da01aabba76ae88b050e7197918d8b2139ccbf6144e14d472b9c40445"
-
-inherit setuptools pypi
-
-# conflicting file prevention
-do_install_append() {
-	rm -f ${D}${libdir}/python*/site-packages/site.py*
-}
-BBCLASSEXTEND = "native"
+inherit setuptools
+require python-setuptools-git.inc
diff --git a/meta-openstack/recipes-devtools/python/python3-setuptools-git_1.2.bb b/meta-openstack/recipes-devtools/python/python3-setuptools-git_1.2.bb
new file mode 100644
index 0000000..5dd6804
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-setuptools-git_1.2.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-setuptools-git.inc
-- 
2.7.4





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

* Re: [PATCH] python-setuptools-git: Add python3 version
  2019-09-24  4:00 [PATCH] python-setuptools-git: Add python3 version Zang Ruochen
@ 2019-09-24 21:55 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2019-09-24 21:55 UTC (permalink / raw)
  To: Zang Ruochen; +Cc: meta-virtualization

merged

Bruce

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

> Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
> ---
>  .../recipes-devtools/python/python-setuptools-git.inc  | 16 ++++++++++++++++
>  .../python/python-setuptools-git_1.2.bb                | 18 ++----------------
>  .../python/python3-setuptools-git_1.2.bb               |  2 ++
>  3 files changed, 20 insertions(+), 16 deletions(-)
>  create mode 100644 meta-openstack/recipes-devtools/python/python-setuptools-git.inc
>  create mode 100644 meta-openstack/recipes-devtools/python/python3-setuptools-git_1.2.bb
> 
> diff --git a/meta-openstack/recipes-devtools/python/python-setuptools-git.inc b/meta-openstack/recipes-devtools/python/python-setuptools-git.inc
> new file mode 100644
> index 0000000..18bc1dc
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python-setuptools-git.inc
> @@ -0,0 +1,16 @@
> +DESCRIPTION = "Plugin for setuptools that enables git integration"
> +HOMEPAGE = "https://github.com/wichert/setuptools-git"
> +SECTION = "devel/python"
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3775480a712fc46a69647678acb234cb"
> +
> +SRC_URI[md5sum] = "40b2ef7687a384ea144503c2e5bc67e2"
> +SRC_URI[sha256sum] = "ff64136da01aabba76ae88b050e7197918d8b2139ccbf6144e14d472b9c40445"
> +
> +inherit pypi
> +
> +# conflicting file prevention
> +do_install_append() {
> +	rm -f ${D}${libdir}/python*/site-packages/site.py*
> +}
> +BBCLASSEXTEND = "native"
> diff --git a/meta-openstack/recipes-devtools/python/python-setuptools-git_1.2.bb b/meta-openstack/recipes-devtools/python/python-setuptools-git_1.2.bb
> index 2514017..0317002 100644
> --- a/meta-openstack/recipes-devtools/python/python-setuptools-git_1.2.bb
> +++ b/meta-openstack/recipes-devtools/python/python-setuptools-git_1.2.bb
> @@ -1,16 +1,2 @@
> -DESCRIPTION = "Plugin for setuptools that enables git integration"
> -HOMEPAGE = "https://github.com/wichert/setuptools-git"
> -SECTION = "devel/python"
> -LICENSE = "BSD"
> -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3775480a712fc46a69647678acb234cb"
> -
> -SRC_URI[md5sum] = "40b2ef7687a384ea144503c2e5bc67e2"
> -SRC_URI[sha256sum] = "ff64136da01aabba76ae88b050e7197918d8b2139ccbf6144e14d472b9c40445"
> -
> -inherit setuptools pypi
> -
> -# conflicting file prevention
> -do_install_append() {
> -	rm -f ${D}${libdir}/python*/site-packages/site.py*
> -}
> -BBCLASSEXTEND = "native"
> +inherit setuptools
> +require python-setuptools-git.inc
> diff --git a/meta-openstack/recipes-devtools/python/python3-setuptools-git_1.2.bb b/meta-openstack/recipes-devtools/python/python3-setuptools-git_1.2.bb
> new file mode 100644
> index 0000000..5dd6804
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python3-setuptools-git_1.2.bb
> @@ -0,0 +1,2 @@
> +inherit setuptools3
> +require python-setuptools-git.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-24 21:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-24  4:00 [PATCH] python-setuptools-git: Add python3 version Zang Ruochen
2019-09-24 21:55 ` 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.