blob: 4e472c9e279cf02b3e296402ff90b3d0005a0d0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
PYTHON_DEPEND="2:2.5"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
inherit distutils
DESCRIPTION="Sphinx extension to support docstrings in Numpy format"
HOMEPAGE="
http://projects.scipy.org/numpy/browser/trunk/doc/sphinxext/
http://pypi.python.org/pypi/numpydoc/"
SRC_URI="mirror://pypi/n/${PN}/${P}.tar.gz"
LICENSE="PYTHON BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
DEPEND="test? ( >=dev-python/sphinx-0.5 )"
RDEPEND=">=dev-python/sphinx-0.5"
src_test() {
testing() {
PYTHONPATH="build-${PYTHON_ABI}/abi" "$(PYTHON)" tests/test_docscrape.py
}
python_execute_function testing
}
|