Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/python-openid: ChangeLog python-openid-2.2.5.ebuild
Date: Mon, 28 Jun 2010 20:04:08
Message-Id: 20100628200400.D5BF02C621@corvid.gentoo.org
1 arfrever 10/06/28 20:04:00
2
3 Modified: ChangeLog
4 Added: python-openid-2.2.5.ebuild
5 Log:
6 Version bump.
7 (Portage version: HEAD/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.14 dev-python/python-openid/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-openid/ChangeLog?rev=1.14&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-openid/ChangeLog?rev=1.14&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-openid/ChangeLog?r1=1.13&r2=1.14
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-openid/ChangeLog,v
19 retrieving revision 1.13
20 retrieving revision 1.14
21 diff -u -r1.13 -r1.14
22 --- ChangeLog 8 Feb 2010 08:49:17 -0000 1.13
23 +++ ChangeLog 28 Jun 2010 20:04:00 -0000 1.14
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-python/python-openid
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-openid/ChangeLog,v 1.13 2010/02/08 08:49:17 pva Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-openid/ChangeLog,v 1.14 2010/06/28 20:04:00 arfrever Exp $
29 +
30 +*python-openid-2.2.5 (28 Jun 2010)
31 +
32 + 28 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
33 + -python-openid-2.2.4.ebuild, +python-openid-2.2.5.ebuild:
34 + Version bump.
35
36 08 Feb 2010; Peter Volkov <pva@g.o> python-openid-2.2.4.ebuild:
37 Add inherit eutils for epatch.
38
39
40
41 1.1 dev-python/python-openid/python-openid-2.2.5.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-openid/python-openid-2.2.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-openid/python-openid-2.2.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: python-openid-2.2.5.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/python-openid/python-openid-2.2.5.ebuild,v 1.1 2010/06/28 20:04:00 arfrever Exp $
51
52 EAPI="3"
53 PYTHON_DEPEND="2:2.5"
54 SUPPORT_PYTHON_ABIS="1"
55 RESTRICT_PYTHON_ABIS="2.4 3.*"
56
57 inherit distutils eutils
58
59 DESCRIPTION="OpenID support for servers and consumers."
60 HOMEPAGE="http://www.openidenabled.com/openid/libraries/python/ http://pypi.python.org/pypi/python-openid"
61 # Downloaded from http://github.com/openid/python-openid/downloads
62 SRC_URI="mirror://gentoo/${P}.tar.gz"
63
64 LICENSE="Apache-2.0"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="examples mysql postgres sqlite"
68
69 RDEPEND="mysql? ( >=dev-python/mysql-python-1.2.2 )
70 postgres? ( dev-python/psycopg )
71 sqlite? ( || ( dev-lang/python[sqlite] >=dev-python/pysqlite-2 ) )"
72 DEPEND="${RDEPEND}"
73
74 S="${WORKDIR}/openid-python-openid-b666238"
75
76 PYTHON_MODNAME="openid"
77
78 src_prepare() {
79 distutils_src_prepare
80
81 # Patch to fix confusion with localhost/127.0.0.1
82 epatch "${FILESDIR}/${PN}-2.0.0-gentoo-test_fetchers.diff"
83
84 # Disable broken tests from from examples/djopenid.
85 sed -e "s/django_failures =.*/django_failures = 0/" -i admin/runtests || die "sed admin/runtests failed"
86 }
87
88 src_test() {
89 # Remove test that requires running db server.
90 sed -e '/storetest/d' -i admin/runtests
91
92 testing() {
93 "$(PYTHON)" admin/runtests
94 }
95 python_execute_function testing
96 }
97
98 src_install() {
99 distutils_src_install
100
101 if use examples; then
102 insinto /usr/share/doc/${PF}
103 doins -r examples
104 fi
105 }