Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-python][PATCH 0/4] Add new recipes four python packages
@ 2019-09-29  5:42 jackie.huang
  2019-09-29  5:42 ` [meta-python][PATCH 1/4] python-versiontools: add recipes for python2 and python3 jackie.huang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jackie.huang @ 2019-09-29  5:42 UTC (permalink / raw)
  To: openembedded-devel

From: Jackie Huang <jackie.huang@windriver.com>

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

-- 
2.7.4



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [meta-python][PATCH 1/4] python-versiontools: add recipes for python2 and python3
  2019-09-29  5:42 [meta-python][PATCH 0/4] Add new recipes four python packages jackie.huang
@ 2019-09-29  5:42 ` jackie.huang
  2019-09-29  5:42 ` [meta-python][PATCH 2/4] python-pymysql: " jackie.huang
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: jackie.huang @ 2019-09-29  5:42 UTC (permalink / raw)
  To: openembedded-devel

From: Jackie Huang <jackie.huang@windriver.com>

python-versiontools is a smart replacement for plain
tuple used in __version__.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 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

diff --git a/meta-python/recipes-devtools/python/python-versiontools.inc b/meta-python/recipes-devtools/python/python-versiontools.inc
new file mode 100644
index 0000000..b0e696f
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-versiontools.inc
@@ -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"
diff --git a/meta-python/recipes-devtools/python/python-versiontools_1.9.1.bb b/meta-python/recipes-devtools/python/python-versiontools_1.9.1.bb
new file mode 100644
index 0000000..6bfe82e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-versiontools_1.9.1.bb
@@ -0,0 +1,2 @@
+inherit setuptools
+require python-versiontools.inc
diff --git a/meta-python/recipes-devtools/python/python3-versiontools_1.9.1.bb b/meta-python/recipes-devtools/python/python3-versiontools_1.9.1.bb
new file mode 100644
index 0000000..e8d6b7d
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-versiontools_1.9.1.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-versiontools.inc
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [meta-python][PATCH 2/4] python-pymysql: add recipes for python2 and python3
  2019-09-29  5:42 [meta-python][PATCH 0/4] Add new recipes four python packages jackie.huang
  2019-09-29  5:42 ` [meta-python][PATCH 1/4] python-versiontools: add recipes for python2 and python3 jackie.huang
@ 2019-09-29  5:42 ` jackie.huang
  2019-09-29  5:42 ` [meta-python][PATCH 3/4] python-statistics: add new recipe jackie.huang
  2019-09-29  5:42 ` [meta-python][PATCH 4/4] python-pyperf: add recipes for python2 and python3 jackie.huang
  3 siblings, 0 replies; 5+ messages in thread
From: jackie.huang @ 2019-09-29  5:42 UTC (permalink / raw)
  To: openembedded-devel

From: Jackie Huang <jackie.huang@windriver.com>

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

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 0000000..8c7f455
--- /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 0000000..27d097e
--- /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 0000000..13774bd
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pymysql_0.9.3.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-pymysql.inc
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [meta-python][PATCH 3/4] python-statistics: add new recipe
  2019-09-29  5:42 [meta-python][PATCH 0/4] Add new recipes four python packages jackie.huang
  2019-09-29  5:42 ` [meta-python][PATCH 1/4] python-versiontools: add recipes for python2 and python3 jackie.huang
  2019-09-29  5:42 ` [meta-python][PATCH 2/4] python-pymysql: " jackie.huang
@ 2019-09-29  5:42 ` jackie.huang
  2019-09-29  5:42 ` [meta-python][PATCH 4/4] python-pyperf: add recipes for python2 and python3 jackie.huang
  3 siblings, 0 replies; 5+ messages in thread
From: jackie.huang @ 2019-09-29  5:42 UTC (permalink / raw)
  To: openembedded-devel

From: Jackie Huang <jackie.huang@windriver.com>

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.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 .../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

diff --git a/meta-python/recipes-devtools/python/python-statistics_1.0.3.5.bb b/meta-python/recipes-devtools/python/python-statistics_1.0.3.5.bb
new file mode 100644
index 0000000..ee3b822
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-statistics_1.0.3.5.bb
@@ -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"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [meta-python][PATCH 4/4] python-pyperf: add recipes for python2 and python3
  2019-09-29  5:42 [meta-python][PATCH 0/4] Add new recipes four python packages jackie.huang
                   ` (2 preceding siblings ...)
  2019-09-29  5:42 ` [meta-python][PATCH 3/4] python-statistics: add new recipe jackie.huang
@ 2019-09-29  5:42 ` jackie.huang
  3 siblings, 0 replies; 5+ messages in thread
From: jackie.huang @ 2019-09-29  5:42 UTC (permalink / raw)
  To: openembedded-devel

From: Jackie Huang <jackie.huang@windriver.com>

The Python pyperf module is a toolkit to write,
run and analyze benchmarks.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 .../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

diff --git a/meta-python/recipes-devtools/python/python-pyperf.inc b/meta-python/recipes-devtools/python/python-pyperf.inc
new file mode 100644
index 0000000..81837f3
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pyperf.inc
@@ -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"
diff --git a/meta-python/recipes-devtools/python/python-pyperf_1.6.1.bb b/meta-python/recipes-devtools/python/python-pyperf_1.6.1.bb
new file mode 100644
index 0000000..a9d5c74
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pyperf_1.6.1.bb
@@ -0,0 +1,4 @@
+inherit setuptools
+require python-pyperf.inc
+
+RDEPENDS_${PN} += "${PYTHON_PN}-statistics"
diff --git a/meta-python/recipes-devtools/python/python3-pyperf_1.6.1.bb b/meta-python/recipes-devtools/python/python3-pyperf_1.6.1.bb
new file mode 100644
index 0000000..5ba5efb
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyperf_1.6.1.bb
@@ -0,0 +1,4 @@
+inherit setuptools3
+require python-pyperf.inc
+
+RDEPENDS_${PN} += "${PYTHON_PN}-misc"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-09-29  5:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-29  5:42 [meta-python][PATCH 0/4] Add new recipes four python packages jackie.huang
2019-09-29  5:42 ` [meta-python][PATCH 1/4] python-versiontools: add recipes for python2 and python3 jackie.huang
2019-09-29  5:42 ` [meta-python][PATCH 2/4] python-pymysql: " jackie.huang
2019-09-29  5:42 ` [meta-python][PATCH 3/4] python-statistics: add new recipe jackie.huang
2019-09-29  5:42 ` [meta-python][PATCH 4/4] python-pyperf: add recipes for python2 and python3 jackie.huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox