summaryrefslogtreecommitdiff
path: root/lang/python/python-pycparser
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/python-pycparser')
-rw-r--r--lang/python/python-pycparser/Makefile14
1 files changed, 9 insertions, 5 deletions
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