All of lore.kernel.org
 help / color / mirror / Atom feed
From: "zangrc" <zangrc.fnst@cn.fujitsu.com>
To: <meta-virtualization@yoctoproject.org>
Subject: [meta-virtualization] [PATCH] python-pathlib: Add python3 version
Date: Wed, 4 Dec 2019 15:04:42 +0800	[thread overview]
Message-ID: <20191204070442.29175-1-zangrc.fnst@cn.fujitsu.com> (raw)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
---
 .../python/python-pathlib.inc                 | 23 +++++++++++++++++
 .../python/python-pathlib_1.0.1.bb            | 25 ++-----------------
 .../python/python3-pathlib_1.0.1.bb           |  2 ++
 3 files changed, 27 insertions(+), 23 deletions(-)
 create mode 100644 meta-openstack/recipes-devtools/python/python-pathlib.inc
 create mode 100644 meta-openstack/recipes-devtools/python/python3-pathlib_1.0.1.bb

diff --git a/meta-openstack/recipes-devtools/python/python-pathlib.inc b/meta-openstack/recipes-devtools/python/python-pathlib.inc
new file mode 100644
index 0000000..1df01f3
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-pathlib.inc
@@ -0,0 +1,23 @@
+SUMMARY = "Object-oriented filesystem paths"
+DESCRIPTION = "pathlib offers a set of classes to handle filesystem paths. \
+It offers the following advantages over using string objects: \
+- No more cumbersome use of os and os.path functions. \
+- Embodies the semantics of different path types. \
+- Well-defined semantics, eliminating any warts or ambiguities. \
+"
+HOMEPAGE = "https://pypi.python.org/pypi/pathlib"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b6557c860f0fc867aeab30afd649753"
+
+SRC_URI[md5sum] = "5099ed48be9b1ee29b31c82819240537"
+SRC_URI[sha256sum] = "6940718dfc3eff4258203ad5021090933e5c04707d5ca8cc9e73c94a7894ea9f"
+
+inherit pypi
+
+DEPENDS += " \
+        ${PYTHON_PN}-pip \
+"
+
+RDEPENDS_${PN} += " \
+"
diff --git a/meta-openstack/recipes-devtools/python/python-pathlib_1.0.1.bb b/meta-openstack/recipes-devtools/python/python-pathlib_1.0.1.bb
index 21c02a2..02aafbf 100644
--- a/meta-openstack/recipes-devtools/python/python-pathlib_1.0.1.bb
+++ b/meta-openstack/recipes-devtools/python/python-pathlib_1.0.1.bb
@@ -1,23 +1,2 @@
-SUMMARY = "Object-oriented filesystem paths"
-DESCRIPTION = "pathlib offers a set of classes to handle filesystem paths. \
-It offers the following advantages over using string objects: \
-- No more cumbersome use of os and os.path functions. \
-- Embodies the semantics of different path types. \
-- Well-defined semantics, eliminating any warts or ambiguities. \
-"
-HOMEPAGE = "https://pypi.python.org/pypi/pathlib"
-SECTION = "devel/python"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b6557c860f0fc867aeab30afd649753"
-
-SRC_URI[md5sum] = "5099ed48be9b1ee29b31c82819240537"
-SRC_URI[sha256sum] = "6940718dfc3eff4258203ad5021090933e5c04707d5ca8cc9e73c94a7894ea9f"
-
-inherit setuptools pypi
-
-DEPENDS += " \
-        python-pip \
-"
-
-RDEPENDS_${PN} += " \
-"
+require python-pathlib.inc
+inherit setuptools
diff --git a/meta-openstack/recipes-devtools/python/python3-pathlib_1.0.1.bb b/meta-openstack/recipes-devtools/python/python3-pathlib_1.0.1.bb
new file mode 100644
index 0000000..afed21e
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-pathlib_1.0.1.bb
@@ -0,0 +1,2 @@
+require python-pathlib.inc
+inherit setuptools3
-- 
2.20.1




         reply	other threads:[~2019-12-04  7:03 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-04  3:58 [meta-virtualization] [PATCH] python-mccabe: Add python3 version zangrc
2019-12-04  4:05 ` [meta-virtualization] [PATCH] python-memcache: " zangrc
2019-12-04  5:54   ` [meta-virtualization] [PATCH] python-ordereddict: " zangrc
2019-12-04  6:15     ` [meta-virtualization] [PATCH] python-ovs: " zangrc
2019-12-04  6:51       ` [meta-virtualization] [PATCH] python-pam: " zangrc
2019-12-04  6:58         ` [meta-virtualization] [PATCH] python-paste: " zangrc
2019-12-04  7:04           ` zangrc [this message]
2019-12-04  7:18             ` [meta-virtualization] [PATCH] python-pyflakes: " zangrc
2019-12-04  7:28               ` [meta-virtualization] [PATCH] python-pysnmp: " zangrc
2019-12-04  7:46                 ` [meta-virtualization] [PATCH] python-pytest-salt: " zangrc
2019-12-04  7:52                   ` [meta-virtualization] [PATCH] python-python-editor: " zangrc
2019-12-04  8:08                     ` [meta-virtualization] [PATCH] python-rcssmin: " zangrc
2019-12-04  8:13                       ` [meta-virtualization] [PATCH] python-repoze.who: " zangrc
2019-12-04  8:21                         ` [meta-virtualization] [PATCH] python-retrying: " zangrc
2019-12-05  1:12                           ` [meta-virtualization] [PATCH] python-rjsmin: " zangrc
2019-12-05  1:20                             ` [meta-virtualization] [PATCH] python-rtslib-fb: " zangrc
2019-12-05  1:43                               ` [meta-virtualization] [PATCH] python-saharaclient: " zangrc
2019-12-05  1:56                                 ` [meta-virtualization] [PATCH] python-singledispatch: " zangrc
2019-12-05  2:13                                   ` [meta-virtualization] [PATCH] python-sysv-ipc: " zangrc
2019-12-06 19:11                                     ` Bruce Ashfield

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191204070442.29175-1-zangrc.fnst@cn.fujitsu.com \
    --to=zangrc.fnst@cn.fujitsu.com \
    --cc=meta-virtualization@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.