summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-11-30 14:43:02 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-11-30 14:43:02 +0000
commit72490a19510b529553391eb4014d06ec623da286 (patch)
treeea48a27173c614254f85163d617f7721101d6f74 /media-gfx/mirage/files
parentMark stable for amd64 and fix quoting (diff)
downloadhistorical-72490a19510b529553391eb4014d06ec623da286.tar.gz
historical-72490a19510b529553391eb4014d06ec623da286.tar.bz2
historical-72490a19510b529553391eb4014d06ec623da286.zip
Don't compile in src_install.
Package-Manager: portage-2.1.6_rc2/cvs/Linux 2.6.27.7 i686
Diffstat (limited to 'media-gfx/mirage/files')
-rw-r--r--media-gfx/mirage/files/mirage-0.9.3-stop_cleaning_up.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/media-gfx/mirage/files/mirage-0.9.3-stop_cleaning_up.patch b/media-gfx/mirage/files/mirage-0.9.3-stop_cleaning_up.patch
new file mode 100644
index 000000000000..0f315297184b
--- /dev/null
+++ b/media-gfx/mirage/files/mirage-0.9.3-stop_cleaning_up.patch
@@ -0,0 +1,27 @@
+diff -ur mirage-0.9.3.orig/setup.py mirage-0.9.3/setup.py
+--- mirage-0.9.3.orig/setup.py 2008-03-27 06:05:28.000000000 +0200
++++ mirage-0.9.3/setup.py 2008-11-30 16:34:11.000000000 +0200
+@@ -70,23 +70,3 @@
+ ('share/locale/cs/LC_MESSAGES', ['mo/cs/mirage.mo']),
+ ('share/locale/it/LC_MESSAGES', ['mo/it/mirage.mo'])],
+ )
+-
+-# Cleanup (remove /build, /mo, and *.pyc files:
+-print "Cleaning up..."
+-try:
+- removeall("build/")
+- os.rmdir("build/")
+-except:
+- pass
+-try:
+- removeall("mo/")
+- os.rmdir("mo/")
+-except:
+- pass
+-try:
+- for f in os.listdir("."):
+- if os.path.isfile(f):
+- if os.path.splitext(os.path.basename(f))[1] == ".pyc":
+- os.remove(f)
+-except:
+- pass