diff options
author | 2010-09-17 16:59:26 +0000 | |
---|---|---|
committer | 2010-09-17 16:59:26 +0000 | |
commit | 9aca77452e30914454ae0c0c8c3e58628152dde8 (patch) | |
tree | d6d1849b162dcb1079cde0d340a1d641ec0be91a /dev-python/sphinx | |
parent | Update dependencies. BTreeFolder2 was included in Zope 2.8. (diff) | |
download | historical-9aca77452e30914454ae0c0c8c3e58628152dde8.tar.gz historical-9aca77452e30914454ae0c0c8c3e58628152dde8.tar.bz2 historical-9aca77452e30914454ae0c0c8c3e58628152dde8.zip |
Version bump.
Package-Manager: portage-2.2_rc83_p15/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 | 4 | ||||
-rw-r--r-- | dev-python/sphinx/sphinx-1.0.4.ebuild | 84 |
3 files changed, 94 insertions, 2 deletions
diff --git a/dev-python/sphinx/ChangeLog b/dev-python/sphinx/ChangeLog index e8b220865167..fe3590021c6c 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.64 2010/08/23 18:57:17 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/ChangeLog,v 1.65 2010/09/17 16:59:26 arfrever Exp $ + +*sphinx-1.0.4 (17 Sep 2010) + + 17 Sep 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +sphinx-1.0.4.ebuild: + Version bump. *sphinx-1.0.3 (23 Aug 2010) diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest index 31feb36b5a68..406c5f0a5b81 100644 --- a/dev-python/sphinx/Manifest +++ b/dev-python/sphinx/Manifest @@ -3,12 +3,14 @@ DIST Sphinx-0.6.6.tar.gz 974187 RMD160 d91e87086f8223acafde51f6553718b486568699 DIST Sphinx-0.6.7.tar.gz 974579 RMD160 824dd7b7f3df61af0e639a19be1bf0080749e12c SHA1 d333163317ba5a26653ffe439f8ce142ce181ff9 SHA256 3127fe8be43d8150d02f0ae81d3ea82815325c161653d39d08f5d283f4588577 DIST Sphinx-1.0.1.tar.gz 2275978 RMD160 5d51c055f4b3f6702ced18f51087601be38dea82 SHA1 e4648d9d07e914c56f16fd50f1ef8f095e23dd01 SHA256 c5199f3b1547a9607a7afd3ce1a9393ecb216231cb4f5f8138a5390d77208096 DIST Sphinx-1.0.3.tar.gz 2277149 RMD160 09166cfdfb745176876f5f1cc0addc019a7332b0 SHA1 93653c9e0d7a9f994b5d5ea4b86b6eda490fb720 SHA256 3af3095b1813af7885fc270ac3c1c0fcba7af05c679724c8177ba2836ac39c69 +DIST Sphinx-1.0.4.tar.gz 2277618 RMD160 8802b918daa7dbdb07fe6ae3c8db415bfad6118a SHA1 0186d10064b37e424185d59a6cff8890a170cb3d SHA256 4fdaf2fda676db9943a3847d5d05cd002a1b548653d721a464694cf5d870a859 DIST Sphinx-1.0.tar.gz 2267124 RMD160 df0bf21b5d7e39ed862f694a14d9903b45b4c5b8 SHA1 15010e6e0956d39a90cf975e848f79db0fd39368 SHA256 0838e2f25bb54c4448470a9e092bf1f7ec457101b635091d1c21996f48695924 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-0.6.7.ebuild 2166 RMD160 c637ff81fafbdfd2d3f0704ef8b0aed6e8a34244 SHA1 7ea076367f8014d00ed8bfc36d057d7b51673613 SHA256 d4f9f1b5b678a3d9e4406c6d4a18098ef24b5376d691495a8457bf1aeaf4b7cc EBUILD sphinx-1.0.1.ebuild 2689 RMD160 2d6e8467a6946f6a8bac1f6aaa2f2fb793d67c97 SHA1 594a79709e76593aa23d0615b409b55baa1698ea SHA256 91dbe77360c0c2d3ffc2bbb3b9bf725f7818009e70d56cf911fc5ffee09d6b06 EBUILD sphinx-1.0.3.ebuild 2659 RMD160 bd86190a7eade2c12daa003e590f90a76377636d SHA1 1b0572e2a9e43b21926dbcee450ba8de31c19aae SHA256 56924a8994ca7434e8e0d95a164dc44c8a7f902056af07579e92632226664934 +EBUILD sphinx-1.0.4.ebuild 2664 RMD160 5e6208348d3333824ee6aaf85a2878f307a7ccc3 SHA1 6c5cad49cba7ceb702766d0acb577dafeb5b1fda SHA256 815175eaa9b777a515607322d2af63852a495520319c5b441654b627c54d2bab EBUILD sphinx-1.0.ebuild 2176 RMD160 0680f1ee852956a173b5788a0ba2412bb46e20cc SHA1 30516e409887d81dbc7922ae3b976921f9cec651 SHA256 8f5e6719b11bd4dfdf8cc403ac3fd2c2d013eb32a7a00ed5415f16c12502edfc -MISC ChangeLog 7803 RMD160 e8eee4d0314187ddfb5cee21c5650933de9bc510 SHA1 3b0c0745dadd8fc186901c574dfa3639b4673f24 SHA256 97a129278da8e56d35ab9fa6ebb9cb283921ddb903e587756429d529933b45ca +MISC ChangeLog 7951 RMD160 c37a53b59a180c23f450d67838b10a599c596a16 SHA1 894d07ddb4c29f4e5966fa2933a3e6542f12eb3a SHA256 d6820e94ecffa8e4cf4e0a9ebc6650547709e3cfc4689015ce72a25ef95f896c MISC metadata.xml 351 RMD160 a039846d5551a68ce6babb384726d5f2aed7ed48 SHA1 4827404c8a432524f89c5c6882c8f723d9ceee23 SHA256 c3304c774eac6a8ed5a1dbfd42c2e52540cfd76aa441ac4be4b94240410bd4dd diff --git a/dev-python/sphinx/sphinx-1.0.4.ebuild b/dev-python/sphinx/sphinx-1.0.4.ebuild new file mode 100644 index 000000000000..d0ec27d2abc1 --- /dev/null +++ b/dev-python/sphinx/sphinx-1.0.4.ebuild @@ -0,0 +1,84 @@ +# 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-1.0.4.ebuild,v 1.1 2010/09/17 16:59:26 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" +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="mirror://pypi/${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.2 + >=dev-python/docutils-0.5 + latex? ( dev-texlive/texlive-latexextra )" +DEPEND="${RDEPEND} + dev-python/setuptools" + +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 "Installation of documentation failed" + fi +} + +pkg_postinst() { + distutils_pkg_postinst + + # Generate the Grammar pickle to avoid sandbox violations. + generation_of_grammar_pickle() { + "$(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' \ + generation_of_grammar_pickle +} + +pkg_postrm() { + distutils_pkg_postrm + + deletion_of_grammar_pickle() { + rm -f "${EROOT}$(python_get_sitedir -b)/sphinx/pycode"/Grammar*.pickle || return 1 + + # Delete empty parent directories. + local dir="${EROOT}$(python_get_sitedir -b)/sphinx/pycode" + while [[ "${dir}" != "${EROOT%/}" ]]; do + rmdir "${dir}" 2> /dev/null || break + dir="${dir%/*}" + 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' \ + deletion_of_grammar_pickle +} |