From: Alec Warner Date: Mon, 26 Mar 2007 09:18:29 +0000 (+0000) Subject: bump docutils with fixed glep tarball for bug 152313 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6a2e320696f1f6d8b84dad2676607421c3b07322;p=gentoo.git bump docutils with fixed glep tarball for bug 152313 Package-Manager: portage-6269-svn --- diff --git a/dev-python/docutils/ChangeLog b/dev-python/docutils/ChangeLog index 9faf0a9fe77a..ace5cc3db1aa 100644 --- a/dev-python/docutils/ChangeLog +++ b/dev-python/docutils/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/docutils # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/ChangeLog,v 1.57 2007/03/17 19:16:24 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/ChangeLog,v 1.58 2007/03/26 09:18:29 antarus Exp $ + +*docutils-0.4-r1 (26 Mar 2007) + + 26 Mar 2007; Alec Warner +docutils-0.4-r1.ebuild: + bump docutils with fixed glep tarball for bug 152313 17 Mar 2007; Steve Dibb docutils-0.4.ebuild: amd64 stable diff --git a/dev-python/docutils/Manifest b/dev-python/docutils/Manifest index 933001a345fc..5d92e6c465d8 100644 --- a/dev-python/docutils/Manifest +++ b/dev-python/docutils/Manifest @@ -21,6 +21,7 @@ DIST docutils-0.4.tar.gz 1237801 RMD160 f6a3c5bfb79ed08ce282bcaf3ded05bd2e3f95b5 DIST glep-0.3.5.tbz2 5096 RMD160 05ac4a8cee50d6835b3f536e9d936b68d0970741 SHA1 e73e668f37093841dcaa4e4b97cde2cd75823f52 SHA256 c612f7af14aaba03e1f7c8aae7879b72a1fa2ebf3e0df4070e2a96899e21c1e6 DIST glep-0.3.7.tbz2 5055 RMD160 25bad2505ca571c6823ee6da3516c65ee3de9d6a SHA1 8bfd6789ccbf994d1c6b100bce8e7826c44b3fab SHA256 f1bd110a4360d95867d4e31c5e1e64704f0f0b700bcd5c9ba1999006b0251004 DIST glep-0.3.9.tbz2 5077 RMD160 2bec75dbf89f73de6c94a32013fbe462a95bde91 SHA1 99fd3a82cfb1d93acb0db6c703ca07475a0049cc SHA256 fdaaa1af69c9af3d9752a2dfa9b47f67fa9732de4749b18cd887cfb8c387c224 +DIST glep-0.4-r1.tbz2 4667 RMD160 bea44f2fe567422fd42bedebdf04cb6d984478ae SHA1 123516118f8bb2c75296a125702f4bf8f3ff1959 SHA256 d0b421869fb3437e96484687fd57f34d4f5cdd5a1fbdb2314f1474b1f9afa058 DIST glep-0.4.tbz2 4636 RMD160 01992cc92fb23948c32e8c617d822892b5014641 SHA1 6006e43006a0c005264de49a41c33bf7299cf989 SHA256 84b7dc586f20b4c7f296dc4ca284d160ab02c61b13bedf56c1040c727fa70920 EBUILD docutils-0.3.5.ebuild 2008 RMD160 780b09dc0864e94ce17c3244be32292807c37b69 SHA1 ec444bad3a9e14107b736bc56fce4fccf723080f SHA256 35105f5eb91d879ff57ff8bf0d22aa06940726243b9288869077e34aa80fed5a MD5 d4ef6790b6f0aa4cf0563b6fdd100937 docutils-0.3.5.ebuild 2008 @@ -34,14 +35,18 @@ EBUILD docutils-0.3.9.ebuild 2573 RMD160 0e0ac44de3de9ad6fd669214363ee5e8f9e7b76 MD5 a7c7cffd7df8b8010ca43936935794f3 docutils-0.3.9.ebuild 2573 RMD160 0e0ac44de3de9ad6fd669214363ee5e8f9e7b76c docutils-0.3.9.ebuild 2573 SHA256 97b4a603188b1166e7f5eab64c7abf35836cd4dc0a991783722db16bc1416011 docutils-0.3.9.ebuild 2573 +EBUILD docutils-0.4-r1.ebuild 3036 RMD160 c7193f5f27ba0629cfe9d90be32a947e9c4f10ee SHA1 dd7d47467298a128d27fe535548baba2bdb3dac1 SHA256 ea4d68f9920dda3dad39dae873f7204a78cc691499415124dc7ff0503ffa8d29 +MD5 8df35e83436715d76b6e388991c2c471 docutils-0.4-r1.ebuild 3036 +RMD160 c7193f5f27ba0629cfe9d90be32a947e9c4f10ee docutils-0.4-r1.ebuild 3036 +SHA256 ea4d68f9920dda3dad39dae873f7204a78cc691499415124dc7ff0503ffa8d29 docutils-0.4-r1.ebuild 3036 EBUILD docutils-0.4.ebuild 3032 RMD160 69494df699848fde2a0c4e071ae5307a879fa9ac SHA1 714eeb6c85e261c15435aa4e687a9950a9f1243b SHA256 89f17ac4ff3a36a9acffc918ef31643ccf60a45e00e73f441d8b4ee00f9e1bfd MD5 55ecc79334330a7e4019a7c3b91ca9ec docutils-0.4.ebuild 3032 RMD160 69494df699848fde2a0c4e071ae5307a879fa9ac docutils-0.4.ebuild 3032 SHA256 89f17ac4ff3a36a9acffc918ef31643ccf60a45e00e73f441d8b4ee00f9e1bfd docutils-0.4.ebuild 3032 -MISC ChangeLog 8903 RMD160 639439036ebbd925c8be8d1a728a9637bbddfacd SHA1 af46288ae6a2d72101719a3fee524699508d3a4f SHA256 123d467f2529f5333e4ecc5fdc5309ae94e116c65c0884aa49998ad48b07f96d -MD5 77f540aabe8990dd34fb72453a8f70f5 ChangeLog 8903 -RMD160 639439036ebbd925c8be8d1a728a9637bbddfacd ChangeLog 8903 -SHA256 123d467f2529f5333e4ecc5fdc5309ae94e116c65c0884aa49998ad48b07f96d ChangeLog 8903 +MISC ChangeLog 9064 RMD160 0004535df97d0667d168c43dfe9707b99046c573 SHA1 74bfb588c70500a2f76424b7efdf2178fc0d3376 SHA256 cf764d93f71371eebf5559906a219ed8d09af0c60eb8938c65ec79fc6c957585 +MD5 c39d84bc29136e7975b5821fb62279be ChangeLog 9064 +RMD160 0004535df97d0667d168c43dfe9707b99046c573 ChangeLog 9064 +SHA256 cf764d93f71371eebf5559906a219ed8d09af0c60eb8938c65ec79fc6c957585 ChangeLog 9064 MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f metadata.xml 159 @@ -58,3 +63,6 @@ SHA256 edcaacb2c08d01bfe473290c6f847c344f4e71628b9ca2003a1e53a7d2b37d53 files/di MD5 1dd3004476c8c1fc88936ead9bd41ddf files/digest-docutils-0.4 455 RMD160 c3786a9bff4a748d07c80cbdcd539e2eb572188e files/digest-docutils-0.4 455 SHA256 e2e3feb3122c7e17cc0f76de3699c794d854dfd456697037e7ea4c70d989423e files/digest-docutils-0.4 455 +MD5 cf729a67b72b0f96548289eb0f66ce7b files/digest-docutils-0.4-r1 464 +RMD160 9be20cf77a0818bd49a4fe8ebb1689a8871a2c1b files/digest-docutils-0.4-r1 464 +SHA256 0147097ebfb9b6cab51670436f16b5d41c40323cb23cc388ecd85d2b253a5c29 files/digest-docutils-0.4-r1 464 diff --git a/dev-python/docutils/docutils-0.4-r1.ebuild b/dev-python/docutils/docutils-0.4-r1.ebuild new file mode 100644 index 000000000000..1e4a3befa313 --- /dev/null +++ b/dev-python/docutils/docutils-0.4-r1.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/docutils-0.4-r1.ebuild,v 1.1 2007/03/26 09:18:29 antarus Exp $ + +inherit distutils eutils elisp-common multilib + +DESCRIPTION="Set of python tools for processing plaintext docs into HTML, XML, etc..." +HOMEPAGE="http://docutils.sourceforge.net/" +SRC_URI="mirror://sourceforge/docutils/${P}.tar.gz + glep? ( mirror://gentoo/glep-${PVR}.tbz2 )" + +LICENSE="public-domain PYTHON BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~hppa ia64 m68k ~mips ppc ~ppc-macos ~ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" +IUSE="glep emacs" + +DEPEND=">=dev-lang/python-2.3 + emacs? ( virtual/emacs )" + +EMP=${PN}-0.3.7 +SITEFILE=50docutils-0.4-gentoo.el + +GLEP_SRC=${WORKDIR}/glep-${PVR} + +src_unpack() { + unpack ${A} + # simplified algorithm to select installing optparse and textwrap + cd ${S} + epatch ${FILESDIR}/${EMP}-extramodules.patch +} + +src_compile() { + distutils_src_compile + + # Generate html docs from reStructured text sources. + + # make roman.py available for the doc building process + ln -s extras/roman.py + + pushd tools + + # Place html4css1.css in base directory. This makes sure the + # generated reference to it is correct. + cp ../docutils/writers/html4css1/html4css1.css .. + + PYTHONPATH=.. ${python} ./buildhtml.py --stylesheet-path=../html4css1.css --traceback .. \ + || die "buildhtml" + + popd + + # clean up after the doc building + rm roman.py html4css1.css + + if use emacs; then + pushd tools/editors/emacs; elisp-compile *.el; popd + fi +} + + +install_txt_doc() { + local doc=${1} + local dir="txt/$(dirname ${doc})" + docinto ${dir} + dodoc ${doc} +} + +src_test() { + cd ${S}/test + PYTHONPATH="${S}" ./alltests.py || die "alltests.py failed" +} + +src_install() { + cd ${S} + mydoc="*.txt" + distutils_src_install + # Tools + cd ${S}/tools + for tool in *.py + do + dobin ${tool} + done + # Docs + cd ${S} + dohtml -r docs spec tools + # manually install the stylesheet file + insinto /usr/share/doc/${PF}/html + doins docutils/writers/html4css1/html4css1.css + for doc in $(find docs spec tools -name '*.txt') + do + install_txt_doc $doc + done + + # installing Gentoo GLEP tools. Uses versioned GLEP distribution + if use glep + then + distutils_python_version + dobin ${GLEP_SRC}/glep.py || die "newbin failed" + insinto /usr/$(get_libdir)/python${PYVER}/site-packages/docutils/readers + newins ${GLEP_SRC}/glepread.py glep.py || die "newins reader failed" + insinto /usr/$(get_libdir)/python${PYVER}/site-packages/docutils/transforms + newins ${GLEP_SRC}/glepstrans.py gleps.py || "newins transform failed" + insinto /usr/$(get_libdir)/python${PYVER}/site-packages/docutils/writers + doins -r ${GLEP_SRC}/glep_html || die "doins writer failed" + fi + + if use emacs; then + elisp-install ${PN} tools/editors/emacs/*.{elc,el} + elisp-site-file-install ${FILESDIR}/${SITEFILE} + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen + distutils_pkg_postinst +} + +pkg_postrm() { + use emacs && elisp-site-regen + distutils_pkg_postrm +} diff --git a/dev-python/docutils/files/digest-docutils-0.4-r1 b/dev-python/docutils/files/digest-docutils-0.4-r1 new file mode 100644 index 000000000000..ba5bd5405ff8 --- /dev/null +++ b/dev-python/docutils/files/digest-docutils-0.4-r1 @@ -0,0 +1,6 @@ +MD5 0fe7b42bb3c2aa3680fe30f9a5fbf712 docutils-0.4.tar.gz 1237801 +RMD160 f6a3c5bfb79ed08ce282bcaf3ded05bd2e3f95b5 docutils-0.4.tar.gz 1237801 +SHA256 b81f29e4f39540d06c7d8c0dc1a2c209816c47ce33a66ac50ee28ae38d242c0e docutils-0.4.tar.gz 1237801 +MD5 da03775225027791807e28aab57e1732 glep-0.4-r1.tbz2 4667 +RMD160 bea44f2fe567422fd42bedebdf04cb6d984478ae glep-0.4-r1.tbz2 4667 +SHA256 d0b421869fb3437e96484687fd57f34d4f5cdd5a1fbdb2314f1474b1f9afa058 glep-0.4-r1.tbz2 4667