summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Østergaard <kloeri@gentoo.org>2004-07-20 18:13:21 +0000
committerBryan Østergaard <kloeri@gentoo.org>2004-07-20 18:13:21 +0000
commit17eb5b5b8726f3854dea8e8a478ec43cb7ae2b56 (patch)
treec83333349a850d7f3109b54bb81fc0b6640772ae /dev-python
parentVersion bump. (Manifest recommit) (diff)
downloadgentoo-2-17eb5b5b8726f3854dea8e8a478ec43cb7ae2b56.tar.gz
gentoo-2-17eb5b5b8726f3854dea8e8a478ec43cb7ae2b56.tar.bz2
gentoo-2-17eb5b5b8726f3854dea8e8a478ec43cb7ae2b56.zip
Rename dev-python/Imaging-py21 to dev-python/imaging-py21.
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/imaging-py21/ChangeLog43
-rw-r--r--dev-python/imaging-py21/Manifest7
-rw-r--r--dev-python/imaging-py21/files/digest-imaging-py21-1.1.3-r12
-rw-r--r--dev-python/imaging-py21/files/digest-imaging-py21-1.1.41
-rw-r--r--dev-python/imaging-py21/files/imaging-1.1.4-setup.py.patch11
-rw-r--r--dev-python/imaging-py21/imaging-py21-1.1.3-r1.ebuild55
-rw-r--r--dev-python/imaging-py21/imaging-py21-1.1.4.ebuild59
-rw-r--r--dev-python/imaging-py21/metadata.xml5
8 files changed, 183 insertions, 0 deletions
diff --git a/dev-python/imaging-py21/ChangeLog b/dev-python/imaging-py21/ChangeLog
new file mode 100644
index 000000000000..fb6a29790272
--- /dev/null
+++ b/dev-python/imaging-py21/ChangeLog
@@ -0,0 +1,43 @@
+# ChangeLog for dev-python/Imaging-py21
+# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/imaging-py21/ChangeLog,v 1.1 2004/07/20 18:13:21 kloeri Exp $
+
+*imaging-py21-1.1.4 (20 Jul 2004)
+
+ 20 Jul 2004; Bryan Østergaard <kloeri@gentoo.org> +metadata.xml,
+ +imaging-py21-1.1.3-r1.ebuild, +imaging-py21-1.1.4.ebuild:
+ Rename dev-python/Imaging-py21 to dev-python/imaging-py21.
+
+ 25 Apr 2004; Aron Griffis <agriffis@gentoo.org>
+ Imaging-py21-1.1.3-r1.ebuild, Imaging-py21-1.1.4.ebuild:
+ Add die following econf for bug 48950
+
+ 15 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ Imaging-py21-1.1.3-r1.ebuild:
+ ppc needs stable dev-lang/python-2.1 first
+
+ 28 Mar 2004; Bryan Østergaard <kloeri@gentoo.org>
+ Imaging-py21-1.1.3-r1.ebuild:
+ Update SRC_URI.
+
+ 30 Oct 2003; Alastair Tse <liquidx@gentoo.org> Imaging-py21-1.1.4.ebuild,
+ files/Imaging-1.1.4-setup.py.patch:
+ copied setup.py fix from Imaging to here
+
+*Imaging-py21-1.1.4 (22 Jun 2003)
+
+ 22 Jun 2003; Jason Shoemaker <kutsuya@gentoo.org>
+ Imaging-py21-1.1.4.ebuild: Version bump.
+
+ 22 Jun 2003; Jason Shoemaker <kutsuya@gentoo.org>
+ Imaging-py21-1.1.3-r1.ebuild: ~ppc -> pcc
+
+*Imaging-py21-1.1.3-r1 (08 Mar 2003)
+
+ 05 Apr 2003; Jason Shoemaker <kutsuya@gentoo.org>
+ Imaging-py21-1.1.3-r1.ebuild: ~x86 -> x86 and added ~ppc
+
+ 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/Manifest b/dev-python/imaging-py21/Manifest
new file mode 100644
index 000000000000..69e54c6dfd93
--- /dev/null
+++ b/dev-python/imaging-py21/Manifest
@@ -0,0 +1,7 @@
+MD5 65e788a1db7ad72732db64bdbb7dba58 Imaging-py21-1.1.3-r1.ebuild 1259
+MD5 fc14513930468c99cea4b7e4b8c210a1 Imaging-py21-1.1.4.ebuild 1471
+MD5 9312152e1d561a46c571cd8b17735b20 ChangeLog 1314
+MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
+MD5 5a89c174f2e669850c86a301fad23095 files/digest-Imaging-py21-1.1.3-r1 137
+MD5 171777970922938dc6a815dd2b6a85de files/digest-Imaging-py21-1.1.4 65
+MD5 d0b3528fb0e74be99cf9ac5e9372e317 files/Imaging-1.1.4-setup.py.patch 374
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..fc0ba4f1c944
--- /dev/null
+++ b/dev-python/imaging-py21/files/digest-imaging-py21-1.1.3-r1
@@ -0,0 +1,2 @@
+MD5 7b42e0982e45441780fbebd0f1550fb5 /Imaging-py21-1.1.3-r1.ebuild 1255
+MD5 563471981376e06b3278ad713a07e2a8 Imaging-1.1.3.tar.gz 346194
diff --git a/dev-python/imaging-py21/files/digest-imaging-py21-1.1.4 b/dev-python/imaging-py21/files/digest-imaging-py21-1.1.4
new file mode 100644
index 000000000000..9ed5eedc0531
--- /dev/null
+++ b/dev-python/imaging-py21/files/digest-imaging-py21-1.1.4
@@ -0,0 +1 @@
+MD5 d2c03c25a9a0128832137dd536da88da Imaging-1.1.4.tar.gz 416338
diff --git a/dev-python/imaging-py21/files/imaging-1.1.4-setup.py.patch b/dev-python/imaging-py21/files/imaging-1.1.4-setup.py.patch
new file mode 100644
index 000000000000..d115d2b68ecc
--- /dev/null
+++ b/dev-python/imaging-py21/files/imaging-1.1.4-setup.py.patch
@@ -0,0 +1,11 @@
+--- setup.py.old 2003-07-15 22:44:54.000000000 +0100
++++ setup.py 2003-07-15 22:46:29.000000000 +0100
+@@ -229,6 +229,8 @@
+ INCLUDE_DIRS = ["libImaging"]
+ LIBRARY_DIRS = []
+ LIBRARIES = []
++ EXTRA_COMPILE_ARGS = None
++ EXTRA_LINK_ARGS = None
+ have_freetype = 1 # Assume we have it, unless proven otherwise
+
+ # use source distribution, if available
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..ec0885f49275
--- /dev/null
+++ b/dev-python/imaging-py21/imaging-py21-1.1.3-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2004 Gentoo Foundation
+# 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 2004/07/20 18:13:21 kloeri Exp $
+
+PYTHON_SLOT_VERSION="2.1"
+
+MY_PN=${PN/imaging/Imaging}
+
+inherit distutils
+P_NEW="${MY_PN%-py21}-${PV}"
+S="${WORKDIR}/${P_NEW}"
+
+IUSE="tcltk"
+
+DESCRIPTION="Python Imaging Library (PIL)."
+SRC_URI="http://www.pythonware.net/storage/${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 ~ppc"
+LICENSE="as-is"
+
+src_compile() {
+ export OPT=${CFLAGS}
+
+ #Build the core imaging library (libImaging.a)
+ cd ${S}/libImaging
+ econf || die "econf failed"
+ 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/imaging-py21-1.1.4.ebuild b/dev-python/imaging-py21/imaging-py21-1.1.4.ebuild
new file mode 100644
index 000000000000..ee6976d1432b
--- /dev/null
+++ b/dev-python/imaging-py21/imaging-py21-1.1.4.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/imaging-py21/imaging-py21-1.1.4.ebuild,v 1.1 2004/07/20 18:13:21 kloeri Exp $
+
+PYTHON_SLOT_VERSION="2.1"
+
+MY_PN=${PN/imaging/Imaging}
+
+inherit distutils eutils
+P_NEW="${MY_PN%-py21}-${PV}"
+S="${WORKDIR}/${P_NEW}"
+
+DESCRIPTION="Python Imaging Library (PIL)."
+HOMEPAGE="http://www.pythonware.com/products/pil/index.htm"
+SRC_URI="http://www.effbot.org/downloads/${P_NEW}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~alpha ~ppc"
+IUSE="tcltk"
+
+DEPEND=">=media-libs/jpeg-6a
+ >=sys-libs/zlib-0.95
+ tcltk? ( dev-lang/tk )"
+
+src_unpack() {
+ unpack ${A}
+ EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/imaging-1.1.4-setup.py.patch
+}
+
+src_compile() {
+ export OPT=${CFLAGS}
+
+ #Build the core imaging library (libImaging.a)
+ cd ${S}/libImaging
+ econf || die "econf failed"
+ 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
+ #cd ${S}
+ #CFLAGS="$(CFLAGS) -DUSE_COMPOSITELESS_PHOTO_PUT_BLOCK" 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/metadata.xml b/dev-python/imaging-py21/metadata.xml
new file mode 100644
index 000000000000..de483c53568f
--- /dev/null
+++ b/dev-python/imaging-py21/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>python</herd>
+</pkgmetadata>