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_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk
# python-mysqlclient needs iconv
include $(INCLUDE_DIR)/nls.mk
@@ -30,13 +29,6 @@ define Package/python-mysqlclient/Default
URL:=https://mysqlclient.readthedocs.io/
endef
define Package/python-mysqlclient
$(call Package/python-mysqlclient/Default)
TITLE:=MySQL database adapter for Python
DEPENDS:=+PACKAGE_python-mysqlclient:python +libmysqlclient
VARIANT:=python
endef
define Package/python3-mysqlclient
$(call Package/python-mysqlclient/Default)
TITLE:=MySQL database adapter for Python3
@@ -44,21 +36,13 @@ define Package/python3-mysqlclient
VARIANT:=python3
endef
define Package/python-mysqlclient/description
define Package/python3-mysqlclient/description
MySQLdb is an thread-compatible interface to the popular MySQL database
server that provides the Python database API.
endef
define Package/python3-mysqlclient/description
$(call Package/python-mysqlclient/description)
.
(Variant for Python3)
endef
$(eval $(call PyPackage,python-mysqlclient))
$(eval $(call BuildPackage,python-mysqlclient))
$(eval $(call BuildPackage,python-mysqlclient-src))
$(eval $(call Py3Package,python3-mysqlclient))
$(eval $(call BuildPackage,python3-mysqlclient))
$(eval $(call BuildPackage,python3-mysqlclient-src))