From patchwork Thu Oct 6 04:48:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 678736 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3sqKv20STRz9sQw for ; Thu, 6 Oct 2016 15:49:33 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1E3258AFBC; Thu, 6 Oct 2016 04:49:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zfk00eWwxl9q; Thu, 6 Oct 2016 04:49:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4AF0CC0E9E; Thu, 6 Oct 2016 04:49:28 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 9E9DB1CE59D for ; Thu, 6 Oct 2016 04:49:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 91562C21E2 for ; Thu, 6 Oct 2016 04:49:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xk-qmRh1kxTa for ; Thu, 6 Oct 2016 04:49:14 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout02.t-online.de (mailout02.t-online.de [194.25.134.17]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 56800C2106 for ; Thu, 6 Oct 2016 04:49:13 +0000 (UTC) Received: from fwd34.aul.t-online.de (fwd34.aul.t-online.de [172.20.26.145]) by mailout02.t-online.de (Postfix) with SMTP id 4372741AF6DF for ; Thu, 6 Oct 2016 06:49:11 +0200 (CEST) Received: from fli4l.lan.fli4l (Z4Kk8qZarhyF-2mzJ01Um88KW55arGmkpQ3X6m83uTGsVU3TOYPGYXOsBdnZkYuZmj@[84.178.250.140]) by fwd34.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1bs0cB-0T9jW40; Thu, 6 Oct 2016 06:49:03 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:58040 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.87) (envelope-from ) id 1bs0cA-0007Ab-KA; Thu, 06 Oct 2016 06:49:03 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Thu, 6 Oct 2016 06:48:57 +0200 Message-Id: <20161006044858.27768-4-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161006044858.27768-1-bernd.kuhls@t-online.de> References: <20161006044858.27768-1-bernd.kuhls@t-online.de> X-ID: Z4Kk8qZarhyF-2mzJ01Um88KW55arGmkpQ3X6m83uTGsVU3TOYPGYXOsBdnZkYuZmj X-TOI-MSGID: 292b0f5c-1386-4f38-93a8-e6d2df056473 Cc: Bernd Kuhls Subject: [Buildroot] [PATCH 4/5] package/python-mwclient: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Needed by upcoming python-mwscrape package. Signed-off-by: Bernd Kuhls --- package/Config.in | 1 + package/python-mwclient/Config.in | 8 ++++++++ package/python-mwclient/python-mwclient.hash | 3 +++ package/python-mwclient/python-mwclient.mk | 14 ++++++++++++++ 4 files changed, 26 insertions(+) create mode 100644 package/python-mwclient/Config.in create mode 100644 package/python-mwclient/python-mwclient.hash create mode 100644 package/python-mwclient/python-mwclient.mk diff --git a/package/Config.in b/package/Config.in index 9b67c76..1f6b397 100644 --- a/package/Config.in +++ b/package/Config.in @@ -708,6 +708,7 @@ menu "External python modules" source "package/python-meld3/Config.in" source "package/python-mistune/Config.in" source "package/python-msgpack/Config.in" + source "package/python-mwclient/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-mwclient/Config.in b/package/python-mwclient/Config.in new file mode 100644 index 0000000..be88978 --- /dev/null +++ b/package/python-mwclient/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_MWCLIENT + bool "python-mwclient" + select BR2_PACKAGE_PYTHON_REQUESTS # runtime + select BR2_PACKAGE_PYTHON_SIX # runtime + help + MediaWiki API client. + + https://github.com/btongminh/mwclient diff --git a/package/python-mwclient/python-mwclient.hash b/package/python-mwclient/python-mwclient.hash new file mode 100644 index 0000000..1098971 --- /dev/null +++ b/package/python-mwclient/python-mwclient.hash @@ -0,0 +1,3 @@ +# md5 from https://pypi.python.org/pypi/mwclient/json, sha256 locally computed +md5 c1334facf2d6ca54fe6dba4ab75ecf34 mwclient-0.8.1.tar.gz +sha256 5f892711cc0b23ff2a6d8b7986ee63cd43fd1ec92b0783604ffa7613cd1662e4 mwclient-0.8.1.tar.gz diff --git a/package/python-mwclient/python-mwclient.mk b/package/python-mwclient/python-mwclient.mk new file mode 100644 index 0000000..7c7f84c --- /dev/null +++ b/package/python-mwclient/python-mwclient.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-mwclient +# +################################################################################ + +PYTHON_MWCLIENT_VERSION = 0.8.1 +PYTHON_MWCLIENT_SOURCE = mwclient-$(PYTHON_MWCLIENT_VERSION).tar.gz +PYTHON_MWCLIENT_SITE = https://pypi.python.org/packages/19/79/481b288a497f625ee8f76141ff3472d81428b1f14b7155a28a63a3247197 +PYTHON_MWCLIENT_SETUP_TYPE = setuptools +PYTHON_MWCLIENT_LICENSE = MIT +PYTHON_MWCLIENT_DEPENDENCIES = python-requests python-six + +$(eval $(python-package))