All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH 00/17] Cleanup and new recipes
@ 2020-03-24 22:48 Martin Kelly
  2020-03-24 22:48 ` [meta-python][PATCH 01/17] recipes-devtools: remove +x bit Martin Kelly
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: Martin Kelly @ 2020-03-24 22:48 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Martin Kelly

This patch series contains some miscellaneous cleanup and new python recipes
that I'm using for my own project but are more generally applicable.

Martin Kelly (17):
  recipes-devtools: remove +x bit
  python-msgpack: add native,nativesdk support
  python3-can: add native,nativesdk recipes
  python-pint: add nativesdk support
  python3-aenum: add recipe for 2.2.3
  python3-can: add missing RDEPENDS
  python3-simpleeval: add recipe for 0.9.10
  python3-typeguard: add recipe for 2.7.1
  python3-iso3166: add recipe for 1.0.1
  python3-geojson: add recipe for 2.5.0
  python3-haversine: add recipe for 2.2.0
  python3-polyline: add recipe for 1.4.0
  python3-mpmath: add recipe for 1.10
  python3-sympy: add recipe for 1.5.1
  python3-uritemplate: add recipe for 3.0.1
  python3-lockfile: add recipe for 0.12.2
  python3-cachecontrol: add recipe for 0.12.6

 .../python/python-msgpack.inc                 |  2 ++
 .../recipes-devtools/python/python-pint.inc   |  2 +-
 .../python/python3-aenum_2.2.3.bb             | 11 +++++++
 .../python/python3-cachecontrol_0.12.6.bb     | 29 +++++++++++++++++++
 .../python/python3-can_3.3.2.bb               |  4 +++
 .../python/python3-geojson_2.5.0.bb           | 13 +++++++++
 .../python/python3-haversine_2.2.0.bb         | 12 ++++++++
 .../python/python3-iso3166_1.0.1.bb           | 13 +++++++++
 .../python/python3-lockfile_0.12.2.bb         | 17 +++++++++++
 .../python/python3-mpmath_1.1.0.bb            | 16 ++++++++++
 .../python/python3-polyline_1.4.0.bb          | 13 +++++++++
 .../python/python3-pytz_2019.3.bb             |  0
 .../python/python3-regex_2020.1.8.bb          |  0
 .../python/python3-simpleeval_0.9.10.bb       | 11 +++++++
 .../python/python3-sympy_1.5.1.bb             | 16 ++++++++++
 .../python/python3-typeguard_2.7.1.bb         | 18 ++++++++++++
 .../python/python3-uritemplate_3.0.1.bb       | 14 +++++++++
 17 files changed, 190 insertions(+), 1 deletion(-)
 create mode 100644 meta-python/recipes-devtools/python/python3-aenum_2.2.3.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-cachecontrol_0.12.6.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-geojson_2.5.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-haversine_2.2.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-iso3166_1.0.1.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-lockfile_0.12.2.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-mpmath_1.1.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-polyline_1.4.0.bb
 mode change 100755 => 100644 meta-python/recipes-devtools/python/python3-pytz_2019.3.bb
 mode change 100755 => 100644 meta-python/recipes-devtools/python/python3-regex_2020.1.8.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-sympy_1.5.1.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-typeguard_2.7.1.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-uritemplate_3.0.1.bb

--
2.25.1


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

* [meta-python][PATCH 01/17] recipes-devtools: remove +x bit
  2020-03-24 22:48 [meta-python][PATCH 00/17] Cleanup and new recipes Martin Kelly
@ 2020-03-24 22:48 ` Martin Kelly
  2020-03-24 22:48 ` [meta-python][PATCH 02/17] python-msgpack: add native,nativesdk support Martin Kelly
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Martin Kelly @ 2020-03-24 22:48 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Martin Kelly

The executable bit was erroneously set on these recipes.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
---
 meta-python/recipes-devtools/python/python3-pytz_2019.3.bb    | 0
 meta-python/recipes-devtools/python/python3-regex_2020.1.8.bb | 0
 2 files changed, 0 insertions(+), 0 deletions(-)
 mode change 100755 => 100644 meta-python/recipes-devtools/python/python3-pytz_2019.3.bb
 mode change 100755 => 100644 meta-python/recipes-devtools/python/python3-regex_2020.1.8.bb

diff --git a/meta-python/recipes-devtools/python/python3-pytz_2019.3.bb b/meta-python/recipes-devtools/python/python3-pytz_2019.3.bb
old mode 100755
new mode 100644
diff --git a/meta-python/recipes-devtools/python/python3-regex_2020.1.8.bb b/meta-python/recipes-devtools/python/python3-regex_2020.1.8.bb
old mode 100755
new mode 100644
-- 
2.25.1


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

* [meta-python][PATCH 02/17] python-msgpack: add native,nativesdk support
  2020-03-24 22:48 [meta-python][PATCH 00/17] Cleanup and new recipes Martin Kelly
  2020-03-24 22:48 ` [meta-python][PATCH 01/17] recipes-devtools: remove +x bit Martin Kelly
