From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DD3E359CA3 for ; Sun, 14 Feb 2016 18:35:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20B4FE07E1; Sun, 14 Feb 2016 18:35:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 68E89E07D1 for ; Sun, 14 Feb 2016 18:35:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 677E2340B55 for ; Sun, 14 Feb 2016 18:35:45 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C49E98EE for ; Sun, 14 Feb 2016 18:35:43 +0000 (UTC) From: "Patrick Lauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick Lauer" Message-ID: <1455474891.cd360b83004952f46c3708af86b448aca42714e4.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/whoosh/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/whoosh/Manifest dev-python/whoosh/whoosh-2.7.2.ebuild X-VCS-Directories: dev-python/whoosh/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: cd360b83004952f46c3708af86b448aca42714e4 X-VCS-Branch: master Date: Sun, 14 Feb 2016 18:35:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ec107183-84c8-48f7-8319-62df19809402 X-Archives-Hash: 143fec5c314ab431e64be406bbf865c0 commit: cd360b83004952f46c3708af86b448aca42714e4 Author: Patrick Lauer gentoo org> AuthorDate: Sun Feb 14 17:07:34 2016 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Sun Feb 14 18:34:51 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd360b83 dev-python/whoosh: Bump Package-Manager: portage-2.2.27 dev-python/whoosh/Manifest | 1 + dev-python/whoosh/whoosh-2.7.2.ebuild | 53 +++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-python/whoosh/Manifest b/dev-python/whoosh/Manifest index f842edd..0c77521 100644 --- a/dev-python/whoosh/Manifest +++ b/dev-python/whoosh/Manifest @@ -1,2 +1,3 @@ DIST Whoosh-2.6.0.zip 1193541 SHA256 7de7bc4d00a6d051dbb360b48eb7f3cd002373d87252fb0b284a3c9c453a7677 SHA512 e50e47ec0d1c65ad3c7d657586f5380a1be748945c1ce964305fa68b99379f0da676faef6f0ca45ef151df7be71150601162ee966f3aaf84047a20bca36f7e37 WHIRLPOOL c42e9760833db7186f3df5946f6dd071288cfccf2eaefba95520a2415ca377c49cf74307b3fa2c9e655f134b086ae637e5db06330248b4a27e12175920f3c7b8 DIST Whoosh-2.7.0.zip 1080985 SHA256 733df1ad4142fcd1e8f3259070de0521d272d7685e2febc0f4fdd1668cfe0d48 SHA512 5126a9ed5ef50af391905347c7aa1c1cc7d100213c29f5a5f67fcfabab9cdcfcd14a6b75735df8e343f61254d1fec8610f0e1260167a321ab303a0a55b02673f WHIRLPOOL 6a35448280e3c6382b8a4b50432d5def3a910d9af95d35afc11544030b69f0103aae910bbf91cb5942ec80f10a848bbd32dbd828c71482f5e2fc15a9cd29c249 +DIST Whoosh-2.7.2.zip 1096847 SHA256 0f72a49e02e2669a50f1ecaf0364fe0451619473c404efeca9914dd878de73f2 SHA512 3a5e41328e9bce102b9e68d648f6a0e61fa7e6be1585fd70a5885afb885717d0a4e73ef1b6d2086edec996228bbfbd6d7e01eaa64e831223ef1ea7b764d25d7f WHIRLPOOL eaaa85fd62e03bb63ac8cc48c9e29b2c9daf435e848aec7b7747e6fd390245bda044c5e9bafbf9e5f7df22b93e4cfacdc180cc821e3bd4739c229f6aaf9b58e0 diff --git a/dev-python/whoosh/whoosh-2.7.2.ebuild b/dev-python/whoosh/whoosh-2.7.2.ebuild new file mode 100644 index 0000000..5472430 --- /dev/null +++ b/dev-python/whoosh/whoosh-2.7.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy ) + +MY_PN="Whoosh" + +inherit distutils-r1 + +DESCRIPTION="Fast, pure-Python full text indexing, search and spell checking library" +HOMEPAGE="https://bitbucket.org/mchaput/whoosh/wiki/Home/ https://pypi.python.org/pypi/Whoosh/" +SRC_URI="mirror://pypi/W/${MY_PN}/${MY_PN}-${PV}.zip" + +DEPEND="app-arch/unzip + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_prepare_all() { + # (backport from upstream) + sed -i -e '/cmdclass/s:pytest:PyTest:' setup.py || die + + # Prevent un-needed download during build + sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + # https://bitbucket.org/mchaput/whoosh/issue/403/ + use doc && sphinx-build -b html -c docs/source/ docs/source/ docs/source/build/html +} + +python_test() { + # https://bitbucket.org/mchaput/whoosh/issue/412/tarball-of-whoosh-270-pypi-missing-english + # tarball missing a file english-words.10.gz which when added sees all tests pass. + esetup.py test +} + +python_install_all() { + local DOCS=( README.txt ) + use doc && local HTML_DOCS=( docs/source/build/html/. ) + distutils-r1_python_install_all +}