1 |
arfrever 09/09/08 20:14:30 |
2 |
|
3 |
Modified: dnspython-1.7.1.ebuild ChangeLog |
4 |
Log: |
5 |
Set SUPPORT_PYTHON_ABIS. |
6 |
(Portage version: 14218-svn/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 dev-python/dnspython/dnspython-1.7.1.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/dnspython/dnspython-1.7.1.ebuild?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/dnspython/dnspython-1.7.1.ebuild?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/dnspython/dnspython-1.7.1.ebuild?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: dnspython-1.7.1.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/dnspython/dnspython-1.7.1.ebuild,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- dnspython-1.7.1.ebuild 7 Sep 2009 19:34:27 -0000 1.1 |
22 |
+++ dnspython-1.7.1.ebuild 8 Sep 2009 20:14:30 -0000 1.2 |
23 |
@@ -1,8 +1,9 @@ |
24 |
# Copyright 1999-2009 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/dnspython-1.7.1.ebuild,v 1.1 2009/09/07 19:34:27 patrick Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/dnspython-1.7.1.ebuild,v 1.2 2009/09/08 20:14:30 arfrever Exp $ |
28 |
|
29 |
-NEED_PYTHON=2.2 |
30 |
+EAPI="2" |
31 |
+SUPPORT_PYTHON_ABIS="1" |
32 |
|
33 |
inherit distutils |
34 |
|
35 |
@@ -15,8 +16,21 @@ |
36 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
37 |
IUSE="examples" |
38 |
|
39 |
+DEPEND="" |
40 |
+RDEPEND="" |
41 |
+RESTRICT_PYTHON_ABIS="3.*" |
42 |
+ |
43 |
+PYTHON_MODNAME="dns" |
44 |
DOCS="TODO" |
45 |
|
46 |
+src_test() { |
47 |
+ cd tests |
48 |
+ testing() { |
49 |
+ PYTHONPATH="../build-${PYTHON_ABI}/lib:${PYTHONPATH}" emake |
50 |
+ } |
51 |
+ python_execute_function testing |
52 |
+} |
53 |
+ |
54 |
src_install() { |
55 |
distutils_src_install |
56 |
|
57 |
@@ -29,13 +43,9 @@ |
58 |
doins -r tests |
59 |
} |
60 |
|
61 |
-src_test() { |
62 |
- export PYTHONPATH="${S}/build/lib:${PYTHONPATH}" |
63 |
- cd tests |
64 |
- emake || die "Unit tests failed!" |
65 |
-} |
66 |
- |
67 |
pkg_postinst() { |
68 |
+ distutils_pkg_postinst |
69 |
+ |
70 |
elog "Documentation is sparse at the moment. Use pydoc," |
71 |
elog "or read the HTML documentation at the dnspython's home page." |
72 |
} |
73 |
|
74 |
|
75 |
|
76 |
1.46 dev-python/dnspython/ChangeLog |
77 |
|
78 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/dnspython/ChangeLog?rev=1.46&view=markup |
79 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/dnspython/ChangeLog?rev=1.46&content-type=text/plain |
80 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/dnspython/ChangeLog?r1=1.45&r2=1.46 |
81 |
|
82 |
Index: ChangeLog |
83 |
=================================================================== |
84 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/dnspython/ChangeLog,v |
85 |
retrieving revision 1.45 |
86 |
retrieving revision 1.46 |
87 |
diff -u -r1.45 -r1.46 |
88 |
--- ChangeLog 7 Sep 2009 19:34:27 -0000 1.45 |
89 |
+++ ChangeLog 8 Sep 2009 20:14:30 -0000 1.46 |
90 |
@@ -1,6 +1,10 @@ |
91 |
# ChangeLog for dev-python/dnspython |
92 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
93 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/ChangeLog,v 1.45 2009/09/07 19:34:27 patrick Exp $ |
94 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/ChangeLog,v 1.46 2009/09/08 20:14:30 arfrever Exp $ |
95 |
+ |
96 |
+ 08 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
97 |
+ dnspython-1.7.1.ebuild: |
98 |
+ Set SUPPORT_PYTHON_ABIS. |
99 |
|
100 |
*dnspython-1.7.1 (07 Sep 2009) |