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

@@ -18,7 +18,6 @@ PKG_LICENSE_FILES:=LICENSE
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk
define Package/python-qrcode/Default
@@ -29,20 +28,6 @@ define Package/python-qrcode/Default
URL:=https://github.com/lincolnloop/python-qrcode
endef
define Package/python-qrcode
$(call Package/python-qrcode/Default)
DEPENDS:= \
+PACKAGE_python-qrcode:python \
+PACKAGE_python-qrcode:python-setuptools \
+PACKAGE_python-qrcode:python-six \
+PACKAGE_python-qrcode:python-pillow
VARIANT:=python
endef
define Package/python-qrcode/description
Pure python QR Code generator
endef
define Package/python3-qrcode
$(call Package/python-qrcode/Default)
DEPENDS:= \
@@ -54,15 +39,11 @@ $(call Package/python-qrcode/Default)
endef
define Package/python3-qrcode/description
$(call Package/python-qrcode/description)
Pure python QR Code generator
.
(Variant for Python3)
endef
$(eval $(call PyPackage,python-qrcode))
$(eval $(call BuildPackage,python-qrcode))
$(eval $(call BuildPackage,python-qrcode-src))
$(eval $(call Py3Package,python3-qrcode))
$(eval $(call BuildPackage,python3-qrcode))
$(eval $(call BuildPackage,python3-qrcode-src))