diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-05-14 22:01:32 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-05-14 22:01:32 +0000 |
commit | 8dea76884b04d1e781e54eb5abd2e6e13293602d (patch) | |
tree | fb4d5e106144ba16fcf8c77893a8e79a79f32d8b | |
parent | Remove old (diff) | |
download | historical-8dea76884b04d1e781e54eb5abd2e6e13293602d.tar.gz historical-8dea76884b04d1e781e54eb5abd2e6e13293602d.tar.bz2 historical-8dea76884b04d1e781e54eb5abd2e6e13293602d.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha33_p1/cvs/Linux x86_64
-rw-r--r-- | dev-python/docutils/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/docutils/Manifest | 30 | ||||
-rw-r--r-- | dev-python/docutils/docutils-0.8_pre7034.ebuild | 119 |
3 files changed, 142 insertions, 15 deletions
diff --git a/dev-python/docutils/ChangeLog b/dev-python/docutils/ChangeLog index d6080a40ff0a..168ffb040be5 100644 --- a/dev-python/docutils/ChangeLog +++ b/dev-python/docutils/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/docutils # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/ChangeLog,v 1.131 2011/05/11 14:36:27 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/ChangeLog,v 1.132 2011/05/14 22:01:32 arfrever Exp $ + +*docutils-0.8_pre7034 (14 May 2011) + + 14 May 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +docutils-0.8_pre7034.ebuild: + Version bump. *docutils-0.8_pre7031 (11 May 2011) diff --git a/dev-python/docutils/Manifest b/dev-python/docutils/Manifest index a16bdecf1540..e04234e5a1b1 100644 --- a/dev-python/docutils/Manifest +++ b/dev-python/docutils/Manifest @@ -8,26 +8,28 @@ AUX docutils-0.7-python-3.2-xml.etree.ElementTree.patch 447 RMD160 51236166c2e0e DIST docutils-0.7.tar.gz 1404131 RMD160 73c832860405c3cba655c92aacccca1582c8f905 SHA1 e82988f826844ef8d8bf28fa286a19de211349cd SHA256 cd8dc8e131813af9f4f1963f719611cccf23749dcf703f944bb4ac434393ea03 DIST docutils-0.8_pre7013.tar.xz 1159852 RMD160 460aa75bb30c60ddec1c3aa64a70a931f69a5802 SHA1 354b4c56f5f6999e456a4e035937a93d72aef058 SHA256 5bd000067d91481ac32de84436f9fe294cf660c64084ec37cadef04565ad98b3 DIST docutils-0.8_pre7031.tar.xz 1161744 RMD160 7f8cec810ec80819cbb7dac628403f74886b2827 SHA1 6e1d18f2c73f432d0c0c4644f0fd4433b752ca8c SHA256 b75909725ead9f65f98132047636eb4bfb6fd513e12c486c31088f428329d59b +DIST docutils-0.8_pre7034.tar.xz 1162604 RMD160 c5e85c9fa424f1bc78f8ca136a59d964c6107ba0 SHA1 8509b09f72c2c46df50c18cfa7968add7f81dbc4 SHA256 b9e4bb62ed6675ef58fcfaebec5ca83eba9d14306ddb65e81d8e7f9c77141e47 DIST glep-0.4-r1.tbz2 4667 RMD160 bea44f2fe567422fd42bedebdf04cb6d984478ae SHA1 123516118f8bb2c75296a125702f4bf8f3ff1959 SHA256 d0b421869fb3437e96484687fd57f34d4f5cdd5a1fbdb2314f1474b1f9afa058 EBUILD docutils-0.7.ebuild 4900 RMD160 503c59ae152feea2b016f32ab5a6f8cf172e6c29 SHA1 fb2902e37d37bcfcd7a75dcdc0b8847c9251cb92 SHA256 03dc49a577767ef99d17f90ef1938298a990faae90cf9f0523b9f9bc1dba9425 EBUILD docutils-0.8_pre7013.ebuild 4593 RMD160 41299bce3076b0e565fde27284c5ab89cb72dfea SHA1 370de874851cbed2e48e1e5f6cc43c21436b5b55 SHA256 08068165b54f46d675858f1ab78a1460d1dc7ddc0ee43fc038645c3812ee0210 EBUILD docutils-0.8_pre7031.ebuild 4530 RMD160 88fb38bbef01263f5442d8e583613c58ad455134 SHA1 d2aaf845ff6469dc2a8b1db73ce8558a8c619d90 SHA256 e978986037c7f9d529f7591aff55862f7f6df92f40148535c6c294967447b616 -MISC ChangeLog 19019 RMD160 394ddcff908bc03371842a0a549db2f722e2c680 SHA1 a83ea45e83deebcbb36f1078c64fe3f64d83ed50 SHA256 9c7a7924880d325fb284e44aebd7660091f3e5a60ddf90c69efaf5f247258db9 +EBUILD docutils-0.8_pre7034.ebuild 4530 RMD160 76cb0c45f56ba1a8e4d72b59d24b12b95a4f0058 SHA1 6e41277db7b4d3de2e709f35ff2260cd6d07542c SHA256 27b9994ec35e2108317c9ac7ac359b1de2f2e7825a797d805f9047df216354e8 +MISC ChangeLog 19178 RMD160 d6826f8a67211c26530a55e617b06cf3b0957504 SHA1 ca9a8b6c5c10c5920d17de544efc9d4e98e6610b SHA256 b25f01798a2b97e6333020327c1ed4bdc47b2cd5308adfe27cecd8419a472987 MISC metadata.xml 224 RMD160 37a2cf5db0ab817c0e2a1127e9cc4278bf88c904 SHA1 e2c1b45b839624cbc4bd949c8458d50dec01e7cb SHA256 0bb6bfd1577f4800009497c7813935f712ae6a44dbbdec1a903e79eaa5f21755 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iQIcBAEBAgAGBQJNyp7+AAoJENgZr6v6gHY0x5cP/RBI//Rvs6JWcA1MX74TOMjv -fRPPFkINl7zZk/3sAd1BT1m1AwF8I8DR0ZIbFNwT52Ikwgk9dsZtjyAtyLfviUy7 -soNpopxKfxAizFudUdrNCuVEx7A6PqECI0vivhDV7vTU6WrIYnmEHCvvAVvepYp/ -B9EE/VFSlytgwdUM+8zKX/H+wWk37u29u/EpVnVItnfFhfd1WecbEhYIA1tYkQ4o -PBcL3uNtXIVBeQjsT5U5dHXM8M+4NYJqy0RcjcOuTDRWWuAsmzvQmQB1htQTopIN -eEu42uMbYAF3aQOygaPFBTc1xwZ8UgOb8iodGzZeYfCjKWCyAB7vtWAMGBzYcoC2 -P/Z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EECdjdMQ9 +=gSDd -----END PGP SIGNATURE----- diff --git a/dev-python/docutils/docutils-0.8_pre7034.ebuild b/dev-python/docutils/docutils-0.8_pre7034.ebuild new file mode 100644 index 000000000000..efb43c23ba96 --- /dev/null +++ b/dev-python/docutils/docutils-0.8_pre7034.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/docutils-0.8_pre7034.ebuild,v 1.1 2011/05/14 22:01:32 arfrever Exp $ + +EAPI="3" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils eutils + +DESCRIPTION="Docutils - Python Documentation Utilities" +HOMEPAGE="http://docutils.sourceforge.net/ http://pypi.python.org/pypi/docutils" +if [[ "${PV}" == *_pre* ]]; then + SRC_URI="mirror://gentoo/${P}.tar.xz" +else + SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +fi +SRC_URI+=" glep? ( mirror://gentoo/glep-0.4-r1.tbz2 )" + +LICENSE="BSD public-domain PYTHON" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="emacs glep" + +DEPEND="dev-python/setuptools" +RDEPEND="" +# Avoid circular dependency. +PDEPEND="emacs? ( || ( >=app-emacs/rst-0.4 >=virtual/emacs-23 ) )" + +DOCS="*.txt" +PYTHON_MODNAME="docutils roman.py" + +GLEP_SRC="${WORKDIR}/glep-0.4-r1" + +src_prepare() { + # Fix installation of extra modules. + epatch "${FILESDIR}/${PN}-0.6-extra_modules.patch" + + sed -e "s/from distutils.core/from setuptools/" -i setup.py || die "sed setup.py failed" +} + +src_compile() { + distutils_src_compile + + # Generate html docs from reStructured text sources. + + # Make roman.py available for process of building of documentation. + ln -s extras/roman.py + + # Place html4css1.css in base directory to ensure that the generated reference to it is correct. + cp docutils/writers/html4css1/html4css1.css . + + pushd tools > /dev/null + + echo PYTHONPATH="../build-$(PYTHON -f --ABI)/lib" "$(PYTHON -f)" $([[ -f ../build-$(PYTHON -f --ABI)/lib/tools/buildhtml.py ]] && echo ../build-$(PYTHON -f --ABI)/lib/tools/buildhtml.py || echo ../tools/buildhtml.py) --input-encoding=utf-8 --stylesheet-path=../html4css1.css --traceback .. + PYTHONPATH="../build-$(PYTHON -f --ABI)/lib" "$(PYTHON -f)" $([[ -f ../build-$(PYTHON -f --ABI)/lib/tools/buildhtml.py ]] && echo ../build-$(PYTHON -f --ABI)/lib/tools/buildhtml.py || echo ../tools/buildhtml.py) --input-encoding=utf-8 --stylesheet-path=../html4css1.css --traceback .. || die "buildhtml.py failed" + + popd > /dev/null + + # Clean up after building of documentation. + rm roman.py html4css1.css +} + +src_test() { + testing() { + echo PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" $([[ -f build-${PYTHON_ABI}/lib/test/alltests.py ]] && echo build-${PYTHON_ABI}/lib/test/alltests.py || echo test/alltests.py) + PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" $([[ -f build-${PYTHON_ABI}/lib/test/alltests.py ]] && echo build-${PYTHON_ABI}/lib/test/alltests.py || echo test/alltests.py) + } + python_execute_function testing +} + +install_txt_doc() { + local doc="${1}" + local dir="txt/$(dirname ${doc})" + docinto "${dir}" + dodoc "${doc}" +} + +src_install() { + distutils_src_install + + postinstallational_preparation() { + # Install tools. + mkdir -p "${T}/images/${PYTHON_ABI}${EPREFIX}/usr/bin" + pushd $([[ -d build-${PYTHON_ABI}/lib/tools ]] && echo build-${PYTHON_ABI}/lib/tools || echo tools) > /dev/null + cp buildhtml.py quicktest.py "${T}/images/${PYTHON_ABI}${EPREFIX}/usr/bin" + popd > /dev/null + + # Delete useless files, which are installed only with Python 3. + rm -fr "${ED}$(python_get_sitedir)/"{test,tools} + } + python_execute_function -q postinstallational_preparation + python_merge_intermediate_installation_images "${T}/images" + + # Install documentation. + dohtml -r docs tools + + # Install stylesheet file. + insinto /usr/share/doc/${PF}/html + doins docutils/writers/html4css1/html4css1.css + local doc + for doc in $(find docs tools -name "*.txt"); do + install_txt_doc "${doc}" + done + + # Install Gentoo GLEP tools. + if use glep; then + dobin "${GLEP_SRC}/glep.py" || die "dobin failed" + + installation_of_glep_tools() { + insinto $(python_get_sitedir)/docutils/readers + newins "${GLEP_SRC}/glepread.py" glep.py || die "newins reader failed" + insinto $(python_get_sitedir)/docutils/transforms + newins "${GLEP_SRC}/glepstrans.py" gleps.py || die "newins transform failed" + insinto $(python_get_sitedir)/docutils/writers + doins -r "${GLEP_SRC}/glep_html" || die "doins writer failed" + } + python_execute_function --action-message 'Installation of GLEP tools with $(python_get_implementation) $(python_get_version)...' installation_of_glep_tools + fi +} |