summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2010-01-12 21:40:41 +0000
committerDirkjan Ochtman <djc@gentoo.org>2010-01-12 21:40:41 +0000
commit69e025b4a400c0f513593f26e0fe585b20532093 (patch)
tree2b9f6d5cf018aadcd6a02e09a8cff3e11d595615 /dev-python
parentversion bump (diff)
downloadhistorical-69e025b4a400c0f513593f26e0fe585b20532093.tar.gz
historical-69e025b4a400c0f513593f26e0fe585b20532093.tar.bz2
historical-69e025b4a400c0f513593f26e0fe585b20532093.zip
Bump dev-python/sphinx to 0.6.4
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/sphinx/ChangeLog9
-rw-r--r--dev-python/sphinx/Manifest4
-rw-r--r--dev-python/sphinx/sphinx-0.6.4.ebuild78
3 files changed, 88 insertions, 3 deletions
diff --git a/dev-python/sphinx/ChangeLog b/dev-python/sphinx/ChangeLog
index 5f3d9f97ba65..22fa3e4ac641 100644
--- a/dev-python/sphinx/ChangeLog
+++ b/dev-python/sphinx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/sphinx
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/ChangeLog,v 1.38 2009/12/20 12:27:24 grobian Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/ChangeLog,v 1.39 2010/01/12 21:40:41 djc Exp $
+
+*sphinx-0.6.4 (12 Jan 2010)
+
+ 12 Jan 2010; Dirkjan Ochtman <djc@gentoo.org> +sphinx-0.6.4.ebuild:
+ Version bump to 0.6.4.
20 Dec 2009; Fabian Groffen <grobian@gentoo.org> sphinx-0.6.3.ebuild:
Merged keywords from Prefix, added small Prefix changes, bug #295035
diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest
index 036ceecc80bf..a9f2a4bb1d7b 100644
--- a/dev-python/sphinx/Manifest
+++ b/dev-python/sphinx/Manifest
@@ -1,4 +1,6 @@
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
EBUILD sphinx-0.6.3.ebuild 2132 RMD160 f355306f7c68f4f96bef53e2a91cb597310c011f SHA1 daf6ebea363b0bfa9e79781d87505e2841499b5f SHA256 56a3d341ff367f7346b730332647e0c7ddef730fbb22d3064c3c2eb9891e6699
-MISC ChangeLog 4833 RMD160 5b1557ffe74d730bba8d7f2bbba45f2978d8ffd5 SHA1 9de50373b1ac098ed5e83aa31452e81ab8394bc4 SHA256 72e37b1b5db520e265c78e2712fbe1f43808a3bfe76770d9c9bb3abb6bcf4685
+EBUILD sphinx-0.6.4.ebuild 2138 RMD160 3cd08661d5812c85055fef4ddd4e7220e076b1ee SHA1 c767c4244ea3324e748297786fa810bfc36c3b11 SHA256 086309b5f1f773c61eb2782c4d5753853f7bb61a36481aecbb08d3961d3eba6b
+MISC ChangeLog 4954 RMD160 eaee4e7243345cb0089184f7a856d5f1999f2109 SHA1 091825da1cc81c9078a474a955548be675fd4203 SHA256 767d8a8731bb1c919392031ef82f9254180b83cfe05d0a0df6915e8f060e1e25
MISC metadata.xml 351 RMD160 a039846d5551a68ce6babb384726d5f2aed7ed48 SHA1 4827404c8a432524f89c5c6882c8f723d9ceee23 SHA256 c3304c774eac6a8ed5a1dbfd42c2e52540cfd76aa441ac4be4b94240410bd4dd
diff --git a/dev-python/sphinx/sphinx-0.6.4.ebuild b/dev-python/sphinx/sphinx-0.6.4.ebuild
new file mode 100644
index 000000000000..960b96970e22
--- /dev/null
+++ b/dev-python/sphinx/sphinx-0.6.4.ebuild
@@ -0,0 +1,78 @@
+# 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.4.ebuild,v 1.1 2010/01/12 21:40:41 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"
+
+RDEPEND=">=dev-python/pygments-0.8
+ >=dev-python/jinja2-2.1
+ >=dev-python/docutils-0.4"
+
+DEPEND="${RDEPEND}
+ dev-python/setuptools
+ test? ( dev-python/nose )"
+
+RESTRICT_PYTHON_ABIS="3*"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ DOCS="CHANGES"
+ distutils_src_compile
+
+ if use doc; then
+ cd doc
+ PYTHONPATH="../" emake \
+ SPHINXBUILD="${python} ../sphinx-build.py" \
+ html || die "making docs failed"
+ fi
+}
+
+src_test() {
+ testing() {
+ PYTHONPATH="build-${PYTHON_ABI}/lib" nosetests
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ dohtml -A txt -r doc/_build/html/* || die
+ 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
+}