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: Sun, 26 May 2013 08:20:03
Message-Id: 20130526081947.314EA2171D@flycatcher.gentoo.org
1 idella4 13/05/26 08:19:47
2
3 Modified: pymongo-2.5.1.ebuild ChangeLog
4 Log:
5 add py3.1 support, fix to test phase
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.3 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.3&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pymongo/pymongo-2.5.1.ebuild?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pymongo/pymongo-2.5.1.ebuild?r1=1.2&r2=1.3
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.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- pymongo-2.5.1.ebuild 24 May 2013 08:17:24 -0000 1.2
23 +++ pymongo-2.5.1.ebuild 26 May 2013 08:19:47 -0000 1.3
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.2 2013/05/24 08:17:24 idella4 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/pymongo-2.5.1.ebuild,v 1.3 2013/05/26 08:19:47 idella4 Exp $
29
30 EAPI=5
31
32 -PYTHON_COMPAT=( python{2_5,2_6,2_7,3_2,3_3} pypy{1_9,2_0} )
33 +PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_0} )
34
35 inherit check-reqs distutils-r1
36
37 @@ -52,7 +52,7 @@
38 src_test() {
39 # Yes, we need TCP/IP for that...
40 local DB_IP=127.0.0.1
41 - local DB_PORT=27017
42 + local DB_PORT=27000
43
44 export DB_IP DB_PORT
45
46 @@ -77,7 +77,7 @@
47
48 LC_ALL=C \
49 mongod --dbpath "${dbpath}" --smallfiles --nojournal \
50 - --bind_ip ${DB_IP} --port ${DB_PORT} \
51 + --port ${DB_PORT} \
52 --unixSocketPrefix "${TMPDIR}" \
53 --logpath "${logpath}" --fork \
54 && sleep 2
55 @@ -102,15 +102,11 @@
56
57 local failed
58 #https://jira.mongodb.org/browse/PYTHON-521
59 + pushd "${BUILD_DIR}"/../ > /dev/null
60 if [[ "${EPYTHON}" == python3* ]]; then
61 - pushd build/lib > /dev/null
62 - mv ../../test . || die
63 2to3 --no-diffs -w test
64 - nosetests ./test || failed=1
65 - mv test ../../ || die
66 - else
67 - nosetests || failed=1
68 fi
69 + esetup.py test || failed=1
70
71 mongod --dbpath "${dbpath}" --shutdown
72
73
74
75
76 1.23 dev-python/pymongo/ChangeLog
77
78 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pymongo/ChangeLog?rev=1.23&view=markup
79 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pymongo/ChangeLog?rev=1.23&content-type=text/plain
80 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pymongo/ChangeLog?r1=1.22&r2=1.23
81
82 Index: ChangeLog
83 ===================================================================
84 RCS file: /var/cvsroot/gentoo-x86/dev-python/pymongo/ChangeLog,v
85 retrieving revision 1.22
86 retrieving revision 1.23
87 diff -u -r1.22 -r1.23
88 --- ChangeLog 24 May 2013 08:17:24 -0000 1.22
89 +++ ChangeLog 26 May 2013 08:19:47 -0000 1.23
90 @@ -1,6 +1,10 @@
91 # ChangeLog for dev-python/pymongo
92 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
93 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/ChangeLog,v 1.22 2013/05/24 08:17:24 idella4 Exp $
94 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/ChangeLog,v 1.23 2013/05/26 08:19:47 idella4 Exp $
95 +
96 + 26 May 2013; Ian Delaney <idella4@g.o> pymongo-2.5.1.ebuild,
97 + pymongo-2.5.ebuild:
98 + add py3.1 support, fix to test phase
99
100 24 May 2013; Ian Delaney <idella4@g.o> pymongo-2.5.1.ebuild:
101 Add py3 support, adjust test phase accordingly