summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2020-01-13 18:08:42 +0200
committerGitHub <noreply@github.com>2020-01-13 18:08:42 +0200
commit32cb314db13414571d724f1dfe8e6b162cf0a6df (patch)
tree741d1278d7e24644e99f1d00da13729d533bdabe /lang/python
parent535c9ff1f7df256fb0016bdb8690ccfa855b7d7e (diff)
parentd62b27d4995076d7ae740e2dc35487b4543dba12 (diff)
Merge pull request #11005 from commodo/pymysql
pymysql: add new package (only Py3 variant)
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/pymysql/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/lang/python/pymysql/Makefile b/lang/python/pymysql/Makefile
new file mode 100644
index 000000000..f017b7e66
--- /dev/null
+++ b/lang/python/pymysql/Makefile
@@ -0,0 +1,41 @@
+#
+# Copyright (C) Alexandru Ardelean <ardeleanalex@gmail.com>
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=pymysql
+PKG_VERSION:=0.9.3
+PKG_RELEASE:=1
+
+PYPI_NAME:=PyMySQL
+PKG_HASH:=d8c059dcd81dedb85a9f034d5e22dcb4442c0b201908bede99e306d65ea7c8e7
+
+PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
+PKG_LICENSE:=MIT
+PKG_LICENSE_FILES:=LICENSE
+
+include ../pypi.mk
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+define Package/python3-pymysql
+ SUBMENU:=Python
+ SECTION:=lang
+ CATEGORY:=Languages
+ TITLE:=Pure Python MySQL Client
+ URL:=https://pymysql.readthedocs.io/
+ DEPENDS:=+python3 +python3-cryptography
+ VARIANT:=python3
+endef
+
+define Package/python3-pymysql/description
+ This package contains a pure-Python MySQL client library, based on PEP 249.
+endef
+
+$(eval $(call Py3Package,python3-pymysql))
+$(eval $(call BuildPackage,python3-pymysql))
+$(eval $(call BuildPackage,python3-pymysql-src))