@ 2020-03-24 22:48 ` Martin Kelly
  2020-03-24 22:48 ` [meta-python][PATCH 03/17] python3-can: add native,nativesdk recipes Martin Kelly
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Martin Kelly @ 2020-03-24 22:48 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Martin Kelly

This builds fine with native and nativesdk, so let's add it to the
package.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
---
 meta-python/recipes-devtools/python/python-msgpack.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-msgpack.inc b/meta-python/recipes-devtools/python/python-msgpack.inc
index adf5c3e9f..dba5dc44f 100644
--- a/meta-python/recipes-devtools/python/python-msgpack.inc
+++ b/meta-python/recipes-devtools/python/python-msgpack.inc
@@ -11,3 +11,5 @@ SRC_URI[sha256sum] = "ea3c2f859346fcd55fc46e96885301d9c2f7a36d453f5d8f2967840efa
 RDEPENDS_${PN}_class-target += "\
     ${PYTHON_PN}-io \
 "
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.1


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

* [meta-python][PATCH 03/17] python3-can: add native,nativesdk recipes
  2020-03-24 22:48 [meta-python][PATCH 00/17] Cleanup and new recipes Martin Kelly
  2020-03-24 22:48 ` [meta-python][PATCH 01/17] recipes-devtools: remove +x bit Martin Kelly
  2020-03-24 22:48 ` [meta-python][PATCH 02/17] python-msgpack: add native,nativesdk support Martin Kelly
@ 2020-03-24 22:48 ` Martin Kelly
  2020-03-24 22:48 ` [meta-python][PATCH 04/17] python-pint: add nativesdk support Martin Kelly
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Martin Kelly @ 2020-03-24 22:48 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Martin Kelly

This builds fine for native and nativesdk, so add recipes for it.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
---
 meta-python/recipes-devtools/python/python3-can_3.3.2.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python3-can_3.3.2.bb b/meta-python/recipes-devtools/python/python3-can_3.3.2.bb
index 4597795d5..5159695f4 100644
--- a/meta-python/recipes-devtools/python/python3-can_3.3.2.bb
+++ b/meta-python/recipes-devtools/python/python3-can_3.3.2.bb
@@ -20,3 +20,5 @@ RDEPENDS_${PN}_class-target += "\
     ${PYTHON_PN}-sqlite3 \
     ${PYTHON_PN}-wrapt \
 "
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.1


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

* [meta-python][PATCH 04/17] python-pint: add nativesdk support
  2020-03-24 22:48 [meta-python][PATCH 00/17] Cleanup and new recipes Martin Kelly
                   ` (2 preceding siblings ...)
  2020-03-24 22:48 ` [meta-python][PATCH 03/17] python3-can: add native,nativesdk recipes Martin Kelly
@ 2020-03-24 22:48 ` Martin Kelly
  2020-03-24 22:48 ` [meta-python][PATCH 05/17] python3-aenum: add recipe for 2.2.3 Martin Kelly
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Martin Kelly @ 2020-03-24 22:48 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Martin Kelly

This builds just fine with nativesdk, so let's enable it.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
---
 meta-python/recipes-devtools/python/python-pint.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python-pint.inc b/meta-python/recipes-devtools/python/python-pint.inc
index 0900d91d7..b40800814 100644
--- a/meta-python/recipes-devtools/python/python-pint.inc
+++ b/meta-python/recipes-devtools/python/python-pint.inc
@@ -12,4 +12,4 @@ inherit pypi
 SRC_URI[md5sum] = "d0681cb7cfaca9fc68ce7edab0d08d88"
 SRC_URI[sha256sum] = "32d8a9a9d63f4f81194c0014b3b742679dce81a26d45127d9810a68a561fe4e2"
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.1


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

* [meta-python][PATCH 05/17] python3-aenum: add recipe for 2.2.3
  2020-03-24 22:48 [meta-python][PATCH 00/17] Cleanup and new recipes Martin Kelly
                   ` (3 preceding siblings ...)
  2020-03-24 22:48 ` [meta-python][PATCH 04/17] python-pint: add nativesdk support Martin Kelly
@ 2020-03-24 22:48 ` Martin Kelly
  2020-03-24 22:48 ` [meta-python][PATCH 06/17] python3-can: add missing RDEPENDS Martin Kelly
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Martin Kelly @ 2020-03-24 22:48 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Martin Kelly

This is a dependency for python3-can.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
---
 .../recipes-devtools/python/python3-aenum_2.2.3.bb    | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-aenum_2.2.3.bb

diff --git a/meta-python/recipes-devtools/python/python3-aenum_2.2.3.bb b/meta-python/recipes-devtools/python/python3-aenum_2.2.3.bb
new file mode 100644
index 000000000..16d2a881f
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-aenum_2.2.3.bb
@@ -0,0 +1,11 @@
+SUMMARY = "Advanced Enumerations library"
+HOMEPAGE = "https://pypi.org/project/aenum/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://aenum/LICENSE;md5=c6a85477543f8b8591b9c1f82abebbe9"
+
+SRC_URI[md5sum] = "026786dbb37c15c2c8dc91fbf5828e97"
+SRC_URI[sha256sum] = "a4334cabf47c167d44ab5a6198837b80deec5d5bad1b5cf70c966c3a330260e8"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.1


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

* [meta-python][PATCH 06/17] python3-can: add missing RDEPENDS
  2020-03-24 22:48 [meta-python][PATCH 00/17] Cleanup and new recipes Martin Kelly
                   ` (4 preceding siblings ...)
  2020-03-24 22:48 ` [meta-python][PATCH 05/17] python3-aenum: add recipe for 2.2.3 Martin Kelly
@ 2020-03-24 22:48 ` Martin Kelly
  2020-03-24 22:48 ` [meta-python][PATCH 07/17] python3-simpleeval: add recipe for 0.9.10 Martin Kelly
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Martin Kelly @ 2020-03-24 22:48 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Martin Kelly

python3-can has runtime dependencies on aenum and fcntl, but these were
missing, so add them.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
---
 meta-python/recipes-devtools/python/python3-can_3.3.2.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python3-can_3.3.2.bb b/meta-python/recipes-devtools/python/python3-can_3.3.2.bb
index 5159695f4..698eaf5b3 100644
--- a/meta-python/recipes-devtools/python/python3-can_3.3.2.bb
+++ b/meta-python/recipes-devtools/python/python3-can_3.3.2.bb
@@ -11,9 +11,11 @@ PYPI_PACKAGE="python-can"
 inherit pypi setuptools3
 
 RDEPENDS_${PN}_class-target += "\
+    ${PYTHON_PN}-aenum \
     ${PYTHON_PN}-ctypes \
     ${PYTHON_PN}-codecs \
     ${PYTHON_PN}-compression \
+    ${PYTHON_PN}-fcntl \
     ${PYTHON_PN}-logging \
     ${PYTHON_PN}-misc \
     ${PYTHON_PN}-netserver \
-- 
2.25.1


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

* [meta-python][PATCH 07/17] python3-simpleeval: add recipe for 0.9.10
  2020-03-24 22:48 [meta-python][PATCH 00/17] Cleanup and new recipes Martin Kelly
                   ` (5 preceding siblings ...)
  2020-03-24 22:48 ` [meta-python][PATCH 06/17] python3-can: add missing RDEPENDS Martin Kelly
@ 2020-03-24 22:48 ` Martin Kelly
  2020-03-24 22:48 ` [meta-python][PATCH 08/17] python3-typeguard: add recipe for 2.7.1 Martin Kelly
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Martin Kelly @ 2020-03-24 22:48 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Martin Kelly

Signed-off-by: Martin Kelly <mkelly@xevo.com>
---
 .../python/python3-simpleeval_0.9.10.bb               | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb

