diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-10 02:55:37 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-10 02:55:37 +0000 |
commit | b5a9477a1cb0e41980af7ad71a9fdb534fff3ad0 (patch) | |
tree | 0629356f2e02a38aff43dc03e60481edeabf7429 /dev-python | |
parent | Patched to try to fix bug #271777 (diff) | |
download | historical-b5a9477a1cb0e41980af7ad71a9fdb534fff3ad0.tar.gz historical-b5a9477a1cb0e41980af7ad71a9fdb534fff3ad0.tar.bz2 historical-b5a9477a1cb0e41980af7ad71a9fdb534fff3ad0.zip |
Build documentation (bug #278994).
Package-Manager: portage-14221-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/reportlab/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/reportlab/Manifest | 4 | ||||
-rw-r--r-- | dev-python/reportlab/reportlab-2.3.ebuild | 25 |
3 files changed, 30 insertions, 5 deletions
diff --git a/dev-python/reportlab/ChangeLog b/dev-python/reportlab/ChangeLog index 842b43dd4012..36a43fdcf7ff 100644 --- a/dev-python/reportlab/ChangeLog +++ b/dev-python/reportlab/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/reportlab # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/ChangeLog,v 1.53 2009/09/04 20:13:05 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/ChangeLog,v 1.54 2009/09/10 02:55:36 arfrever Exp $ + + 10 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + reportlab-2.3.ebuild: + Build documentation (bug #278994). 04 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> reportlab-2.3.ebuild: diff --git a/dev-python/reportlab/Manifest b/dev-python/reportlab/Manifest index c7b128725add..fdb9d3ed9558 100644 --- a/dev-python/reportlab/Manifest +++ b/dev-python/reportlab/Manifest @@ -5,6 +5,6 @@ AUX reportlab-2.2_qa_msg.patch 736 RMD160 3ee7043a9c5f999b097e4800c5fcda57d732e4 DIST ReportLab_2_1.tgz 3303983 RMD160 3aa6c7683f9d291c82cd3e8b1c545bbe9c522e37 SHA1 67c6fba57b6372987dd3280be257a1f6bb7fff80 SHA256 8fb088c79975bb20815f495fb91cd02b2942e255dd3f95223a807b51ff720c1e DIST ReportLab_2_3.tar.gz 1857239 RMD160 ebb347765d516e74b965ec89c7909ec7592e3f54 SHA1 cb5e27fef02eceaab79236d5a074cdfb92bff179 SHA256 b63872c4b29063f0e0c2fe56223585175f03c7a6991e2a8bc9a221ae5ee2c092 EBUILD reportlab-2.1.ebuild 1951 RMD160 257f6ad3dbdf180f2e52d3b64c5679c5b55ff420 SHA1 815569df48e0f8c1a75db67849b4f0f116776f50 SHA256 35b48465600839c6d66bb5b7e1e21a3e84898c48f2a0b4477603bf62975a5768 -EBUILD reportlab-2.3.ebuild 1552 RMD160 8c0717fdae779c06e15eab2ac893da38bd7c8771 SHA1 debc819b0c8a8b5fcd2894805943b87fe9de10df SHA256 cbbbbb6a208694589842075a7fe5819151bffd83ec318e16765f5bf94b7b2ac4 -MISC ChangeLog 7593 RMD160 59875106944f3dfae155302935162d6467d36065 SHA1 623f6b935ff6b2c150a22da24b1efa1e4129bdaa SHA256 2e4f9d13d45c0b63871622a370f20b6346f9b35a792fc71a6fa13696011c53f4 +EBUILD reportlab-2.3.ebuild 2080 RMD160 3197935339a6a5988499f5faa4e0a087b9b488e8 SHA1 736f75b23c6ee8e86f98d1349142c7a908e8874c SHA256 cd55174d95dcb9312b27e004fa546fc0aa92b1c703b78369f77d6c0e9de9da9b +MISC ChangeLog 7728 RMD160 5f3d7077078282c5168299b605e94ec9c6588cdd SHA1 8d497ea3552797fc1b3fd69f475cf6a552ae1b22 SHA256 96ef4125aee8b5f712d360c810d3c263add57b58d0e2807d0ca0d51d9e5f137b MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 diff --git a/dev-python/reportlab/reportlab-2.3.ebuild b/dev-python/reportlab/reportlab-2.3.ebuild index 225294b948ac..12231cf86543 100644 --- a/dev-python/reportlab/reportlab-2.3.ebuild +++ b/dev-python/reportlab/reportlab-2.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/reportlab-2.3.ebuild,v 1.2 2009/09/04 20:13:05 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/reportlab-2.3.ebuild,v 1.3 2009/09/10 02:55:37 arfrever Exp $ EAPI="2" NEED_PYTHON="2.4" @@ -36,8 +36,26 @@ src_prepare() { epatch "${FILESDIR}/${PN}-2.2_qa_msg.patch" } +src_compile() { + distutils_src_compile + + documentation_built="0" + build_documentation() { + [[ "${documentation_built}" == "1" ]] && return + + # One of tests already builds documentation. + if use doc && ! use test; then + cd docs + PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib*)" "$(PYTHON)" genAll.py || die "genAll.py failed" + fi + + documentation_build="1" + } + python_execute_function -q build_documentation + unset documentation_built +} + src_test() { - einfo "Tests could take some time. Please be patient." testing() { "$(PYTHON)" setup.py tests-preinstall } @@ -48,6 +66,9 @@ src_install() { distutils_src_install if use doc; then + # docs/reference/reportlab-reference.pdf is identical with docs/reportlab-reference.pdf + rm -f docs/reference/reportlab-reference.pdf + insinto /usr/share/doc/${PF} doins -r docs/* fi |