From patchwork Mon Jan 2 15:45:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Bachelart X-Patchwork-Id: 710209 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3tshHb4kt6z9t15 for ; Tue, 3 Jan 2017 02:45:47 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 402598574F; Mon, 2 Jan 2017 15:45:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BhBVmmoQFoA6; Mon, 2 Jan 2017 15:45:40 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 3C1AE85908; Mon, 2 Jan 2017 15:45:40 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id A26ED1C015C for ; Mon, 2 Jan 2017 15:45:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A0795835DA for ; Mon, 2 Jan 2017 15:45:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fZgD-LwYFXrZ for ; Mon, 2 Jan 2017 15:45:36 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp.bretagnetelecom.com (smtp.bretagnetelecom.fr [77.74.208.202]) by whitealder.osuosl.org (Postfix) with ESMTP id 3F310835DD for ; Mon, 2 Jan 2017 15:45:36 +0000 (UTC) Received: from david.intranet.bbright.com (unknown [37.157.230.201]) by smtp.bretagnetelecom.com (Postfix) with ESMTP id A6D7181901; Mon, 2 Jan 2017 16:45:34 +0100 (CET) From: David Bachelart To: buildroot@buildroot.org Date: Mon, 2 Jan 2017 16:45:26 +0100 Message-Id: <1483371929-13907-5-git-send-email-david.bachelart@bbright.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1483371929-13907-1-git-send-email-david.bachelart@bbright.com> References: <1483371929-13907-1-git-send-email-david.bachelart@bbright.com> Cc: david.bachelart@bbright.com Subject: [Buildroot] [PATCH v2] python-whoosh: 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" Signed-off-by: David Bachelart Reviewed-by: Yegor Yefremov --- Changes v1 -> v2: - change comment format in .hash file (suggested by Yegor Yefremov) --- package/Config.in | 1 + package/python-whoosh/Config.in | 9 +++++++++ package/python-whoosh/python-whoosh.hash | 3 +++ package/python-whoosh/python-whoosh.mk | 14 ++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/python-whoosh/Config.in create mode 100644 package/python-whoosh/python-whoosh.hash create mode 100644 package/python-whoosh/python-whoosh.mk diff --git a/package/Config.in b/package/Config.in index 59fa851..0c3eb1c 100644 --- a/package/Config.in +++ b/package/Config.in @@ -810,6 +810,7 @@ menu "External python modules" source "package/python-web2py/Config.in" source "package/python-webpy/Config.in" source "package/python-werkzeug/Config.in" + source "package/python-whoosh/Config.in" source "package/python-ws4py/Config.in" source "package/python-wsaccel/Config.in" source "package/python-xlrd/Config.in" diff --git a/package/python-whoosh/Config.in b/package/python-whoosh/Config.in new file mode 100644 index 0000000..3722704 --- /dev/null +++ b/package/python-whoosh/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_WHOOSH + bool "python-whoosh" + select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime + select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime + help + Whoosh is a fast, pure-Python full text indexing, search, and + spell checking library. + + https://pypi.python.org/pypi/Whoosh/ diff --git a/package/python-whoosh/python-whoosh.hash b/package/python-whoosh/python-whoosh.hash new file mode 100644 index 0000000..b14dd0f --- /dev/null +++ b/package/python-whoosh/python-whoosh.hash @@ -0,0 +1,3 @@ +# md5 from https://pypi.python.org/pypi/Whoosh/json, sha256 locally computed +md5 9a0fc2df9335e1d2e81dd84a2c4c416f Whoosh-2.7.0.tar.gz +sha256 cdfc0e1c5173207ac7b312afe78d83fb552cfed30427bf7b3dba8b1d26cea8f7 Whoosh-2.7.0.tar.gz diff --git a/package/python-whoosh/python-whoosh.mk b/package/python-whoosh/python-whoosh.mk new file mode 100644 index 0000000..64f3820 --- /dev/null +++ b/package/python-whoosh/python-whoosh.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-whoosh +# +################################################################################ + +PYTHON_WHOOSH_VERSION = 2.7.0 +PYTHON_WHOOSH_SOURCE = Whoosh-$(PYTHON_WHOOSH_VERSION).tar.gz +PYTHON_WHOOSH_SITE = http://pypi.python.org/packages/source/W/Whoosh +PYTHON_WHOOSH_SETUP_TYPE = setuptools +PYTHON_WHOOSH_LICENSE = BSD-3c +PYTHON_WHOOSH_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package))