diff --git a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb
new file mode 100644
index 000000000..633347a93
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb
@@ -0,0 +1,11 @@
+SUMMARY = "A simple, safe single expression evaluator library"
+HOMEPAGE = "https://pypi.org/project/simpleeval/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENCE;md5=dc9277482effe59b734b004cbcc1fee7"
+
+SRC_URI[md5sum] = "f175fc12d408487ca26fa3905e0a6691"
+SRC_URI[sha256sum] = "692055488c2864637f6c2edb5fa48175978a2a07318009e7cf03c9790ca17bea"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.1


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

* [meta-python][PATCH 08/17] python3-typeguard: add recipe for 2.7.1
  2020-03-24 22:48 [meta-python][PATCH 00/17] Cleanup and new recipes Martin Kelly
                   ` (6 preceding siblings ...)
  2020-03-24 22:48 ` [meta-python][PATCH 07/17] python3-simpleeval: add recipe for 0.9.10 Martin Kelly
@ 2020-03-24 22:48 ` Martin Kelly
  2020-03-24 22:48 ` [meta-python][PATCH 09/17] python3-iso3166: add recipe for 1.0.1 Martin Kelly
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Martin Kelly @ 2020-03-24 22:48 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Martin Kelly

Signed-off-by: Martin Kelly <mkelly@xevo.com>
---
 .../python/python3-typeguard_2.7.1.bb          | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-typeguard_2.7.1.bb

diff --git a/meta-python/recipes-devtools/python/python3-typeguard_2.7.1.bb b/meta-python/recipes-devtools/python/python3-typeguard_2.7.1.bb
new file mode 100644
index 000000000..b62b60564
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-typeguard_2.7.1.bb
@@ -0,0 +1,18 @@
+SUMMARY = "Run-time type checker for Python"
+HOMEPAGE = "https://pypi.org/project/typeguard/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=f0e423eea5c91e7aa21bdb70184b3e53"
+
+SRC_URI[md5sum] = "ef743359de59f8fe17e7c5e3af70e2c5"
+SRC_URI[sha256sum] = "2d545c71e9439c21bcd7c28f5f55b3606e6106f7031ab58375656a1aed483ef2"
+
+inherit pypi setuptools3
+
+DEPENDS += "\
+    python3-distutils-extra-native \
+    python3-setuptools-scm-native \
+"
+
+RDEPENDS_${PN} += "python3-typing"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.1


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

* [meta-python][PATCH 09/17] python3-iso3166: add recipe for 1.0.1
  2020-03-24 22:48 [meta-python][PATCH 00/17] Cleanup and new recipes Martin Kelly
                   ` (7 preceding siblings ...)
  2020-03-24 22:48 ` [meta-python][PATCH 08/17] python3-typeguard: add recipe for 2.7.1 Martin Kelly
@ 2020-03-24 22:48 ` Martin Kelly
  2020-03-24 22:48 ` [meta-python][PATCH 10/17] python3-geojson: add recipe for 2.5.0 Martin Kelly
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Martin Kelly @ 2020-03-24 22:48 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Martin Kelly

Signed-off-by: Martin Kelly <mkelly@xevo.com>
---
 .../python/python3-iso3166_1.0.1.bb                 | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-iso3166_1.0.1.bb

diff --git a/meta-python/recipes-devtools/python/python3-iso3166_1.0.1.bb b/meta-python/recipes-devtools/python/python3-iso3166_1.0.1.bb
new file mode 100644
index 000000000..23fc4eb75
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-iso3166_1.0.1.bb
@@ -0,0 +1,13 @@
+SUMMARY = "Self-contained ISO 3166-1 country definitions"
+HOMEPAGE = "https://pypi.org/project/iso3166/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5e2f4edc7e7408a82e4a1d05f229b695"
+
+SRC_URI[md5sum] = "53c313c7ae8721e40ddd5e7a01bbcb7e"
+SRC_URI[sha256sum] = "b1e58dbcf50fbb2c9c418ec7a6057f0cdb30b8f822ac852f72e71ba769dae8c5"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN} += "python3-numbers"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.1


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

* [meta-python][PATCH 10/17] python3-geojson: add recipe for 2.5.0
  2020-03-24 22:48 [meta-python][PATCH 00/17] Cleanup and new recipes Martin Kelly
                   ` (8 preceding siblings ...)
  2020-03-24 22:48 ` [meta-python][PATCH 09/17] python3-iso3166: add recipe for 1.0.1 Martin Kelly
