pillow: bump to version 9.4.0
[feed/packages.git] / lang / python / pillow / Makefile
1 #
2 # Copyright © 1997-2011 by Secret Labs AB
3 # Copyright © 1995-2011 by Fredrik Lundh
4 # Copyright © 2016 by Alex Clark and contributors
5 #
6
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=pillow
10 PKG_VERSION:=9.4.0
11 PKG_RELEASE:=1
12
13 PYPI_NAME:=Pillow
14 PKG_HASH:=a1c2d7780448eb93fbcc3789bf3916aa5720d942e37945f4056680317f1cd23e
15
16 PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
17 PKG_LICENSE:=HPND
18 PKG_LICENSE_FILES:=LICENSE
19 PKG_CPE_ID:=cpe:/a:python:pillow
20
21 include ../pypi.mk
22 include $(INCLUDE_DIR)/package.mk
23 include ../python3-package.mk
24
25 define Package/python3-pillow
26 SUBMENU:=Python
27 SECTION:=lang
28 CATEGORY:=Languages
29 TITLE:=The friendly PIL fork
30 URL:=https://python-pillow.org/
31 DEPENDS:=+libfreetype +libjpeg +libtiff +zlib \
32 +libwebp +python3
33 endef
34
35 define Package/python3-pillow/description
36 The friendly PIL fork
37 endef
38
39 PYTHON3_PKG_SETUP_GLOBAL_ARGS += build_ext \
40 --enable-zlib \
41 --enable-jpeg \
42 --enable-webp \
43 --enable-webpmux \
44 --enable-tiff \
45 --enable-freetype \
46 --disable-lcms \
47 --disable-jpeg2000 \
48 --disable-imagequant \
49 --disable-platform-guessing
50
51 $(eval $(call Py3Package,python3-pillow))
52 $(eval $(call BuildPackage,python3-pillow))
53 $(eval $(call BuildPackage,python3-pillow-src))