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>
This commit is contained in:
Jeffery To
2020-04-01 22:21:16 +08:00
parent c37b15e1c4
commit 658b1b6758
78 changed files with 89 additions and 1501 deletions

View File

@@ -12,7 +12,6 @@ PKG_LICENSE:=MIT
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk
define Package/python-jmespath/Default
@@ -23,33 +22,19 @@ define Package/python-jmespath/Default
URL:=https://github.com/jmespath/jmespath.py
endef
define Package/python-jmespath
$(call Package/python-jmespath/Default)
DEPENDS:=+PACKAGE_python-jmespath:python
VARIANT:=python
endef
define Package/python3-jmespath
$(call Package/python-jmespath/Default)
DEPENDS:=+PACKAGE_python3-jmespath:python3
VARIANT:=python3
endef
define Package/python-jmespath/description
define Package/python3-jmespath/description
JMESPath (pronounced james path) allows you to declaratively specify how to extract
elements from a JSON document.
endef
define Package/python3-jmespath/description
$(call Package/python-jmespath/description)
.
(Variant for Python3)
endef
$(eval $(call PyPackage,python-jmespath))
$(eval $(call BuildPackage,python-jmespath))
$(eval $(call BuildPackage,python-jmespath-src))
$(eval $(call Py3Package,python3-jmespath))
$(eval $(call BuildPackage,python3-jmespath))
$(eval $(call BuildPackage,python3-jmespath-src))