Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/python-openid: ChangeLog python-openid-2.2.4.ebuild
Date: Thu, 03 Sep 2009 17:39:24
Message-Id: E1MjL5p-0001p4-Pt@stork.gentoo.org
1 patrick 09/09/03 22:47:49
2
3 Modified: ChangeLog
4 Added: python-openid-2.2.4.ebuild
5 Log:
6 Bump to 2.2.4, fixes #283621
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.10 dev-python/python-openid/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-openid/ChangeLog?rev=1.10&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-openid/ChangeLog?rev=1.10&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-openid/ChangeLog?r1=1.9&r2=1.10
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-openid/ChangeLog,v
19 retrieving revision 1.9
20 retrieving revision 1.10
21 diff -u -r1.9 -r1.10
22 --- ChangeLog 6 Oct 2008 16:40:05 -0000 1.9
23 +++ ChangeLog 3 Sep 2009 22:47:49 -0000 1.10
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-python/python-openid
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-openid/ChangeLog,v 1.9 2008/10/06 16:40:05 hawking Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-openid/ChangeLog,v 1.10 2009/09/03 22:47:49 patrick Exp $
30 +
31 +*python-openid-2.2.4 (03 Sep 2009)
32 +
33 + 03 Sep 2009; Patrick Lauer <patrick@g.o>
34 + +python-openid-2.2.4.ebuild:
35 + Bump to 2.2.4, fixes #283621
36
37 *python-openid-2.2.1 (06 Oct 2008)
38
39
40
41
42 1.1 dev-python/python-openid/python-openid-2.2.4.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-openid/python-openid-2.2.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-openid/python-openid-2.2.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: python-openid-2.2.4.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/python-openid/python-openid-2.2.4.ebuild,v 1.1 2009/09/03 22:47:49 patrick Exp $
52
53 NEED_PYTHON=2.3
54
55 inherit distutils
56
57 DESCRIPTION="OpenID support for servers and consumers."
58 HOMEPAGE="http://www.openidenabled.com/openid/libraries/python/"
59 SRC_URI="http://www.openidenabled.com/files/${PN}/packages/${P}.tar.bz2"
60
61 LICENSE="Apache-2.0"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE="doc examples mysql postgres sqlite"
65
66 RDEPEND="|| ( >=dev-lang/python-2.5 dev-python/elementtree )
67 || ( >=dev-lang/python-2.5 dev-python/pycrypto )
68 sqlite? (
69 || ( >=dev-lang/python-2.5 >=dev-python/pysqlite-2 )
70 )
71 postgres? ( dev-python/psycopg )
72 mysql? ( >=dev-python/mysql-python-1.2.2 )"
73 DEPEND="${RDEPEND}"
74
75 PYTHON_MODNAME="openid"
76
77 src_unpack() {
78 distutils_src_unpack
79
80 # Patch to fix confusion with localhost/127.0.0.1
81 epatch "${FILESDIR}"/${PN}-2.0.0-gentoo-test_fetchers.diff
82 }
83
84 src_install() {
85 distutils_src_install
86
87 use doc && dohtml doc/*
88
89 if use examples ; then
90 insinto /usr/share/doc/${PF}
91 doins -r examples
92 fi
93 }
94
95 src_test() {
96 #Remove test that requires running db server
97 sed -e '/storetest/d' -i admin/runtests
98
99 "${python}" admin/runtests || die "tests failed"
100 }