[oe-commits] [meta-openembedded] 08/13: python3-tinydb: add version 3.13.0

git at git.openembedded.org git at git.openembedded.org
Thu May 9 17:06:01 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 c09f8fcf75acface60d2f22595e9606b65dad89b
Author: Parthiban Nallathambi <parthitce at gmail.com>
AuthorDate: Thu May 9 10:15:57 2019 +0200

    python3-tinydb: add version 3.13.0
    
    Note:
    Installation expects _sysconfigdata.py in native python DIR,
    but python3 doesn't have copy for it. Adding the copy in python3
    recipe breaks other python packages.
    
    Patched locally in _prepend specific to tinydb
    
    Signed-off-by: Parthiban Nallathambi <parthitce at gmail.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 .../recipes-devtools/python/python-tinydb.inc        | 20 ++++++++++++++++++++
 .../recipes-devtools/python/python3-tinydb_3.13.0.bb |  2 ++
 2 files changed, 22 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-tinydb.inc b/meta-python/recipes-devtools/python/python-tinydb.inc
new file mode 100644
index 0000000..f79daa0
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-tinydb.inc
@@ -0,0 +1,20 @@
+SUMMARY = "TinyDB is a lightweight document oriented database"
+DESCRIPTION = "\
+TinyDB is a lightweight document oriented database optimized for \
+your happiness. It's written in pure Python and has no external \
+dependencies. The target are small apps that would be blown away \
+by a SQL-DB or an external database server."
+HOMEPAGE = "https://github.com/msiemens/tinydb"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c03ea0a450e50a3a05d5a746504cb2eb"
+
+SRC_URI[md5sum] = "2824877e9ecfd9db5b64fdf079819358"
+SRC_URI[sha256sum] = "a05c4c81e6e867c4f8a2e51c5236d0d897019aa5e9296f5947455b0bdd3c519d"
+
+PYPI_PACKAGE = "tinydb"
+inherit pypi python3-dir
+DEPENDS = "${PYTHON_PN}-pytest-runner-native"
+
+do_install_prepend() {
+	install -m 0644 ${WORKDIR}/recipe-sysroot-native/usr/lib/python-sysconfigdata/_sysconfigdata.py ${WORKDIR}/recipe-sysroot-native/usr/lib/${PYTHON_DIR}
+}
diff --git a/meta-python/recipes-devtools/python/python3-tinydb_3.13.0.bb b/meta-python/recipes-devtools/python/python3-tinydb_3.13.0.bb
new file mode 100644
index 0000000..8996b2d
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-tinydb_3.13.0.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-tinydb.inc

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


More information about the Openembedded-commits mailing list