aboutsummaryrefslogtreecommitdiff
blob: e00cbaa64413b43211cf3a8927b1e7db5e7abad6 (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
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

PYTHON_COMPAT=( python{2_6,2_7} )

inherit distutils-r1

DESCRIPTION="Sphinx extension to support docstrings in Numpy format"
HOMEPAGE="http://projects.scipy.org/numpy/browser/trunk/doc/sphinxext/"
SRC_URI="mirror://pypi/n/${PN}/${P}.tar.gz"

LICENSE="PYTHON BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"

DEPEND="test? ( >=dev-python/sphinx-0.5[${PYTHON_USEDEP}] )"
RDEPEND=">=dev-python/sphinx-0.5[${PYTHON_USEDEP}]"

python_test() {
	${EPYTHON} tests/test_docscrape.py || die
}