summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-05-11 14:36:27 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-05-11 14:36:27 +0000
commit01b6a4f16eb9ba78f8701d1f8fd67f429799550b (patch)
treed9923a271f769058d8e6a97ebc9b2b9e5ad3e13e /dev-python/docutils
parentVersion bump to latest alpha channel release. (diff)
downloadhistorical-01b6a4f16eb9ba78f8701d1f8fd67f429799550b.tar.gz
historical-01b6a4f16eb9ba78f8701d1f8fd67f429799550b.tar.bz2
historical-01b6a4f16eb9ba78f8701d1f8fd67f429799550b.zip
Version bump.
Package-Manager: portage-2.2.0_alpha32_p17/cvs/Linux x86_64
Diffstat (limited to 'dev-python/docutils')
-rw-r--r--dev-python/docutils/ChangeLog8
-rw-r--r--dev-python/docutils/Manifest30
-rw-r--r--dev-python/docutils/docutils-0.8_pre7031.ebuild119
3 files changed, 142 insertions, 15 deletions
diff --git a/dev-python/docutils/ChangeLog b/dev-python/docutils/ChangeLog
index 9bf2c8f5262d..d6080a40ff0a 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.130 2011/04/22 00:56:21 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/ChangeLog,v 1.131 2011/05/11 14:36:27 arfrever Exp $
+
+*docutils-0.8_pre7031 (11 May 2011)
+
+ 11 May 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +docutils-0.8_pre7031.ebuild:
+ Version bump.
*docutils-0.8_pre7013 (22 Apr 2011)
diff --git a/dev-python/docutils/Manifest b/dev-python/docutils/Manifest
index 7eca84a8f4a1..a16bdecf1540 100644
--- a/dev-python/docutils/Manifest
+++ b/dev-python/docutils/Manifest
@@ -7,25 +7,27 @@ AUX docutils-0.7-python-3.2-configparser.patch 1708 RMD160 c6599bc9d1742b175391b
AUX docutils-0.7-python-3.2-xml.etree.ElementTree.patch 447 RMD160 51236166c2e0ee31a852c08db9fe3a5422fbaa81 SHA1 274a4e883db97b14c9e919d4f2c7daa2e7f1eb2d SHA256 0aeceb109ea15aedf3b805e186d1a5253e1a6a36ed8973aea0c9c7ed353c054e
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 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
-MISC ChangeLog 18860 RMD160 b1700e7755b2349e5ddfc7ac68f0b597ca7dfcbc SHA1 852a096b3d1cdc4576c6bb2166463db2a9abcf60 SHA256 8b35f0e0920b471b102bbaea8955c679843c4805544445a004440312e3c6652e
+EBUILD docutils-0.8_pre7031.ebuild 4530 RMD160 88fb38bbef01263f5442d8e583613c58ad455134 SHA1 d2aaf845ff6469dc2a8b1db73ce8558a8c619d90 SHA256 e978986037c7f9d529f7591aff55862f7f6df92f40148535c6c294967447b616
+MISC ChangeLog 19019 RMD160 394ddcff908bc03371842a0a549db2f722e2c680 SHA1 a83ea45e83deebcbb36f1078c64fe3f64d83ed50 SHA256 9c7a7924880d325fb284e44aebd7660091f3e5a60ddf90c69efaf5f247258db9
MISC metadata.xml 224 RMD160 37a2cf5db0ab817c0e2a1127e9cc4278bf88c904 SHA1 e2c1b45b839624cbc4bd949c8458d50dec01e7cb SHA256 0bb6bfd1577f4800009497c7813935f712ae6a44dbbdec1a903e79eaa5f21755
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iQIcBAEBAgAGBQJNsNJBAAoJENgZr6v6gHY01PUP/ilIEYN7o/ofHz9XYucCvIDC
-e0Gzo1pUXc9Ij0vSGh/bCDGDfG2so4i0ASLZjJorw7AO/dOBPuc750MeZvGArdAo
-ufR8J7u0kuV+UCJm10sy6pwmOhaLh4BpXl59rLDJmvrFlMtfl78vl8xM8ddfSMM0
-ZqcXEWz2AkhU3l+FZ2L+Mnh93v+2+9kkzKv16ceTIwgWxPwD05TegJ4y/4tugWk4
-a8PP6y4St/V1ZcuWayKxYHuPff7d6tWC7cTt3ObumyGDX7EHUoDY4mCYu8Xr5vBA
-D+gcRBGXgJ0ZG41r9QYJB70fMqQZrxwBC8oKTpkFOsZHOA+M4Ky+Ndbon5n/sm8J
-KDttSQNMLxGt6s7fmrdugcbV1kPNEnRWuR97dQiBd01TOden0oEbkgsCVsWHAovr
-dENxjw7MdTsf+IJFK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dev-python/docutils/docutils-0.8_pre7031.ebuild
new file mode 100644
index 000000000000..0f1ef7e0cc9d
--- /dev/null
+++ b/dev-python/docutils/docutils-0.8_pre7031.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_pre7031.ebuild,v 1.1 2011/05/11 14:36:27 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
+}