diff options
author | Jason Shoemaker <kutsuya@gentoo.org> | 2003-03-08 10:57:57 +0000 |
---|---|---|
committer | Jason Shoemaker <kutsuya@gentoo.org> | 2003-03-08 10:57:57 +0000 |
commit | f965e8734d202e4d1c4bf64a92ad5f4266782f9d (patch) | |
tree | 5b83ea2b30044d2f47ab0b95daf90c795fc9d809 /dev-python/Imaging-py21 | |
parent | added !net-print/gimp-print-cups dep (diff) | |
download | gentoo-2-f965e8734d202e4d1c4bf64a92ad5f4266782f9d.tar.gz gentoo-2-f965e8734d202e4d1c4bf64a92ad5f4266782f9d.tar.bz2 gentoo-2-f965e8734d202e4d1c4bf64a92ad5f4266782f9d.zip |
Inital import.
Diffstat (limited to 'dev-python/Imaging-py21')
-rw-r--r-- | dev-python/Imaging-py21/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/Imaging-py21/Imaging-py21-1.1.3-r1.ebuild | 54 | ||||
-rw-r--r-- | dev-python/Imaging-py21/files/digest-Imaging-py21-1.1.3-r1 | 1 |
3 files changed, 65 insertions, 0 deletions
diff --git a/dev-python/Imaging-py21/ChangeLog b/dev-python/Imaging-py21/ChangeLog new file mode 100644 index 000000000000..cfe0108fcd50 --- /dev/null +++ b/dev-python/Imaging-py21/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/Imaging-py21 +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/Imaging-py21/ChangeLog,v 1.1 2003/03/08 10:57:57 kutsuya Exp $ + +*Imaging-py21-1.1.3-r1 (08 Mar 2003) + + 08 Mar 2003; Jason Shoemaker <kutsuya@gentoo.org> + Imaging-py21-1.1.3-r1.ebuild: Inital import. Basically a fork of the + non-py21 ebuild, but installs in python2.1. + diff --git a/dev-python/Imaging-py21/Imaging-py21-1.1.3-r1.ebuild b/dev-python/Imaging-py21/Imaging-py21-1.1.3-r1.ebuild new file mode 100644 index 000000000000..8323bd29d935 --- /dev/null +++ b/dev-python/Imaging-py21/Imaging-py21-1.1.3-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/Imaging-py21/Imaging-py21-1.1.3-r1.ebuild,v 1.1 2003/03/08 10:57:57 kutsuya Exp $ + +PYTHON_SLOT_VERSION="2.1" +inherit distutils + +P_NEW="${PN%-py21}-${PV}" +S="${WORKDIR}/${P_NEW}" + +IUSE="tcltk" + +DESCRIPTION="Python Imaging Library (PIL)." +SRC_URI="http://www.pythonware.com/downloads/${P_NEW}.tar.gz" +HOMEPAGE="http://www.pythonware.com/downloads/#pil" + +DEPEND=">=media-libs/jpeg-6a + >=sys-libs/zlib-0.95 + tcltk? ( dev-lang/tk )" + +SLOT="0" +KEYWORDS="~x86" +LICENSE="as-is" + + src_compile() { + export OPT=${CFLAGS} + + #Build the core imaging library (libImaging.a) + cd ${S}/libImaging + econf + cp Makefile Makefile.orig + + #Not configured by configure + sed \ + -e "s:\(JPEGINCLUDE=[[:blank:]]*/usr/\)local/\(include\).*:\1\2:" \ + Makefile.orig > Makefile + emake || die + cd ${S} + distutils_src_compile +} + +src_install () +{ + local mydoc="CHANGES* CONTENTS" + distutils_src_install + distutils_python_version + + # install headers required by media-gfx/sketch + insinto "${ROOT}/usr/include/python${PYVER}" + doins libImaging/Imaging.h + doins libImaging/ImPlatform.h + doins libImaging/ImConfig.h +} + diff --git a/dev-python/Imaging-py21/files/digest-Imaging-py21-1.1.3-r1 b/dev-python/Imaging-py21/files/digest-Imaging-py21-1.1.3-r1 new file mode 100644 index 000000000000..9f6f98af43e5 --- /dev/null +++ b/dev-python/Imaging-py21/files/digest-Imaging-py21-1.1.3-r1 @@ -0,0 +1 @@ +MD5 563471981376e06b3278ad713a07e2a8 Imaging-1.1.3.tar.gz 346194 |