Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/reportlab: reportlab-3.1.8.ebuild ChangeLog
Date: Mon, 26 May 2014 08:38:30
Message-Id: 20140526083826.E8FFF2004E@flycatcher.gentoo.org
1 patrick 14/05/26 08:38:26
2
3 Modified: ChangeLog
4 Added: reportlab-3.1.8.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.105 dev-python/reportlab/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/reportlab/ChangeLog?rev=1.105&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/reportlab/ChangeLog?rev=1.105&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/reportlab/ChangeLog?r1=1.104&r2=1.105
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/reportlab/ChangeLog,v
20 retrieving revision 1.104
21 retrieving revision 1.105
22 diff -u -r1.104 -r1.105
23 --- ChangeLog 19 May 2014 10:11:21 -0000 1.104
24 +++ ChangeLog 26 May 2014 08:38:26 -0000 1.105
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/reportlab
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/ChangeLog,v 1.104 2014/05/19 10:11:21 idella4 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/ChangeLog,v 1.105 2014/05/26 08:38:26 patrick Exp $
30 +
31 +*reportlab-3.1.8 (26 May 2014)
32 +
33 + 26 May 2014; Patrick Lauer <patrick@g.o> +reportlab-3.1.8.ebuild:
34 + Bump
35
36 19 May 2014; Ian Delaney <idella4@g.o> reportlab-3.0.ebuild:
37 add py3.4 support, tidy
38
39
40
41 1.1 dev-python/reportlab/reportlab-3.1.8.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/reportlab/reportlab-3.1.8.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/reportlab/reportlab-3.1.8.ebuild?rev=1.1&content-type=text/plain
45
46 Index: reportlab-3.1.8.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/reportlab-3.1.8.ebuild,v 1.1 2014/05/26 08:38:26 patrick Exp $
51
52 EAPI="5"
53 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
54 # Tests crash with pypy
55
56 inherit distutils-r1 flag-o-matic prefix
57
58 DESCRIPTION="Tools for generating printable PDF documents from any data source."
59 HOMEPAGE="http://www.reportlab.com/"
60 SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz
61 http://www.reportlab.com/ftp/fonts/pfbfer-20070710.zip"
62
63 LICENSE="BSD"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
66 IUSE="doc examples"
67
68 RDEPEND="
69 virtual/python-imaging[${PYTHON_USEDEP}]
70 media-fonts/ttf-bitstream-vera
71 media-libs/libart_lgpl
72 sys-libs/zlib"
73 DEPEND="${RDEPEND}
74 app-arch/unzip"
75
76 DISTUTILS_NO_PARALLEL_BUILD=1
77
78 src_unpack() {
79 unpack ${P}.tar.gz
80 cd ${P}/src/reportlab/fonts || die
81 unpack pfbfer-20070710.zip
82 }
83
84 python_prepare_all() {
85 sed -i \
86 -e "s|/usr/lib/X11/fonts/TrueType/|${EPREFIX}/usr/share/fonts/ttf-bitstream-vera/|" \
87 -e 's|/usr/local/Acrobat|/opt/Acrobat|g' \
88 -e 's|%(HOME)s/fonts|%(HOME)s/.fonts|g' \
89 src/reportlab/rl_config.py || die
90
91 eprefixify setup.py
92 distutils-r1_python_prepare_all
93 }
94
95 python_compile_all() {
96 use doc && emake -C docs html
97 }
98
99 python_compile() {
100 if ! python_is_python3; then
101 local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
102 fi
103 distutils-r1_python_compile
104 }
105
106 python_test() {
107 pushd tests > /dev/null || die
108 "${PYTHON}" runAll.py || die "Testing failed with ${EPYTHON}"
109 popd > /dev/null || die
110 }
111
112 python_install_all() {
113 use doc && local HTML_DOCS=( docs/build/html/. )
114 use examples && local EXAMPLES=( demos/. tools/pythonpoint/demos )
115
116 distutils-r1_python_install_all
117 }