package/python-couchdb: new package
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 9 Oct 2016 12:46:17 +0000 (14:46 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 9 Oct 2016 20:51:04 +0000 (22:51 +0200)
Needed by upcoming python-mwscrape package.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-couchdb/Config.in [new file with mode: 0644]
package/python-couchdb/python-couchdb.hash [new file with mode: 0644]
package/python-couchdb/python-couchdb.mk [new file with mode: 0644]

index a1da86a2015b87fa781c7437c33d998ccd2e3087..f919bd54da8fd8beea50d77d7f3c91180d5a5df7 100644 (file)
@@ -657,6 +657,7 @@ menu "External python modules"
        source "package/python-coherence/Config.in"
        source "package/python-configobj/Config.in"
        source "package/python-configshell-fb/Config.in"
+       source "package/python-couchdb/Config.in"
        source "package/python-crc16/Config.in"
        source "package/python-crcmod/Config.in"
        source "package/python-crossbar/Config.in"
diff --git a/package/python-couchdb/Config.in b/package/python-couchdb/Config.in
new file mode 100644 (file)
index 0000000..9156883
--- /dev/null
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_COUCHDB
+       bool "python-couchdb"
+       select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime
+       select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime
+       help
+         Python client library for working with CouchDB.
+
+         https://github.com/djc/couchdb-python/
diff --git a/package/python-couchdb/python-couchdb.hash b/package/python-couchdb/python-couchdb.hash
new file mode 100644 (file)
index 0000000..f9422a8
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/couchdb/json, sha256 locally computed
+md5    2ed5ad2a477fd3cb472ed6dc5a381ff3  CouchDB-1.1.tar.gz
+sha256 9503ea413956c33b5e2af248235afb5e0f011f33f816a32e872f8ff9b0a0e710  CouchDB-1.1.tar.gz
diff --git a/package/python-couchdb/python-couchdb.mk b/package/python-couchdb/python-couchdb.mk
new file mode 100644 (file)
index 0000000..c88787c
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-couchdb
+#
+################################################################################
+
+PYTHON_COUCHDB_VERSION = 1.1
+PYTHON_COUCHDB_SOURCE = CouchDB-$(PYTHON_COUCHDB_VERSION).tar.gz
+PYTHON_COUCHDB_SITE = https://pypi.python.org/packages/9a/e8/c3c8da6d00145aaca07f2b784794917613dad26532068da4e8392dc48d7f
+PYTHON_COUCHDB_SETUP_TYPE = setuptools
+PYTHON_COUCHDB_LICENSE = BSD-3c
+PYTHON_COUCHDB_LICENSE_FILES = COPYING
+
+$(eval $(python-package))