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 <jackie.huang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Jackie Huang
2019-09-29 13:42:39 +08:00
committed by Khem Raj
parent e8a0323766
commit a927a361cf
3 changed files with 22 additions and 0 deletions

View File

@@ -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"