python-pymysql: add new recipe for python2/3

pymysql is a pure-Python MySQL client library, based on PEP 249

close #12

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
This commit is contained in:
Jackie Huang 2019-07-29 11:21:46 +08:00 committed by Saul Wold
parent e0c05a9ff7
commit 6581c6435d
3 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,16 @@
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://github.com/PyMySQL/PyMySQL"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=528175c84163bb800d23ad835c7fa0fc"
inherit pypi
PYPI_PACKAGE = "PyMySQL"
SRC_URI[md5sum] = "e5d9183cc0a775ac29f9e0365cca6556"
SRC_URI[sha256sum] = "d8c059dcd81dedb85a9f034d5e22dcb4442c0b201908bede99e306d65ea7c8e7"

View File

@ -0,0 +1,2 @@
inherit setuptools
require python-pymysql.inc

View File

@ -0,0 +1,2 @@
inherit setuptools3
require python-pymysql.inc