summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2010-03-02 08:39:17 +0000
committerDirkjan Ochtman <djc@gentoo.org>2010-03-02 08:39:17 +0000
commitcf00ecd92c5bdc1a6abe8309731682374895d83e (patch)
tree74acdeb14fa511e9ee328908507f92c99c9c9437 /dev-python/sphinx
parentx86 stable wrt bug #306711 (diff)
downloadhistorical-cf00ecd92c5bdc1a6abe8309731682374895d83e.tar.gz
historical-cf00ecd92c5bdc1a6abe8309731682374895d83e.tar.bz2
historical-cf00ecd92c5bdc1a6abe8309731682374895d83e.zip
Version bump dev-python/sphinx to 0.6.5.
Package-Manager: portage-2.1.7.16/cvs/Linux x86_64
Diffstat (limited to 'dev-python/sphinx')
-rw-r--r--dev-python/sphinx/ChangeLog7
-rw-r--r--dev-python/sphinx/Manifest4
-rw-r--r--dev-python/sphinx/sphinx-0.6.5.ebuild76
3 files changed, 85 insertions, 2 deletions
diff --git a/dev-python/sphinx/ChangeLog b/dev-python/sphinx/ChangeLog
index 55ae942d62b8..935d43caa8bb 100644
--- a/dev-python/sphinx/ChangeLog
+++ b/dev-python/sphinx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/sphinx
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/ChangeLog,v 1.42 2010/03/02 02:44:11 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/ChangeLog,v 1.43 2010/03/02 08:39:17 djc Exp $
+
+*sphinx-0.6.5 (02 Mar 2010)
+
+ 02 Mar 2010; Dirkjan Ochtman <djc@gentoo.org> +sphinx-0.6.5.ebuild:
+ Version bump to 0.6.5.
02 Mar 2010; Jeroen Roovers <jer@gentoo.org> sphinx-0.6.4.ebuild:
Stable for HPPA (bug #305185).
diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest
index 8ab222e4a98d..efd3cdced3fd 100644
--- a/dev-python/sphinx/Manifest
+++ b/dev-python/sphinx/Manifest
@@ -1,6 +1,8 @@
DIST Sphinx-0.6.3.tar.gz 965109 RMD160 5662954aa3f9da6f2da273fb0098697e8ab13184 SHA1 5f3d56f9a50f19d747d04592500956d8ef5a681f SHA256 7da3fb1fec3fc61073e1432a5c2698a02bf8a8370963725816afc429d7d468ba
DIST Sphinx-0.6.4.tar.gz 970249 RMD160 8b6f06a6e13b0af8104a232f34aeabc866c1123f SHA1 8a1a9720c24e05615257525e07744ea715a372b2 SHA256 bf756f543ecfed0f46a79cc83c2536417bbec226e1598d3157a6ac143f3ce2ca
+DIST Sphinx-0.6.5.tar.gz 972168 RMD160 6a06bbaccbd86a55443be7350642a03ae3ae748d SHA1 f91ba2ec0165492c5992cba610fb898ab16ca8c4 SHA256 500d749251ff4d311a81714e2f8f184168e10262a3a0d55f04f22f89164329b7
EBUILD sphinx-0.6.3.ebuild 2158 RMD160 fdd2a05ae451dd8d40fa0312852cfada0870d806 SHA1 11f47c168f87fefaa90db45cc37b0fb729b3c9f2 SHA256 272b41ac1dd4c0b7f9a1905a6550d5471ab0ceabe7029e43431e4e8ce939be93
EBUILD sphinx-0.6.4.ebuild 2223 RMD160 cb34a2eeb28fc85099d2a13ae0b23c3bcad7f45e SHA1 84d3d8e4bb3507a510f1b7f02d46707688263fd2 SHA256 88fe2de7dbfb5175cb12ea33e4185e75878a35dd3654e6e0b9df39c8f25170cd
-MISC ChangeLog 5300 RMD160 bf5df2d35ea49ff7d5ced0f2bb737cad691dc57f SHA1 f408e9ae67302180e2c6bf94c28650177f63bdc3 SHA256 d42072e0fc96e48ebd573ba8573663601ca3e673e8b4ddf882916d372bc9fdb0
+EBUILD sphinx-0.6.5.ebuild 2225 RMD160 029c21fb86264c86443ef2eef8edef992c25285f SHA1 6c581e7025ff58dd129e92e65e52ab5ed86b54c4 SHA256 ff144be44eadd84066ba3f4a56bf30963afa91b20bfdbb7fb3a606ccbaa16492
+MISC ChangeLog 5425 RMD160 8accc7b5410fed076771daaa44452633b23538bb SHA1 bc431bff25e7d2853d43b490d61f040d9750a572 SHA256 d9c0f3c45e7db1958d31eecd2310632bf49709a9a24897bf586d8e6c8102061d
MISC metadata.xml 351 RMD160 a039846d5551a68ce6babb384726d5f2aed7ed48 SHA1 4827404c8a432524f89c5c6882c8f723d9ceee23 SHA256 c3304c774eac6a8ed5a1dbfd42c2e52540cfd76aa441ac4be4b94240410bd4dd
diff --git a/dev-python/sphinx/sphinx-0.6.5.ebuild b/dev-python/sphinx/sphinx-0.6.5.ebuild
new file mode 100644
index 000000000000..38df9de3a3c8
--- /dev/null
+++ b/dev-python/sphinx/sphinx-0.6.5.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/sphinx-0.6.5.ebuild,v 1.1 2010/03/02 08:39:17 djc Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils
+
+MY_PN="Sphinx"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Tool to create documentation for Python projects"
+HOMEPAGE="http://sphinx.pocoo.org/ http://pypi.python.org/pypi/Sphinx"
+SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos"
+IUSE="doc test latex"
+
+RDEPEND=">=dev-python/pygments-0.8
+ >=dev-python/jinja2-2.1
+ >=dev-python/docutils-0.4
+ latex? ( dev-texlive/texlive-latexextra )"
+DEPEND="${RDEPEND}
+ dev-python/setuptools
+ test? ( dev-python/nose )"
+RESTRICT_PYTHON_ABIS="3.*"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS="CHANGES"
+
+src_compile() {
+ distutils_src_compile
+
+ if use doc; then
+ cd doc
+ PYTHONPATH="../" emake SPHINXBUILD="$(PYTHON -f) ../sphinx-build.py" html || die "Generation of documentation failed"
+ fi
+}
+
+src_test() {
+ testing() {
+ PYTHONPATH="build-${PYTHON_ABI}/lib" nosetests-${PYTHON_ABI}
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ dohtml -A txt -r doc/_build/html/* || die "dohtml failed"
+ fi
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+
+ # Generating the Grammar pickle to avoid on the fly generation causing sandbox violations (bug #266015)
+ generation_of_grammar_pickle() {
+ "$(PYTHON)" -c "from sphinx.pycode.pgen2.driver import load_grammar; load_grammar('${ROOT%/}${EPREFIX}$(python_get_sitedir)/sphinx/pycode/Grammar.txt')" \
+ || die "Generation of grammar pickle failed"
+ }
+ python_execute_function --action-message 'Generation of Grammar pickle with Python ${PYTHON_ABI}...' generation_of_grammar_pickle
+}
+
+pkg_postrm() {
+ distutils_pkg_postrm
+
+ deletion_of_grammar_pickle() {
+ rm "${ROOT%/}${EPREFIX}$(python_get_sitedir)/sphinx/pycode"/Grammar*.pickle
+ }
+ python_execute_function --action-message 'Deletion of Grammar pickle with Python ${PYTHON_ABI}...' deletion_of_grammar_pickle
+}