From: Bernd Kuhls Date: Sun, 9 Oct 2016 12:46:21 +0000 (+0200) Subject: package/python-mwscrape: new package X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b8babf842b0ca2584895586b6ba53f78f9204ff1;p=buildroot.git package/python-mwscrape: new package Signed-off-by: Bernd Kuhls [Thomas: fix license, it's MPL-2.0, not BSD-3c.] Signed-off-by: Thomas Petazzoni --- diff --git a/package/Config.in b/package/Config.in index 66dfb159be..6172f0f721 100644 --- a/package/Config.in +++ b/package/Config.in @@ -710,6 +710,7 @@ menu "External python modules" source "package/python-mistune/Config.in" source "package/python-msgpack/Config.in" source "package/python-mwclient/Config.in" + source "package/python-mwscrape/Config.in" source "package/python-netaddr/Config.in" source "package/python-netifaces/Config.in" source "package/python-networkmanager/Config.in" 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))