summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-01-14 11:06:32 +0000
committerAnthony G. Basile <blueness@gentoo.org>2013-01-14 11:06:32 +0000
commitf9f469bb78435cfdf8ec58d5dfa2c150dea67702 (patch)
tree5cbfe5019002a183c5e979bb07f7b42c526264e0 /dev-python/whoosh
parentVersion bump wrt #452008 by Lars Wendler. With empty KEYWORDS while waiting f... (diff)
downloadgentoo-2-f9f469bb78435cfdf8ec58d5dfa2c150dea67702.tar.gz
gentoo-2-f9f469bb78435cfdf8ec58d5dfa2c150dea67702.tar.bz2
gentoo-2-f9f469bb78435cfdf8ec58d5dfa2c150dea67702.zip
Switch to distutils-r1, bug #451976
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
Diffstat (limited to 'dev-python/whoosh')
-rw-r--r--dev-python/whoosh/ChangeLog9
-rw-r--r--dev-python/whoosh/whoosh-2.4.1-r1.ebuild39
2 files changed, 46 insertions, 2 deletions
diff --git a/dev-python/whoosh/ChangeLog b/dev-python/whoosh/ChangeLog
index 73b0feacd8a2..7c8ad64d46f8 100644
--- a/dev-python/whoosh/ChangeLog
+++ b/dev-python/whoosh/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/whoosh
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/whoosh/ChangeLog,v 1.8 2012/12/16 16:20:10 ago Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/whoosh/ChangeLog,v 1.9 2013/01/14 11:06:32 blueness Exp $
+
+*whoosh-2.4.1-r1 (14 Jan 2013)
+
+ 14 Jan 2013; Anthony G. Basile <blueness@gentoo.org> +whoosh-2.4.1-r1.ebuild:
+ Switch to distutils-r1, bug #451976
16 Dec 2012; Agostino Sarubbo <ago@gentoo.org> whoosh-2.4.1.ebuild:
Stable for x86, wrt bug #446082
diff --git a/dev-python/whoosh/whoosh-2.4.1-r1.ebuild b/dev-python/whoosh/whoosh-2.4.1-r1.ebuild
new file mode 100644
index 000000000000..f0be6d1e99ac
--- /dev/null
+++ b/dev-python/whoosh/whoosh-2.4.1-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/whoosh/whoosh-2.4.1-r1.ebuild,v 1.1 2013/01/14 11:06:32 blueness Exp $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_0} )
+
+MY_PN="Whoosh"
+
+inherit distutils-r1
+
+DESCRIPTION="Fast, pure-Python full text indexing, search and spell checking library"
+HOMEPAGE="http://bitbucket.org/mchaput/whoosh/wiki/Home/ http://pypi.python.org/pypi/Whoosh/"
+SRC_URI="mirror://pypi/W/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+python_install_all() {
+ local DOCS=( README.txt )
+ distutils-r1_python_install_all
+
+ if use doc; then
+ insinto "/usr/share/doc/${PF}/"
+ doins -r docs/build/html/_sources/* || die
+ fi
+}
+
+python_test() {
+ ${EPYTHON} setup.py test || die "Tests fail with ${EPYTHON}"
+} \ No newline at end of file