public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/imaging: ChangeLog imaging-1.1.6-r1.ebuild imaging-1.1.6.ebuild imaging-1.1.5.ebuild
@ 2009-03-20 18:52 Sebastien Fabbro (bicatali)
  0 siblings, 0 replies; only message in thread
From: Sebastien Fabbro (bicatali) @ 2009-03-20 18:52 UTC (permalink / raw
  To: gentoo-commits

bicatali    09/03/20 18:52:16

  Modified:             ChangeLog imaging-1.1.6.ebuild
  Added:                imaging-1.1.6-r1.ebuild
  Removed:              imaging-1.1.5.ebuild
  Log:
  Added patches for GIF transparency, replace image viewer from xv to desktop default one with xdg-open, support for TIFF 16 bit endian images (bug #180549, thanks Tamas Haraszti). Also added unit test. Cleaned old packages
  (Portage version: 2.2_rc25/cvs/Linux x86_64)

Revision  Changes    Path
1.39                 dev-python/imaging/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/imaging/ChangeLog?rev=1.39&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/imaging/ChangeLog?rev=1.39&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/imaging/ChangeLog?r1=1.38&r2=1.39

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/imaging/ChangeLog,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- ChangeLog	7 Mar 2009 21:38:45 -0000	1.38
+++ ChangeLog	20 Mar 2009 18:52:16 -0000	1.39
@@ -1,6 +1,19 @@
 # ChangeLog for dev-python/imaging
 # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/imaging/ChangeLog,v 1.38 2009/03/07 21:38:45 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/imaging/ChangeLog,v 1.39 2009/03/20 18:52:16 bicatali Exp $
+
+*imaging-1.1.6-r1 (20 Mar 2009)
+
+  20 Mar 2009; Sébastien Fabbro <bicatali@gentoo.org>
+  -files/imaging-1.1.4-fPIC.patch, -files/imaging-1.1.4-ft-2.1.9.patch,
+  -files/imaging-1.1.4-setup.py.patch, +files/imaging-1.1.6-giftrans.patch,
+  +files/imaging-1.1.6-no-xv.patch, +files/imaging-1.1.6-sane.patch,
+  +files/imaging-1.1.6-tiffendian.patch, -imaging-1.1.5.ebuild,
+  imaging-1.1.6.ebuild, +imaging-1.1.6-r1.ebuild:
+  Added patches for GIF transparency, replace image viewer from xv to
+  desktop default one with xdg-open, support for TIFF 16 bit endian images
+  (bug #180549, thanks Tamas Haraszti). Also added unit test. Cleaned old
+  packages
 
   07 Mar 2009; Joseph Jezak <josejx@gentoo.org> imaging-1.1.6.ebuild:
   Marked ppc stable for bug #182425.



1.8                  dev-python/imaging/imaging-1.1.6.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/imaging/imaging-1.1.6.ebuild?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/imaging/imaging-1.1.6.ebuild?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/imaging/imaging-1.1.6.ebuild?r1=1.7&r2=1.8

Index: imaging-1.1.6.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/imaging/imaging-1.1.6.ebuild,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- imaging-1.1.6.ebuild	7 Mar 2009 21:38:45 -0000	1.7
+++ imaging-1.1.6.ebuild	20 Mar 2009 18:52:16 -0000	1.8
@@ -1,8 +1,9 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/imaging/imaging-1.1.6.ebuild,v 1.7 2009/03/07 21:38:45 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/imaging/imaging-1.1.6.ebuild,v 1.8 2009/03/20 18:52:16 bicatali Exp $
 
-inherit distutils multilib
+EAPI=2
+inherit eutils distutils
 
 MY_P=Imaging-${PV}
 
@@ -17,26 +18,15 @@
 
 DEPEND=">=media-libs/jpeg-6a
 	>=media-libs/freetype-2.1.5
-	tk? ( dev-lang/tk )
+	tk? ( dev-lang/python[tk?] )
 	scanner? ( media-gfx/sane-backends )
 	X? ( media-gfx/xv )"
 RDEPEND="${DEPEND}"
 
 PYTHON_MODNAME=PIL
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
-	if use tk && ! built_with_use dev-lang/python tk; then
-		eerror "Python has to be compiled with tkinter support."
-		eerror "Please re-emerge python with the 'tk' USE-flag set."
-		die "Missing USE-flag for dev-lang/python"
-	fi
-}
-
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
+S="${WORKDIR}/${MY_P}"
 
+src_prepare() {
 	sed -i \
 		-e "s:/lib\":/$(get_libdir)\":" \
 		-e "s:\"lib\":\"$(get_libdir)\":" \



1.1                  dev-python/imaging/imaging-1.1.6-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/imaging/imaging-1.1.6-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/imaging/imaging-1.1.6-r1.ebuild?rev=1.1&content-type=text/plain

Index: imaging-1.1.6-r1.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/imaging/imaging-1.1.6-r1.ebuild,v 1.1 2009/03/20 18:52:16 bicatali Exp $

EAPI=2
inherit eutils distutils

MY_P=Imaging-${PV}

DESCRIPTION="Python Imaging Library (PIL)"
HOMEPAGE="http://www.pythonware.com/products/pil/index.htm"
SRC_URI="http://www.effbot.org/downloads/${MY_P}.tar.gz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="doc examples scanner tk X"

DEPEND="media-libs/jpeg
	media-libs/freetype:2
	tk? ( dev-lang/python[tk?] )
	scanner? ( media-gfx/sane-backends )
	X? ( x11-misc/xdg-utils )"
RDEPEND="${DEPEND}"

PYTHON_MODNAME=PIL
S="${WORKDIR}/${MY_P}"

src_prepare() {
	epatch "${FILESDIR}"/${P}-no-xv.patch
	epatch "${FILESDIR}"/${P}-sane.patch
	epatch "${FILESDIR}"/${P}-giftrans.patch
	epatch "${FILESDIR}"/${P}-tiffendian.patch
	sed -i \
		-e "s:/usr/lib\":/usr/$(get_libdir)\":" \
		-e "s:\"lib\":\"$(get_libdir)\":g" \
		setup.py || die "sed failed"
	if ! use tk ; then
		# Make the test always fail
		sed -i \
			-e 's/import _tkinter/raise ImportError/' \
			setup.py || die "sed failed"
	fi
}

src_compile() {
	distutils_src_compile
	if use scanner ; then
		cd "${S}/Sane"
		distutils_src_compile
	fi
}

src_test() {
	"${python}" selftest.py || die
}

src_install() {
	local DOCS="CHANGES CONTENTS"
	distutils_src_install

	use doc && dohtml Docs/*

	if use scanner ; then
		cd "${S}/Sane"
		docinto sane
		local DOCS="CHANGES sanedoc.txt"
		distutils_src_install
		cd "${S}"
	fi

	# install headers required by media-gfx/sketch
	distutils_python_version
	insinto /usr/include/python${PYVER}
	doins libImaging/Imaging.h
	doins libImaging/ImPlatform.h

	if use examples ; then
		insinto /usr/share/doc/${PF}/examples
		doins Scripts/*
		if use scanner ; then
			insinto /usr/share/doc/${PF}/examples/sane
			doins Sane/demo_*.py
		fi
	fi
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-20 18:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-20 18:52 [gentoo-commits] gentoo-x86 commit in dev-python/imaging: ChangeLog imaging-1.1.6-r1.ebuild imaging-1.1.6.ebuild imaging-1.1.5.ebuild Sebastien Fabbro (bicatali)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox