1 |
arfrever 09/10/01 01:42:56 |
2 |
|
3 |
Modified: ChangeLog python-openid-2.2.4.ebuild |
4 |
Log: |
5 |
Set SUPPORT_PYTHON_ABIS. |
6 |
(Portage version: 14469-svn/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.11 dev-python/python-openid/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-openid/ChangeLog?rev=1.11&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-openid/ChangeLog?rev=1.11&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-openid/ChangeLog?r1=1.10&r2=1.11 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/python-openid/ChangeLog,v |
18 |
retrieving revision 1.10 |
19 |
retrieving revision 1.11 |
20 |
diff -u -r1.10 -r1.11 |
21 |
--- ChangeLog 3 Sep 2009 22:47:49 -0000 1.10 |
22 |
+++ ChangeLog 1 Oct 2009 01:42:56 -0000 1.11 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for dev-python/python-openid |
25 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-openid/ChangeLog,v 1.10 2009/09/03 22:47:49 patrick Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-openid/ChangeLog,v 1.11 2009/10/01 01:42:56 arfrever Exp $ |
28 |
+ |
29 |
+ 01 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
30 |
+ python-openid-2.2.4.ebuild: |
31 |
+ Set SUPPORT_PYTHON_ABIS. |
32 |
|
33 |
*python-openid-2.2.4 (03 Sep 2009) |
34 |
|
35 |
|
36 |
|
37 |
|
38 |
1.2 dev-python/python-openid/python-openid-2.2.4.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-openid/python-openid-2.2.4.ebuild?rev=1.2&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-openid/python-openid-2.2.4.ebuild?rev=1.2&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-openid/python-openid-2.2.4.ebuild?r1=1.1&r2=1.2 |
43 |
|
44 |
Index: python-openid-2.2.4.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/python-openid/python-openid-2.2.4.ebuild,v |
47 |
retrieving revision 1.1 |
48 |
retrieving revision 1.2 |
49 |
diff -u -r1.1 -r1.2 |
50 |
--- python-openid-2.2.4.ebuild 3 Sep 2009 22:47:49 -0000 1.1 |
51 |
+++ python-openid-2.2.4.ebuild 1 Oct 2009 01:42:56 -0000 1.2 |
52 |
@@ -1,8 +1,11 @@ |
53 |
# Copyright 1999-2009 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $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 $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-openid/python-openid-2.2.4.ebuild,v 1.2 2009/10/01 01:42:56 arfrever Exp $ |
57 |
|
58 |
-NEED_PYTHON=2.3 |
59 |
+EAPI="2" |
60 |
+ |
61 |
+NEED_PYTHON="2.5" |
62 |
+SUPPORT_PYTHON_ABIS="1" |
63 |
|
64 |
inherit distutils |
65 |
|
66 |
@@ -15,22 +18,29 @@ |
67 |
KEYWORDS="~amd64 ~x86" |
68 |
IUSE="doc examples mysql postgres sqlite" |
69 |
|
70 |
-RDEPEND="|| ( >=dev-lang/python-2.5 dev-python/elementtree ) |
71 |
- || ( >=dev-lang/python-2.5 dev-python/pycrypto ) |
72 |
- sqlite? ( |
73 |
- || ( >=dev-lang/python-2.5 >=dev-python/pysqlite-2 ) |
74 |
- ) |
75 |
+RDEPEND="mysql? ( >=dev-python/mysql-python-1.2.2 ) |
76 |
postgres? ( dev-python/psycopg ) |
77 |
- mysql? ( >=dev-python/mysql-python-1.2.2 )" |
78 |
+ sqlite? ( || ( dev-lang/python[sqlite] >=dev-python/pysqlite-2 ) )" |
79 |
DEPEND="${RDEPEND}" |
80 |
+RESTRICT_PYTHON_ABIS="3.*" |
81 |
|
82 |
PYTHON_MODNAME="openid" |
83 |
|
84 |
-src_unpack() { |
85 |
- distutils_src_unpack |
86 |
+src_prepare() { |
87 |
+ distutils_src_prepare |
88 |
|
89 |
# Patch to fix confusion with localhost/127.0.0.1 |
90 |
- epatch "${FILESDIR}"/${PN}-2.0.0-gentoo-test_fetchers.diff |
91 |
+ epatch "${FILESDIR}/${PN}-2.0.0-gentoo-test_fetchers.diff" |
92 |
+} |
93 |
+ |
94 |
+src_test() { |
95 |
+ # Remove test that requires running db server. |
96 |
+ sed -e '/storetest/d' -i admin/runtests |
97 |
+ |
98 |
+ testing() { |
99 |
+ "$(PYTHON)" admin/runtests |
100 |
+ } |
101 |
+ python_execute_function testing |
102 |
} |
103 |
|
104 |
src_install() { |
105 |
@@ -43,10 +53,3 @@ |
106 |
doins -r examples |
107 |
fi |
108 |
} |
109 |
- |
110 |
-src_test() { |
111 |
- #Remove test that requires running db server |
112 |
- sed -e '/storetest/d' -i admin/runtests |
113 |
- |
114 |
- "${python}" admin/runtests || die "tests failed" |
115 |
-} |