0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-07 09:19:51 +00:00
Alexandru Ardelean 3be6f6bec9 pillow: bump to version 10.1.0
Add test.sh also.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-10-20 13:02:49 +02:00

57 lines
1.4 KiB
Makefile

#
# Copyright © 1997-2011 by Secret Labs AB
# Copyright © 1995-2011 by Fredrik Lundh
# Copyright © 2016 by Alex Clark and contributors
#
include $(TOPDIR)/rules.mk
PKG_NAME:=pillow
PKG_VERSION:=10.1.0
PKG_RELEASE:=1
PYPI_NAME:=Pillow
PKG_HASH:=e6bf8de6c36ed96c86ea3b6e1d5273c53f46ef518a062464cd7ef5dd2cf92e38
PKG_BUILD_DEPENDS:=python-setuptools-scm/host
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_LICENSE:=HPND
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:python:pillow
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
define Package/python3-pillow
SUBMENU:=Python
SECTION:=lang
CATEGORY:=Languages
TITLE:=The friendly PIL fork
URL:=https://python-pillow.org/
DEPENDS:=+libfreetype +libjpeg +libtiff +zlib \
+libwebp +python3
endef
define Package/python3-pillow/description
The friendly PIL fork
endef
PYTHON3_PKG_BUILD_CONFIG_SETTINGS += \
--build-option=build_ext \
--build-option=--enable-zlib \
--build-option=--enable-jpeg \
--build-option=--enable-webp \
--build-option=--enable-webpmux \
--build-option=--enable-tiff \
--build-option=--enable-freetype \
--build-option=--disable-lcms \
--build-option=--disable-jpeg2000 \
--build-option=--disable-imagequant \
--build-option=--disable-platform-guessing
$(eval $(call Py3Package,python3-pillow))
$(eval $(call BuildPackage,python3-pillow))
$(eval $(call BuildPackage,python3-pillow-src))