@ 2020-03-24 22:48 ` Martin Kelly
  2020-03-24 22:48 ` [meta-python][PATCH 11/17] python3-haversine: add recipe for 2.2.0 Martin Kelly
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Martin Kelly @ 2020-03-24 22:48 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Martin Kelly

Signed-off-by: Martin Kelly <mkelly@xevo.com>
---
 .../python/python3-geojson_2.5.0.bb                 | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-geojson_2.5.0.bb

diff --git a/meta-python/recipes-devtools/python/python3-geojson_2.5.0.bb b/meta-python/recipes-devtools/python/python3-geojson_2.5.0.bb
new file mode 100644
index 000000000..7c3c23b22
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-geojson_2.5.0.bb
@@ -0,0 +1,13 @@
+SUMMARY = "Python bindings and utilities for GeoJSON"
+HOMEPAGE = "https://pypi.org/project/geojson/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=f48972abe5cddee79e301574742ed745"
+
+SRC_URI[md5sum] = "14753ed28678828b1de73f68b04e2324"
+SRC_URI[sha256sum] = "6e4bb7ace4226a45d9c8c8b1348b3fc43540658359f93c3f7e03efa9f15f658a"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN} += "python3-simplejson python3-math"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.1


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

* [meta-python][PATCH 11/17] python3-haversine: add recipe for 2.2.0
  2020-03-24 22:48 [meta-python][PATCH 00/17] Cleanup and new recipes Martin Kelly
                   ` (9 preceding siblings ...)
  2020-03-24 22:48 ` [meta-python][PATCH 10/17] python3-geojson: add recipe for 2.5.0 Martin Kelly
@ 2020-03-24 22:48 ` Martin Kelly
  2020-03-24 22:48 ` [meta-python][PATCH 12/17] python3-polyline: add recipe for 1.4.0 Martin Kelly
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Martin Kelly @ 2020-03-24 22:48 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Martin Kelly

Signed-off-by: Martin Kelly <mkelly@xevo.com>
---
 .../python/python3-haversine_2.2.0.bb                | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-haversine_2.2.0.bb

diff --git a/meta-python/recipes-devtools/python/python3-haversine_2.2.0.bb b/meta-python/recipes-devtools/python/python3-haversine_2.2.0.bb
new file mode 100644
index 000000000..fc2cc7d6f
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-haversine_2.2.0.bb
@@ -0,0 +1,12 @@
+SUMMARY = "Calculate the distance between 2 points on Earth"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+SRC_URI[md5sum] = "6b1badeb63aac6214c978d07a4ecd171"
+SRC_URI[sha256sum] = "b710aaf32c442a6d04aa89678be55e3f6c11f9752fc01c216e89b13120b36269"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN} += "python3-numpy"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.1


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

* [meta-python][PATCH 12/17] python3-polyline: add recipe for 1.4.0
  2020-03-24 22:48 [meta-python][PATCH 00/17] Cleanup and new recipes Martin Kelly
                   ` (10 preceding siblings ...)
  2020-03-24 22:48 ` [meta-python][PATCH 11/17] python3-haversine: add recipe for 2.2.0 Martin Kelly
@ 2020-03-24 22:48 ` Martin Kelly
  2020-03-24 22:48 ` [meta-python][PATCH 13/17] python3-mpmath: add recipe for 1.10 Martin Kelly
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Martin Kelly @ 2020-03-24 22:48 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Martin Kelly

Signed-off-by: Martin Kelly <mkelly@xevo.com>
---
 .../python/python3-polyline_1.4.0.bb                | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-polyline_1.4.0.bb

diff --git a/meta-python/recipes-devtools/python/python3-polyline_1.4.0.bb b/meta-python/recipes-devtools/python/python3-polyline_1.4.0.bb
new file mode 100644
index 000000000..3b3e2071f
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-polyline_1.4.0.bb
@@ -0,0 +1,13 @@
+SUMMARY = "A Python implementation of Google's Encoded Polyline Algorithm Format"
+HOMEPAGE = "https://pypi.org/project/polyline/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=0fbd13500cabd06dd751ba6b2be304c6"
+
+SRC_URI[md5sum] = "b97c57378605c4a856c437569f95a0cb"
+SRC_URI[sha256sum] = "7c7f89d09a09c7b6161bdbfb4fd304b186fc7a2060fa4f31cb3f61c646a5c074"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN} += "python3-six"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.1


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

