python_imaging: retire recipe. (#8773)

Packages needing PIL should switch to Pillow, instead of relying on
this old, Python 2.x only, package.
This commit is contained in:
OscarL
2023-06-02 16:02:13 -03:00
committed by GitHub
parent f80d8499f6
commit d6533d8353
2 changed files with 0 additions and 86 deletions

View File

@@ -1,35 +0,0 @@
From c51fc3e85f60cf905b8620c751fd97fcc4e185c4 Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
Date: Sun, 29 Nov 2015 10:17:56 +0100
Subject: Fix libraries search paths.
diff --git a/setup.py b/setup.py
index 5d4d53a..844e386 100644
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ except OSError:
def libinclude(root):
# map root to (root/lib, root/include)
- return os.path.join(root, "lib"), os.path.join(root, "include")
+ return os.path.join(root, "develop/lib"), os.path.join(root, "develop/headers")
# --------------------------------------------------------------------
# Library pointers.
@@ -34,9 +34,9 @@ def libinclude(root):
# TIFF_ROOT = libinclude("/opt/tiff")
TCL_ROOT = None
-JPEG_ROOT = None
-ZLIB_ROOT = None
-TIFF_ROOT = None
+JPEG_ROOT = libinclude("/system")
+ZLIB_ROOT = libinclude("/system")
+TIFF_ROOT = libinclude("/system")
FREETYPE_ROOT = None
LCMS_ROOT = None
--
2.2.2

View File

@@ -1,51 +0,0 @@
SUMMARY="Python Imaging Library"
DESCRIPTION="The Python Imaging Library (PIL) adds image processing \
capabilities to your Python interpreter. This library supports many file \
formats, and provides powerful image processing and graphics capabilities."
HOMEPAGE="http://www.pythonware.com/products/pil/"
COPYRIGHT="1997-2011 by Secret Labs AB
1995-2011 by Fredrik Lundh"
LICENSE="MIT"
REVISION="4"
SOURCE_URI="http://effbot.org/downloads/Imaging-$portVersion.tar.gz"
CHECKSUM_SHA256="895bc7c2498c8e1f9b99938f1a40dc86b3f149741f105cf7c7bd2e0725405211"
SOURCE_DIR="Imaging-$portVersion"
PATCHES="python_imaging-$portVersion.patchset"
ARCHITECTURES="all"
PROVIDES="
python_imaging = $portVersion
cmd:pilconvert.py
cmd:pildriver.py
cmd:pilfile.py
cmd:pilfont.py
cmd:pilprint.py
"
REQUIRES="
haiku
cmd:python2.7
lib:libjpeg
lib:libpython2.7
lib:libz
"
BUILD_REQUIRES="
devel:libjpeg
devel:libz
"
BUILD_PREREQUIRES="
haiku_devel
cmd:gcc
cmd:python2.7
"
BUILD()
{
python2.7 setup.py build_ext -i
}
INSTALL()
{
python2.7 setup.py install --prefix=$prefix
}