diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-11-15 14:26:57 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-11-15 14:26:57 +0000 |
commit | 4bef1844d7b07e50cda7caff0ce4c2da98bfc1ee (patch) | |
tree | 9b4058ad3057a410c4d8275105d2b2a48a21d089 /dev-python/sphinx | |
parent | Delete older ebuilds. (diff) | |
download | historical-4bef1844d7b07e50cda7caff0ce4c2da98bfc1ee.tar.gz historical-4bef1844d7b07e50cda7caff0ce4c2da98bfc1ee.tar.bz2 historical-4bef1844d7b07e50cda7caff0ce4c2da98bfc1ee.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha4_p23/cvs/Linux x86_64
Diffstat (limited to 'dev-python/sphinx')
-rw-r--r-- | dev-python/sphinx/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/sphinx/Manifest | 14 | ||||
-rw-r--r-- | dev-python/sphinx/sphinx-1.0.5.ebuild | 85 |
3 files changed, 96 insertions, 12 deletions
diff --git a/dev-python/sphinx/ChangeLog b/dev-python/sphinx/ChangeLog index fcdb53f92a98..14b455e1983b 100644 --- a/dev-python/sphinx/ChangeLog +++ b/dev-python/sphinx/ChangeLog @@ -1,6 +1,13 @@ # 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.75 2010/10/24 15:35:56 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/ChangeLog,v 1.76 2010/11/15 14:26:57 arfrever Exp $ + +*sphinx-1.0.5 (15 Nov 2010) + + 15 Nov 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -sphinx-0.6.5.ebuild, -sphinx-0.6.6.ebuild, -sphinx-1.0.ebuild, + -sphinx-1.0.1.ebuild, -sphinx-1.0.3.ebuild, +sphinx-1.0.5.ebuild: + Version bump. 24 Oct 2010; Raúl Porcel <armin76@gentoo.org> sphinx-1.0.4.ebuild: alpha/arm/ia64/s390/sh/sparc stable wrt #341513 diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest index 21d3dede62b6..9822645aac82 100644 --- a/dev-python/sphinx/Manifest +++ b/dev-python/sphinx/Manifest @@ -1,16 +1,8 @@ -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.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 +DIST Sphinx-1.0.5.tar.gz 2414648 RMD160 e65e9f201b326012dfdfc4c720479414eadb30ab SHA1 76484c32533e6251d97986c277080edacd2cc12a SHA256 97d7613b915d69e0f68ee2e3ff5618bd16ac1177e0bf8264ece6ffe7d183fb1d 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 2654 RMD160 0cd075db39e71111df39ee05c49bfac910d38867 SHA1 66cc9c43f4da4d26e816eb8231bcc1cb3ea90ec9 SHA256 09728038ad64995a3a364e97e30ab834929612bfc073225c1e9215170ee205e0 EBUILD sphinx-1.0.4.ebuild 2659 RMD160 e8310ba030a3fb90e159b6467ec33a23f73421a2 SHA1 a65168c197c2068d8c9bad0c6f74ec643f2bb452 SHA256 bca28fa0441adb9864e8eaa8d3da9ce3f83a30ed07b98f2b106c02bef7ddd71a -EBUILD sphinx-1.0.ebuild 2176 RMD160 0680f1ee852956a173b5788a0ba2412bb46e20cc SHA1 30516e409887d81dbc7922ae3b976921f9cec651 SHA256 8f5e6719b11bd4dfdf8cc403ac3fd2c2d013eb32a7a00ed5415f16c12502edfc -MISC ChangeLog 8895 RMD160 24dd043526656edf7a8e625764b4672a4b1f5c25 SHA1 9125781baed5cfa2dac522f1a5f0b37f1a15c2dd SHA256 02ded26b8781c862290fb7c065e20e9e473a0f8592cc7146b1a971bfdbd20add +EBUILD sphinx-1.0.5.ebuild 2704 RMD160 2f1c80d0ddc5c4c3b632d1248cdfec40e32aa4ee SHA1 bcf333a3f8823293378f30e9c938bed23c28742d SHA256 d84e1f339a1eac10d4df2f253202ea58cd02c362fc954e396820064974a7f1b2 +MISC ChangeLog 9149 RMD160 e9610f8376d87e36c8bddf04c96715679159407b SHA1 7d240a34cb00e9d662683d5bf99d3e2e9d4b1c25 SHA256 279025622a6d85b67bb8ed373b309f18dfd16a4b53833a6f18bbc1c37af1292a MISC metadata.xml 351 RMD160 a039846d5551a68ce6babb384726d5f2aed7ed48 SHA1 4827404c8a432524f89c5c6882c8f723d9ceee23 SHA256 c3304c774eac6a8ed5a1dbfd42c2e52540cfd76aa441ac4be4b94240410bd4dd diff --git a/dev-python/sphinx/sphinx-1.0.5.ebuild b/dev-python/sphinx/sphinx-1.0.5.ebuild new file mode 100644 index 000000000000..2b5755b67639 --- /dev/null +++ b/dev-python/sphinx/sphinx-1.0.5.ebuild @@ -0,0 +1,85 @@ +# 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.5.ebuild,v 1.1 2010/11/15 14:26:57 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 ~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 + >=dev-python/jinja-2.2 + >=dev-python/pygments-0.8 + 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 + pushd doc > /dev/null + einfo "Generation of documentation" + PYTHONPATH="../" emake SPHINXBUILD="$(PYTHON -f) ../sphinx-build.py" html || die "Generation of documentation failed" + popd > /dev/null + 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 +} |