All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][patch v4] dnf-plugin-tui: new recipe
@ 2019-06-07  0:42 Zheng Ruoqin
  2019-07-10  5:46 ` Lei, Maohui
  2019-07-31  3:23 ` Zheng, Ruoqin
  0 siblings, 2 replies; 3+ messages in thread
From: Zheng Ruoqin @ 2019-06-07  0:42 UTC (permalink / raw)
  To: openembedded-devel

From: Lei Maohui <leimaohui@cn.fujitsu.com>

This dnf plugin aim to supply a tui interface for user to manage
packages. It has features as following:
  1. Add new command dnf tui --init to make dnf to work on host.
  2. Text-based user interface for dnf.
  3. Manage SPDX files.
  4. Manage SRPM files.
  5. Add installation samples for dnf.

More details please refer to https://github.com/ubinux/dnf-plugin-tui.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
---
 .../dnf-plugin-tui/dnf-plugin-tui_git.bb           | 38 ++++++++++++++++++++++
 .../dnf-plugin-tui/files/oe-remote.repo.sample     |  5 +++
 2 files changed, 43 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
 create mode 100644 meta-oe/recipes-devtools/dnf-plugin-tui/files/oe-remote.repo.sample

diff --git a/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
new file mode 100644
index 0000000..e891868
--- /dev/null
+++ b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
@@ -0,0 +1,38 @@
+SUMMARY = "A text-based user interface plugin of dnf for user to manage packages. "
+LICENSE = "GPLv2"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+SRC_URI = "git://github.com/ubinux/dnf-plugin-tui.git;branch=master "
+SRCREV = "31d6866d5eda02be9a6bfb1fca9e9095b12eecd1"
+PV = "1.0"
+
+SRC_URI_append_class-target = "file://oe-remote.repo.sample"
+
+inherit distutils3-base
+
+S = "${WORKDIR}/git"
+
+do_install_append() {
+        install -d ${D}${datadir}/dnf
+        install -m 0755 ${S}/samples/* ${D}${datadir}/dnf
+        install -d ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins/mkimg
+        install -m 0755 ${S}/dnf-plugins/mkimg/* ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins/mkimg
+        for file in $(ls ${S}/dnf-plugins/ | grep -v mkimg); do
+            install -m 0755 ${S}/dnf-plugins/$file ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins
+        done
+}
+
+do_install_append_class-target() {
+        install -d ${D}${sysconfdir}/yum.repos.d
+        install -m 0644 ${WORKDIR}/oe-remote.repo.sample ${D}${sysconfdir}/yum.repos.d
+}
+
+FILES_${PN} += "${datadir}/dnf"
+
+RDEPENDS_${PN} += " \
+  dnf \
+  libnewt-python \
+  "
+
+BBCLASSEXTEND = "nativesdk"
diff --git a/meta-oe/recipes-devtools/dnf-plugin-tui/files/oe-remote.repo.sample b/meta-oe/recipes-devtools/dnf-plugin-tui/files/oe-remote.repo.sample
new file mode 100644
index 0000000..6c4502e
--- /dev/null
+++ b/meta-oe/recipes-devtools/dnf-plugin-tui/files/oe-remote.repo.sample
@@ -0,0 +1,5 @@
+[base]
+name=myrepo
+baseurl=http://127.0.0.1/oe_repo/
+enabled=1
+gpgcheck=0
-- 
2.7.4





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

* Re: [meta-oe][patch v4] dnf-plugin-tui: new recipe
  2019-06-07  0:42 [meta-oe][patch v4] dnf-plugin-tui: new recipe Zheng Ruoqin
@ 2019-07-10  5:46 ` Lei, Maohui
  2019-07-31  3:23 ` Zheng, Ruoqin
  1 sibling, 0 replies; 3+ messages in thread
From: Lei, Maohui @ 2019-07-10  5:46 UTC (permalink / raw)
  To: openembedded-devel

Ping

> -----Original Message-----
> From: Zheng, Ruoqin
> Sent: Friday, June 07, 2019 8:42 AM
> To: openembedded-devel@lists.openembedded.org
> Cc: Lei, Maohui; Zheng, Ruoqin
> Subject: [oe] [meta-oe][patch v4] dnf-plugin-tui: new recipe
> 
> From: Lei Maohui <leimaohui@cn.fujitsu.com>
> 
> This dnf plugin aim to supply a tui interface for user to manage
> packages. It has features as following:
>   1. Add new command dnf tui --init to make dnf to work on host.
>   2. Text-based user interface for dnf.
>   3. Manage SPDX files.
>   4. Manage SRPM files.
>   5. Add installation samples for dnf.
> 
> More details please refer to https://github.com/ubinux/dnf-plugin-tui.
> 
> Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
> ---
>  .../dnf-plugin-tui/dnf-plugin-tui_git.bb           | 38 ++++++++++++++++++++++
>  .../dnf-plugin-tui/files/oe-remote.repo.sample     |  5 +++
>  2 files changed, 43 insertions(+)
>  create mode 100644 meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-
> tui_git.bb
>  create mode 100644 meta-oe/recipes-devtools/dnf-plugin-tui/files/oe-
> remote.repo.sample
> 
> diff --git a/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
> b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
> new file mode 100644
> index 0000000..e891868
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
> @@ -0,0 +1,38 @@
> +SUMMARY = "A text-based user interface plugin of dnf for user to manage
> packages. "
> +LICENSE = "GPLv2"
> +
> +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
> +
> +SRC_URI = "git://github.com/ubinux/dnf-plugin-tui.git;branch=master "
> +SRCREV = "31d6866d5eda02be9a6bfb1fca9e9095b12eecd1"
> +PV = "1.0"
> +
> +SRC_URI_append_class-target = "file://oe-remote.repo.sample"
> +
> +inherit distutils3-base
> +
> +S = "${WORKDIR}/git"
> +
> +do_install_append() {
> +        install -d ${D}${datadir}/dnf
> +        install -m 0755 ${S}/samples/* ${D}${datadir}/dnf
> +        install -d ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins/mkimg
> +        install -m 0755 ${S}/dnf-plugins/mkimg/*
> ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins/mkimg
> +        for file in $(ls ${S}/dnf-plugins/ | grep -v mkimg); do
> +            install -m 0755 ${S}/dnf-plugins/$file
> ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins
> +        done
> +}
> +
> +do_install_append_class-target() {
> +        install -d ${D}${sysconfdir}/yum.repos.d
> +        install -m 0644 ${WORKDIR}/oe-remote.repo.sample
> ${D}${sysconfdir}/yum.repos.d
> +}
> +
> +FILES_${PN} += "${datadir}/dnf"
> +
> +RDEPENDS_${PN} += " \
> +  dnf \
> +  libnewt-python \
> +  "
> +
> +BBCLASSEXTEND = "nativesdk"
> diff --git a/meta-oe/recipes-devtools/dnf-plugin-tui/files/oe-
> remote.repo.sample b/meta-oe/recipes-devtools/dnf-plugin-tui/files/oe-
> remote.repo.sample
> new file mode 100644
> index 0000000..6c4502e
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/dnf-plugin-tui/files/oe-remote.repo.sample
> @@ -0,0 +1,5 @@
> +[base]
> +name=myrepo
> +baseurl=http://127.0.0.1/oe_repo/
> +enabled=1
> +gpgcheck=0
> --
> 2.7.4




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

* Re: [meta-oe][patch v4] dnf-plugin-tui: new recipe
  2019-06-07  0:42 [meta-oe][patch v4] dnf-plugin-tui: new recipe Zheng Ruoqin
  2019-07-10  5:46 ` Lei, Maohui
@ 2019-07-31  3:23 ` Zheng, Ruoqin
  1 sibling, 0 replies; 3+ messages in thread
From: Zheng, Ruoqin @ 2019-07-31  3:23 UTC (permalink / raw)
  To: openembedded-devel

ping

--------------------------------------------------
Zheng Ruoqin
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
ADDR.: No.6 Wenzhu Road, Software Avenue,
       Nanjing, 210012, China
MAIL : zhengrq.fnst@cn.fujistu.com


> -----Original Message-----
> From: Zheng, Ruoqin/郑 若钦
> Sent: Friday, June 07, 2019 8:42 AM
> To: openembedded-devel@lists.openembedded.org
> Cc: Lei, Maohui/雷 茂慧 <leimaohui@cn.fujitsu.com>; Zheng, Ruoqin/郑 若钦
> <zhengrq.fnst@cn.fujitsu.com>
> Subject: [oe] [meta-oe][patch v4] dnf-plugin-tui: new recipe
> 
> From: Lei Maohui <leimaohui@cn.fujitsu.com>
> 
> This dnf plugin aim to supply a tui interface for user to manage packages. It has
> features as following:
>   1. Add new command dnf tui --init to make dnf to work on host.
>   2. Text-based user interface for dnf.
>   3. Manage SPDX files.
>   4. Manage SRPM files.
>   5. Add installation samples for dnf.
> 
> More details please refer to https://github.com/ubinux/dnf-plugin-tui.
> 
> Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
> ---
>  .../dnf-plugin-tui/dnf-plugin-tui_git.bb           | 38 ++++++++++++++++++++++
>  .../dnf-plugin-tui/files/oe-remote.repo.sample     |  5 +++
>  2 files changed, 43 insertions(+)
>  create mode 100644 meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-
> tui_git.bb
>  create mode 100644 meta-oe/recipes-devtools/dnf-plugin-tui/files/oe-
> remote.repo.sample
> 
> diff --git a/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
> b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
> new file mode 100644
> index 0000000..e891868
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
> @@ -0,0 +1,38 @@
> +SUMMARY = "A text-based user interface plugin of dnf for user to manage
> packages. "
> +LICENSE = "GPLv2"
> +
> +LIC_FILES_CHKSUM =
> "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
> +
> +SRC_URI = "git://github.com/ubinux/dnf-plugin-tui.git;branch=master "
> +SRCREV = "31d6866d5eda02be9a6bfb1fca9e9095b12eecd1"
> +PV = "1.0"
> +
> +SRC_URI_append_class-target = "file://oe-remote.repo.sample"
> +
> +inherit distutils3-base
> +
> +S = "${WORKDIR}/git"
> +
> +do_install_append() {
> +        install -d ${D}${datadir}/dnf
> +        install -m 0755 ${S}/samples/* ${D}${datadir}/dnf
> +        install -d ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins/mkimg
> +        install -m 0755 ${S}/dnf-plugins/mkimg/*
> ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins/mkimg
> +        for file in $(ls ${S}/dnf-plugins/ | grep -v mkimg); do
> +            install -m 0755 ${S}/dnf-plugins/$file
> ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins
> +        done
> +}
> +
> +do_install_append_class-target() {
> +        install -d ${D}${sysconfdir}/yum.repos.d
> +        install -m 0644 ${WORKDIR}/oe-remote.repo.sample
> +${D}${sysconfdir}/yum.repos.d }
> +
> +FILES_${PN} += "${datadir}/dnf"
> +
> +RDEPENDS_${PN} += " \
> +  dnf \
> +  libnewt-python \
> +  "
> +
> +BBCLASSEXTEND = "nativesdk"
> diff --git a/meta-oe/recipes-devtools/dnf-plugin-tui/files/oe-
> remote.repo.sample b/meta-oe/recipes-devtools/dnf-plugin-tui/files/oe-
> remote.repo.sample
> new file mode 100644
> index 0000000..6c4502e
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/dnf-plugin-tui/files/oe-remote.repo.sampl
> +++ e
> @@ -0,0 +1,5 @@
> +[base]
> +name=myrepo
> +baseurl=http://127.0.0.1/oe_repo/
> +enabled=1
> +gpgcheck=0
> --
> 2.7.4




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

end of thread, other threads:[~2019-07-31  3:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-07  0:42 [meta-oe][patch v4] dnf-plugin-tui: new recipe Zheng Ruoqin
2019-07-10  5:46 ` Lei, Maohui
2019-07-31  3:23 ` Zheng, Ruoqin

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.