# ChangeLog for dev-python/sphinx
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/ChangeLog,v 1.93 2011/10/10 07:06:50 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/ChangeLog,v 1.94 2011/11/04 22:24:35 hwoarang Exp $
+
+ 04 Nov 2011; Markos Chandras <hwoarang@gentoo.org> sphinx-1.0.7.ebuild,
+ sphinx-1.1.ebuild:
+ Fix dependencies. Simplify ebuilds. Patch by Arfrever.
*sphinx-1.1 (10 Oct 2011)
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/sphinx-1.0.7.ebuild,v 1.7 2011/03/23 21:05:31 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/sphinx-1.0.7.ebuild,v 1.8 2011/11/04 22:24:34 hwoarang Exp $
EAPI="3"
PYTHON_DEPEND="2"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc latex"
-RDEPEND=">=dev-python/docutils-0.5
+DEPEND=">=dev-python/docutils-0.5
>=dev-python/jinja-2.2
>=dev-python/pygments-0.8
+ dev-python/setuptools
latex? ( dev-texlive/texlive-latexextra )"
-DEPEND="${RDEPEND}
- dev-python/setuptools"
+RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
if use doc; then
pushd doc > /dev/null
einfo "Generation of documentation"
- PYTHONPATH="../" emake SPHINXBUILD="$(PYTHON -f) ../sphinx-build.py" html || die "Generation of documentation failed"
+ PYTHONPATH=".." emake SPHINXBUILD="$(PYTHON -f) ../sphinx-build.py" html || die "Generation of documentation failed"
popd > /dev/null
fi
}
"$(PYTHON)" -c "import sys; sys.path.insert(0, '${EROOT}$(python_get_sitedir -b)'); from sphinx.pycode.pgen2.driver import load_grammar; load_grammar('${EROOT}$(python_get_sitedir -b)/sphinx/pycode/Grammar.txt')"
}
python_execute_function \
- --action-message 'Generation of Grammar pickle with $(python_get_implementation) $(python_get_version)...' \
- --failure-message 'Generation of Grammar pickle with $(python_get_implementation) $(python_get_version) failed' \
+ --action-message 'Generation of Grammar pickle with $(python_get_implementation_and_version)...' \
+ --failure-message 'Generation of Grammar pickle with $(python_get_implementation_and_version) failed' \
generation_of_grammar_pickle
}
done
}
python_execute_function \
- --action-message 'Deletion of Grammar pickle with $(python_get_implementation) $(python_get_version)...' \
- --failure-message 'Deletion of Grammar pickle with $(python_get_implementation) $(python_get_version) failed' \
+ --action-message 'Deletion of Grammar pickle with $(python_get_implementation_and_version)...' \
+ --failure-message 'Deletion of Grammar pickle with $(python_get_implementation_and_version) failed' \
deletion_of_grammar_pickle
}
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/sphinx-1.1.ebuild,v 1.1 2011/10/10 07:06:50 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/sphinx-1.1.ebuild,v 1.2 2011/11/04 22:24:34 hwoarang Exp $
EAPI="3"
PYTHON_DEPEND="2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc latex"
-RDEPEND=">=dev-python/docutils-0.7
+DEPEND=">=dev-python/docutils-0.7
>=dev-python/jinja-2.3
>=dev-python/pygments-1.2
+ dev-python/setuptools
latex? ( dev-texlive/texlive-latexextra )"
-DEPEND="${RDEPEND}
- dev-python/setuptools"
+RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
if use doc; then
pushd doc > /dev/null
einfo "Generation of documentation"
- PYTHONPATH="../" emake SPHINXBUILD="$(PYTHON -f) ../sphinx-build.py" html || die "Generation of documentation failed"
+ PYTHONPATH=".." emake SPHINXBUILD="$(PYTHON -f) ../sphinx-build.py" html || die "Generation of documentation failed"
popd > /dev/null
fi
}
"$(PYTHON)" -c "import sys; sys.path.insert(0, '${EROOT}$(python_get_sitedir -b)'); from sphinx.pycode.pgen2.driver import load_grammar; load_grammar('${EROOT}$(python_get_sitedir -b)/sphinx/pycode/Grammar.txt')"
}
python_execute_function \
- --action-message 'Generation of Grammar pickle with $(python_get_implementation) $(python_get_version)...' \
- --failure-message 'Generation of Grammar pickle with $(python_get_implementation) $(python_get_version) failed' \
+ --action-message 'Generation of Grammar pickle with $(python_get_implementation_and_version)...' \
+ --failure-message 'Generation of Grammar pickle with $(python_get_implementation_and_version) failed' \
generation_of_grammar_pickle
}
done
}
python_execute_function \
- --action-message 'Deletion of Grammar pickle with $(python_get_implementation) $(python_get_version)...' \
- --failure-message 'Deletion of Grammar pickle with $(python_get_implementation) $(python_get_version) failed' \
+ --action-message 'Deletion of Grammar pickle with $(python_get_implementation_and_version)...' \
+ --failure-message 'Deletion of Grammar pickle with $(python_get_implementation_and_version) failed' \
deletion_of_grammar_pickle
}