jlec        15/01/04 12:35:46

  Modified:             ChangeLog
  Added:                uniconvertor-2.0_pre379-r1.ebuild
  Removed:              uniconvertor-2.0_pre379.ebuild
  Log:
  media-gfx/uniconvertor: Fix broken PIL import, #534074; enable testsuite
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
B9D4F231BD1558AB!)

Revision  Changes    Path
1.23                 media-gfx/uniconvertor/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-gfx/uniconvertor/ChangeLog,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- ChangeLog   5 Nov 2014 13:42:24 -0000       1.22
+++ ChangeLog   4 Jan 2015 12:35:46 -0000       1.23
@@ -1,6 +1,15 @@
 # ChangeLog for media-gfx/uniconvertor
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/uniconvertor/ChangeLog,v 1.22 
2014/11/05 13:42:24 jlec Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/uniconvertor/ChangeLog,v 1.23 
2015/01/04 12:35:46 jlec Exp $
+
+*uniconvertor-2.0_pre379-r1 (04 Jan 2015)
+
+  04 Jan 2015; Justin Lecher <[email protected]> -uniconvertor-2.0_pre379.ebuild,
+  +uniconvertor-2.0_pre379-r1.ebuild,
+  +files/uniconvertor-2.0_pre379-import.patch,
+  +files/uniconvertor-2.0_pre379-libimg.patch,
+  +files/uniconvertor-2.0_pre379-test.patch:
+  Fix broken PIL import, #534074; enable testsuite
 
   05 Nov 2014; Justin Lecher <[email protected]> uniconvertor-2.0_pre379.ebuild:
   Add additional HOMEPAGE for version 2, thanks Arfrever pointing this out



1.1                  media-gfx/uniconvertor/uniconvertor-2.0_pre379-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/uniconvertor/uniconvertor-2.0_pre379-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/uniconvertor/uniconvertor-2.0_pre379-r1.ebuild?rev=1.1&content-type=text/plain

Index: uniconvertor-2.0_pre379-r1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/media-gfx/uniconvertor/uniconvertor-2.0_pre379-r1.ebuild,v
 1.1 2015/01/04 12:35:46 jlec Exp $

EAPI=5

PYTHON_COMPAT=( python2_7 )

inherit distutils-r1

DESCRIPTION="Commandline tool for popular vector formats convertion"
HOMEPAGE="http://sk1project.org/modules.php?name=Products&product=uniconvertor 
https://code.google.com/p/uniconvertor/";
SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz";

KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~x86-solaris"
SLOT="0"
LICENSE="GPL-2 LGPL-2"
IUSE=""

DEPEND="
        dev-python/pycairo[${PYTHON_USEDEP}]
        media-gfx/imagemagick
        media-libs/lcms:2
        virtual/python-imaging[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}
        virtual/pkgconfig
        app-text/ghostscript-gpl"

PATCHES=(
        "${FILESDIR}"/${P}-import.patch
        "${FILESDIR}"/${P}-libimg.patch
        "${FILESDIR}"/${P}-test.patch
        )

python_prepare_all() {
        local wand
        wand=$(pkg-config --libs Wand | sed -e "s:-l:\':g" -e "s: :',:g" -e 
"s:$:':g" -e "s:,'$::g")

        distutils-r1_python_prepare_all

        sed \
                -e "/libraries/s:'MagickWand':${wand}:g" \
                -i setup.py || die

        ln -sf \
                "${EPREFIX}"/usr/share/imagemagick/sRGB.icm \
                src/unittests/cms_tests/cms_data/sRGB.icm || die
}

python_test() {
        einfo ${PYTHONPATH}
        #distutils_install_for_testing
        cd src/unittests || die
        ${EPYTHON} all_tests.py || die
}




Reply via email to