1 |
ultrabug 12/11/28 10:00:49 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pymongo-2.4.ebuild |
5 |
Log: |
6 |
version bump |
7 |
|
8 |
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key B658FA13) |
9 |
|
10 |
Revision Changes Path |
11 |
1.14 dev-python/pymongo/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pymongo/ChangeLog?rev=1.14&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pymongo/ChangeLog?rev=1.14&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pymongo/ChangeLog?r1=1.13&r2=1.14 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pymongo/ChangeLog,v |
20 |
retrieving revision 1.13 |
21 |
retrieving revision 1.14 |
22 |
diff -u -r1.13 -r1.14 |
23 |
--- ChangeLog 12 Nov 2012 14:59:02 -0000 1.13 |
24 |
+++ ChangeLog 28 Nov 2012 10:00:48 -0000 1.14 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-python/pymongo |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/ChangeLog,v 1.13 2012/11/12 14:59:02 idella4 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/ChangeLog,v 1.14 2012/11/28 10:00:48 ultrabug Exp $ |
30 |
+ |
31 |
+*pymongo-2.4 (28 Nov 2012) |
32 |
+ |
33 |
+ 28 Nov 2012; Ultrabug <ultrabug@g.o> +pymongo-2.4.ebuild: |
34 |
+ Version bump |
35 |
|
36 |
13 Nov 2012; Ian Delaney <idella4@g.o> pymongo-2.3.ebuild: |
37 |
test phase for python3 proven unworkable, test restricted, fixes Bug #432552 |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/pymongo/pymongo-2.4.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pymongo/pymongo-2.4.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pymongo/pymongo-2.4.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: pymongo-2.4.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2012 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/pymongo-2.4.ebuild,v 1.1 2012/11/28 10:00:48 ultrabug Exp $ |
51 |
|
52 |
EAPI="3" |
53 |
PYTHON_DEPEND="2" |
54 |
SUPPORT_PYTHON_ABIS="1" |
55 |
PYTHON_TESTS_FAILURES_TOLERANT_ABIS="*-jython" |
56 |
DISTUTILS_SRC_TEST="nosetests" |
57 |
PYTHON_TESTS_RESTRICTED_ABIS="3.*" |
58 |
inherit distutils |
59 |
|
60 |
DESCRIPTION="Python driver for MongoDB" |
61 |
HOMEPAGE="http://github.com/mongodb/mongo-python-driver http://pypi.python.org/pypi/pymongo" |
62 |
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
63 |
|
64 |
LICENSE="Apache-2.0" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~x86" |
67 |
IUSE="doc mod_wsgi" |
68 |
|
69 |
RDEPEND="dev-db/mongodb" |
70 |
DEPEND="${RDEPEND} |
71 |
dev-python/setuptools |
72 |
doc? ( dev-python/sphinx )" |
73 |
|
74 |
PYTHON_MODNAME="bson gridfs pymongo" |
75 |
|
76 |
src_compile() { |
77 |
distutils_src_compile |
78 |
|
79 |
if use doc; then |
80 |
einfo "Generation of documentation" |
81 |
mkdir html |
82 |
sphinx-build doc html || die "Generation of documentation failed" |
83 |
fi |
84 |
} |
85 |
|
86 |
distutils_src_test_pre_hook() { |
87 |
mkdir -p "${T}/tests-${PYTHON_ABI}/mongo.db" |
88 |
mongod --dbpath "${T}/tests-${PYTHON_ABI}/mongo.db" --fork --logpath "${T}/tests-${PYTHON_ABI}/mongo.log" |
89 |
} |
90 |
|
91 |
src_test() { |
92 |
distutils_src_test |
93 |
killall -u "$(id -nu)" mongod |
94 |
} |
95 |
|
96 |
src_install() { |
97 |
# Maintainer note: |
98 |
# In order to work with mod_wsgi, we need to disable the C extension. |
99 |
# See [1] for more information. |
100 |
# [1] http://api.mongodb.org/python/current/faq.html#does-pymongo-work-with-mod-wsgi |
101 |
distutils_src_install $(use mod_wsgi && echo --no_ext) |
102 |
|
103 |
if use doc; then |
104 |
dohtml -r html/* || die "Error installing docs" |
105 |
fi |
106 |
} |
107 |
|
108 |
pkg_postinst() { |
109 |
ewarn "Important changes on this release, make sure to read the changelog:" |
110 |
ewarn "http://api.mongodb.org/python/${PV}/changelog.html" |
111 |
} |