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>
This commit is contained in:
Bernd Kuhls 2016-10-09 14:46:21 +02:00 committed by Thomas Petazzoni
parent 1519e53110
commit b8babf842b
4 changed files with 27 additions and 0 deletions

View file

@ -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"

View file

@ -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

View file

@ -0,0 +1,2 @@
# Locally computed
sha256 8de8a5ef257851f6e1e41247f64710f48859a5e3f91ebc7200bb60769f02f296 python-mwscrape-6a58d7801eb1e884fd0516f1adbedbd4481c10e6.tar.gz

View file

@ -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))