1 |
arfrever 09/09/04 04:47:24 |
2 |
|
3 |
Modified: pygame-1.9.1.ebuild ChangeLog |
4 |
Log: |
5 |
Set SUPPORT_PYTHON_ABIS. |
6 |
(Portage version: 14182-svn/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 dev-python/pygame/pygame-1.9.1.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygame/pygame-1.9.1.ebuild?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygame/pygame-1.9.1.ebuild?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygame/pygame-1.9.1.ebuild?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: pygame-1.9.1.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pygame/pygame-1.9.1.ebuild,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- pygame-1.9.1.ebuild 3 Sep 2009 12:28:09 -0000 1.1 |
22 |
+++ pygame-1.9.1.ebuild 4 Sep 2009 04:47:23 -0000 1.2 |
23 |
@@ -1,10 +1,11 @@ |
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/pygame/pygame-1.9.1.ebuild,v 1.1 2009/09/03 12:28:09 patrick Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/pygame-1.9.1.ebuild,v 1.2 2009/09/04 04:47:23 arfrever Exp $ |
28 |
|
29 |
EAPI="2" |
30 |
+SUPPORT_PYTHON_ABIS="1" |
31 |
|
32 |
-inherit distutils multilib eutils |
33 |
+inherit distutils eutils multilib |
34 |
|
35 |
DESCRIPTION="python bindings to sdl and other libs that facilitate game production" |
36 |
HOMEPAGE="http://www.pygame.org/" |
37 |
@@ -21,24 +22,40 @@ |
38 |
>=media-libs/sdl-mixer-1.2.4 |
39 |
dev-python/numpy |
40 |
>=media-libs/smpeg-0.4.4-r1" |
41 |
-DEPEND="${RDEPEND} |
42 |
- dev-python/setuptools" |
43 |
+DEPEND="${RDEPEND}" |
44 |
|
45 |
-S=${WORKDIR}/${P}release |
46 |
+S="${WORKDIR}/${P}release" |
47 |
+ |
48 |
+DOCS="WHATSNEW" |
49 |
|
50 |
src_prepare() { |
51 |
+ distutils_src_prepare |
52 |
epatch "${FILESDIR}/config.patch" |
53 |
} |
54 |
|
55 |
-src_compile() { |
56 |
+src_configure() { |
57 |
python config.py -auto |
58 |
sed -i -e 's:X11R6/lib:lib64:g' Setup |
59 |
use X || sed -i -e 's:scrap :#scrap :' Setup |
60 |
- distutils_src_compile |
61 |
+} |
62 |
+ |
63 |
+src_test() { |
64 |
+ # Skip tests that depend on DISPLAY being set. Bug #223055. |
65 |
+ SKIP_TESTS="display_test image__save_gl_surface_test movie_test" |
66 |
+ |
67 |
+ local test |
68 |
+ for test in ${SKIP_TESTS}; do |
69 |
+ einfo "Removing test: ${test}" |
70 |
+ rm -fr "${S}/test/${test}.py" |
71 |
+ done |
72 |
+ |
73 |
+ testing() { |
74 |
+ PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" run_tests.py |
75 |
+ } |
76 |
+ python_execute_function testing |
77 |
} |
78 |
|
79 |
src_install() { |
80 |
- DOCS=WHATSNEW |
81 |
distutils_src_install |
82 |
|
83 |
if use doc; then |
84 |
@@ -48,18 +65,3 @@ |
85 |
doins -r "${S}/examples" |
86 |
fi |
87 |
} |
88 |
- |
89 |
-src_test() { |
90 |
- python_version |
91 |
- |
92 |
- #Skip tests that depend on DISPLAY being set. Bug #223055 |
93 |
- SKIP_TESTS="display_test image__save_gl_surface_test movie_test" |
94 |
- |
95 |
- for test_ in $SKIP_TESTS |
96 |
- do |
97 |
- einfo "Removing test: ${test_}" |
98 |
- rm -rf "${S}/test/${test_}.py" |
99 |
- done |
100 |
- |
101 |
- PYTHONPATH="$(ls -d build/lib.*)" "${python}" run_tests.py || die "tests failed" |
102 |
-} |
103 |
|
104 |
|
105 |
|
106 |
1.63 dev-python/pygame/ChangeLog |
107 |
|
108 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygame/ChangeLog?rev=1.63&view=markup |
109 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygame/ChangeLog?rev=1.63&content-type=text/plain |
110 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygame/ChangeLog?r1=1.62&r2=1.63 |
111 |
|
112 |
Index: ChangeLog |
113 |
=================================================================== |
114 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pygame/ChangeLog,v |
115 |
retrieving revision 1.62 |
116 |
retrieving revision 1.63 |
117 |
diff -u -r1.62 -r1.63 |
118 |
--- ChangeLog 3 Sep 2009 12:28:09 -0000 1.62 |
119 |
+++ ChangeLog 4 Sep 2009 04:47:23 -0000 1.63 |
120 |
@@ -1,6 +1,10 @@ |
121 |
# ChangeLog for dev-python/pygame |
122 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
123 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/ChangeLog,v 1.62 2009/09/03 12:28:09 patrick Exp $ |
124 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/ChangeLog,v 1.63 2009/09/04 04:47:23 arfrever Exp $ |
125 |
+ |
126 |
+ 04 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
127 |
+ pygame-1.9.1.ebuild: |
128 |
+ Set SUPPORT_PYTHON_ABIS. |
129 |
|
130 |
*pygame-1.9.1 (03 Sep 2009) |