[oe-commits] [meta-openembedded] 04/14: python-toml: add recipes for python2 and python3

git at git.openembedded.org git at git.openembedded.org
Fri Oct 4 17:42:07 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit aae146b6789b49e649d4ccacb3f4c33413f65903
Author: Jean-Marie LEMETAYER <jean-marie.lemetayer at savoirfairelinux.com>
AuthorDate: Thu Oct 3 16:07:29 2019 +0200

    python-toml: add recipes for python2 and python3
    
    This package is a Python library for parsing and creating TOML [1].
    
    Another python TOML parser library named pytoml already exists in
    meta-oe/recipes-devtools/python/python*-pytoml_*.bb but this library is
    deprecated and it is explicitly explained to consider using the toml
    package instead [2].
    
    1: https://github.com/toml-lang/toml
    2: https://github.com/avakar/pytoml/commit/cd2a62e1444cda2c517b02d36b97151acf379b88
    
    Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer at savoirfairelinux.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-python/recipes-devtools/python/python-toml.inc        | 10 ++++++++++
 meta-python/recipes-devtools/python/python-toml_0.10.0.bb  |  6 ++++++
 meta-python/recipes-devtools/python/python3-toml_0.10.0.bb |  6 ++++++
 3 files changed, 22 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-toml.inc b/meta-python/recipes-devtools/python/python-toml.inc
new file mode 100644
index 0000000..a3b3dfc
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-toml.inc
@@ -0,0 +1,10 @@
+SUMMARY = "Python Library for Tom's Obvious, Minimal Language"
+HOMEPAGE = "https://github.com/uiri/toml"
+LICENSE = "MIT"
+SECTION = "devel/python"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6d6012eea477117abf51c31262a152f8"
+
+SRC_URI[md5sum] = "63fffbe2d632865ec29cd69bfdf36682"
+SRC_URI[sha256sum] = "229f81c57791a41d65e399fc06bf0848bab550a9dfd5ed66df18ce5f05e73d5c"
+
+inherit pypi
diff --git a/meta-python/recipes-devtools/python/python-toml_0.10.0.bb b/meta-python/recipes-devtools/python/python-toml_0.10.0.bb
new file mode 100644
index 0000000..3c4acce
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-toml_0.10.0.bb
@@ -0,0 +1,6 @@
+inherit setuptools
+require python-toml.inc
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-datetime \
+"
diff --git a/meta-python/recipes-devtools/python/python3-toml_0.10.0.bb b/meta-python/recipes-devtools/python/python3-toml_0.10.0.bb
new file mode 100644
index 0000000..cebb41a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-toml_0.10.0.bb
@@ -0,0 +1,6 @@
+inherit setuptools3
+require python-toml.inc
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-misc \
+"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list