mirror of
https://github.com/openwrt/packages.git
synced 2025-12-19 09:01:22 +00:00
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 <jeffery.to@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user