diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-05 19:20:59 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-05 19:20:59 +0000 |
commit | 1d709cb390d00cb032a12e919aef287a2a54ae35 (patch) | |
tree | cdf80b4b6c4e202d1a70c6bdb715401f21c35ad0 /dev-python/sphinx | |
parent | Fix dependencies. (diff) | |
download | historical-1d709cb390d00cb032a12e919aef287a2a54ae35.tar.gz historical-1d709cb390d00cb032a12e919aef287a2a54ae35.tar.bz2 historical-1d709cb390d00cb032a12e919aef287a2a54ae35.zip |
Version bump.
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'dev-python/sphinx')
-rw-r--r-- | dev-python/sphinx/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/sphinx/Manifest | 6 | ||||
-rw-r--r-- | dev-python/sphinx/sphinx-0.6.7.ebuild | 71 |
3 files changed, 82 insertions, 3 deletions
diff --git a/dev-python/sphinx/ChangeLog b/dev-python/sphinx/ChangeLog index d5a18f56ab12..b7c7206ed63e 100644 --- a/dev-python/sphinx/ChangeLog +++ b/dev-python/sphinx/ChangeLog @@ -1,6 +1,12 @@ # 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.56 2010/05/31 06:25:40 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/ChangeLog,v 1.57 2010/06/05 19:20:59 arfrever Exp $ + +*sphinx-0.6.7 (05 Jun 2010) + + 05 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +sphinx-0.6.7.ebuild: + Version bump. *sphinx-1.0_beta2 (31 May 2010) diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest index 1aafbabae7b1..bbe9cccb9e86 100644 --- a/dev-python/sphinx/Manifest +++ b/dev-python/sphinx/Manifest @@ -1,8 +1,10 @@ DIST Sphinx-0.6.5.tar.gz 972168 RMD160 6a06bbaccbd86a55443be7350642a03ae3ae748d SHA1 f91ba2ec0165492c5992cba610fb898ab16ca8c4 SHA256 500d749251ff4d311a81714e2f8f184168e10262a3a0d55f04f22f89164329b7 DIST Sphinx-0.6.6.tar.gz 974187 RMD160 d91e87086f8223acafde51f6553718b486568699 SHA1 104339d8c0f538624c78f8629312044c39f0d8e2 SHA256 41bde4589d9aa7deaf093db0af1e07191c35ca3499ea8b5c880fb33055572e8d +DIST Sphinx-0.6.7.tar.gz 974579 RMD160 824dd7b7f3df61af0e639a19be1bf0080749e12c SHA1 d333163317ba5a26653ffe439f8ce142ce181ff9 SHA256 3127fe8be43d8150d02f0ae81d3ea82815325c161653d39d08f5d283f4588577 DIST Sphinx-1.0b2.tar.gz 2249188 RMD160 94183e5c4d44e11380e6d022e20b67541c64b4cb SHA1 0fedb64cc18c05e23966b980684f3891b2d8c887 SHA256 25c058303fd0d8d347701a5e696b6703d16a8175b848668ae945f084f13e91f2 EBUILD sphinx-0.6.5.ebuild 2178 RMD160 f4331b2be85765b8596a97d7f2c68cb7da00597d SHA1 179105239cabe97afffd8dc4a2d11c1d284f018a SHA256 765112b14dbab0c7a01fbc9f53cd89581f3912b1075434b6cba27d55393e6cc0 EBUILD sphinx-0.6.6.ebuild 2188 RMD160 5339f06c0b24cc04b63b27c2f84beb485e350b88 SHA1 91eb64c8bacefbca3e9cedc4d67518599c978b38 SHA256 f462e3d8e8b1e440be35b6593878ee76be90ef5c64e06ba5f0cfb90859f75f2f -EBUILD sphinx-1.0_beta2.ebuild 2052 RMD160 60041873701b70f86b36a4bdd27f026b1fa4a773 SHA1 8403083aa7e893c5602194297a8b7f4c406bf49a SHA256 b48c199473043eacb80f6722746bc9b46c1d99f75b07d0cc7c929c44f545bfe5 -MISC ChangeLog 6796 RMD160 85779c2bade6e89c290d1b491d6d27ee0496756e SHA1 ac74f00d4b191e73097ecea38191e0afc1f8df1e SHA256 4c46a91bcf57af51ed45809d4e029d6bb55c12781a352fff3e1ec6477c845d1c +EBUILD sphinx-0.6.7.ebuild 2175 RMD160 3b276daefacb814c22a1827c46a2d7584d888b6c SHA1 a53d220537274a22b07b43bff51c380d73897129 SHA256 000335352784d8027e006bc372c94ef14e747f611897897c997966652edd51af +EBUILD sphinx-1.0_beta2.ebuild 2044 RMD160 c93256aa7157f096c87c26d2fb62b4f9f8bffdeb SHA1 0a7ff7ac71450e79346dd276525be3b77ffc25f1 SHA256 36f6da861be8d8ba407161522b16c2aab28194d32e0fd421391213d5bab8b301 +MISC ChangeLog 6944 RMD160 7eb3a409ee5d2b7c6d3aba3e123e01d6c7c74c52 SHA1 8b1327d0f3153153430d342ffcb3d14dadf13623 SHA256 798e56d4ca53511cf31792f5d257ef6752519f7bac018040f36ac7230bc7186f MISC metadata.xml 351 RMD160 a039846d5551a68ce6babb384726d5f2aed7ed48 SHA1 4827404c8a432524f89c5c6882c8f723d9ceee23 SHA256 c3304c774eac6a8ed5a1dbfd42c2e52540cfd76aa441ac4be4b94240410bd4dd diff --git a/dev-python/sphinx/sphinx-0.6.7.ebuild b/dev-python/sphinx/sphinx-0.6.7.ebuild new file mode 100644 index 000000000000..3359fa9b3161 --- /dev/null +++ b/dev-python/sphinx/sphinx-0.6.7.ebuild @@ -0,0 +1,71 @@ +# 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.7.ebuild,v 1.1 2010/06/05 19:20:59 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +DISTUTILS_SRC_TEST="nosetests" + +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 ~ppc-macos ~x64-macos ~x86-macos" +IUSE="doc latex" + +RDEPEND=">=dev-python/pygments-0.8 + >=dev-python/jinja-2.1 + >=dev-python/docutils-0.4 + latex? ( dev-texlive/texlive-latexextra )" +DEPEND="${RDEPEND} + dev-python/setuptools" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" + +DOCS="CHANGES" + +src_compile() { + distutils_src_compile + + if use doc; then + cd doc + einfo "Generation of documentation" + PYTHONPATH="../" emake SPHINXBUILD="$(PYTHON -f) ../sphinx-build.py" html || die "Generation of documentation failed" + fi +} + +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 +} |