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
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')
-rw-r--r--media-gfx/mirage/ChangeLog6
-rw-r--r--media-gfx/mirage/Manifest15
-rw-r--r--media-gfx/mirage/files/mirage-0.9.3-stop_cleaning_up.patch27
-rw-r--r--media-gfx/mirage/mirage-0.9.3.ebuild12
4 files changed, 43 insertions, 17 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/Manifest b/media-gfx/mirage/Manifest
index f35c40d0ee4e..e7f773d16a79 100644
--- a/media-gfx/mirage/Manifest
+++ b/media-gfx/mirage/Manifest
@@ -1,14 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+AUX mirage-0.9.3-stop_cleaning_up.patch 679 RMD160 48efb6efbe2572542631b3149e8a7aa43f941336 SHA1 ae686ad19885436ef797a994f4eda309c1cffaa8 SHA256 40f33674f6821fa84f23de589b2c4924820ec7c8d7952b55232b06d02079494b
DIST mirage-0.9.3.tar.bz2 98321 RMD160 ec95c0975d02a9bba1ed48110985633bb175b868 SHA1 bfba4026d79071e711bc46f7a6f55bf5efe4835f SHA256 51e4dd63f489a240ed01077189610ebc4e08e060efc11dac4d331dc212c9bcad
-EBUILD mirage-0.9.3.ebuild 737 RMD160 800eac91203f78b482f7b3eee1b90433696ed4ff SHA1 9637cd1311829647ec4cc82bacec4f33e143f7b8 SHA256 afef60cf3023737ee00de1d07bc6e2e46b7c39f431011abb49473f438c7123b8
-MISC ChangeLog 3278 RMD160 8513b6158f3a6c6a070501aefd630a0135530f6b SHA1 18a2cb3ab456f0fbfcbf324e24698034fd4ff9ee SHA256 8f2dfdfdae03545446af5bf437c8e68adfc341870e894cd919ed70c9f628fe1d
+EBUILD mirage-0.9.3.ebuild 816 RMD160 25056b581085ca17a7d99153451f2483a1f229d4 SHA1 a74f3334f09e398f8b0797d4fba5d16ce2ca5d59 SHA256 fa850db6359558478b97e2bdb40edd4118f635581c9322139bbefc989748b759
+MISC ChangeLog 3419 RMD160 b2e68078cacd795a3a6338dc026d52bb5bfb1733 SHA1 0d770edf78ada37229013c19332c41625be7b885 SHA256 136c87c2811c088e1fc42d1da09870775880984dbe4cd07714da066c32dcfb6b
MISC metadata.xml 261 RMD160 eca0b80f05b7903053468ca350387d4f51610a9e SHA1 b3919363294c93bcf4d65424e6483e8637d9a733 SHA256 7320a4340da845a4f6976f323daddeb084eca817f9bc286c02bd6cb74e93b4cb
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkixhbgACgkQkKaRLQcq0GKZKwCdGE/+C8hfSFDdiWbbJTreuH0B
-a7oAnjQOiPSNX5RliqSiiKTXqnDZZEkJ
-=ebZM
------END PGP SIGNATURE-----
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"