Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/whoosh/
Date: Wed, 03 May 2017 11:41:42
Message-Id: 1493811691.1100bbb3a6132c801762bd2e6c30703b2a28726b.mgorny@gentoo
1 commit: 1100bbb3a6132c801762bd2e6c30703b2a28726b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 3 11:25:29 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 3 11:41:31 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1100bbb3
7
8 dev-python/whoosh: Clean old versions up
9
10 dev-python/whoosh/Manifest | 1 -
11 dev-python/whoosh/whoosh-2.7.3.ebuild | 52 -----------------------------------
12 2 files changed, 53 deletions(-)
13
14 diff --git a/dev-python/whoosh/Manifest b/dev-python/whoosh/Manifest
15 index 1e6e7e8b477..abab904b88f 100644
16 --- a/dev-python/whoosh/Manifest
17 +++ b/dev-python/whoosh/Manifest
18 @@ -1,3 +1,2 @@
19 DIST Whoosh-2.6.0.zip 1193541 SHA256 7de7bc4d00a6d051dbb360b48eb7f3cd002373d87252fb0b284a3c9c453a7677 SHA512 e50e47ec0d1c65ad3c7d657586f5380a1be748945c1ce964305fa68b99379f0da676faef6f0ca45ef151df7be71150601162ee966f3aaf84047a20bca36f7e37 WHIRLPOOL c42e9760833db7186f3df5946f6dd071288cfccf2eaefba95520a2415ca377c49cf74307b3fa2c9e655f134b086ae637e5db06330248b4a27e12175920f3c7b8
20 -DIST Whoosh-2.7.3.zip 1097515 SHA256 aa6db447522e208ae652c6ce063bb23cedec47f5ed630121b3debaa011fcb9c4 SHA512 3df18ed30f63aaa9f858d596919fa8a927f7203a52bdb4c584117b28bce313cbbb530cdb144e35af99763edbbc7d3f5c79680d04fa7c04efa91376ba62b6f556 WHIRLPOOL 1829fd083485367dd0751844c77e5f7e8c8edee4021b8518415ab6cd6f8db84b5f2f188d6e2128a105cfd8076d8101c1421838ac18f10cd632c64eed5828a44e
21 DIST Whoosh-2.7.4.tar.gz 968741 SHA256 7ca5633dbfa9e0e0fa400d3151a8a0c4bec53bd2ecedc0a67705b17565c31a83 SHA512 7cdefdcf52b704ffe50c00718c42677e2ddfe879f81ad2d14b580b0e026cc0ebb6b9ddc99d8709eaff4eb9b83f654b042c8792821e1ed90aa85cfa6f82845074 WHIRLPOOL 2f077eb84fc89ff03babdd7adb25bf04ca03811a21f9ac987854c158fdd0b31f25d30ad59c9299a2da4b7ed982e2d292eeab781c10c9062e878ac0f8454115ed
22
23 diff --git a/dev-python/whoosh/whoosh-2.7.3.ebuild b/dev-python/whoosh/whoosh-2.7.3.ebuild
24 deleted file mode 100644
25 index f75fd489727..00000000000
26 --- a/dev-python/whoosh/whoosh-2.7.3.ebuild
27 +++ /dev/null
28 @@ -1,52 +0,0 @@
29 -# Copyright 1999-2017 Gentoo Foundation
30 -# Distributed under the terms of the GNU General Public License v2
31 -
32 -EAPI="5"
33 -
34 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
35 -
36 -MY_PN="Whoosh"
37 -
38 -inherit distutils-r1
39 -
40 -DESCRIPTION="Fast, pure-Python full text indexing, search and spell checking library"
41 -HOMEPAGE="https://bitbucket.org/mchaput/whoosh/wiki/Home/ https://pypi.python.org/pypi/Whoosh/"
42 -SRC_URI="mirror://pypi/W/${MY_PN}/${MY_PN}-${PV}.zip"
43 -
44 -DEPEND="app-arch/unzip
45 - dev-python/setuptools[${PYTHON_USEDEP}]
46 - test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
47 -
48 -LICENSE="BSD-2"
49 -SLOT="0"
50 -KEYWORDS="~amd64 ~x86"
51 -IUSE="doc test"
52 -
53 -S="${WORKDIR}/${MY_PN}-${PV}"
54 -
55 -python_prepare_all() {
56 - # (backport from upstream)
57 - sed -i -e '/cmdclass/s:pytest:PyTest:' setup.py || die
58 -
59 - # Prevent un-needed download during build
60 - sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
61 -
62 - distutils-r1_python_prepare_all
63 -}
64 -
65 -python_compile_all() {
66 - # https://bitbucket.org/mchaput/whoosh/issue/403/
67 - use doc && sphinx-build -b html -c docs/source/ docs/source/ docs/source/build/html
68 -}
69 -
70 -python_test() {
71 - # https://bitbucket.org/mchaput/whoosh/issue/412/tarball-of-whoosh-270-pypi-missing-english
72 - # tarball missing a file english-words.10.gz which when added sees all tests pass.
73 - esetup.py test
74 -}
75 -
76 -python_install_all() {
77 - local DOCS=( README.txt )
78 - use doc && local HTML_DOCS=( docs/source/build/html/. )
79 - distutils-r1_python_install_all
80 -}