All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-openstack][PATCH 1/2] python3-avahi: add recipe
@ 2018-08-27 12:12 Ioan-Adrian Ratiu
  2018-08-27 12:12 ` [meta-openstack][PATCH 2/2] python3-pika: " Ioan-Adrian Ratiu
  2018-08-28 12:22 ` [meta-openstack][PATCH 1/2] python3-avahi: " Bruce Ashfield
  0 siblings, 2 replies; 4+ messages in thread
From: Ioan-Adrian Ratiu @ 2018-08-27 12:12 UTC (permalink / raw)
  To: meta-virtualization, bruce.ashfield

From: Alejandro del Castillo <alejandro.delcastillo@ni.com>

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
---
 .../recipes-devtools/python/python-avahi.inc  | 32 ++++++++++++++++++
 .../python/python-avahi_0.6.32.bb             | 33 ++-----------------
 .../python/python3-avahi_0.6.32.bb            |  5 +++
 3 files changed, 39 insertions(+), 31 deletions(-)
 create mode 100644 meta-openstack/recipes-devtools/python/python-avahi.inc
 create mode 100644 meta-openstack/recipes-devtools/python/python3-avahi_0.6.32.bb

diff --git a/meta-openstack/recipes-devtools/python/python-avahi.inc b/meta-openstack/recipes-devtools/python/python-avahi.inc
new file mode 100644
index 0000000..86cafe5
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-avahi.inc
@@ -0,0 +1,32 @@
+SUMMARY = "Python bindings for the avahi zeroconf client"
+HOMEPAGE = "https://github.com/lathiat/avahi"
+SECTION = "devel/python"
+
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1"
+
+SRC_URI = "https://github.com/lathiat/avahi/releases/download/v${PV}/avahi-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "22b5e705d3eabb31d26f2e1e7b074013"
+SRC_URI[sha256sum] = "d54991185d514a0aba54ebeb408d7575b60f5818a772e28fa0e18b98bc1db454"
+
+S = "${WORKDIR}/avahi-${PV}"
+
+inherit pythonnative
+
+# we only need the python bindings
+do_install () {
+	install -d ${D}${PYTHON_SITEPACKAGES_DIR}/avahi
+
+	sed -i'' -e "s,@PYTHON\@,${bindir}/${PYTHON_PN},g" \
+		${S}/avahi-python/avahi/__init__.py  \
+		${S}/avahi-python/avahi-bookmarks.in
+
+	install -m 0775 ${S}/avahi-python/avahi/__init__.py \
+		${D}${PYTHON_SITEPACKAGES_DIR}/avahi/__init__.py
+
+	install -m 0775 ${S}/avahi-python/avahi-bookmarks.in \
+		${D}${PYTHON_SITEPACKAGES_DIR}/avahi/avahi-bookmarks
+}
+
+FILES_${PN} = "${PYTHON_SITEPACKAGES_DIR}/avahi"
diff --git a/meta-openstack/recipes-devtools/python/python-avahi_0.6.32.bb b/meta-openstack/recipes-devtools/python/python-avahi_0.6.32.bb
index c129337..7a54211 100644
--- a/meta-openstack/recipes-devtools/python/python-avahi_0.6.32.bb
+++ b/meta-openstack/recipes-devtools/python/python-avahi_0.6.32.bb
@@ -1,34 +1,5 @@
-SUMMARY = "Python bindings for the avahi zeroconf client"
-HOMEPAGE = "https://github.com/lathiat/avahi"
-SECTION = "devel/python"
+require python-avahi.inc
 
-LICENSE = "GPLv2+"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1"
-
-SRC_URI = "https://github.com/lathiat/avahi/releases/download/v${PV}/avahi-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "22b5e705d3eabb31d26f2e1e7b074013"
-SRC_URI[sha256sum] = "d54991185d514a0aba54ebeb408d7575b60f5818a772e28fa0e18b98bc1db454"
-
-S = "${WORKDIR}/avahi-${PV}"
-
-inherit python-dir pythonnative
-
-# we only need the python bindings
-do_install () {
-	install -d ${D}${PYTHON_SITEPACKAGES_DIR}/avahi
-
-	sed -i'' -e "s,@PYTHON\@,${bindir}/python,g" \
-		${S}/avahi-python/avahi/__init__.py  \
-		${S}/avahi-python/avahi-bookmarks.in
-
-	install -m 0775 ${S}/avahi-python/avahi/__init__.py \
-		${D}${PYTHON_SITEPACKAGES_DIR}/avahi/__init__.py
-
-	install -m 0775 ${S}/avahi-python/avahi-bookmarks.in \
-		${D}${PYTHON_SITEPACKAGES_DIR}/avahi/avahi-bookmarks
-}
+inherit python-dir
 
 RDEPENDS_${PN} += "python-core python-dbus"
