1 |
arfrever 11/02/22 23:59:07 |
2 |
|
3 |
Modified: ChangeLog tunepimp-0.5.3-r3.ebuild |
4 |
Log: |
5 |
Set SUPPORT_PYTHON_ABIS (bug #313547). |
6 |
|
7 |
(Portage version: 2.2.0_alpha24_p28/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.77 media-libs/tunepimp/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/tunepimp/ChangeLog?rev=1.77&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/tunepimp/ChangeLog?rev=1.77&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/tunepimp/ChangeLog?r1=1.76&r2=1.77 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/tunepimp/ChangeLog,v |
19 |
retrieving revision 1.76 |
20 |
retrieving revision 1.77 |
21 |
diff -u -r1.76 -r1.77 |
22 |
--- ChangeLog 11 Feb 2010 17:09:07 -0000 1.76 |
23 |
+++ ChangeLog 22 Feb 2011 23:59:07 -0000 1.77 |
24 |
@@ -1,6 +1,10 @@ |
25 |
# ChangeLog for media-libs/tunepimp |
26 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/tunepimp/ChangeLog,v 1.76 2010/02/11 17:09:07 ssuominen Exp $ |
28 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/tunepimp/ChangeLog,v 1.77 2011/02/22 23:59:07 arfrever Exp $ |
30 |
+ |
31 |
+ 22 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
32 |
+ tunepimp-0.5.3-r3.ebuild: |
33 |
+ Set SUPPORT_PYTHON_ABIS (bug #313547). |
34 |
|
35 |
*tunepimp-0.5.3-r3 (11 Feb 2010) |
36 |
|
37 |
|
38 |
|
39 |
|
40 |
1.2 media-libs/tunepimp/tunepimp-0.5.3-r3.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/tunepimp/tunepimp-0.5.3-r3.ebuild?rev=1.2&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/tunepimp/tunepimp-0.5.3-r3.ebuild?rev=1.2&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/tunepimp/tunepimp-0.5.3-r3.ebuild?r1=1.1&r2=1.2 |
45 |
|
46 |
Index: tunepimp-0.5.3-r3.ebuild |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/tunepimp/tunepimp-0.5.3-r3.ebuild,v |
49 |
retrieving revision 1.1 |
50 |
retrieving revision 1.2 |
51 |
diff -u -r1.1 -r1.2 |
52 |
--- tunepimp-0.5.3-r3.ebuild 11 Feb 2010 17:09:07 -0000 1.1 |
53 |
+++ tunepimp-0.5.3-r3.ebuild 22 Feb 2011 23:59:07 -0000 1.2 |
54 |
@@ -1,9 +1,13 @@ |
55 |
-# Copyright 1999-2010 Gentoo Foundation |
56 |
+# Copyright 1999-2011 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/tunepimp/tunepimp-0.5.3-r3.ebuild,v 1.1 2010/02/11 17:09:07 ssuominen Exp $ |
59 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/tunepimp/tunepimp-0.5.3-r3.ebuild,v 1.2 2011/02/22 23:59:07 arfrever Exp $ |
60 |
|
61 |
-EAPI=2 |
62 |
-inherit autotools eutils distutils multilib |
63 |
+EAPI="3" |
64 |
+PYTHON_DEPEND="python? 2" |
65 |
+SUPPORT_PYTHON_ABIS="1" |
66 |
+RESTRICT_PYTHON_ABIS="3.* *-jython" |
67 |
+ |
68 |
+inherit autotools distutils eutils multilib |
69 |
|
70 |
MY_P=lib${P} |
71 |
|
72 |
@@ -35,6 +39,12 @@ |
73 |
|
74 |
S=${WORKDIR}/${MY_P} |
75 |
|
76 |
+pkg_setup() { |
77 |
+ if use python; then |
78 |
+ python_pkg_setup |
79 |
+ fi |
80 |
+} |
81 |
+ |
82 |
src_prepare() { |
83 |
epatch \ |
84 |
"${FILESDIR}"/${P}-gcc43.patch \ |
85 |
@@ -58,6 +68,12 @@ |
86 |
|
87 |
src_compile() { |
88 |
default |
89 |
+ |
90 |
+ if use python; then |
91 |
+ pushd python > /dev/null |
92 |
+ distutils_src_compile |
93 |
+ popd > /dev/null |
94 |
+ fi |
95 |
} |
96 |
|
97 |
src_install() { |
98 |
@@ -65,11 +81,24 @@ |
99 |
dodoc AUTHORS ChangeLog README TODO |
100 |
|
101 |
if use python; then |
102 |
- cd python |
103 |
+ pushd python > /dev/null |
104 |
distutils_src_install |
105 |
insinto /usr/share/doc/${PF}/examples |
106 |
doins examples/* || die "doins failed" |
107 |
+ popd > /dev/null |
108 |
fi |
109 |
|
110 |
find "${D}" -name '*.la' -delete |
111 |
} |
112 |
+ |
113 |
+pkg_postinst() { |
114 |
+ if use python; then |
115 |
+ distutils_pkg_postinst |
116 |
+ fi |
117 |
+} |
118 |
+ |
119 |
+pkg_postrm() { |
120 |
+ if use python; then |
121 |
+ distutils_pkg_postrm |
122 |
+ fi |
123 |
+} |