summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2009-02-02 19:30:37 +0000
committerMarkus Meier <maekke@gentoo.org>2009-02-02 19:30:37 +0000
commit93c04d25743201b88950c7eaafb641b2623cdb19 (patch)
tree6b33b28f3eda3cf006adc1fa035d5fe0c7dc8b42 /media-gfx/comix
parentia64/sparc stable wrt #245425 (diff)
downloadgentoo-2-93c04d25743201b88950c7eaafb641b2623cdb19.tar.gz
gentoo-2-93c04d25743201b88950c7eaafb641b2623cdb19.tar.bz2
gentoo-2-93c04d25743201b88950c7eaafb641b2623cdb19.zip
revision bump, do not install .pyc files into /usr/share
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'media-gfx/comix')
-rw-r--r--media-gfx/comix/ChangeLog9
-rw-r--r--media-gfx/comix/comix-4.0.1-r1.ebuild39
2 files changed, 46 insertions, 2 deletions
diff --git a/media-gfx/comix/ChangeLog b/media-gfx/comix/ChangeLog
index fd1882245c5c..5aa106678f1b 100644
--- a/media-gfx/comix/ChangeLog
+++ b/media-gfx/comix/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/comix
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/comix/ChangeLog,v 1.48 2008/12/20 17:39:46 vanquirius Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/comix/ChangeLog,v 1.49 2009/02/02 19:30:37 maekke Exp $
+
+*comix-4.0.1-r1 (02 Feb 2009)
+
+ 02 Feb 2009; Markus Meier <maekke@gentoo.org> +comix-4.0.1-r1.ebuild:
+ revision bump, do not install .pyc files into /usr/share
*comix-4.0.1 (20 Dec 2008)
diff --git a/media-gfx/comix/comix-4.0.1-r1.ebuild b/media-gfx/comix/comix-4.0.1-r1.ebuild
new file mode 100644
index 000000000000..cf2baa5a4419
--- /dev/null
+++ b/media-gfx/comix/comix-4.0.1-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/comix/comix-4.0.1-r1.ebuild,v 1.1 2009/02/02 19:30:37 maekke Exp $
+
+inherit python
+
+DESCRIPTION="A GTK image viewer specifically designed to handle comic books."
+HOMEPAGE="http://comix.sourceforge.net"
+SRC_URI="mirror://sourceforge/comix/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE="rar"
+RDEPEND=">=dev-python/imaging-1.1.5
+ >=dev-python/pygtk-2.12
+ rar? ( || ( app-arch/unrar app-arch/rar ) )"
+
+src_unpack() {
+ unpack ${A}
+ # do not install .pyc into /usr/share
+ local pythondir="$(python_get_sitedir)/comix"
+ pythondir="${pythondir/\/usr\/}"
+ sed -i -e "s:share/comix/src:${pythondir}:g" "${S}"/install.py || die
+}
+
+src_compile() {
+ einfo "Nothing to be compiled."
+}
+
+src_install() {
+ dodir /usr
+ python install.py install --no-mime --dir "${D}"usr || die
+ insinto /usr/share/mime/packages/
+ doins "${S}"/mime/comix.xml || die
+ insinto /etc/gconf/schemas/
+ doins "${S}"/mime/comicbook.schemas || die
+ dobin "${S}"/mime/comicthumb
+ dodoc ChangeLog README || die
+}