Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/flask: flask-0.10.1-r1.ebuild ChangeLog
Date: Tue, 06 May 2014 05:25:25
Message-Id: 20140506052521.D4AB32004C@flycatcher.gentoo.org
1 idella4 14/05/06 05:25:21
2
3 Modified: flask-0.10.1-r1.ebuild ChangeLog
4 Log:
5 drop py2.6 add pypy support upgrade ebuild accordingly
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
8
9 Revision Changes Path
10 1.5 dev-python/flask/flask-0.10.1-r1.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/flask-0.10.1-r1.ebuild?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/flask-0.10.1-r1.ebuild?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/flask-0.10.1-r1.ebuild?r1=1.4&r2=1.5
15
16 Index: flask-0.10.1-r1.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/flask/flask-0.10.1-r1.ebuild,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- flask-0.10.1-r1.ebuild 13 Feb 2014 20:42:13 -0000 1.4
23 +++ flask-0.10.1-r1.ebuild 6 May 2014 05:25:21 -0000 1.5
24 @@ -1,9 +1,9 @@
25 # Copyright 1999-2014 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/flask-0.10.1-r1.ebuild,v 1.4 2014/02/13 20:42:13 bicatali Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/flask-0.10.1-r1.ebuild,v 1.5 2014/05/06 05:25:21 idella4 Exp $
29
30 EAPI="5"
31 -PYTHON_COMPAT=( python{2_6,2_7,3_3} )
32 +PYTHON_COMPAT=( python{2_7,3_3} pypy )
33
34 inherit distutils-r1
35
36 @@ -24,13 +24,32 @@
37 dev-python/setuptools[${PYTHON_USEDEP}]
38 >=dev-python/werkzeug-0.7[${PYTHON_USEDEP}]"
39 DEPEND="${RDEPEND}"
40 +# Usual; test phase
41 +DISTUTILS_IN_SOURCE_BUILD=1
42
43 S="${WORKDIR}/${MY_P}"
44
45 PATCHES=( "${FILESDIR}"/${P}-is_package.patch )
46
47 -python_test() {
48 +python_prepare_all() {
49 # https://github.com/mitsuhiko/flask/issues/837
50 + sed -e s':test_uninstalled_package_paths:_&:' \
51 + -i flask/testsuite/config.py || die
52 + sed -e s':test_json_key_sorting:_&:' \
53 + -i flask/testsuite/helpers.py || die
54 + sed -e s':test_appcontext_signals:_&:' \
55 + -i flask/testsuite/signals.py || die
56 + distutils-r1_python_prepare_all
57 +}
58 +
59 +python_test() {
60 + # https://github.com/mitsuhiko/flask/issues/837, 1047
61 + if [[ "${EPYTHON}" == pypy ]]; then
62 + sed -e s':test_build_error_handler:_&:' \
63 + -i flask/testsuite/basic.py || die
64 + sed -e s':test_session_transactions_no_null_sessions:_&:' \
65 + -i flask/testsuite/testing.py || die
66 + fi
67 "${PYTHON}" run-tests.py || die "Testing failed with ${EPYTHON}"
68 }
69
70
71
72
73 1.30 dev-python/flask/ChangeLog
74
75 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/ChangeLog?rev=1.30&view=markup
76 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/ChangeLog?rev=1.30&content-type=text/plain
77 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/ChangeLog?r1=1.29&r2=1.30
78
79 Index: ChangeLog
80 ===================================================================
81 RCS file: /var/cvsroot/gentoo-x86/dev-python/flask/ChangeLog,v
82 retrieving revision 1.29
83 retrieving revision 1.30
84 diff -u -r1.29 -r1.30
85 --- ChangeLog 13 Feb 2014 20:42:13 -0000 1.29
86 +++ ChangeLog 6 May 2014 05:25:21 -0000 1.30
87 @@ -1,6 +1,9 @@
88 # ChangeLog for dev-python/flask
89 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
90 -# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/ChangeLog,v 1.29 2014/02/13 20:42:13 bicatali Exp $
91 +# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/ChangeLog,v 1.30 2014/05/06 05:25:21 idella4 Exp $
92 +
93 + 06 May 2014; Ian Delaney <idella4@g.o> flask-0.10.1-r1.ebuild:
94 + drop py2.6 add pypy support upgrade ebuild accordingly
95
96 13 Feb 2014; Sébastien Fabbro <bicatali@g.o> flask-0.10.1-r1.ebuild:
97 after better testing, remove python-3.2 support