aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2017-03-01 16:10:18 -0500
committerMartin Jansa <Martin.Jansa@gmail.com>2017-03-04 12:38:56 +0100
commit8173c31a017bf40c44e9de8ff4288b100b48ab74 (patch)
treeedc11aa2ecc85f54844372532915b2519e90a106 /meta-python/recipes-devtools/python
parent32e1af7379b9ccc0ddfe6c9cbe627ceacf3f4677 (diff)
downloadmeta-openembedded-contrib-8173c31a017bf40c44e9de8ff4288b100b48ab74.tar.gz
meta-openembedded-contrib-8173c31a017bf40c44e9de8ff4288b100b48ab74.tar.bz2
meta-openembedded-contrib-8173c31a017bf40c44e9de8ff4288b100b48ab74.zip
python-pysqlite: add initial recipe for version 2.8.3
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python-pysqlite.inc18
-rw-r--r--meta-python/recipes-devtools/python/python-pysqlite_2.8.3.bb2
2 files changed, 20 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-pysqlite.inc b/meta-python/recipes-devtools/python/python-pysqlite.inc
new file mode 100644
index 0000000000..884556570d
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pysqlite.inc
@@ -0,0 +1,18 @@
+DESCRIPTION = "DB-API 2.0 interface for SQLite 3.x"
+HOMEPAGE = "http://github.com/ghaering/pysqlite"
+LICENSE = "Zlib"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=28ad4f115e06c88bd737372a453369d8"
+
+SRC_URI[md5sum] = "033f17b8644577715aee55e8832ac9fc"
+SRC_URI[sha256sum] = "17d3335863e8cf8392eea71add33dab3f96d060666fe68ab7382469d307f4490"
+
+inherit pypi
+
+DEPENDS += "${PYTHON_PN}-pip"
+
+RDEPENDS_${PN}_class-target += "\
+ ${PYTHON_PN}-datetime \
+ sqlite3 \
+"
+
+FILES_${PN}-doc += "${datadir}"
diff --git a/meta-python/recipes-devtools/python/python-pysqlite_2.8.3.bb b/meta-python/recipes-devtools/python/python-pysqlite_2.8.3.bb
new file mode 100644
index 0000000000..95938f2b68
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pysqlite_2.8.3.bb
@@ -0,0 +1,2 @@
+inherit setuptools
+require python-pysqlite.inc