Add new recipes four python packages
cover Add new recipes four python packages
From: Jackie Huang <[email protected]>
--
The following changes since commit 41fe46157ca3caa96408a9a749d62c8bbc3c2794:
python-paste: upgrade 3.2.0 -> 3.2.1 (2019-09-25 22:51:10 -0700)
are available in the git repository at:
git://github.com/jackiehjm/meta-openembedded jackiehjm/python-versiontools_pymysql_statistics_pyperf_20190929
https://github.com/jackiehjm/meta-openembedded/tree/jackiehjm/python-versiontools_pymysql_statistics_pyperf_20190929
Jackie Huang (4):
python-versiontools: add recipes for python2 and python3
python-pymysql: add recipes for python2 and python3
python-statistics: add new recipe
python-pyperf: add recipes for python2 and python3
.../recipes-devtools/python/python-pymysql.inc | 18 +++++++++++++++++ .../python/python-pymysql_0.9.3.bb | 2 ++ .../recipes-devtools/python/python-pyperf.inc | 23 ++++++++++++++++++++++ .../recipes-devtools/python/python-pyperf_1.6.1.bb | 4 ++++ .../python/python-statistics_1.0.3.5.bb | 15 ++++++++++++++ .../python/python-versiontools.inc | 10 ++++++++++ .../python/python-versiontools_1.9.1.bb | 2 ++ .../python/python3-pymysql_0.9.3.bb | 2 ++ .../python/python3-pyperf_1.6.1.bb | 4 ++++ .../python/python3-versiontools_1.9.1.bb | 2 ++ 10 files changed, 82 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/python-pyperf.inc create mode 100644 meta-python/recipes-devtools/python/python-pyperf_1.6.1.bb create mode 100644 meta-python/recipes-devtools/python/python-statistics_1.0.3.5.bb create mode 100644 meta-python/recipes-devtools/python/python-versiontools.inc create mode 100644 meta-python/recipes-devtools/python/python-versiontools_1.9.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-pymysql_0.9.3.bb create mode 100644 meta-python/recipes-devtools/python/python3-pyperf_1.6.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-versiontools_1.9.1.bb
Signature · 1 line
2.7.4
PATCH 1/4 python-versiontools: add recipes for python2 and python3
From: Jackie Huang <[email protected]>
python-versiontools is a smart replacement for plain tuple used in __version__.
--- meta-python/recipes-devtools/python/python-versiontools.inc | 10 ++++++++++ .../recipes-devtools/python/python-versiontools_1.9.1.bb | 2 ++ .../recipes-devtools/python/python3-versiontools_1.9.1.bb | 2 ++ 3 files changed, 14 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-versiontools.inc create mode 100644 meta-python/recipes-devtools/python/python-versiontools_1.9.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-versiontools_1.9.1.bb
meta-python/recipes-devtools/python/python-versiontools.inc new file +10 -0
@@ -0,0 +1,10 @@ +SUMMARY = "Smart replacement for plain tuple used in __version__" +SECTION = "devel/python" +HOMEPAGE = "https://launchpad.net/versiontools" +LICENSE = "LGPLv3" +LIC_FILES_CHKSUM = "file://setup.py;beginline=3;endline=20;md5=02193721a38fd8a05a4ddeb7df8e294d" + +inherit pypi + +SRC_URI[md5sum] = "602b7db8eea30dd29a1d451997adf251" +SRC_URI[sha256sum] = "a969332887a18a9c98b0df0ea4d4ca75972f24ca94f06fb87d591377e83414f6"
meta-python/recipes-devtools/python/python-versiontools_1.9.1.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit setuptools +require python-versiontools.inc
meta-python/recipes-devtools/python/python3-versiontools_1.9.1.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit setuptools3 +require python-versiontools.inc
Signature · 1 line
2.7.4
PATCH 2/4 python-pymysql: add recipes for python2 and python3
In reply to [email protected]From: Jackie Huang <[email protected]>
This package contains a pure-Python MySQL client library, based on PEP 249 Most public APIs are compatible with mysqlclient and MySQLdb.
--- 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
meta-python/recipes-devtools/python/python-pymysql.inc new file +18 -0
@@ -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"
meta-python/recipes-devtools/python/python-pymysql_0.9.3.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit setuptools +require python-pymysql.inc
meta-python/recipes-devtools/python/python3-pymysql_0.9.3.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit setuptools3 +require python-pymysql.inc
Signature · 1 line
2.7.4
PATCH 3/4 python-statistics: add new recipe
In reply to [email protected]From: Jackie Huang <[email protected]>
A port of Python 3.4 statistics module to Python 2.*, initially done through the 3to2 tool. This module provides functions for calculating mathematical statistics of numeric (Real-valued) data.
This is required by python-pyperf.
--- .../recipes-devtools/python/python-statistics_1.0.3.5.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-statistics_1.0.3.5.bb
meta-python/recipes-devtools/python/python-statistics_1.0.3.5.bb new file +15 -0
@@ -0,0 +1,15 @@ +SUMMARY = "A port of Python 3.4 statistics module to Python 2.x" +DESCRIPTION = " \ +A port of Python 3.4 statistics module to Python 2.*, initially done \ +through the 3to2 tool. This module provides functions for calculating \ +mathematical statistics of numeric (Real-valued) data. \ +" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://statistics/__init__.py;beginline=6;endline=16;md5=b76960ee777a1529f60db47ada2a8e6e" + +SRC_URI[md5sum] = "d6d97f3a1a7b3192cff99e0f2b5956c3" +SRC_URI[sha256sum] = "2dc379b80b07bf2ddd5488cad06b2b9531da4dd31edb04dc9ec0dc226486c138" + +inherit pypi setuptools + +PYPI_PACKAGE = "statistics"
Signature · 1 line
2.7.4
PATCH 4/4 python-pyperf: add recipes for python2 and python3
In reply to [email protected]From: Jackie Huang <[email protected]>
The Python pyperf module is a toolkit to write,
run and analyze benchmarks.
--- .../recipes-devtools/python/python-pyperf.inc | 23 ++++++++++++++++++++++ .../recipes-devtools/python/python-pyperf_1.6.1.bb | 4 ++++ .../python/python3-pyperf_1.6.1.bb | 4 ++++ 3 files changed, 31 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-pyperf.inc create mode 100644 meta-python/recipes-devtools/python/python-pyperf_1.6.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-pyperf_1.6.1.bb
meta-python/recipes-devtools/python/python-pyperf.inc new file +23 -0
@@ -0,0 +1,23 @@ +SUMMARY = "A toolkit to write, run and analyze benchmarks" +DESCRIPTION = " \ +The Python pyperf module is a toolkit to write, run and analyze benchmarks. \ +Features: \ + * Simple API to run reliable benchmarks \ + * Automatically calibrate a benchmark for a time budget. \ + * Spawn multiple worker processes. \ + * Compute the mean and standard deviation. \ + * Detect if a benchmark result seems unstable. \ + * JSON format to store benchmark results. \ + * Support multiple units: seconds, bytes and integer. \ +" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=78bc2e6e87c8c61272937b879e6dc2f8" + +SRC_URI[md5sum] = "d67fe5f447963da8873f3e9923f76de1" +SRC_URI[sha256sum] = "8d0143a22a13ee10c997a648f30b82cdc40175d5a20b11055ae058a82e45d371" + +inherit pypi + +PYPI_PACKAGE = "pyperf" + +DEPENDS += "${PYTHON_PN}-six-native"
meta-python/recipes-devtools/python/python-pyperf_1.6.1.bb new file +4 -0
@@ -0,0 +1,4 @@ +inherit setuptools +require python-pyperf.inc + +RDEPENDS_${PN} += "${PYTHON_PN}-statistics"
meta-python/recipes-devtools/python/python3-pyperf_1.6.1.bb new file +4 -0
@@ -0,0 +1,4 @@ +inherit setuptools3 +require python-pyperf.inc + +RDEPENDS_${PN} += "${PYTHON_PN}-misc"
Signature · 1 line
2.7.4