-
-FILES_${PN} = "${PYTHON_SITEPACKAGES_DIR}/avahi"
diff --git a/meta-openstack/recipes-devtools/python/python3-avahi_0.6.32.bb b/meta-openstack/recipes-devtools/python/python3-avahi_0.6.32.bb
new file mode 100644
index 0000000..4b85cd5
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-avahi_0.6.32.bb
@@ -0,0 +1,5 @@
+require python-avahi.inc
+
+inherit python3-dir
+
+RDEPENDS_${PN} += "python3-core python3-dbus"
-- 
2.18.0



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

* [meta-openstack][PATCH 2/2] python3-pika: add recipe
  2018-08-27 12:12 [meta-openstack][PATCH 1/2] python3-avahi: add recipe Ioan-Adrian Ratiu
@ 2018-08-27 12:12 ` Ioan-Adrian Ratiu
  2018-08-28 12:22   ` Bruce Ashfield
  2018-08-28 12:22 ` [meta-openstack][PATCH 1/2] python3-avahi: " Bruce Ashfield
  1 sibling, 1 reply; 4+ messages in thread
From: Ioan-Adrian Ratiu @ 2018-08-27 12:12 UTC (permalink / raw)
  To: meta-virtualization, bruce.ashfield

From: Alejandro del Castillo <alejandro.delcastillo@ni.com>

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
---
 .../recipes-devtools/python/python-pika.inc        | 13 +++++++++++++
 .../recipes-devtools/python/python-pika_git.bb     | 14 +-------------
 .../recipes-devtools/python/python3-pika_git.bb    |  3 +++
 3 files changed, 17 insertions(+), 13 deletions(-)
 create mode 100644 meta-openstack/recipes-devtools/python/python-pika.inc
 create mode 100644 meta-openstack/recipes-devtools/python/python3-pika_git.bb

diff --git a/meta-openstack/recipes-devtools/python/python-pika.inc b/meta-openstack/recipes-devtools/python/python-pika.inc
new file mode 100644
index 0000000..d33979d
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-pika.inc
@@ -0,0 +1,13 @@
+SUMMARY = "Pure Python RabbitMQ/AMQP 0-9-1 client library"
+HOMEPAGE = "https://github.com/pika/pika"
+SECTION = "devel/python"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=fb26c37045f9e0d2c5e24b711bd7f01c"
+
+PV = "0.10.0+git${SRCPV}"
+SRCREV = "b907f91415169b7f590174ab5d228e75a1b273e6"
+
+SRC_URI = "git://github.com/pika/pika"
+
+S = "${WORKDIR}/git"
diff --git a/meta-openstack/recipes-devtools/python/python-pika_git.bb b/meta-openstack/recipes-devtools/python/python-pika_git.bb
index 6d2e55a..9d58184 100644
--- a/meta-openstack/recipes-devtools/python/python-pika_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-pika_git.bb
@@ -1,15 +1,3 @@
-SUMMARY = "Pure Python RabbitMQ/AMQP 0-9-1 client library"
-HOMEPAGE = "https://github.com/pika/pika"
-SECTION = "devel/python"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=fb26c37045f9e0d2c5e24b711bd7f01c"
-
-PV = "0.10.0+git${SRCPV}"
-SRCREV = "b907f91415169b7f590174ab5d228e75a1b273e6"
-
-SRC_URI = "git://github.com/pika/pika"
-
-S = "${WORKDIR}/git"
+require python-pika.inc
 
 inherit setuptools
diff --git a/meta-openstack/recipes-devtools/python/python3-pika_git.bb b/meta-openstack/recipes-devtools/python/python3-pika_git.bb
new file mode 100644
index 0000000..93f50b4
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-pika_git.bb
@@ -0,0 +1,3 @@
+require python-pika.inc
+
+inherit setuptools3
-- 
2.18.0



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

* Re: [meta-openstack][PATCH 1/2] python3-avahi: add recipe
  2018-08-27 12:12 [meta-openstack][PATCH 1/2] python3-avahi: add recipe Ioan-Adrian Ratiu
  2018-08-27 12:12 ` [meta-openstack][PATCH 2/2] python3-pika: " Ioan-Adrian Ratiu
