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/pymongo: pymongo-2.5.1.ebuild ChangeLog
Date: Fri, 24 May 2013 08:17:31
Message-Id: 20130524081724.C5F542171D@flycatcher.gentoo.org
1 idella4 13/05/24 08:17:24
2
3 Modified: pymongo-2.5.1.ebuild ChangeLog
4 Log:
5 Add py3 support, adjust test phase accordingly
6
7 (Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
8
9 Revision Changes Path
10 1.2 dev-python/pymongo/pymongo-2.5.1.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pymongo/pymongo-2.5.1.ebuild?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pymongo/pymongo-2.5.1.ebuild?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pymongo/pymongo-2.5.1.ebuild?r1=1.1&r2=1.2
15
16 Index: pymongo-2.5.1.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/pymongo/pymongo-2.5.1.ebuild,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- pymongo-2.5.1.ebuild 24 May 2013 06:21:42 -0000 1.1
23 +++ pymongo-2.5.1.ebuild 24 May 2013 08:17:24 -0000 1.2
24 @@ -1,10 +1,10 @@
25 # Copyright 1999-2013 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/pymongo-2.5.1.ebuild,v 1.1 2013/05/24 06:21:42 patrick Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/pymongo-2.5.1.ebuild,v 1.2 2013/05/24 08:17:24 idella4 Exp $
29
30 EAPI=5
31
32 -PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} )
33 +PYTHON_COMPAT=( python{2_5,2_6,2_7,3_2,3_3} pypy{1_9,2_0} )
34
35 inherit check-reqs distutils-r1
36
37 @@ -23,6 +23,7 @@
38 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
39 test? ( dev-python/nose[${PYTHON_USEDEP}] )
40 kerberos? ( dev-python/pykerberos )"
41 +DISTUTILS_IN_SOURCE_BUILD=1
42
43 reqcheck() {
44 if use test; then
45 @@ -100,7 +101,16 @@
46 done
47
48 local failed
49 - nosetests || failed=1
50 + #https://jira.mongodb.org/browse/PYTHON-521
51 + if [[ "${EPYTHON}" == python3* ]]; then
52 + pushd build/lib > /dev/null
53 + mv ../../test . || die
54 + 2to3 --no-diffs -w test
55 + nosetests ./test || failed=1
56 + mv test ../../ || die
57 + else
58 + nosetests || failed=1
59 + fi
60
61 mongod --dbpath "${dbpath}" --shutdown
62
63
64
65
66 1.22 dev-python/pymongo/ChangeLog
67
68 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pymongo/ChangeLog?rev=1.22&view=markup
69 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pymongo/ChangeLog?rev=1.22&content-type=text/plain
70 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pymongo/ChangeLog?r1=1.21&r2=1.22
71
72 Index: ChangeLog
73 ===================================================================
74 RCS file: /var/cvsroot/gentoo-x86/dev-python/pymongo/ChangeLog,v
75 retrieving revision 1.21
76 retrieving revision 1.22
77 diff -u -r1.21 -r1.22
78 --- ChangeLog 24 May 2013 06:21:42 -0000 1.21
79 +++ ChangeLog 24 May 2013 08:17:24 -0000 1.22
80 @@ -1,6 +1,9 @@
81 # ChangeLog for dev-python/pymongo
82 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
83 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/ChangeLog,v 1.21 2013/05/24 06:21:42 patrick Exp $
84 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/ChangeLog,v 1.22 2013/05/24 08:17:24 idella4 Exp $
85 +
86 + 24 May 2013; Ian Delaney <idella4@g.o> pymongo-2.5.1.ebuild:
87 + Add py3 support, adjust test phase accordingly
88
89 *pymongo-2.5.1 (24 May 2013)