43 lines
1.1 KiB
Bash
43 lines
1.1 KiB
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11.ebuild,v 1.3 2013/04/30 09:44:18 ago Exp $
|
|
|
|
EAPI="4"
|
|
SUPPORT_PYTHON_ABIS="1"
|
|
PYTHON_DEPEND="2:2.6"
|
|
RESTRICT_PYTHON_ABIS="2.5 3.*"
|
|
PYTHON_TESTS_RESTRICTED_ABIS="*-jython *-pypy-*"
|
|
DISTUTILS_SRC_TEST="py.test"
|
|
|
|
inherit distutils
|
|
|
|
DESCRIPTION="Extension to sphinx to create links to issue trackers"
|
|
HOMEPAGE="http://sphinxcontrib-issuetracker.readthedocs.org/"
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="BSD-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE="test"
|
|
|
|
RDEPEND=">=dev-python/requests-0.13
|
|
>=dev-python/sphinx-1.1"
|
|
DEPEND="${RDEPEND}
|
|
dev-python/setuptools
|
|
test? (
|
|
dev-python/mock
|
|
dev-python/pyquery
|
|
)"
|
|
|
|
PYTHON_MODNAME="${PN/-//}"
|
|
|
|
src_prepare() {
|
|
distutils_src_prepare
|
|
|
|
# test requires network access (bug #425694)
|
|
rm tests/test_builtin_trackers.py || die
|
|
|
|
# Tests from tests/test_stylesheet.py require dev-python/PyQt4[X,webkit]
|
|
# and virtualx.eclass.
|
|
rm tests/test_stylesheet.py || die
|
|
}
|