@ 2018-08-28 12:22 ` Bruce Ashfield
  1 sibling, 0 replies; 4+ messages in thread
From: Bruce Ashfield @ 2018-08-28 12:22 UTC (permalink / raw)
  To: Ioan-Adrian Ratiu; +Cc: meta-virtualization

merged

Bruce

On Mon, Aug 27, 2018 at 8:12 AM, Ioan-Adrian Ratiu <adrian.ratiu@ni.com> wrote:
> From: Alejandro del Castillo <alejandro.delcastillo@ni.com>
>
> Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
> Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
> ---
>  .../recipes-devtools/python/python-avahi.inc  | 32 ++++++++++++++++++
>  .../python/python-avahi_0.6.32.bb             | 33 ++-----------------
>  .../python/python3-avahi_0.6.32.bb            |  5 +++
>  3 files changed, 39 insertions(+), 31 deletions(-)
>  create mode 100644 meta-openstack/recipes-devtools/python/python-avahi.inc
>  create mode 100644 meta-openstack/recipes-devtools/python/python3-avahi_0.6.32.bb
>
> diff --git a/meta-openstack/recipes-devtools/python/python-avahi.inc b/meta-openstack/recipes-devtools/python/python-avahi.inc
> new file mode 100644
> index 0000000..86cafe5
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python-avahi.inc
> @@ -0,0 +1,32 @@
> +SUMMARY = "Python bindings for the avahi zeroconf client"
> +HOMEPAGE = "https://github.com/lathiat/avahi"
> +SECTION = "devel/python"
> +
> +LICENSE = "GPLv2+"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1"
> +
> +SRC_URI = "https://github.com/lathiat/avahi/releases/download/v${PV}/avahi-${PV}.tar.gz"
> +
> +SRC_URI[md5sum] = "22b5e705d3eabb31d26f2e1e7b074013"
> +SRC_URI[sha256sum] = "d54991185d514a0aba54ebeb408d7575b60f5818a772e28fa0e18b98bc1db454"
> +
> +S = "${WORKDIR}/avahi-${PV}"
> +
> +inherit pythonnative
> +
> +# we only need the python bindings
> +do_install () {
> +       install -d ${D}${PYTHON_SITEPACKAGES_DIR}/avahi
> +
> +       sed -i'' -e "s,@PYTHON\@,${bindir}/${PYTHON_PN},g" \
> +               ${S}/avahi-python/avahi/__init__.py  \
> +               ${S}/avahi-python/avahi-bookmarks.in
> +
> +       install -m 0775 ${S}/avahi-python/avahi/__init__.py \
> +               ${D}${PYTHON_SITEPACKAGES_DIR}/avahi/__init__.py
> +
> +       install -m 0775 ${S}/avahi-python/avahi-bookmarks.in \
> +               ${D}${PYTHON_SITEPACKAGES_DIR}/avahi/avahi-bookmarks
> +}
> +
> +FILES_${PN} = "${PYTHON_SITEPACKAGES_DIR}/avahi"
> diff --git a/meta-openstack/recipes-devtools/python/python-avahi_0.6.32.bb b/meta-openstack/recipes-devtools/python/python-avahi_0.6.32.bb
> index c129337..7a54211 100644
> --- a/meta-openstack/recipes-devtools/python/python-avahi_0.6.32.bb
> +++ b/meta-openstack/recipes-devtools/python/python-avahi_0.6.32.bb
> @@ -1,34 +1,5 @@
> -SUMMARY = "Python bindings for the avahi zeroconf client"
> -HOMEPAGE = "https://github.com/lathiat/avahi"
> -SECTION = "devel/python"
> +require python-avahi.inc
>
> -LICENSE = "GPLv2+"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1"
> -
> -SRC_URI = "https://github.com/lathiat/avahi/releases/download/v${PV}/avahi-${PV}.tar.gz"
> -
> -SRC_URI[md5sum] = "22b5e705d3eabb31d26f2e1e7b074013"
> -SRC_URI[sha256sum] = "d54991185d514a0aba54ebeb408d7575b60f5818a772e28fa0e18b98bc1db454"
> -
> -S = "${WORKDIR}/avahi-${PV}"
> -
> -inherit python-dir pythonnative
> -
> -# we only need the python bindings
> -do_install () {
> -       install -d ${D}${PYTHON_SITEPACKAGES_DIR}/avahi
> -
> -       sed -i'' -e "s,@PYTHON\@,${bindir}/python,g" \
> -               ${S}/avahi-python/avahi/__init__.py  \
> -               ${S}/avahi-python/avahi-bookmarks.in
> -
> -       install -m 0775 ${S}/avahi-python/avahi/__init__.py \
> -               ${D}${PYTHON_SITEPACKAGES_DIR}/avahi/__init__.py
> -
> -       install -m 0775 ${S}/avahi-python/avahi-bookmarks.in \
> -               ${D}${PYTHON_SITEPACKAGES_DIR}/avahi/avahi-bookmarks
> -}
> +inherit python-dir
>
>  RDEPENDS_${PN} += "python-core python-dbus"
> -
> -FILES_${PN} = "${PYTHON_SITEPACKAGES_DIR}/avahi"
> diff --git a/meta-openstack/recipes-devtools/python/python3-avahi_0.6.32.bb b/meta-openstack/recipes-devtools/python/python3-avahi_0.6.32.bb
> new file mode 100644
> index 0000000..4b85cd5
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python3-avahi_0.6.32.bb
> @@ -0,0 +1,5 @@
> +require python-avahi.inc
> +
> +inherit python3-dir
> +
> +RDEPENDS_${PN} += "python3-core python3-dbus"
> --
> 2.18.0
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


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

* Re: [meta-openstack][PATCH 2/2] python3-pika: add recipe
  2018-08-27 12:12 ` [meta-openstack][PATCH 2/2] python3-pika: " Ioan-Adrian Ratiu
