summaryrefslogtreecommitdiffstats
path: root/package/python-mwscrape
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2016-10-09 14:46:21 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-09 22:58:49 +0200
commitb8babf842b0ca2584895586b6ba53f78f9204ff1 (patch)
tree6858c9c17f57e040e8d52f2dc1b1534a5a772252 /package/python-mwscrape
parent1519e5311097f9fd1779ab1f6e706a8cd7f9830b (diff)
downloadbuildroot-b8babf842b0ca2584895586b6ba53f78f9204ff1.tar.gz
buildroot-b8babf842b0ca2584895586b6ba53f78f9204ff1.zip
package/python-mwscrape: new package
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> [Thomas: fix license, it's MPL-2.0, not BSD-3c.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-mwscrape')
-rw-r--r--package/python-mwscrape/Config.in11
-rw-r--r--package/python-mwscrape/python-mwscrape.hash2
-rw-r--r--package/python-mwscrape/python-mwscrape.mk13
3 files changed, 26 insertions, 0 deletions
diff --git a/package/python-mwscrape/Config.in b/package/python-mwscrape/Config.in
new file mode 100644
index 0000000000..273ce9a4a8
--- /dev/null
+++ b/package/python-mwscrape/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_PYTHON_MWSCRAPE
+ bool "python-mwscrape"
+ depends on BR2_PACKAGE_PYTHON
+ select BR2_PACKAGE_PYTHON_COUCHDB # runtime
+ select BR2_PACKAGE_PYTHON_FUTURES # runtime
+ select BR2_PACKAGE_PYTHON_MWCLIENT # runtime
+ select BR2_PACKAGE_PYTHON_PYLRU # runtime
+ help
+ Download rendered articles from MediaWiki API to CouchDB
+
+ https://github.com/itkach/mwscrape
diff --git a/package/python-mwscrape/python-mwscrape.hash b/package/python-mwscrape/python-mwscrape.hash
new file mode 100644
index 0000000000..b91ef69a28
--- /dev/null
+++ b/package/python-mwscrape/python-mwscrape.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 8de8a5ef257851f6e1e41247f64710f48859a5e3f91ebc7200bb60769f02f296 python-mwscrape-6a58d7801eb1e884fd0516f1adbedbd4481c10e6.tar.gz
diff --git a/package/python-mwscrape/python-mwscrape.mk b/package/python-mwscrape/python-mwscrape.mk
new file mode 100644
index 0000000000..47b943f45f
--- /dev/null
+++ b/package/python-mwscrape/python-mwscrape.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-mwscrape
+#
+################################################################################
+
+PYTHON_MWSCRAPE_VERSION = 6a58d7801eb1e884fd0516f1adbedbd4481c10e6
+PYTHON_MWSCRAPE_SITE = $(call github,itkach,mwscrape,$(PYTHON_MWSCRAPE_VERSION))
+PYTHON_MWSCRAPE_LICENSE = MPL-2.0
+PYTHON_MWSCRAPE_LICENSE_FILES = LICENSE.txt
+PYTHON_MWSCRAPE_SETUP_TYPE = distutils
+
+$(eval $(python-package))
OpenPOWER on IntegriCloud