* [meta-python][PATCH 13/17] python3-mpmath: add recipe for 1.10
  2020-03-24 22:48 [meta-python][PATCH 00/17] Cleanup and new recipes Martin Kelly
                   ` (11 preceding siblings ...)
  2020-03-24 22:48 ` [meta-python][PATCH 12/17] python3-polyline: add recipe for 1.4.0 Martin Kelly
@ 2020-03-24 22:48 ` Martin Kelly
  2020-03-24 22:48 ` [meta-python][PATCH 14/17] python3-sympy: add recipe for 1.5.1 Martin Kelly
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Martin Kelly @ 2020-03-24 22:48 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Martin Kelly

This is a dependency for python3-sympy.

This recipe is adapted from one in meta-jupyter, which is also
MIT-licensed.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
---
 .../python/python3-mpmath_1.1.0.bb               | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-mpmath_1.1.0.bb

diff --git a/meta-python/recipes-devtools/python/python3-mpmath_1.1.0.bb b/meta-python/recipes-devtools/python/python3-mpmath_1.1.0.bb
new file mode 100644
index 000000000..7879a85cd
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-mpmath_1.1.0.bb
@@ -0,0 +1,16 @@
+# This recipe is adapted from one in meta-jupyter:
+# https://github.com/Xilinx/meta-jupyter/blob/master/recipes-python/python3-mpmath_0.19.bb
+
+SUMMARY = "Python library for arbitrary-precision floating-point arithmetic"
+HOMEPAGE = "https://pypi.org/project/mpmath/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=efe9feb00df0b763941f2b1bbac7c402"
+
+SRC_URI[md5sum] = "acb1cdddf38e16084628065b174ddbfe"
+SRC_URI[sha256sum] = "fc17abe05fbab3382b61a123c398508183406fa132e0223874578e20946499f6"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN} += "python3-image"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.1


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

* [meta-python][PATCH 14/17] python3-sympy: add recipe for 1.5.1
  2020-03-24 22:48 [meta-python][PATCH 00/17] Cleanup and new recipes Martin Kelly
                   ` (12 preceding siblings ...)
  2020-03-24 22:48 ` [meta-python][PATCH 13/17] python3-mpmath: add recipe for 1.10 Martin Kelly
@ 2020-03-24 22:48 ` Martin Kelly
  2020-03-24 22:48 ` [meta-python][PATCH 15/17] python3-uritemplate: add recipe for 3.0.1 Martin Kelly
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Martin Kelly @ 2020-03-24 22:48 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Martin Kelly

This recipe is adapted from one in meta-jupyter, which is also
MIT-licensed.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
---
 .../python/python3-sympy_1.5.1.bb                | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-sympy_1.5.1.bb

diff --git a/meta-python/recipes-devtools/python/python3-sympy_1.5.1.bb b/meta-python/recipes-devtools/python/python3-sympy_1.5.1.bb
new file mode 100644
index 000000000..c0c382a51
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-sympy_1.5.1.bb
@@ -0,0 +1,16 @@
+# This recipe is adapted from one in meta-jupyter:
+# https://github.com/Xilinx/meta-jupyter/blob/master/recipes-python/python3-sympy_1.1.bb
+
+SUMMARY = "Computer algebra system (CAS) in Python"
+HOMEPAGE = "https://pypi.org/project/sympy/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=611b41534dbf5aa01d7c827bf667ef66"
+
+SRC_URI[md5sum] = "b11b310c3e1642bf66e51038cb3c0021"
+SRC_URI[sha256sum] = "d77901d748287d15281f5ffe5b0fef62dd38f357c2b827c44ff07f35695f4e7e"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN} += "python3-mpmath"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.1


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

* [meta-python][PATCH 15/17] python3-uritemplate: add recipe for 3.0.1
  2020-03-24 22:48 [meta-python][PATCH 00/17] Cleanup and new recipes Martin Kelly
                   ` (13 preceding siblings ...)
  2020-03-24 22:48 ` [meta-python][PATCH 14/17] python3-sympy: add recipe for 1.5.1 Martin Kelly
