* [meta-virtualization] [PATCH] python3-avahi: Consolidate in a single file
@ 2020-09-01 1:57 zangrc
2020-09-01 1:57 ` [meta-virtualization] [PATCH 1/2] python3-castellan: Change to python3 zangrc
2020-09-01 3:23 ` [meta-virtualization] [PATCH 2/2] python3-cursive: " zangrc
0 siblings, 2 replies; 4+ messages in thread
From: zangrc @ 2020-09-01 1:57 UTC (permalink / raw)
To: meta-virtualization
Consolidate inc and bb files into a single bb file.
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
---
.../recipes-devtools/python/python-avahi.inc | 32 -----------------
.../python/python3-avahi_0.6.32.bb | 34 +++++++++++++++++--
2 files changed, 31 insertions(+), 35 deletions(-)
delete mode 100644 meta-openstack/recipes-devtools/python/python-avahi.inc
diff --git a/meta-openstack/recipes-devtools/python/python-avahi.inc b/meta-openstack/recipes-devtools/python/python-avahi.inc
deleted file mode 100644
index c235959..0000000
--- a/meta-openstack/recipes-devtools/python/python-avahi.inc
+++ /dev/null
@@ -1,32 +0,0 @@
-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 python3native
-
-# 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/python3-avahi_0.6.32.bb b/meta-openstack/recipes-devtools/python/python3-avahi_0.6.32.bb
index 4b85cd5..b5d3e77 100644
--- a/meta-openstack/recipes-devtools/python/python3-avahi_0.6.32.bb
+++ b/meta-openstack/recipes-devtools/python/python3-avahi_0.6.32.bb
@@ -1,5 +1,33 @@
-require python-avahi.inc
+RDEPENDS_${PN} += "python3-core python3-dbus"
+SUMMARY = "Python bindings for the avahi zeroconf client"
+HOMEPAGE = "https://github.com/lathiat/avahi"
+SECTION = "devel/python"
-inherit python3-dir
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1"
-RDEPENDS_${PN} += "python3-core python3-dbus"
+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 python3native python3-dir
+
+# 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"
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [meta-virtualization] [PATCH 1/2] python3-castellan: Change to python3
2020-09-01 1:57 [meta-virtualization] [PATCH] python3-avahi: Consolidate in a single file zangrc
@ 2020-09-01 1:57 ` zangrc
2020-09-01 3:23 ` [meta-virtualization] [PATCH 2/2] python3-cursive: " zangrc
1 sibling, 0 replies; 4+ messages in thread
From: zangrc @ 2020-09-01 1:57 UTC (permalink / raw)
To: meta-virtualization
Because python2 is no longer maintained, bb file is changed to python3
version.
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
---
.../python/python-castellan_git.bb | 40 -------------------
.../python/python3-castellan_3.4.0.bb | 33 +++++++++++++++
2 files changed, 33 insertions(+), 40 deletions(-)
delete mode 100644 meta-openstack/recipes-devtools/python/python-castellan_git.bb
create mode 100644 meta-openstack/recipes-devtools/python/python3-castellan_3.4.0.bb
diff --git a/meta-openstack/recipes-devtools/python/python-castellan_git.bb b/meta-openstack/recipes-devtools/python/python-castellan_git.bb
deleted file mode 100644
index 9cc56d7..0000000
--- a/meta-openstack/recipes-devtools/python/python-castellan_git.bb
+++ /dev/null
@@ -1,40 +0,0 @@
-DESCRIPTION = "Generic Key Manager interface for OpenStack"
-HOMEPAGE = "https://github.com/openstack/castellan"
-SECTION = "devel/python"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
-
-SRCNAME = "castellan"
-
-SRC_URI = "\
- git://git.openstack.org/openstack/${SRCNAME}.git;branch=stable/pike \
- "
-
-PV="0.12.1+git${SRCPV}"
-SRCREV="124e9296fe79412b510c73b35936a6be91267d18"
-S = "${WORKDIR}/git"
-
-inherit setuptools3
-
-DEPENDS += " \
- python-pip \
- python-pbr \
- "
-
-# Satisfy setup.py 'setup_requires'
-DEPENDS += " \
- python-pbr-native \
- "
-
-RDEPENDS_${PN} += " \
- python-pbr \
- python-babel \
- python-cryptography \
- python-barbicanclient \
- python-oslo.config \
- python-oslo.context \
- python-oslo.i18n \
- python-oslo.log \
- python-oslo.utils \
- python-keystoneauth1 \
- "
diff --git a/meta-openstack/recipes-devtools/python/python3-castellan_3.4.0.bb b/meta-openstack/recipes-devtools/python/python3-castellan_3.4.0.bb
new file mode 100644
index 0000000..062d375
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-castellan_3.4.0.bb
@@ -0,0 +1,33 @@
+DESCRIPTION = "Generic Key Manager interface for OpenStack"
+HOMEPAGE = "https://github.com/openstack/castellan"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
+
+SRC_URI[sha256sum] = "53d39a4ae93c48d26f904f36ae2f3dedde6ad40d34b5f031c23055fff2a1d7f6"
+
+inherit setuptools3 pypi
+
+DEPENDS += " \
+ python3-pip \
+ python3-pbr \
+ "
+
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+ python3-pbr-native \
+ "
+
+RDEPENDS_${PN} += " \
+ python3-pbr \
+ python3-babel \
+ python3-cryptography \
+ python3-barbicanclient \
+ python3-oslo.config \
+ python3-oslo.context \
+ python3-oslo.i18n \
+ python3-oslo.log \
+ python3-oslo.utils \
+ python3-keystoneauth1 \
+ bash \
+ "
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [meta-virtualization] [PATCH 2/2] python3-cursive: Change to python3
@ 2020-09-01 3:23 ` zangrc
2020-09-02 20:33 ` Bruce Ashfield
0 siblings, 1 reply; 4+ messages in thread
From: zangrc @ 2020-09-01 3:23 UTC (permalink / raw)
To: meta-virtualization
Because python2 is no longer maintained, bb file is changed to python3
version.
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
---
.../python/python-cursive_git.bb | 37 -------------------
.../python/python3-cursive_0.2.2.bb | 31 ++++++++++++++++
2 files changed, 31 insertions(+), 37 deletions(-)
delete mode 100644 meta-openstack/recipes-devtools/python/python-cursive_git.bb
create mode 100644 meta-openstack/recipes-devtools/python/python3-cursive_0.2.2.bb
diff --git a/meta-openstack/recipes-devtools/python/python-cursive_git.bb b/meta-openstack/recipes-devtools/python/python-cursive_git.bb
deleted file mode 100644
index ce82998..0000000
--- a/meta-openstack/recipes-devtools/python/python-cursive_git.bb
+++ /dev/null
@@ -1,37 +0,0 @@
-DESCRIPTION = "Library for validation of digital signatures."
-HOMEPAGE = "https://github.com/openstack/cursive"
-SECTION = "devel/python"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
-
-SRC_URI = "\
- git://git.openstack.org/openstack/cursive.git;branch=master \
- "
-
-PV="0.2.0+git${SRCPV}"
-SRCREV="ad25a4016c56eeceb85764c7ac4501def2b5445a"
-S = "${WORKDIR}/git"
-
-inherit setuptools3
-
-DEPENDS += " \
- python-pbr \
- "
-
-# Satisfy setup.py 'setup_requires'
-DEPENDS += " \
- python-pbr-native \
- "
-
-RDEPENDS_${PN} += " \
- python-pbr \
- python-lxml \
- python-cryptography \
- python-netifaces \
- python-six \
- python-oslo.serialization \
- python-oslo.utils \
- python-oslo.i18n \
- python-oslo.log \
- python-castellan \
- "
diff --git a/meta-openstack/recipes-devtools/python/python3-cursive_0.2.2.bb b/meta-openstack/recipes-devtools/python/python3-cursive_0.2.2.bb
new file mode 100644
index 0000000..770acdc
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-cursive_0.2.2.bb
@@ -0,0 +1,31 @@
+DESCRIPTION = "Library for validation of digital signatures."
+HOMEPAGE = "https://github.com/openstack/cursive"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
+
+inherit setuptools3 pypi
+
+SRC_URI[sha256sum] = "fbdc2b088bf0b9a69b1897d726e6027e8fba8f21f0a881344f70e7a407d9abda"
+
+DEPENDS += " \
+ python3-pbr \
+ "
+
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+ python3-pbr-native \
+ "
+
+RDEPENDS_${PN} += " \
+ python3-pbr \
+ python3-lxml \
+ python3-cryptography \
+ python3-netifaces \
+ python3-six \
+ python3-oslo.serialization \
+ python3-oslo.utils \
+ python3-oslo.i18n \
+ python3-oslo.log \
+ python3-castellan \
+ "
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [meta-virtualization] [PATCH 2/2] python3-cursive: Change to python3
2020-09-01 3:23 ` [meta-virtualization] [PATCH 2/2] python3-cursive: " zangrc
@ 2020-09-02 20:33 ` Bruce Ashfield
0 siblings, 0 replies; 4+ messages in thread
From: Bruce Ashfield @ 2020-09-02 20:33 UTC (permalink / raw)
To: zangrc; +Cc: meta-virtualization
merged.
Bruce
In message: [meta-virtualization] [PATCH 2/2] python3-cursive: Change to python3
on 01/09/2020 zangrc wrote:
> Because python2 is no longer maintained, bb file is changed to python3
> version.
>
> Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
> ---
> .../python/python-cursive_git.bb | 37 -------------------
> .../python/python3-cursive_0.2.2.bb | 31 ++++++++++++++++
> 2 files changed, 31 insertions(+), 37 deletions(-)
> delete mode 100644 meta-openstack/recipes-devtools/python/python-cursive_git.bb
> create mode 100644 meta-openstack/recipes-devtools/python/python3-cursive_0.2.2.bb
>
> diff --git a/meta-openstack/recipes-devtools/python/python-cursive_git.bb b/meta-openstack/recipes-devtools/python/python-cursive_git.bb
> deleted file mode 100644
> index ce82998..0000000
> --- a/meta-openstack/recipes-devtools/python/python-cursive_git.bb
> +++ /dev/null
> @@ -1,37 +0,0 @@
> -DESCRIPTION = "Library for validation of digital signatures."
> -HOMEPAGE = "https://github.com/openstack/cursive"
> -SECTION = "devel/python"
> -LICENSE = "Apache-2.0"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
> -
> -SRC_URI = "\
> - git://git.openstack.org/openstack/cursive.git;branch=master \
> - "
> -
> -PV="0.2.0+git${SRCPV}"
> -SRCREV="ad25a4016c56eeceb85764c7ac4501def2b5445a"
> -S = "${WORKDIR}/git"
> -
> -inherit setuptools3
> -
> -DEPENDS += " \
> - python-pbr \
> - "
> -
> -# Satisfy setup.py 'setup_requires'
> -DEPENDS += " \
> - python-pbr-native \
> - "
> -
> -RDEPENDS_${PN} += " \
> - python-pbr \
> - python-lxml \
> - python-cryptography \
> - python-netifaces \
> - python-six \
> - python-oslo.serialization \
> - python-oslo.utils \
> - python-oslo.i18n \
> - python-oslo.log \
> - python-castellan \
> - "
> diff --git a/meta-openstack/recipes-devtools/python/python3-cursive_0.2.2.bb b/meta-openstack/recipes-devtools/python/python3-cursive_0.2.2.bb
> new file mode 100644
> index 0000000..770acdc
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python3-cursive_0.2.2.bb
> @@ -0,0 +1,31 @@
> +DESCRIPTION = "Library for validation of digital signatures."
> +HOMEPAGE = "https://github.com/openstack/cursive"
> +SECTION = "devel/python"
> +LICENSE = "Apache-2.0"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
> +
> +inherit setuptools3 pypi
> +
> +SRC_URI[sha256sum] = "fbdc2b088bf0b9a69b1897d726e6027e8fba8f21f0a881344f70e7a407d9abda"
> +
> +DEPENDS += " \
> + python3-pbr \
> + "
> +
> +# Satisfy setup.py 'setup_requires'
> +DEPENDS += " \
> + python3-pbr-native \
> + "
> +
> +RDEPENDS_${PN} += " \
> + python3-pbr \
> + python3-lxml \
> + python3-cryptography \
> + python3-netifaces \
> + python3-six \
> + python3-oslo.serialization \
> + python3-oslo.utils \
> + python3-oslo.i18n \
> + python3-oslo.log \
> + python3-castellan \
> + "
> --
> 2.25.1
>
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-09-05 1:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-01 1:57 [meta-virtualization] [PATCH] python3-avahi: Consolidate in a single file zangrc
2020-09-01 1:57 ` [meta-virtualization] [PATCH 1/2] python3-castellan: Change to python3 zangrc
2020-09-01 3:23 ` [meta-virtualization] [PATCH 2/2] python3-cursive: " zangrc
2020-09-02 20:33 ` 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.