dev-python/sphinx: Move dev-python/sphinx_rtd_theme from PDEPEND to RDEPEND
authorJustin Lecher <jlec@gentoo.org>
Wed, 14 Oct 2015 13:50:57 +0000 (15:50 +0200)
committerJustin Lecher <jlec@gentoo.org>
Wed, 14 Oct 2015 13:50:57 +0000 (15:50 +0200)
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=561776

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/sphinx/sphinx-1.3.1-r1.ebuild [moved from dev-python/sphinx/sphinx-1.3.1.ebuild with 96% similarity]

similarity index 96%
rename from dev-python/sphinx/sphinx-1.3.1.ebuild
rename to dev-python/sphinx/sphinx-1.3.1-r1.ebuild
index 7e9c73e73cace299cda743333d239f8707a36f6f..b241fddc8f646a59210dd206ab79948f941bd813 100644 (file)
@@ -21,24 +21,24 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~s
 IUSE="doc latex test"
 
 RDEPEND="
-       dev-python/setuptools[${PYTHON_USEDEP}]
+       =dev-python/alabaster-0.7*[${PYTHON_USEDEP}]
        >=dev-python/docutils-0.11[${PYTHON_USEDEP}]
        >=dev-python/jinja-2.3[${PYTHON_USEDEP}]
        >=dev-python/pygments-2.0.1-r1[${PYTHON_USEDEP}]
        >=dev-python/six-1.4[${PYTHON_USEDEP}]
        >=dev-python/Babel-1.3[${PYTHON_USEDEP}]
-       =dev-python/alabaster-0.7*[${PYTHON_USEDEP}]
        >=dev-python/snowballstemmer-1.1[${PYTHON_USEDEP}]
+       dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
        latex? (
                dev-texlive/texlive-latexextra
                app-text/dvipng
        )"
-DEPEND="${DEPEND}
+DEPEND="${RDEPEND}
+       dev-python/setuptools[${PYTHON_USEDEP}]
        test? (
                dev-python/nose[${PYTHON_USEDEP}]
                $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
        )"
-PDEPEND="dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]"
 
 S="${WORKDIR}/${MY_P}"
 
@@ -60,7 +60,7 @@ python_compile_all() {
 }
 
 python_test() {
-       mkdir -p "${BUILD_DIR}/sphinx_tempdir"
+       mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die
        export SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir"
        cp -r -l tests "${BUILD_DIR}"/ || die