@ 2020-03-24 22:48 ` Martin Kelly
  2020-03-24 22:48 ` [meta-python][PATCH 16/17] python3-lockfile: add recipe for 0.12.2 Martin Kelly
  2020-03-24 22:48 ` [meta-python][PATCH 17/17] python3-cachecontrol: add recipe for 0.12.6 Martin Kelly
  16 siblings, 0 replies; 18+ messages in thread
From: Martin Kelly @ 2020-03-24 22:48 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Martin Kelly

This recipe originally comes from meta-openstack, but it's
dependency-less, so it may as well live here and get wider use.
meta-openstack is MIT-licensed, so the recipe is compatible.

Also bump the version to 3.0.1, from the 3.0.0 currently in
meta-openstack.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
---
 .../python/python3-uritemplate_3.0.1.bb            | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-uritemplate_3.0.1.bb

diff --git a/meta-python/recipes-devtools/python/python3-uritemplate_3.0.1.bb b/meta-python/recipes-devtools/python/python3-uritemplate_3.0.1.bb
new file mode 100644
index 000000000..952e954c5
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-uritemplate_3.0.1.bb
@@ -0,0 +1,14 @@
+# This recipe is originally from meta-openstack:
+# https://git.yoctoproject.org/cgit/cgit.cgi/meta-cloud-services/tree/meta-openstack/recipes-devtools/python/python3-uritemplate_3.0.0.bb?h=master
+
+SUMMARY = "Simple python library to deal with URI Templates."
+AUTHOR = "Ian Cordasco"
+LICENSE = "Apache-2.0 | BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=0f6d769bdcfacac3c1a1ffa568937fe0"
+
+SRC_URI[md5sum] = "869fb44fbd56713490db7272eb36c8ae"
+SRC_URI[sha256sum] = "5af8ad10cec94f215e3f48112de2022e1d5a37ed427fbd88652fa908f2ab7cae"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.1


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

* [meta-python][PATCH 16/17] python3-lockfile: add recipe for 0.12.2
  2020-03-24 22:48 [meta-python][PATCH 00/17] Cleanup and new recipes Martin Kelly
                   ` (14 preceding siblings ...)
  2020-03-24 22:48 ` [meta-python][PATCH 15/17] python3-uritemplate: add recipe for 3.0.1 Martin Kelly
@ 2020-03-24 22:48 ` Martin Kelly
  2020-03-24 22:48 ` [meta-python][PATCH 17/17] python3-cachecontrol: add recipe for 0.12.6 Martin Kelly
  16 siblings, 0 replies; 18+ messages in thread
From: Martin Kelly @ 2020-03-24 22:48 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Martin Kelly

Signed-off-by: Martin Kelly <mkelly@xevo.com>
---
 .../python/python3-lockfile_0.12.2.bb           | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-lockfile_0.12.2.bb

diff --git a/meta-python/recipes-devtools/python/python3-lockfile_0.12.2.bb b/meta-python/recipes-devtools/python/python3-lockfile_0.12.2.bb
new file mode 100644
index 000000000..30b1297e7
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-lockfile_0.12.2.bb
@@ -0,0 +1,17 @@
+# This recipe is originally from meta-openstack:
+# https://git.yoctoproject.org/cgit/cgit.cgi/meta-cloud-services/tree/meta-openstack/recipes-devtools/python/python-lockfile_0.12.2.bb
+
+SUMMARY = "Platform-independent file locking module"
+HOMEPAGE = "https://pypi.org/project/lockfile/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2340dffbbfea534b58f1349984eeef72"
+
+SRC_URI[md5sum] = "a6a1a82957a23afdf44cfdd039b65ff9"
+SRC_URI[sha256sum] = "6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799"
+
+inherit pypi setuptools3
+
+DEPENDS += "python3-distutils-extra-native python3-pbr-native"
+RDEPENDS_${PN} += "python3-sqlite3"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.1


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

* [meta-python][PATCH 17/17] python3-cachecontrol: add recipe for 0.12.6
  2020-03-24 22:48 [meta-python][PATCH 00/17] Cleanup and new recipes Martin Kelly
                   ` (15 preceding siblings ...)
  2020-03-24 22:48 ` [meta-python][PATCH 16/17] python3-lockfile: add recipe for 0.12.2 Martin Kelly
@ 2020-03-24 22:48 ` Martin Kelly
  16 siblings, 0 replies; 18+ messages in thread
