diff options
author | Nicholas Henke <roughneck@gentoo.org> | 2002-11-03 15:32:51 +0000 |
---|---|---|
committer | Nicholas Henke <roughneck@gentoo.org> | 2002-11-03 15:32:51 +0000 |
commit | 2066361a3217c5d66b179071c5554337acca7864 (patch) | |
tree | b5b3e95f3d494c9cd102304ced0b99266a962fb9 /dev-python/Imaging | |
parent | Moved pkg-config to stable (diff) | |
download | historical-2066361a3217c5d66b179071c5554337acca7864.tar.gz historical-2066361a3217c5d66b179071c5554337acca7864.tar.bz2 historical-2066361a3217c5d66b179071c5554337acca7864.zip |
bumped version to 1.1.3
Diffstat (limited to 'dev-python/Imaging')
-rw-r--r-- | dev-python/Imaging/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/Imaging/Imaging-1.1.3.ebuild | 111 | ||||
-rw-r--r-- | dev-python/Imaging/files/digest-Imaging-1.1.3 | 1 |
3 files changed, 118 insertions, 1 deletions
diff --git a/dev-python/Imaging/ChangeLog b/dev-python/Imaging/ChangeLog index 37f32eb2d2d5..f4ab1930af8e 100644 --- a/dev-python/Imaging/ChangeLog +++ b/dev-python/Imaging/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/Imaging # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/dev-python/Imaging/ChangeLog,v 1.3 2002/10/19 22:34:00 cselkirk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/Imaging/ChangeLog,v 1.4 2002/11/03 15:32:51 roughneck Exp $ + +*Imaging-1.1.3 (3 Nov 2002) + + 3 Nov 2002; Nicholas Henke <roughneck@gentoo.org> Imaging-1.1.3.ebuild : + Bumped version to 1.1.3. *Imaging-1.1.2-r2 (1 Feb 2002) diff --git a/dev-python/Imaging/Imaging-1.1.3.ebuild b/dev-python/Imaging/Imaging-1.1.3.ebuild new file mode 100644 index 000000000000..8a792a277c5e --- /dev/null +++ b/dev-python/Imaging/Imaging-1.1.3.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/Imaging/Imaging-1.1.3.ebuild,v 1.1 2002/11/03 15:32:51 roughneck Exp $ + +IUSE="tcltk" + +S=${WORKDIR}/${P} + +DESCRIPTION="Python Imaging Library (PIL)." + +SRC_URI="http://www.pythonware.com/downloads/${P}.tar.gz" + +HOMEPAGE="http://www.pythonware.com/downloads/#pil" + +DEPEND=">=dev-lang/python-2.0 + >=media-libs/jpeg-6a + >=sys-libs/zlib-0.95 + tcltk? ( dev-lang/tk )" + +RDEPEND="" + +SLOT="0" +KEYWORDS="x86 sparc sparc64 alpha ppc" +LICENSE="as-is" + + +src_compile() { + + #This is a goofy build. + + #Build the core imaging library (libImaging.a) + cd ${S}/libImaging + + ./configure --prefix=/usr \ + --host=${CHOST} || die + cp Makefile Makefile.orig + + #Not configured by configure + sed \ + -e "s:\(JPEGINCLUDE=[[:blank:]]*/usr/\)local/\(include\).*:\1\2:" \ + -e "s:\(OPT=[[:blank:]]*\).*:\1${CFLAGS}:" \ + Makefile.orig > Makefile + + emake || die + + #Build loadable python modules + cd ${S} + + local scmd="" + + #First change all the "/usr/local" to "/usr" + scmd="$scmd s:/usr/local:/usr:g;" + + # adjust for USE tcltk + if use tcltk; then + # Find the version of tcl/tk that has headers installed. + # This will be the most recently merged, not necessarily the highest + # version number. + tclv=$(grep TCL_VER /usr/include/tcl.h | sed 's/^.*"\(.*\)".*/\1/') + tkv=$( grep TK_VER /usr/include/tk.h | sed 's/^.*"\(.*\)".*/\1/') + # adjust Setup to match + scmd="$scmd s/-ltcl[0-9.]* -ltk[0-9.]*/-ltcl$tclv -ltk$tkv/;" + else + scmd="$scmd s:\(^_imagingtk\):#\1:;" + fi + + sed "$scmd" Setup.in > Setup + + #No configure (#$%@!%%) + scmd="" + cp Makefile.pre.in Makefile.pre.in.orig + #change all the "/usr/local" to "/usr" (haven't we been here before) + scmd="$scmd s:/usr/local:/usr:g;" + #fix man paths + scmd="$scmd "'s:^\(MANDIR=.*/\)\(man\):\1share/\2:;' + #Insert make.conf CFLAGS settings + scmd="$scmd "'s:$(OPT)'":${CFLAGS}:;" + + sed "$scmd" Makefile.pre.in.orig > Makefile.pre.in + + #Now generate a top level Makefile + make -f Makefile.pre.in boot || die + + emake || die + +} + +src_install () { + + #grab python verision so ebuild doesn't depend on it + local pv + pv=$(python -V 2>&1 | sed -e 's:Python \([0-9].[0-9]\).*:\1:') + + + insinto /usr/lib/python$pv/site-packages + doins PIL.pth + + insinto /usr/lib/python$pv/site-packages/PIL + doins _imaging.so PIL/* + use tcltk && doins _imagingtk.so + + # install headers required by media-gfx/sketch + insinto /usr/include/python$pv + doins libImaging/Imaging.h + doins libImaging/ImPlatform.h + doins libImaging/ImConfig.h + + dodoc CHANGES CONTENTS FORMATS README + +} + diff --git a/dev-python/Imaging/files/digest-Imaging-1.1.3 b/dev-python/Imaging/files/digest-Imaging-1.1.3 new file mode 100644 index 000000000000..9f6f98af43e5 --- /dev/null +++ b/dev-python/Imaging/files/digest-Imaging-1.1.3 @@ -0,0 +1 @@ +MD5 563471981376e06b3278ad713a07e2a8 Imaging-1.1.3.tar.gz 346194 |