Gentoo Archives: gentoo-commits

From: "Ben de Groot (yngwin)" <yngwin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/reportlab: reportlab-3.2.0.ebuild ChangeLog
Date: Wed, 01 Jul 2015 06:28:33
Message-Id: 20150701062826.DCC73741@oystercatcher.gentoo.org
1 yngwin 15/07/01 06:28:26
2
3 Modified: ChangeLog
4 Added: reportlab-3.2.0.ebuild
5 Log:
6 Version bump. No longer depend on media-fonts/dejavu (bug #405183). Acked by patrick.
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x4FDF9CFD2FAC514E!)
9
10 Revision Changes Path
11 1.134 dev-python/reportlab/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/reportlab/ChangeLog?rev=1.134&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/reportlab/ChangeLog?rev=1.134&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/reportlab/ChangeLog?r1=1.133&r2=1.134
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/reportlab/ChangeLog,v
20 retrieving revision 1.133
21 retrieving revision 1.134
22 diff -u -r1.133 -r1.134
23 --- ChangeLog 11 Jun 2015 19:18:54 -0000 1.133
24 +++ ChangeLog 1 Jul 2015 06:28:26 -0000 1.134
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/reportlab
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/ChangeLog,v 1.133 2015/06/11 19:18:54 maekke Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/ChangeLog,v 1.134 2015/07/01 06:28:26 yngwin Exp $
30 +
31 +*reportlab-3.2.0 (01 Jul 2015)
32 +
33 + 01 Jul 2015; Ben de Groot <yngwin@g.o> +reportlab-3.2.0.ebuild:
34 + Version bump. No longer depend on media-fonts/dejavu (bug #405183). Acked by
35 + patrick.
36
37 11 Jun 2015; Markus Meier <maekke@g.o> reportlab-3.1.44-r1.ebuild:
38 arm stable, bug #546810
39
40
41
42 1.1 dev-python/reportlab/reportlab-3.2.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/reportlab/reportlab-3.2.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/reportlab/reportlab-3.2.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: reportlab-3.2.0.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/reportlab-3.2.0.ebuild,v 1.1 2015/07/01 06:28:26 yngwin Exp $
52
53 EAPI=5
54 PYTHON_COMPAT=( python{2_7,3_3,3_4} ) # Tests crash with pypy
55 inherit distutils-r1 flag-o-matic prefix
56
57 DESCRIPTION="Tools for generating printable PDF documents from any data source"
58 HOMEPAGE="http://www.reportlab.com/"
59 SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz
60 http://www.reportlab.com/ftp/fonts/pfbfer-20070710.zip"
61
62 LICENSE="BSD"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
65 IUSE="doc examples"
66
67 RDEPEND="
68 >=dev-python/pillow-2.4.0[tiff,truetype,${PYTHON_USEDEP}]
69 >=dev-python/pip-1.4.1[${PYTHON_USEDEP}]
70 >=dev-python/setuptools-2.2[${PYTHON_USEDEP}]
71 media-libs/libart_lgpl
72 sys-libs/zlib
73 "
74 DEPEND="${RDEPEND}
75 app-arch/unzip
76 "
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/local/Acrobat|/opt/Acrobat|g' \
87 -e 's|%(HOME)s/fonts|%(HOME)s/.fonts|g' \
88 src/reportlab/rl_config.py || die
89
90 eprefixify setup.py
91 distutils-r1_python_prepare_all
92 }
93
94 python_compile_all() {
95 use doc && emake -C docs html
96 }
97
98 python_compile() {
99 if ! python_is_python3; then
100 local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
101 fi
102 distutils-r1_python_compile
103 }
104
105 python_test() {
106 pushd tests > /dev/null || die
107 "${PYTHON}" runAll.py || die "Testing failed with ${EPYTHON}"
108 popd > /dev/null || die
109 }
110
111 python_install_all() {
112 use doc && local HTML_DOCS=( docs/build/html/. )
113 use examples && local EXAMPLES=( demos/. tools/pythonpoint/demos )
114
115 distutils-r1_python_install_all
116 }