From f562ccf2ca56ad8b96b0eddb64515e4b2fbde392 Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Wed, 20 Feb 2019 15:19:26 +0800 Subject: multiple-python-packages: Update package data This updates the Python 2 and 3 versions of each package to share the same title field. (For packages that only had this change, their PKG_RELEASE were not incremented.) This also updates the package title, url and source urls, where necessary. Signed-off-by: Jeffery To --- lang/python/python-pycparser/Makefile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'lang/python/python-pycparser/Makefile') diff --git a/lang/python/python-pycparser/Makefile b/lang/python/python-pycparser/Makefile index 61fb1a963..77932a04c 100644 --- a/lang/python/python-pycparser/Makefile +++ b/lang/python/python-pycparser/Makefile @@ -9,11 +9,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-pycparser PKG_VERSION:=2.19 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=pycparser-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/p/pycparser PKG_HASH:=a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3 + PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-pycparser-$(PKG_VERSION) PKG_LICENSE:=BSD-3-Clause @@ -33,20 +34,23 @@ define Package/python-pycparser/Default SECTION:=lang CATEGORY:=Languages SUBMENU:=Python + TITLE:=C parser in Python URL:=https://github.com/eliben/pycparser endef define Package/python-pycparser $(call Package/python-pycparser/Default) - TITLE:=python-pycparser - DEPENDS:=+PACKAGE_python-pycparser:python-light +PACKAGE_python-pycparser:python-ply + DEPENDS:= \ + +PACKAGE_python-pycparser:python-light \ + +PACKAGE_python-pycparser:python-ply VARIANT:=python endef define Package/python3-pycparser $(call Package/python-pycparser/Default) - TITLE:=python3-pycparser - DEPENDS:=+PACKAGE_python3-pycparser:python3-light +PACKAGE_python3-pycparser:python3-ply + DEPENDS:= \ + +PACKAGE_python3-pycparser:python3-light \ + +PACKAGE_python3-pycparser:python3-ply VARIANT:=python3 endef -- cgit