From: Martin Kelly @ 2020-03-24 22:48 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Martin Kelly

This recipe originally comes from meta-openstack, but it's
dependency-less, so it may as well live here and get wider use.

meta-openstack is MIT-licensed, so the recipe is compatible.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
---
 .../python/python3-cachecontrol_0.12.6.bb     | 29 +++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-cachecontrol_0.12.6.bb

diff --git a/meta-python/recipes-devtools/python/python3-cachecontrol_0.12.6.bb b/meta-python/recipes-devtools/python/python3-cachecontrol_0.12.6.bb
new file mode 100644
index 000000000..7c45ed330
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-cachecontrol_0.12.6.bb
@@ -0,0 +1,29 @@
+SUMMARY = "httplib2 caching for requests"
+HOMEPAGE = "https://pypi.org/project/CacheControl/"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=6dc7e1b428eda03d850209fdbd6c71f1"
+
+# On PyPi, this is "CacheControl", rather than "cachecontrol", so we need to
+# override PYPI_PACKAGE so fetch succeeds.
+PYPI_PACKAGE = "CacheControl"
+
+SRC_URI[md5sum] = "5890b797f9b48b2b4cd1448cca89e396"
+SRC_URI[sha256sum] = "be9aa45477a134aee56c8fac518627e1154df063e85f67d4f83ce0ccc23688e8"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN} += "\
+    python3-crypt \
+    python3-datetime \
+    python3-email \
+    python3-lockfile \
+    python3-json \
+    python3-logging \
+    python3-msgpack \
+    python3-netclient \
+    python3-pickle \
+    python3-requests \
+    python3-urllib3 \
+"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.1


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

end of thread, other threads:[~2020-03-24 22:49 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-24 22:48 [meta-python][PATCH 00/17] Cleanup and new recipes Martin Kelly
2020-03-24 22:48 ` [meta-python][PATCH 01/17] recipes-devtools: remove +x bit Martin Kelly
2020-03-24 22:48 ` [meta-python][PATCH 02/17] python-msgpack: add native,nativesdk support Martin Kelly
2020-03-24 22:48 ` [meta-python][PATCH 03/17] python3-can: add native,nativesdk recipes Martin Kelly
2020-03-24 22:48 ` [meta-python][PATCH 04/17] python-pint: add nativesdk support Martin Kelly
2020-03-24 22:48 ` [meta-python][PATCH 05/17] python3-aenum: add recipe for 2.2.3 Martin Kelly
2020-03-24 22:48 ` [meta-python][PATCH 06/17] python3-can: add missing RDEPENDS Martin Kelly
2020-03-24 22:48 ` [meta-python][PATCH 07/17] python3-simpleeval: add recipe for 0.9.10 Martin Kelly
2020-03-24 22:48 ` [meta-python][PATCH 08/17] python3-typeguard: add recipe for 2.7.1 Martin Kelly
2020-03-24 22:48 ` [meta-python][PATCH 09/17] python3-iso3166: add recipe for 1.0.1 Martin Kelly
2020-03-24 22:48 ` [meta-python][PATCH 10/17] python3-geojson: add recipe for 2.5.0 Martin Kelly
2020-03-24 22:48 ` [meta-python][PATCH 11/17] python3-haversine: add recipe for 2.2.0 Martin Kelly
2020-03-24 22:48 ` [meta-python][PATCH 12/17] python3-polyline: add recipe for 1.4.0 Martin Kelly
2020-03-24 22:48 ` [meta-python][PATCH 13/17] python3-mpmath: add recipe for 1.10 Martin Kelly
2020-03-24 22:48 ` [meta-python][PATCH 14/17] python3-sympy: add recipe for 1.5.1 Martin Kelly
2020-03-24 22:48 ` [meta-python][PATCH 15/17] python3-uritemplate: add recipe for 3.0.1 Martin Kelly
2020-03-24 22:48 ` [meta-python][PATCH 16/17] python3-lockfile: add recipe for 0.12.2 Martin Kelly
2020-03-24 22:48 ` [meta-python][PATCH 17/17] python3-cachecontrol: add recipe for 0.12.6 Martin Kelly

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.