summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesus Rivero <neurogeek@gentoo.org>2008-10-04 16:24:39 +0000
committerJesus Rivero <neurogeek@gentoo.org>2008-10-04 16:24:39 +0000
commit4c8a392b9cb1da4155173582f43496196318c5f9 (patch)
tree0aeaca7104ee147c0c9cb8bfd33c62558a6d964d /dev-python/reportlab
parentstable ppc64, bug 239537 (diff)
downloadgentoo-2-4c8a392b9cb1da4155173582f43496196318c5f9.tar.gz
gentoo-2-4c8a392b9cb1da4155173582f43496196318c5f9.tar.bz2
gentoo-2-4c8a392b9cb1da4155173582f43496196318c5f9.zip
Version bump. Closes bug #238205, thanks to Pedro Romano <pmcnr72@gmail.com> for the ebuild
(Portage version: 2.2_rc8/cvs/Linux 2.6.18-gentoo-r3 i686)
Diffstat (limited to 'dev-python/reportlab')
-rw-r--r--dev-python/reportlab/ChangeLog9
-rw-r--r--dev-python/reportlab/files/reportlab-2.2_qa_msg.patch16
-rw-r--r--dev-python/reportlab/reportlab-2.2.ebuild57
3 files changed, 81 insertions, 1 deletions
diff --git a/dev-python/reportlab/ChangeLog b/dev-python/reportlab/ChangeLog
index a32012718064..1cf1400ca3b1 100644
--- a/dev-python/reportlab/ChangeLog
+++ b/dev-python/reportlab/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/reportlab
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/ChangeLog,v 1.49 2008/07/17 18:59:13 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/ChangeLog,v 1.50 2008/10/04 16:24:38 neurogeek Exp $
+
+*reportlab-2.2 (04 Oct 2008)
+
+ 04 Oct 2008; Jesus Rivero <neurogeek@gentoo.org>
+ +files/reportlab-2.2_qa_msg.patch, +reportlab-2.2.ebuild:
+ Version bump. Closes bug #238205, thanks to Pedro Romano
+ <pmcnr72@gmail.com> for the ebuild
17 Jul 2008; Alexis Ballier <aballier@gentoo.org> reportlab-2.1.ebuild:
keyword ~x86-fbsd
diff --git a/dev-python/reportlab/files/reportlab-2.2_qa_msg.patch b/dev-python/reportlab/files/reportlab-2.2_qa_msg.patch
new file mode 100644
index 000000000000..490902d22e09
--- /dev/null
+++ b/dev-python/reportlab/files/reportlab-2.2_qa_msg.patch
@@ -0,0 +1,16 @@
+#Patch submitted by Jesus Rivero <neurogeek@gentoo.org>
+#Submitted on 10/04/2008 to upstream
+diff -uNr ReportLab_2_2.orig/src/rl_addons/renderPM/gt1/gt1-namecontext.c ReportLab_2_2/src/rl_addons/renderPM/gt1/gt1-namecontext.c
+--- ReportLab_2_2.orig/src/rl_addons/renderPM/gt1/gt1-namecontext.c 2008-10-04 10:28:05.000000000 -0430
++++ ReportLab_2_2/src/rl_addons/renderPM/gt1/gt1-namecontext.c 2008-10-04 10:28:38.000000000 -0430
+@@ -3,9 +3,7 @@
+ #include "gt1-misc.h"
+
+ #include "gt1-namecontext.h"
+-#if defined(_WIN32) || defined(macintosh)
+-# include <string.h>
+-#endif
++#include <string.h>
+
+ /* btw, I do not know who wrote the following comment. I modified this
+ file somewhat from gimp's app/procedural_db.c hash function. */
diff --git a/dev-python/reportlab/reportlab-2.2.ebuild b/dev-python/reportlab/reportlab-2.2.ebuild
new file mode 100644
index 000000000000..717ded19ea56
--- /dev/null
+++ b/dev-python/reportlab/reportlab-2.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/reportlab-2.2.ebuild,v 1.1 2008/10/04 16:24:38 neurogeek Exp $
+
+NEED_PYTHON=2.4
+
+inherit distutils versionator
+
+MY_PN="ReportLab"
+MY_PV="$(replace_all_version_separators _)"
+
+DESCRIPTION="Tools for generating printable PDF documents from any data source."
+HOMEPAGE="http://www.reportlab.org/"
+SRC_URI="http://www.reportlab.org/ftp/${MY_PN}_${MY_PV}.tgz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86-fbsd ~x86"
+IUSE="doc examples test"
+
+DEPEND="sys-libs/zlib
+ dev-python/imaging
+ media-fonts/ttf-bitstream-vera"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_PN}_${MY_PV}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i \
+ -e 's|/usr/lib/X11/fonts/TrueType/|/usr/share/fonts/ttf-bitstream-vera/|' \
+ -e 's|/usr/local/Acrobat|/opt/Acrobat|g' \
+ -e 's|%(HOME)s/fonts|%(HOME)s/.fonts|g' \
+ src/reportlab/rl_config.py || die "sed failed"
+ epatch "${FILESDIR}"/${P}_qa_msg.patch
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc ; then
+ insinto /usr/share/doc/${PF}
+ doins -r docs/*
+ fi
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r demos
+ insinto /usr/share/doc/${PF}/tools/pythonpoint
+ doins -r tools/pythonpoint/demos
+ fi
+}
+
+src_test() {
+ einfo "Tests could take some time. Please be patient."
+ ${python} setup.py tests-preinstall || die "tests failed"
+}