mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 11:18:09 -07:00
dev-python/sphinxcontrib-issuetracker: fix for namespace sphinxcontrib
Package-Manager: Portage-2.3.6, Repoman-2.3.3
This commit is contained in:
@@ -13,12 +13,13 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~s390 ~sh sparc x86"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/requests-0.13[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1[${PYTHON_USEDEP}]"
|
||||
dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
@@ -34,7 +35,7 @@ python_prepare_all() {
|
||||
# and virtualx.eclass.
|
||||
rm tests/test_stylesheet.py || die
|
||||
|
||||
# Avoid redundant objects.inv from downloading, sed more lightwieght
|
||||
# Avoid redundant objects.inv from downloading, sed more lightweight
|
||||
if use doc; then
|
||||
sed -e "s:^intersphinx_mapping:#intersphinx_mapping:" \
|
||||
-e "s:^ 'sphinx':#:" \
|
||||
@@ -54,3 +55,8 @@ python_compile_all() {
|
||||
python_test() {
|
||||
py.test || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
find "${ED}" -name '*.pth' -delete || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user