summaryrefslogtreecommitdiff
path: root/lang/python/python-mysqlclient
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-mysqlclient
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-mysqlclient')
-rw-r--r--lang/python/python-mysqlclient/Makefile18
1 files changed, 1 insertions, 17 deletions
diff --git a/lang/python/python-mysqlclient/Makefile b/lang/python/python-mysqlclient/Makefile
index 47f4a1a5d..9f24e3b83 100644
--- a/lang/python/python-mysqlclient/Makefile
+++ b/lang/python/python-mysqlclient/Makefile
@@ -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))