summaryrefslogtreecommitdiff
path: root/lang/python/python-pycparser/Makefile
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2020-04-01 22:21:16 +0800
committerJeffery To <jeffery.to@gmail.com>2020-04-02 14:57:30 +0800
commit658b1b67587c4698f6a4c182e9afea7cb5fba2ee (patch)
tree94f402f8080841dc3a6c7f4a701d7aeb21a6f6b2 /lang/python/python-pycparser/Makefile
parentc37b15e1c49cf27de8f34f43e93a7a5c184be9e0 (diff)
python-libraries: Remove Python 2 variants
The Python 2 variants will be added to the abandoned packages feed. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python-pycparser/Makefile')
-rw-r--r--lang/python/python-pycparser/Makefile20
1 files changed, 1 insertions, 19 deletions
diff --git a/lang/python/python-pycparser/Makefile b/lang/python/python-pycparser/Makefile
index 19cf88c1d..1c1b9199e 100644
--- a/lang/python/python-pycparser/Makefile
+++ b/lang/python/python-pycparser/Makefile
@@ -18,12 +18,10 @@ PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
-HOST_PYTHON_PACKAGE_BUILD_DEPENDS:="ply==3.10"
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:="ply==3.10"
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
include ../python3-package.mk
define Package/python-pycparser/Default
@@ -34,14 +32,6 @@ define Package/python-pycparser/Default
URL:=https://github.com/eliben/pycparser
endef
-define Package/python-pycparser
-$(call Package/python-pycparser/Default)
- DEPENDS:= \
- +PACKAGE_python-pycparser:python-light \
- +PACKAGE_python-pycparser:python-ply
- VARIANT:=python
-endef
-
define Package/python3-pycparser
$(call Package/python-pycparser/Default)
DEPENDS:= \
@@ -50,22 +40,14 @@ $(call Package/python-pycparser/Default)
VARIANT:=python3
endef
-define Package/python-pycparser/description
+define Package/python3-pycparser/description
pycparser is a parser for the C language, written in pure Python. It is a
module designed to be easily integrated into applications that need to parse
C source code.
-endef
-
-define Package/python3-pycparser/description
-$(call Package/python-pycparser/description)
.
(Variant for Python3)
endef
-$(eval $(call PyPackage,python-pycparser))
-$(eval $(call BuildPackage,python-pycparser))
-$(eval $(call BuildPackage,python-pycparser-src))
-
$(eval $(call Py3Package,python3-pycparser))
$(eval $(call BuildPackage,python3-pycparser))
$(eval $(call BuildPackage,python3-pycparser-src))