From a927a361cf05798adee7674f7118e15abc2a9210 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Sun, 29 Sep 2019 13:42:39 +0800 Subject: python-pymysql: add recipes for python2 and python3 This package contains a pure-Python MySQL client library, based on PEP 249 Most public APIs are compatible with mysqlclient and MySQLdb. Signed-off-by: Jackie Huang Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python-pymysql.inc | 18 ++++++++++++++++++ .../recipes-devtools/python/python-pymysql_0.9.3.bb | 2 ++ .../recipes-devtools/python/python3-pymysql_0.9.3.bb | 2 ++ 3 files changed, 22 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-pymysql.inc create mode 100644 meta-python/recipes-devtools/python/python-pymysql_0.9.3.bb create mode 100644 meta-python/recipes-devtools/python/python3-pymysql_0.9.3.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python-pymysql.inc b/meta-python/recipes-devtools/python/python-pymysql.inc new file mode 100644 index 000000000..8c7f4556c --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pymysql.inc @@ -0,0 +1,18 @@ +SUMMARY = "A pure-Python MySQL client library" +DESCRIPTION = " \ + This package contains a pure-Python MySQL client library, based on PEP 249 \ + Most public APIs are compatible with mysqlclient and MySQLdb. \ + " +SECTION = "devel/python" +HOMEPAGE = "https://pymysql.readthedocs.io" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=528175c84163bb800d23ad835c7fa0fc" + +SRC_URI[md5sum] = "e5d9183cc0a775ac29f9e0365cca6556" +SRC_URI[sha256sum] = "d8c059dcd81dedb85a9f034d5e22dcb4442c0b201908bede99e306d65ea7c8e7" + +inherit pypi + +PYPI_PACKAGE = "PyMySQL" + +RDEPENDS_${PN} += "${PYTHON_PN}-cryptography" diff --git a/meta-python/recipes-devtools/python/python-pymysql_0.9.3.bb b/meta-python/recipes-devtools/python/python-pymysql_0.9.3.bb new file mode 100644 index 000000000..27d097ee6 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pymysql_0.9.3.bb @@ -0,0 +1,2 @@ +inherit setuptools +require python-pymysql.inc diff --git a/meta-python/recipes-devtools/python/python3-pymysql_0.9.3.bb b/meta-python/recipes-devtools/python/python3-pymysql_0.9.3.bb new file mode 100644 index 000000000..13774bd63 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pymysql_0.9.3.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-pymysql.inc -- cgit v1.2.3-54-g00ecf