Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/mirage/files: mirage-0.9.3-stop_cleaning_up.patch
Date: Sun, 30 Nov 2008 14:43:04
Message-Id: E1L6nVm-0006NP-G2@stork.gentoo.org
1 ssuominen 08/11/30 14:43:02
2
3 Added: mirage-0.9.3-stop_cleaning_up.patch
4 Log:
5 Don't compile in src_install.
6 (Portage version: 2.1.6_rc2/cvs/Linux 2.6.27.7 i686)
7
8 Revision Changes Path
9 1.1 media-gfx/mirage/files/mirage-0.9.3-stop_cleaning_up.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/mirage/files/mirage-0.9.3-stop_cleaning_up.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/mirage/files/mirage-0.9.3-stop_cleaning_up.patch?rev=1.1&content-type=text/plain
13
14 Index: mirage-0.9.3-stop_cleaning_up.patch
15 ===================================================================
16 diff -ur mirage-0.9.3.orig/setup.py mirage-0.9.3/setup.py
17 --- mirage-0.9.3.orig/setup.py 2008-03-27 06:05:28.000000000 +0200
18 +++ mirage-0.9.3/setup.py 2008-11-30 16:34:11.000000000 +0200
19 @@ -70,23 +70,3 @@
20 ('share/locale/cs/LC_MESSAGES', ['mo/cs/mirage.mo']),
21 ('share/locale/it/LC_MESSAGES', ['mo/it/mirage.mo'])],
22 )
23 -
24 -# Cleanup (remove /build, /mo, and *.pyc files:
25 -print "Cleaning up..."
26 -try:
27 - removeall("build/")
28 - os.rmdir("build/")
29 -except:
30 - pass
31 -try:
32 - removeall("mo/")
33 - os.rmdir("mo/")
34 -except:
35 - pass
36 -try:
37 - for f in os.listdir("."):
38 - if os.path.isfile(f):
39 - if os.path.splitext(os.path.basename(f))[1] == ".pyc":
40 - os.remove(f)
41 -except:
42 - pass