]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
python-simplesqlite: new package
authorYegor Yefremov <yegorslists@googlemail.com>
Mon, 4 Sep 2017 06:21:22 +0000 (08:21 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 6 Sep 2017 21:23:48 +0000 (23:23 +0200)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: add upstream URL in Config.in.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-simplesqlite/Config.in [new file with mode: 0644]
package/python-simplesqlite/python-simplesqlite.hash [new file with mode: 0644]
package/python-simplesqlite/python-simplesqlite.mk [new file with mode: 0644]

index 66ce30701899ec0ded8da3f7f5235f7e275bde86..d926f7e02065cff4a7aca7ee2b20d7fb1dd64009 100644 (file)
@@ -869,6 +869,7 @@ menu "External python modules"
        source "package/python-simpleaudio/Config.in"
        source "package/python-simplegeneric/Config.in"
        source "package/python-simplejson/Config.in"
+       source "package/python-simplesqlite/Config.in"
        source "package/python-singledispatch/Config.in"
        source "package/python-sip/Config.in"
        source "package/python-six/Config.in"
diff --git a/package/python-simplesqlite/Config.in b/package/python-simplesqlite/Config.in
new file mode 100644 (file)
index 0000000..25941dd
--- /dev/null
@@ -0,0 +1,18 @@
+config BR2_PACKAGE_PYTHON_SIMPLESQLITE
+       bool "python-simplesqlite"
+       select BR2_PACKAGE_PYTHON_DATAPROPERTY # runtime
+       select BR2_PACKAGE_PYTHON_LOGBOOK # runtime
+       select BR2_PACKAGE_PYTHON_MBSTRDECODER # runtime
+       select BR2_PACKAGE_PYTHON_PATHVALIDATE # runtime
+       select BR2_PACKAGE_PYTHON_PYTABLEREADER # runtime
+       select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
+       select BR2_PACKAGE_PYTHON_SIX # runtime
+       select BR2_PACKAGE_PYTHON_SQLITE if BR2_PACKAGE_PYTHON # runtime
+       select BR2_PACKAGE_PYTHON3_SQLITE if BR2_PACKAGE_PYTHON3 # runtime
+       select BR2_PACKAGE_PYTHON_TYPEPY # runtime
+       help
+         SimpleSQLite is a Python library to simplify SQLite database
+         operations: table creation, data insertion and get data as
+         other data formats.
+
+         https://github.com/thombashi/SimpleSQLite
diff --git a/package/python-simplesqlite/python-simplesqlite.hash b/package/python-simplesqlite/python-simplesqlite.hash
new file mode 100644 (file)
index 0000000..b9dc137
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/simplesqlite/json, sha256 locally computed
+md5    be05735a65f91bf0bb47c2bfcf474dd3  SimpleSQLite-0.15.0.tar.gz
+sha256 319cf4fd660a2a8ba1d77bac65e3cb3bed30ef5e2b2f98aab558026a29bbefec  SimpleSQLite-0.15.0.tar.gz
diff --git a/package/python-simplesqlite/python-simplesqlite.mk b/package/python-simplesqlite/python-simplesqlite.mk
new file mode 100644 (file)
index 0000000..48c37c5
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-simplesqlite
+#
+################################################################################
+
+PYTHON_SIMPLESQLITE_VERSION = 0.15.0
+PYTHON_SIMPLESQLITE_SOURCE = SimpleSQLite-$(PYTHON_SIMPLESQLITE_VERSION).tar.gz
+PYTHON_SIMPLESQLITE_SITE = https://pypi.python.org/packages/d5/09/e256a7d421c223505d4e89079b4936c6a6de39a5a095ec4bcaa9bfc3f933
+PYTHON_SIMPLESQLITE_SETUP_TYPE = setuptools
+PYTHON_SIMPLESQLITE_LICENSE = MIT
+PYTHON_SIMPLESQLITE_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))