diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2008-11-30 14:43:02 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2008-11-30 14:43:02 +0000 |
commit | 22c265d54d0eb096ee8a354bb814dc3b74cf67a0 (patch) | |
tree | 7e11f509125225bc444b5c0945f4f745ce9c11a1 /media-gfx/mirage | |
parent | Mark stable for amd64 and fix quoting (diff) | |
download | gentoo-2-22c265d54d0eb096ee8a354bb814dc3b74cf67a0.tar.gz gentoo-2-22c265d54d0eb096ee8a354bb814dc3b74cf67a0.tar.bz2 gentoo-2-22c265d54d0eb096ee8a354bb814dc3b74cf67a0.zip |
Don't compile in src_install.
(Portage version: 2.1.6_rc2/cvs/Linux 2.6.27.7 i686)
Diffstat (limited to 'media-gfx/mirage')
-rw-r--r-- | media-gfx/mirage/ChangeLog | 6 | ||||
-rw-r--r-- | media-gfx/mirage/files/mirage-0.9.3-stop_cleaning_up.patch | 27 | ||||
-rw-r--r-- | media-gfx/mirage/mirage-0.9.3.ebuild | 12 |
3 files changed, 40 insertions, 5 deletions
diff --git a/media-gfx/mirage/ChangeLog b/media-gfx/mirage/ChangeLog index 48c92bfcaf06..c892326d1351 100644 --- a/media-gfx/mirage/ChangeLog +++ b/media-gfx/mirage/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/mirage # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/mirage/ChangeLog,v 1.29 2008/08/24 15:59:31 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/mirage/ChangeLog,v 1.30 2008/11/30 14:43:02 ssuominen Exp $ + + 30 Nov 2008; <ssuominen@gentoo.org> + +files/mirage-0.9.3-stop_cleaning_up.patch, mirage-0.9.3.ebuild: + Don't compile in src_install. 24 Aug 2008; Markus Meier <maekke@gentoo.org> -mirage-0.9.1.ebuild: old 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 diff --git a/media-gfx/mirage/mirage-0.9.3.ebuild b/media-gfx/mirage/mirage-0.9.3.ebuild index f57eb07f4353..9cfbdeb69bb2 100644 --- a/media-gfx/mirage/mirage-0.9.3.ebuild +++ b/media-gfx/mirage/mirage-0.9.3.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/mirage/mirage-0.9.3.ebuild,v 1.5 2008/08/24 15:55:52 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/mirage/mirage-0.9.3.ebuild,v 1.6 2008/11/30 14:43:02 ssuominen Exp $ -inherit distutils +inherit distutils eutils DESCRIPTION="Fast and simple GTK+ image viewer" HOMEPAGE="http://mirageiv.berlios.de/" @@ -13,8 +13,12 @@ SLOT="0" KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd" IUSE="" -RDEPEND=">=dev-python/pygtk-2.6" -DEPEND="${RDEPEND}" +DEPEND=">=dev-python/pygtk-2.6" + +src_unpack() { + distutils_src_unpack + epatch "${FILESDIR}"/${P}-stop_cleaning_up.patch +} src_install() { local DOCS="CHANGELOG README TODO TRANSLATORS" |