@ 2018-08-28 12:22   ` Bruce Ashfield
  0 siblings, 0 replies; 4+ messages in thread
From: Bruce Ashfield @ 2018-08-28 12:22 UTC (permalink / raw)
  To: Ioan-Adrian Ratiu; +Cc: meta-virtualization

merged.

Bruce

On Mon, Aug 27, 2018 at 8:12 AM, Ioan-Adrian Ratiu <adrian.ratiu@ni.com> wrote:
> From: Alejandro del Castillo <alejandro.delcastillo@ni.com>
>
> Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
> Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
> ---
>  .../recipes-devtools/python/python-pika.inc        | 13 +++++++++++++
>  .../recipes-devtools/python/python-pika_git.bb     | 14 +-------------
>  .../recipes-devtools/python/python3-pika_git.bb    |  3 +++
>  3 files changed, 17 insertions(+), 13 deletions(-)
>  create mode 100644 meta-openstack/recipes-devtools/python/python-pika.inc
>  create mode 100644 meta-openstack/recipes-devtools/python/python3-pika_git.bb
>
> diff --git a/meta-openstack/recipes-devtools/python/python-pika.inc b/meta-openstack/recipes-devtools/python/python-pika.inc
> new file mode 100644
> index 0000000..d33979d
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python-pika.inc
> @@ -0,0 +1,13 @@
> +SUMMARY = "Pure Python RabbitMQ/AMQP 0-9-1 client library"
> +HOMEPAGE = "https://github.com/pika/pika"
> +SECTION = "devel/python"
> +
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=fb26c37045f9e0d2c5e24b711bd7f01c"
> +
> +PV = "0.10.0+git${SRCPV}"
> +SRCREV = "b907f91415169b7f590174ab5d228e75a1b273e6"
> +
> +SRC_URI = "git://github.com/pika/pika"
> +
> +S = "${WORKDIR}/git"
> diff --git a/meta-openstack/recipes-devtools/python/python-pika_git.bb b/meta-openstack/recipes-devtools/python/python-pika_git.bb
> index 6d2e55a..9d58184 100644
> --- a/meta-openstack/recipes-devtools/python/python-pika_git.bb
> +++ b/meta-openstack/recipes-devtools/python/python-pika_git.bb
> @@ -1,15 +1,3 @@
> -SUMMARY = "Pure Python RabbitMQ/AMQP 0-9-1 client library"
> -HOMEPAGE = "https://github.com/pika/pika"
> -SECTION = "devel/python"
> -
> -LICENSE = "BSD-3-Clause"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=fb26c37045f9e0d2c5e24b711bd7f01c"
> -
> -PV = "0.10.0+git${SRCPV}"
> -SRCREV = "b907f91415169b7f590174ab5d228e75a1b273e6"
> -
> -SRC_URI = "git://github.com/pika/pika"
> -
> -S = "${WORKDIR}/git"
> +require python-pika.inc
>
>  inherit setuptools
> diff --git a/meta-openstack/recipes-devtools/python/python3-pika_git.bb b/meta-openstack/recipes-devtools/python/python3-pika_git.bb
> new file mode 100644
> index 0000000..93f50b4
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python3-pika_git.bb
> @@ -0,0 +1,3 @@
> +require python-pika.inc
> +
> +inherit setuptools3
> --
> 2.18.0
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


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

end of thread, other threads:[~2018-08-28 12:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-27 12:12 [meta-openstack][PATCH 1/2] python3-avahi: add recipe Ioan-Adrian Ratiu
2018-08-27 12:12 ` [meta-openstack][PATCH 2/2] python3-pika: " Ioan-Adrian Ratiu
2018-08-28 12:22   ` Bruce Ashfield
2018-08-28 12:22 ` [meta-openstack][PATCH 1/2] python3-avahi: " 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.