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

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
---
 .../recipes-devtools/python/python-warlock.inc          | 17 +++++++++++++++++
 .../recipes-devtools/python/python-warlock_1.3.3.bb     | 16 ++--------------
 .../recipes-devtools/python/python3-warlock_1.3.3.bb    |  3 +++
 3 files changed, 22 insertions(+), 14 deletions(-)
 create mode 100644 meta-openstack/recipes-devtools/python/python-warlock.inc
 create mode 100644 meta-openstack/recipes-devtools/python/python3-warlock_1.3.3.bb

diff --git a/meta-openstack/recipes-devtools/python/python-warlock.inc b/meta-openstack/recipes-devtools/python/python-warlock.inc
new file mode 100644
index 0000000..d8a16b1
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-warlock.inc
@@ -0,0 +1,17 @@
+DESCRIPTION = "Build self-validating python objects using JSON schemas"
+HOMEPAGE = "http://github.com/bcwaldon/warlock"
+SECTION = "devel/python"
+LICENSE = "Apache-2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+DEPENDS += "python-jsonschema python-jsonpatch"
+
+SRC_URI[md5sum] = "746aba989d97762948e5fca6601f283f"
+SRC_URI[sha256sum] = "a093c4d04b42b7907f69086e476a766b7639dca50d95edc83aef6aeab9db2090"
+
+inherit pypi
+
+RDEPENDS_${PN} += "${PYTHON_PN}-jsonschema \
+                   ${PYTHON_PN}-jsonpatch  \
+                  "
+
diff --git a/meta-openstack/recipes-devtools/python/python-warlock_1.3.3.bb b/meta-openstack/recipes-devtools/python/python-warlock_1.3.3.bb
index c2c694b..3358cec 100644
--- a/meta-openstack/recipes-devtools/python/python-warlock_1.3.3.bb
+++ b/meta-openstack/recipes-devtools/python/python-warlock_1.3.3.bb
@@ -1,15 +1,3 @@
-DESCRIPTION = "Build self-validating python objects using JSON schemas"
-HOMEPAGE = "http://github.com/bcwaldon/warlock"
-SECTION = "devel/python"
-LICENSE = "Apache-2"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
-
-DEPENDS += "python-jsonschema python-jsonpatch"
-
-SRC_URI[md5sum] = "746aba989d97762948e5fca6601f283f"
-SRC_URI[sha256sum] = "a093c4d04b42b7907f69086e476a766b7639dca50d95edc83aef6aeab9db2090"
-
-inherit setuptools pypi
-
-RDEPENDS_${PN} += " python-jsonschema python-jsonpatch"
+inherit setuptools
+require python-warlock.inc
 
diff --git a/meta-openstack/recipes-devtools/python/python3-warlock_1.3.3.bb b/meta-openstack/recipes-devtools/python/python3-warlock_1.3.3.bb
new file mode 100644
index 0000000..7f4d350
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-warlock_1.3.3.bb
@@ -0,0 +1,3 @@
+inherit setuptools3
+require python-warlock.inc
+
-- 
2.7.4





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

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

merged

Bruce

On Tue, Sep 3, 2019 at 11:05 PM Zang Ruochen <zangrc.fnst@cn.fujitsu.com> wrote:
>
> Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
> ---
>  .../recipes-devtools/python/python-warlock.inc          | 17 +++++++++++++++++
>  .../recipes-devtools/python/python-warlock_1.3.3.bb     | 16 ++--------------
>  .../recipes-devtools/python/python3-warlock_1.3.3.bb    |  3 +++
>  3 files changed, 22 insertions(+), 14 deletions(-)
>  create mode 100644 meta-openstack/recipes-devtools/python/python-warlock.inc
>  create mode 100644 meta-openstack/recipes-devtools/python/python3-warlock_1.3.3.bb
>
> diff --git a/meta-openstack/recipes-devtools/python/python-warlock.inc b/meta-openstack/recipes-devtools/python/python-warlock.inc
> new file mode 100644
> index 0000000..d8a16b1
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python-warlock.inc
> @@ -0,0 +1,17 @@
> +DESCRIPTION = "Build self-validating python objects using JSON schemas"
> +HOMEPAGE = "http://github.com/bcwaldon/warlock"
> +SECTION = "devel/python"
> +LICENSE = "Apache-2"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
> +
> +DEPENDS += "python-jsonschema python-jsonpatch"
> +
> +SRC_URI[md5sum] = "746aba989d97762948e5fca6601f283f"
> +SRC_URI[sha256sum] = "a093c4d04b42b7907f69086e476a766b7639dca50d95edc83aef6aeab9db2090"
> +
> +inherit pypi
> +
> +RDEPENDS_${PN} += "${PYTHON_PN}-jsonschema \
> +                   ${PYTHON_PN}-jsonpatch  \
> +                  "
> +
> diff --git a/meta-openstack/recipes-devtools/python/python-warlock_1.3.3.bb b/meta-openstack/recipes-devtools/python/python-warlock_1.3.3.bb
> index c2c694b..3358cec 100644
> --- a/meta-openstack/recipes-devtools/python/python-warlock_1.3.3.bb
> +++ b/meta-openstack/recipes-devtools/python/python-warlock_1.3.3.bb
> @@ -1,15 +1,3 @@
> -DESCRIPTION = "Build self-validating python objects using JSON schemas"
> -HOMEPAGE = "http://github.com/bcwaldon/warlock"
> -SECTION = "devel/python"
> -LICENSE = "Apache-2"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
> -
> -DEPENDS += "python-jsonschema python-jsonpatch"
> -
> -SRC_URI[md5sum] = "746aba989d97762948e5fca6601f283f"
> -SRC_URI[sha256sum] = "a093c4d04b42b7907f69086e476a766b7639dca50d95edc83aef6aeab9db2090"
> -
> -inherit setuptools pypi
> -
> -RDEPENDS_${PN} += " python-jsonschema python-jsonpatch"
> +inherit setuptools
> +require python-warlock.inc
>
> diff --git a/meta-openstack/recipes-devtools/python/python3-warlock_1.3.3.bb b/meta-openstack/recipes-devtools/python/python3-warlock_1.3.3.bb
> new file mode 100644
> index 0000000..7f4d350
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python3-warlock_1.3.3.bb
> @@ -0,0 +1,3 @@
> +inherit setuptools3
> +require python-warlock.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-05 14:09 UTC | newest]

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