1 |
arfrever 10/02/26 19:05:10 |
2 |
|
3 |
Modified: ChangeLog pmw-1.3.2-r2.ebuild |
4 |
Log: |
5 |
Set SUPPORT_PYTHON_ABIS. |
6 |
(Portage version: 15458-svn/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.28 dev-python/pmw/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pmw/ChangeLog?rev=1.28&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pmw/ChangeLog?rev=1.28&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pmw/ChangeLog?r1=1.27&r2=1.28 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pmw/ChangeLog,v |
18 |
retrieving revision 1.27 |
19 |
retrieving revision 1.28 |
20 |
diff -u -r1.27 -r1.28 |
21 |
--- ChangeLog 20 Feb 2010 12:21:38 -0000 1.27 |
22 |
+++ ChangeLog 26 Feb 2010 19:05:09 -0000 1.28 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for dev-python/pmw |
25 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pmw/ChangeLog,v 1.27 2010/02/20 12:21:38 jlec Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pmw/ChangeLog,v 1.28 2010/02/26 19:05:09 arfrever Exp $ |
28 |
+ |
29 |
+ 26 Feb 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
30 |
+ pmw-1.3.2-r2.ebuild: |
31 |
+ Set SUPPORT_PYTHON_ABIS. |
32 |
|
33 |
*pmw-1.3.2-r2 (20 Feb 2010) |
34 |
|
35 |
|
36 |
|
37 |
|
38 |
1.2 dev-python/pmw/pmw-1.3.2-r2.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pmw/pmw-1.3.2-r2.ebuild?rev=1.2&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pmw/pmw-1.3.2-r2.ebuild?rev=1.2&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pmw/pmw-1.3.2-r2.ebuild?r1=1.1&r2=1.2 |
43 |
|
44 |
Index: pmw-1.3.2-r2.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pmw/pmw-1.3.2-r2.ebuild,v |
47 |
retrieving revision 1.1 |
48 |
retrieving revision 1.2 |
49 |
diff -u -r1.1 -r1.2 |
50 |
--- pmw-1.3.2-r2.ebuild 20 Feb 2010 12:21:38 -0000 1.1 |
51 |
+++ pmw-1.3.2-r2.ebuild 26 Feb 2010 19:05:09 -0000 1.2 |
52 |
@@ -1,11 +1,12 @@ |
53 |
# Copyright 1999-2010 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pmw/pmw-1.3.2-r2.ebuild,v 1.1 2010/02/20 12:21:38 jlec Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pmw/pmw-1.3.2-r2.ebuild,v 1.2 2010/02/26 19:05:09 arfrever Exp $ |
57 |
|
58 |
EAPI="2" |
59 |
-PYTHON_MODNAME="Pmw" |
60 |
+PYTHON_DEPEND="2" |
61 |
+SUPPORT_PYTHON_ABIS="1" |
62 |
|
63 |
-inherit eutils distutils |
64 |
+inherit distutils eutils |
65 |
|
66 |
MY_P="Pmw.${PV}" |
67 |
|
68 |
@@ -20,12 +21,15 @@ |
69 |
|
70 |
DEPEND="dev-lang/python[tk]" |
71 |
RDEPEND="${DEPEND}" |
72 |
+RESTRICT_PYTHON_ABIS="3.*" |
73 |
|
74 |
-DOCS="${PYTHON_MODNAME}/README" |
75 |
S="${WORKDIR}/${MY_P}/src" |
76 |
|
77 |
-src_unpack() { |
78 |
- distutils_src_unpack |
79 |
+DOCS="Pmw/README" |
80 |
+PYTHON_MODNAME="Pmw" |
81 |
+ |
82 |
+src_prepare() { |
83 |
+ distutils_src_prepare |
84 |
epatch "${FILESDIR}/${P}-install-no-docs.patch" |
85 |
epatch "${FILESDIR}/${PV}-python2.5.patch" |
86 |
} |
87 |
@@ -33,21 +37,14 @@ |
88 |
src_install() { |
89 |
distutils_src_install |
90 |
|
91 |
- local DIR |
92 |
- DIR="${S}/${PYTHON_MODNAME}/Pmw_1_3" |
93 |
+ local DIR="${PYTHON_MODNAME}/Pmw_1_3" |
94 |
|
95 |
if use doc; then |
96 |
- dohtml -a html,gif,py "${DIR}"/doc/* \ |
97 |
- || die "failed to install docs" |
98 |
+ dohtml -a html,gif,py "${DIR}"/doc/* || die "Installation of documentation failed" |
99 |
fi |
100 |
|
101 |
if use examples; then |
102 |
- insinto "${ROOT}/usr/share/doc/${PF}/examples" |
103 |
- doins "${DIR}"/demos/* \ |
104 |
- || die "failed to install demos" |
105 |
+ insinto "/usr/share/doc/${PF}/examples" |
106 |
+ doins "${DIR}"/demos/* || die "Installation of demos failed" |
107 |
fi |
108 |
- |
109 |
- #Tests are not unittests and show various |
110 |
- #GUIs. So we don't run them in the ebuild |
111 |
- |
112 |
} |