mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 11:44:48 +00:00
python-packages: Clean up Makefiles
This removes: * Python 3 variants (VARIANT:=python3) * "for Python3" from package titles * Package selection condition from package dependencies, e.g. +PACKAGE_python3-six:python3-light replaced with +python3-light * "Default" package information sections, e.g. Package/python-six/Default removed and package details merged into Package/python3-six * "(Variant for Python3)" from package descriptions Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=pillow
|
||||
PKG_VERSION:=7.1.1
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PYPI_NAME:=Pillow
|
||||
PKG_HASH:=0f89ddc77cf421b8cd34ae852309501458942bf370831b4a9b406156b599a14e
|
||||
@@ -22,25 +22,17 @@ include ../pypi.mk
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include ../python3-package.mk
|
||||
|
||||
define Package/python-pillow/Default
|
||||
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
|
||||
endef
|
||||
|
||||
define Package/python3-pillow
|
||||
$(call Package/python-pillow/Default)
|
||||
DEPENDS+=+python3
|
||||
VARIANT:=python3
|
||||
DEPENDS:=+libfreetype +libjpeg +libtiff +zlib +python3
|
||||
endef
|
||||
|
||||
define Package/python3-pillow/description
|
||||
The friendly PIL fork
|
||||
.
|
||||
(Variant for Python3)
|
||||
endef
|
||||
|
||||
PYTHON3_PKG_SETUP_GLOBAL_ARGS += build_ext \
|
||||
|
||||
Reference in New Issue
Block a user