mgorny      14/03/13 08:12:38

  Modified:             ChangeLog
  Added:                cropgui-0.1.1-r3.ebuild
  Log:
  Use python_doexe() to make it non-dependant on Python wrapping 
implementation, bug #484422.
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
EFB4464E!)

Revision  Changes    Path
1.12                 media-gfx/cropgui/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/cropgui/ChangeLog?rev=1.12&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/cropgui/ChangeLog?rev=1.12&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/cropgui/ChangeLog?r1=1.11&r2=1.12

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-gfx/cropgui/ChangeLog,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ChangeLog   30 Oct 2013 19:25:27 -0000      1.11
+++ ChangeLog   13 Mar 2014 08:12:37 -0000      1.12
@@ -1,6 +1,12 @@
 # ChangeLog for media-gfx/cropgui
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/cropgui/ChangeLog,v 1.11 
2013/10/30 19:25:27 mgorny Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/cropgui/ChangeLog,v 1.12 
2014/03/13 08:12:37 mgorny Exp $
+
+*cropgui-0.1.1-r3 (13 Mar 2014)
+
+  13 Mar 2014; Michał Górny <[email protected]> +cropgui-0.1.1-r3.ebuild:
+  Use python_doexe() to make it non-dependant on Python wrapping 
implementation,
+  bug #484422.
 
   30 Oct 2013; Michał Górny <[email protected]> cropgui-0.1.1-r2.ebuild:
   Update the dep to use dev-lang/python-exec.



1.1                  media-gfx/cropgui/cropgui-0.1.1-r3.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/cropgui/cropgui-0.1.1-r3.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/cropgui/cropgui-0.1.1-r3.ebuild?rev=1.1&content-type=text/plain

Index: cropgui-0.1.1-r3.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/cropgui/cropgui-0.1.1-r3.ebuild,v 
1.1 2014/03/13 08:12:37 mgorny Exp $

EAPI="5"

PYTHON_COMPAT=( python2_{6,7} )
inherit eutils python-r1

DESCRIPTION="GUI for lossless cropping of jpeg images"
HOMEPAGE="http://emergent.unpythonic.net/01248401946";
SRC_URI="http://media.unpythonic.net/emergent-files/01248401946/${PN}_${PV}.tar.gz";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

DEPEND="${PYTHON_DEPS}"
RDEPEND="${PYTHON_DEPS}
        virtual/python-imaging[${PYTHON_USEDEP}]
        dev-python/pygobject:2[${PYTHON_USEDEP}]
        dev-python/pygtk:2[${PYTHON_USEDEP}]
"

S="${WORKDIR}/${PN}"

src_prepare() {
        sed -i  -e '/Encoding/d' \
                -e '/Version/d' \
                -e '/MimeType/s/$/&;/' \
                -e '/Categories/s/Application;//' \
                cropgui.desktop || die 'sed on cropgui.desktop failed'
        # bug 471530
        epatch "${FILESDIR}/${P}-PIL.patch"

        epatch_user
}

install_cropgui_wrapper() {
        python_domodule cropgtk.py cropgui_common.py filechooser.py 
cropgui.glade
        make_wrapper "${PN}.tmp" "${PYTHON} 
$(python_get_sitedir)/${PN}/cropgtk.py"
        python_newexe "${ED%/}/usr/bin/${PN}.tmp" "${PN}"
        rm "${ED%/}/usr/bin/${PN}.tmp" || die
}

src_install() {
        local python_moduleroot="${PN}"
        python_foreach_impl install_cropgui_wrapper

        domenu "${PN}.desktop"
        doicon "${PN}.png"
}




Reply via email to