* [meta-python][PATCH 1/7] python3-parse: Consolidate in a single file
@ 2020-06-19 8:10 Leon Anavi
2020-06-19 8:10 ` [meta-python][PATCH 2/7] python3-passlib: " Leon Anavi
` (6 more replies)
0 siblings, 7 replies; 14+ messages in thread
From: Leon Anavi @ 2020-06-19 8:10 UTC (permalink / raw)
To: openembedded-devel; +Cc: Leon Anavi
Consolidate inc and bb files into a single bb file.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
.../recipes-devtools/python/python-parse.inc | 26 -----------------
.../python/python3-parse_1.15.0.bb | 28 +++++++++++++++++--
2 files changed, 26 insertions(+), 28 deletions(-)
delete mode 100644 meta-python/recipes-devtools/python/python-parse.inc
diff --git a/meta-python/recipes-devtools/python/python-parse.inc b/meta-python/recipes-devtools/python/python-parse.inc
deleted file mode 100644
index ecfd67172..000000000
--- a/meta-python/recipes-devtools/python/python-parse.inc
+++ /dev/null
@@ -1,26 +0,0 @@
-SUMMARY = "Parse strings using a specification based on the Python format() syntax"
-HOMEPAGE = "https://github.com/r1chardj0n3s/parse"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://parse.py;beginline=1325;endline=1345;md5=3d987b2e73881bbce768a80f9cdd23d9"
-
-SRC_URI[md5sum] = "a5aa82b2b8b4d733d227e3c99d7d01b4"
-SRC_URI[sha256sum] = "a6d4e2c2f1fbde6717d28084a191a052950f758c0cbd83805357e6575c2b95c0"
-
-inherit pypi ptest
-
-RDEPENDS_${PN} += "\
- ${PYTHON_PN}-datetime \
- ${PYTHON_PN}-logging \
- "
-
-SRC_URI += " \
- file://run-ptest \
-"
-
-RDEPENDS_${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
-"
-
-do_install_ptest() {
- cp -f ${S}/test_parse.py ${D}${PTEST_PATH}/
-}
diff --git a/meta-python/recipes-devtools/python/python3-parse_1.15.0.bb b/meta-python/recipes-devtools/python/python3-parse_1.15.0.bb
index b1242545c..bff41449c 100644
--- a/meta-python/recipes-devtools/python/python3-parse_1.15.0.bb
+++ b/meta-python/recipes-devtools/python/python3-parse_1.15.0.bb
@@ -1,2 +1,26 @@
-inherit setuptools3
-require python-parse.inc
+SUMMARY = "Parse strings using a specification based on the Python format() syntax"
+HOMEPAGE = "https://github.com/r1chardj0n3s/parse"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://parse.py;beginline=1325;endline=1345;md5=3d987b2e73881bbce768a80f9cdd23d9"
+
+SRC_URI[md5sum] = "a5aa82b2b8b4d733d227e3c99d7d01b4"
+SRC_URI[sha256sum] = "a6d4e2c2f1fbde6717d28084a191a052950f758c0cbd83805357e6575c2b95c0"
+
+inherit pypi setuptools3 ptest
+
+RDEPENDS_${PN} += "\
+ ${PYTHON_PN}-datetime \
+ ${PYTHON_PN}-logging \
+ "
+
+SRC_URI += " \
+ file://run-ptest \
+"
+
+RDEPENDS_${PN}-ptest += " \
+ ${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+ cp -f ${S}/test_parse.py ${D}${PTEST_PATH}/
+}
--
2.17.1
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [meta-python][PATCH 2/7] python3-passlib: Consolidate in a single file
2020-06-19 8:10 [meta-python][PATCH 1/7] python3-parse: Consolidate in a single file Leon Anavi
@ 2020-06-19 8:10 ` Leon Anavi
2020-06-22 13:45 ` [oe] " Trevor Gamblin
2020-06-19 8:10 ` [meta-python][PATCH 3/7] python3-pathlib2: " Leon Anavi
` (5 subsequent siblings)
6 siblings, 1 reply; 14+ messages in thread
From: Leon Anavi @ 2020-06-19 8:10 UTC (permalink / raw)
To: openembedded-devel; +Cc: Leon Anavi
Consolidate inc and bb files into a single bb file. Update
HOMEPAGE. Due to BitBucket deprecating Mercurial support,
Passlib's public repository and issue tracker has moved to
https://foss.heptapod.net/python-libs/passlib/wikis/home
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
.../python/python-passlib.inc | 19 -----------------
.../python/python3-passlib_1.7.2.bb | 21 ++++++++++++++++++-
2 files changed, 20 insertions(+), 20 deletions(-)
delete mode 100644 meta-python/recipes-devtools/python/python-passlib.inc
diff --git a/meta-python/recipes-devtools/python/python-passlib.inc b/meta-python/recipes-devtools/python/python-passlib.inc
deleted file mode 100644
index 9cf02807a..000000000
--- a/meta-python/recipes-devtools/python/python-passlib.inc
+++ /dev/null
@@ -1,19 +0,0 @@
-SUMMARY = "comprehensive password hashing framework supporting over 30 schemes"
-DESCRIPTION = "\
-Passlib is a password hashing library for Python 2 & 3, which provides cross-platform \
-implementations of over 30 password hashing algorithms, as well as a framework for \
-managing existing password hashes. It’s designed to be useful for a wide range of \
-tasks, from verifying a hash found in /etc/shadow, to providing full-strength password \
-hashing for multi-user applications."
-HOMEPAGE = "https://bitbucket.org/ecollins/passlib"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=44fd7dcd5d42b48d6dea59ac643a0179"
-
-SRC_URI[md5sum] = "b908529cfd4c33057c244324c692eae7"
-SRC_URI[sha256sum] = "8d666cef936198bc2ab47ee9b0410c94adf2ba798e5a84bf220be079ae7ab6a8"
-
-RDEPENDS_${PN} += "\
- ${PYTHON_PN}-crypt \
- ${PYTHON_PN}-logging \
- ${PYTHON_PN}-netclient \
-"
diff --git a/meta-python/recipes-devtools/python/python3-passlib_1.7.2.bb b/meta-python/recipes-devtools/python/python3-passlib_1.7.2.bb
index 18180a07a..b347163aa 100644
--- a/meta-python/recipes-devtools/python/python3-passlib_1.7.2.bb
+++ b/meta-python/recipes-devtools/python/python3-passlib_1.7.2.bb
@@ -1,2 +1,21 @@
+SUMMARY = "comprehensive password hashing framework supporting over 30 schemes"
+DESCRIPTION = "\
+Passlib is a password hashing library for Python 2 & 3, which provides cross-platform \
+implementations of over 30 password hashing algorithms, as well as a framework for \
+managing existing password hashes. It’s designed to be useful for a wide range of \
+tasks, from verifying a hash found in /etc/shadow, to providing full-strength password \
+hashing for multi-user applications."
+HOMEPAGE = "https://foss.heptapod.net/python-libs/passlib/wikis/home"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=44fd7dcd5d42b48d6dea59ac643a0179"
+
+SRC_URI[md5sum] = "b908529cfd4c33057c244324c692eae7"
+SRC_URI[sha256sum] = "8d666cef936198bc2ab47ee9b0410c94adf2ba798e5a84bf220be079ae7ab6a8"
+
inherit pypi setuptools3
-require python-passlib.inc
\ No newline at end of file
+
+RDEPENDS_${PN} += "\
+ ${PYTHON_PN}-crypt \
+ ${PYTHON_PN}-logging \
+ ${PYTHON_PN}-netclient \
+"
--
2.17.1
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [meta-python][PATCH 3/7] python3-pathlib2: Consolidate in a single file
2020-06-19 8:10 [meta-python][PATCH 1/7] python3-parse: Consolidate in a single file Leon Anavi
2020-06-19 8:10 ` [meta-python][PATCH 2/7] python3-passlib: " Leon Anavi
@ 2020-06-19 8:10 ` Leon Anavi
2020-06-22 13:45 ` [oe] " Trevor Gamblin
2020-06-19 8:10 ` [meta-python][PATCH 4/7] python3-pretend: " Leon Anavi
` (4 subsequent siblings)
6 siblings, 1 reply; 14+ messages in thread
From: Leon Anavi @ 2020-06-19 8:10 UTC (permalink / raw)
To: openembedded-devel; +Cc: Leon Anavi
Consolidate inc and bb files into a single bb file.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
.../recipes-devtools/python/python-pathlib2.inc | 11 -----------
.../python/python3-pathlib2_2.3.5.bb | 13 ++++++++++++-
2 files changed, 12 insertions(+), 12 deletions(-)
delete mode 100644 meta-python/recipes-devtools/python/python-pathlib2.inc
diff --git a/meta-python/recipes-devtools/python/python-pathlib2.inc b/meta-python/recipes-devtools/python/python-pathlib2.inc
deleted file mode 100644
index d69d5273a..000000000
--- a/meta-python/recipes-devtools/python/python-pathlib2.inc
+++ /dev/null
@@ -1,11 +0,0 @@
-DESCRIPTION = "Object-oriented filesystem paths"
-HOMEPAGE = "https://github.com/mcmtroffaes/pathlib2"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=042856c23a3e903b33bf361ea1cbe29a"
-
-SRC_URI[md5sum] = "f2bd0a363eb0f8fa0556f35c1d9e66fb"
-SRC_URI[sha256sum] = "6cd9a47b597b37cc57de1c05e56fb1a1c9cc9fab04fe78c29acd090418529868"
-
-RDEPENDS_${PN} += "${PYTHON_PN}-six ${PYTHON_PN}-ctypes"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-pathlib2_2.3.5.bb b/meta-python/recipes-devtools/python/python3-pathlib2_2.3.5.bb
index 66f71e57a..a022701ad 100644
--- a/meta-python/recipes-devtools/python/python3-pathlib2_2.3.5.bb
+++ b/meta-python/recipes-devtools/python/python3-pathlib2_2.3.5.bb
@@ -1,2 +1,13 @@
+DESCRIPTION = "Object-oriented filesystem paths"
+HOMEPAGE = "https://github.com/mcmtroffaes/pathlib2"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=042856c23a3e903b33bf361ea1cbe29a"
+
+SRC_URI[md5sum] = "f2bd0a363eb0f8fa0556f35c1d9e66fb"
+SRC_URI[sha256sum] = "6cd9a47b597b37cc57de1c05e56fb1a1c9cc9fab04fe78c29acd090418529868"
+
inherit pypi setuptools3
-require python-pathlib2.inc
+
+RDEPENDS_${PN} += "${PYTHON_PN}-six ${PYTHON_PN}-ctypes"
+
+BBCLASSEXTEND = "native nativesdk"
--
2.17.1
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [meta-python][PATCH 4/7] python3-pretend: Consolidate in a single file
2020-06-19 8:10 [meta-python][PATCH 1/7] python3-parse: Consolidate in a single file Leon Anavi
2020-06-19 8:10 ` [meta-python][PATCH 2/7] python3-passlib: " Leon Anavi
2020-06-19 8:10 ` [meta-python][PATCH 3/7] python3-pathlib2: " Leon Anavi
@ 2020-06-19 8:10 ` Leon Anavi
2020-06-22 13:45 ` [oe] " Trevor Gamblin
2020-06-19 8:10 ` [meta-python][PATCH 5/7] python3-prompt-toolkit: " Leon Anavi
` (3 subsequent siblings)
6 siblings, 1 reply; 14+ messages in thread
From: Leon Anavi @ 2020-06-19 8:10 UTC (permalink / raw)
To: openembedded-devel; +Cc: Leon Anavi
Consolidate inc and bb files into a single bb file.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
.../recipes-devtools/python/python-pretend.inc | 9 ---------
.../recipes-devtools/python/python3-pretend_1.0.9.bb | 11 ++++++++++-
2 files changed, 10 insertions(+), 10 deletions(-)
delete mode 100644 meta-python/recipes-devtools/python/python-pretend.inc
diff --git a/meta-python/recipes-devtools/python/python-pretend.inc b/meta-python/recipes-devtools/python/python-pretend.inc
deleted file mode 100644
index 58f196199..000000000
--- a/meta-python/recipes-devtools/python/python-pretend.inc
+++ /dev/null
@@ -1,9 +0,0 @@
-SUMMARY = "A library for stubbing in Python"
-HOMEPAGE = "https://github.com/alex/pretend"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=411780c0b7fa756753e94affeee5bc99"
-
-SRC_URI[md5sum] = "ad53883ede48aeac7ae584f0de0240e8"
-SRC_URI[sha256sum] = "c90eb810cde8ebb06dafcb8796f9a95228ce796531bc806e794c2f4649aa1b10"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-pretend_1.0.9.bb b/meta-python/recipes-devtools/python/python3-pretend_1.0.9.bb
index 9c5d8a843..21d14a03b 100644
--- a/meta-python/recipes-devtools/python/python3-pretend_1.0.9.bb
+++ b/meta-python/recipes-devtools/python/python3-pretend_1.0.9.bb
@@ -1,2 +1,11 @@
+SUMMARY = "A library for stubbing in Python"
+HOMEPAGE = "https://github.com/alex/pretend"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=411780c0b7fa756753e94affeee5bc99"
+
+SRC_URI[md5sum] = "ad53883ede48aeac7ae584f0de0240e8"
+SRC_URI[sha256sum] = "c90eb810cde8ebb06dafcb8796f9a95228ce796531bc806e794c2f4649aa1b10"
+
inherit pypi setuptools3
-require python-pretend.inc
+
+BBCLASSEXTEND = "native nativesdk"
--
2.17.1
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [meta-python][PATCH 5/7] python3-prompt-toolkit: Consolidate in a single file
2020-06-19 8:10 [meta-python][PATCH 1/7] python3-parse: Consolidate in a single file Leon Anavi
` (2 preceding siblings ...)
2020-06-19 8:10 ` [meta-python][PATCH 4/7] python3-pretend: " Leon Anavi
@ 2020-06-19 8:10 ` Leon Anavi
2020-06-22 13:45 ` [oe] " Trevor Gamblin
2020-06-19 8:10 ` [meta-python][PATCH 6/7] python3-prompt-toolkit: Upgrade 2.0.10 -> 3.0.5 Leon Anavi
` (2 subsequent siblings)
6 siblings, 1 reply; 14+ messages in thread
From: Leon Anavi @ 2020-06-19 8:10 UTC (permalink / raw)
To: openembedded-devel; +Cc: Leon Anavi
Consolidate inc and bb files into a single bb file.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
.../python/python-prompt-toolkit.inc | 18 ------------------
.../python/python3-prompt-toolkit_2.0.10.bb | 17 ++++++++++++++++-
2 files changed, 16 insertions(+), 19 deletions(-)
delete mode 100644 meta-python/recipes-devtools/python/python-prompt-toolkit.inc
diff --git a/meta-python/recipes-devtools/python/python-prompt-toolkit.inc b/meta-python/recipes-devtools/python/python-prompt-toolkit.inc
deleted file mode 100644
index 91aa7bb19..000000000
--- a/meta-python/recipes-devtools/python/python-prompt-toolkit.inc
+++ /dev/null
@@ -1,18 +0,0 @@
-SUMMARY = "Library for building powerful interactive command lines in Python"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f"
-
-SRC_URI[md5sum] = "5016c523e603cd7119644fbc0f00ce53"
-SRC_URI[sha256sum] = "f15af68f66e664eaa559d4ac8a928111eebd5feda0c11738b5998045224829db"
-
-PYPI_PACKAGE = "prompt_toolkit"
-
-RDEPENDS_${PN} += " \
- ${PYTHON_PN}-core \
- ${PYTHON_PN}-six \
- ${PYTHON_PN}-terminal \
- ${PYTHON_PN}-threading \
- ${PYTHON_PN}-wcwidth \
-"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.10.bb b/meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.10.bb
index 0e99917c2..d9ece8dab 100644
--- a/meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.10.bb
+++ b/meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.10.bb
@@ -1,7 +1,22 @@
+SUMMARY = "Library for building powerful interactive command lines in Python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f"
+
+SRC_URI[md5sum] = "5016c523e603cd7119644fbc0f00ce53"
+SRC_URI[sha256sum] = "f15af68f66e664eaa559d4ac8a928111eebd5feda0c11738b5998045224829db"
+
inherit pypi setuptools3
-require python-prompt-toolkit.inc
+
+PYPI_PACKAGE = "prompt_toolkit"
RDEPENDS_${PN} += " \
+ ${PYTHON_PN}-core \
+ ${PYTHON_PN}-six \
+ ${PYTHON_PN}-terminal \
+ ${PYTHON_PN}-threading \
+ ${PYTHON_PN}-wcwidth \
${PYTHON_PN}-datetime \
${PYTHON_PN}-shell \
"
+
+BBCLASSEXTEND = "native nativesdk"
--
2.17.1
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [meta-python][PATCH 6/7] python3-prompt-toolkit: Upgrade 2.0.10 -> 3.0.5
2020-06-19 8:10 [meta-python][PATCH 1/7] python3-parse: Consolidate in a single file Leon Anavi
` (3 preceding siblings ...)
2020-06-19 8:10 ` [meta-python][PATCH 5/7] python3-prompt-toolkit: " Leon Anavi
@ 2020-06-19 8:10 ` Leon Anavi
2020-06-22 13:46 ` [oe] " Trevor Gamblin
2020-06-19 8:10 ` [meta-python][PATCH 7/7] python3-ptyprocess: Consolidate in a single file Leon Anavi
2020-06-22 13:44 ` [oe] [meta-python][PATCH 1/7] python3-parse: " Trevor Gamblin
6 siblings, 1 reply; 14+ messages in thread
From: Leon Anavi @ 2020-06-19 8:10 UTC (permalink / raw)
To: openembedded-devel; +Cc: Leon Anavi
Upgrade to release 3.0.5 and add HOMEPAGE. The new release brings:
New features:
- (almost) 100% type annotated.
- Native asyncio instead of custom event loops.
- Added shift-based text selection.
- Added many more vt100 ANSI sequences and keys.
- Improved control/shift key support in Windows.
- No Mypy errors in prompt_toolkit anymore.
- Added `set_exception_handler` optional argument to
`PromptSession.prompt()`.
Breaking changes:
- Python 2 support has been dropped. Minimal Python version is now
3.6, although 3.7 is preferred (because of ContextVars).
- Native asyncio, so some async code becomes slightly different.
- The active `Application` became a contextvar. Which means that
it should be propagated correctly to the code that requires it.
However, random other threads or coroutines won't be able to know
what the current application is.
- The dialog shortcuts API changed. All dialog functions now return
an `Application`. You still have to call either `run()` or
`run_async` on the `Application` object.
- The way inputhooks work is changed.
- `patch_stdout` now requires an `Application` as input.
- `ShiftControl` has been replaced with `ControlShift` and `s-c`
with `c-s` in key bindings. Aliases for backwards-compatibility
have been added.
Fixes:
- Bugfix in invalidate code. `PromptSession` was invalidating the
UI continuously.
- Add uvloop support.
- Forwarded `set_exception_handler` in `Application.run` to the
`run_async` call.
- Bugfix in `NestedCompleter` when there is a leading space.
- Bugfix in mouse handling on Windows.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
...mpt-toolkit_2.0.10.bb => python3-prompt-toolkit_3.0.5.bb} | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
rename meta-python/recipes-devtools/python/{python3-prompt-toolkit_2.0.10.bb => python3-prompt-toolkit_3.0.5.bb} (70%)
diff --git a/meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.10.bb b/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.5.bb
similarity index 70%
rename from meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.10.bb
rename to meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.5.bb
index d9ece8dab..b4d20c2cd 100644
--- a/meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.10.bb
+++ b/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.5.bb
@@ -1,9 +1,10 @@
SUMMARY = "Library for building powerful interactive command lines in Python"
+HOMEPAGE = "https://python-prompt-toolkit.readthedocs.io/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f"
-SRC_URI[md5sum] = "5016c523e603cd7119644fbc0f00ce53"
-SRC_URI[sha256sum] = "f15af68f66e664eaa559d4ac8a928111eebd5feda0c11738b5998045224829db"
+SRC_URI[md5sum] = "96ba0be8d3145eb70e3da25654987670"
+SRC_URI[sha256sum] = "563d1a4140b63ff9dd587bda9557cffb2fe73650205ab6f4383092fb882e7dc8"
inherit pypi setuptools3
--
2.17.1
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [meta-python][PATCH 7/7] python3-ptyprocess: Consolidate in a single file
2020-06-19 8:10 [meta-python][PATCH 1/7] python3-parse: Consolidate in a single file Leon Anavi
` (4 preceding siblings ...)
2020-06-19 8:10 ` [meta-python][PATCH 6/7] python3-prompt-toolkit: Upgrade 2.0.10 -> 3.0.5 Leon Anavi
@ 2020-06-19 8:10 ` Leon Anavi
2020-06-22 13:46 ` [oe] " Trevor Gamblin
2020-06-22 13:44 ` [oe] [meta-python][PATCH 1/7] python3-parse: " Trevor Gamblin
6 siblings, 1 reply; 14+ messages in thread
From: Leon Anavi @ 2020-06-19 8:10 UTC (permalink / raw)
To: openembedded-devel; +Cc: Leon Anavi
Consolidate inc and bb files into a single bb file.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
.../python/python-ptyprocess.inc | 41 ------------------
.../python/python3-ptyprocess_0.6.0.bb | 43 ++++++++++++++++++-
2 files changed, 42 insertions(+), 42 deletions(-)
delete mode 100644 meta-python/recipes-devtools/python/python-ptyprocess.inc
diff --git a/meta-python/recipes-devtools/python/python-ptyprocess.inc b/meta-python/recipes-devtools/python/python-ptyprocess.inc
deleted file mode 100644
index a6dc21cf1..000000000
--- a/meta-python/recipes-devtools/python/python-ptyprocess.inc
+++ /dev/null
@@ -1,41 +0,0 @@
-SUMMARY = "Run a subprocess in a pseudo terminal"
-HOMEPAGE = "http://ptyprocess.readthedocs.io/en/latest/"
-SECTION = "devel/python"
-LICENSE = "ISC"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=cfdcd51fa7d5808da4e74346ee394490"
-
-SRCNAME = "ptyprocess"
-
-SRC_URI[md5sum] = "37402d69f3b50913d4d483587bffad8f"
-SRC_URI[sha256sum] = "923f299cc5ad920c68f2bc0bc98b75b9f838b93b599941a6b63ddbc2476394c0"
-
-UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ptyprocess"
-
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
-RDEPENDS_${PN} = "\
- ${PYTHON_PN}-core \
- ${PYTHON_PN}-fcntl \
- ${PYTHON_PN}-terminal \
- ${PYTHON_PN}-resource \
-"
-
-BBCLASSEXTEND = "native nativesdk"
-
-inherit ptest
-
-SRC_URI += " \
- file://run-ptest \
-"
-
-RDEPENDS_${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
- ${PYTHON_PN}-fcntl \
- ${PYTHON_PN}-terminal \
- ${PYTHON_PN}-resource \
-"
-
-do_install_ptest() {
- install -d ${D}${PTEST_PATH}/tests
- cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}
diff --git a/meta-python/recipes-devtools/python/python3-ptyprocess_0.6.0.bb b/meta-python/recipes-devtools/python/python3-ptyprocess_0.6.0.bb
index bdcd0e253..87911e02e 100644
--- a/meta-python/recipes-devtools/python/python3-ptyprocess_0.6.0.bb
+++ b/meta-python/recipes-devtools/python/python3-ptyprocess_0.6.0.bb
@@ -1,2 +1,43 @@
-require python-ptyprocess.inc
+SUMMARY = "Run a subprocess in a pseudo terminal"
+HOMEPAGE = "http://ptyprocess.readthedocs.io/en/latest/"
+SECTION = "devel/python"
+LICENSE = "ISC"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=cfdcd51fa7d5808da4e74346ee394490"
+
+SRCNAME = "ptyprocess"
+
+SRC_URI[md5sum] = "37402d69f3b50913d4d483587bffad8f"
+SRC_URI[sha256sum] = "923f299cc5ad920c68f2bc0bc98b75b9f838b93b599941a6b63ddbc2476394c0"
+
inherit pypi setuptools3
+
+UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ptyprocess"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+RDEPENDS_${PN} = "\
+ ${PYTHON_PN}-core \
+ ${PYTHON_PN}-fcntl \
+ ${PYTHON_PN}-terminal \
+ ${PYTHON_PN}-resource \
+"
+
+BBCLASSEXTEND = "native nativesdk"
+
+inherit ptest
+
+SRC_URI += " \
+ file://run-ptest \
+"
+
+RDEPENDS_${PN}-ptest += " \
+ ${PYTHON_PN}-pytest \
+ ${PYTHON_PN}-fcntl \
+ ${PYTHON_PN}-terminal \
+ ${PYTHON_PN}-resource \
+"
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/tests
+ cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
--
2.17.1
^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [oe] [meta-python][PATCH 1/7] python3-parse: Consolidate in a single file
2020-06-19 8:10 [meta-python][PATCH 1/7] python3-parse: Consolidate in a single file Leon Anavi
` (5 preceding siblings ...)
2020-06-19 8:10 ` [meta-python][PATCH 7/7] python3-ptyprocess: Consolidate in a single file Leon Anavi
@ 2020-06-22 13:44 ` Trevor Gamblin
6 siblings, 0 replies; 14+ messages in thread
From: Trevor Gamblin @ 2020-06-22 13:44 UTC (permalink / raw)
To: Leon Anavi, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 2716 bytes --]
On 6/19/20 4:10 AM, Leon Anavi wrote:
> Consolidate inc and bb files into a single bb file.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
> .../recipes-devtools/python/python-parse.inc | 26 -----------------
> .../python/python3-parse_1.15.0.bb | 28 +++++++++++++++++--
> 2 files changed, 26 insertions(+), 28 deletions(-)
> delete mode 100644 meta-python/recipes-devtools/python/python-parse.inc
>
> diff --git a/meta-python/recipes-devtools/python/python-parse.inc b/meta-python/recipes-devtools/python/python-parse.inc
> deleted file mode 100644
> index ecfd67172..000000000
> --- a/meta-python/recipes-devtools/python/python-parse.inc
> +++ /dev/null
> @@ -1,26 +0,0 @@
> -SUMMARY = "Parse strings using a specification based on the Python format() syntax"
> -HOMEPAGE = "https://github.com/r1chardj0n3s/parse"
> -LICENSE = "MIT"
> -LIC_FILES_CHKSUM = "file://parse.py;beginline=1325;endline=1345;md5=3d987b2e73881bbce768a80f9cdd23d9"
> -
> -SRC_URI[md5sum] = "a5aa82b2b8b4d733d227e3c99d7d01b4"
> -SRC_URI[sha256sum] = "a6d4e2c2f1fbde6717d28084a191a052950f758c0cbd83805357e6575c2b95c0"
> -
> -inherit pypi ptest
> -
> -RDEPENDS_${PN} += "\
> - ${PYTHON_PN}-datetime \
> - ${PYTHON_PN}-logging \
> - "
> -
> -SRC_URI += " \
> - file://run-ptest \
> -"
> -
> -RDEPENDS_${PN}-ptest += " \
> - ${PYTHON_PN}-pytest \
> -"
> -
> -do_install_ptest() {
> - cp -f ${S}/test_parse.py ${D}${PTEST_PATH}/
> -}
> diff --git a/meta-python/recipes-devtools/python/python3-parse_1.15.0.bb b/meta-python/recipes-devtools/python/python3-parse_1.15.0.bb
> index b1242545c..bff41449c 100644
> --- a/meta-python/recipes-devtools/python/python3-parse_1.15.0.bb
> +++ b/meta-python/recipes-devtools/python/python3-parse_1.15.0.bb
> @@ -1,2 +1,26 @@
> -inherit setuptools3
> -require python-parse.inc
> +SUMMARY = "Parse strings using a specification based on the Python format() syntax"
> +HOMEPAGE = "https://github.com/r1chardj0n3s/parse"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://parse.py;beginline=1325;endline=1345;md5=3d987b2e73881bbce768a80f9cdd23d9"
> +
> +SRC_URI[md5sum] = "a5aa82b2b8b4d733d227e3c99d7d01b4"
> +SRC_URI[sha256sum] = "a6d4e2c2f1fbde6717d28084a191a052950f758c0cbd83805357e6575c2b95c0"
> +
> +inherit pypi setuptools3 ptest
> +
> +RDEPENDS_${PN} += "\
> + ${PYTHON_PN}-datetime \
> + ${PYTHON_PN}-logging \
> + "
> +
> +SRC_URI += " \
> + file://run-ptest \
> +"
> +
> +RDEPENDS_${PN}-ptest += " \
> + ${PYTHON_PN}-pytest \
> +"
> +
> +do_install_ptest() {
> + cp -f ${S}/test_parse.py ${D}${PTEST_PATH}/
> +}
>
>
[-- Attachment #2: Type: text/html, Size: 4309 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [oe] [meta-python][PATCH 2/7] python3-passlib: Consolidate in a single file
2020-06-19 8:10 ` [meta-python][PATCH 2/7] python3-passlib: " Leon Anavi
@ 2020-06-22 13:45 ` Trevor Gamblin
0 siblings, 0 replies; 14+ messages in thread
From: Trevor Gamblin @ 2020-06-22 13:45 UTC (permalink / raw)
To: Leon Anavi, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 3354 bytes --]
On 6/19/20 4:10 AM, Leon Anavi wrote:
> Consolidate inc and bb files into a single bb file. Update
> HOMEPAGE. Due to BitBucket deprecating Mercurial support,
> Passlib's public repository and issue tracker has moved to
> https://foss.heptapod.net/python-libs/passlib/wikis/home
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
> .../python/python-passlib.inc | 19 -----------------
> .../python/python3-passlib_1.7.2.bb | 21 ++++++++++++++++++-
> 2 files changed, 20 insertions(+), 20 deletions(-)
> delete mode 100644 meta-python/recipes-devtools/python/python-passlib.inc
>
> diff --git a/meta-python/recipes-devtools/python/python-passlib.inc b/meta-python/recipes-devtools/python/python-passlib.inc
> deleted file mode 100644
> index 9cf02807a..000000000
> --- a/meta-python/recipes-devtools/python/python-passlib.inc
> +++ /dev/null
> @@ -1,19 +0,0 @@
> -SUMMARY = "comprehensive password hashing framework supporting over 30 schemes"
> -DESCRIPTION = "\
> -Passlib is a password hashing library for Python 2 & 3, which provides cross-platform \
> -implementations of over 30 password hashing algorithms, as well as a framework for \
> -managing existing password hashes. It’s designed to be useful for a wide range of \
> -tasks, from verifying a hash found in /etc/shadow, to providing full-strength password \
> -hashing for multi-user applications."
> -HOMEPAGE = "https://bitbucket.org/ecollins/passlib"
> -LICENSE = "BSD-3-Clause"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=44fd7dcd5d42b48d6dea59ac643a0179"
> -
> -SRC_URI[md5sum] = "b908529cfd4c33057c244324c692eae7"
> -SRC_URI[sha256sum] = "8d666cef936198bc2ab47ee9b0410c94adf2ba798e5a84bf220be079ae7ab6a8"
> -
> -RDEPENDS_${PN} += "\
> - ${PYTHON_PN}-crypt \
> - ${PYTHON_PN}-logging \
> - ${PYTHON_PN}-netclient \
> -"
> diff --git a/meta-python/recipes-devtools/python/python3-passlib_1.7.2.bb b/meta-python/recipes-devtools/python/python3-passlib_1.7.2.bb
> index 18180a07a..b347163aa 100644
> --- a/meta-python/recipes-devtools/python/python3-passlib_1.7.2.bb
> +++ b/meta-python/recipes-devtools/python/python3-passlib_1.7.2.bb
> @@ -1,2 +1,21 @@
> +SUMMARY = "comprehensive password hashing framework supporting over 30 schemes"
> +DESCRIPTION = "\
> +Passlib is a password hashing library for Python 2 & 3, which provides cross-platform \
> +implementations of over 30 password hashing algorithms, as well as a framework for \
> +managing existing password hashes. It’s designed to be useful for a wide range of \
> +tasks, from verifying a hash found in /etc/shadow, to providing full-strength password \
> +hashing for multi-user applications."
> +HOMEPAGE = "https://foss.heptapod.net/python-libs/passlib/wikis/home"
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=44fd7dcd5d42b48d6dea59ac643a0179"
> +
> +SRC_URI[md5sum] = "b908529cfd4c33057c244324c692eae7"
> +SRC_URI[sha256sum] = "8d666cef936198bc2ab47ee9b0410c94adf2ba798e5a84bf220be079ae7ab6a8"
> +
> inherit pypi setuptools3
> -require python-passlib.inc
> \ No newline at end of file
> +
> +RDEPENDS_${PN} += "\
> + ${PYTHON_PN}-crypt \
> + ${PYTHON_PN}-logging \
> + ${PYTHON_PN}-netclient \
> +"
>
>
[-- Attachment #2: Type: text/html, Size: 4853 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [oe] [meta-python][PATCH 3/7] python3-pathlib2: Consolidate in a single file
2020-06-19 8:10 ` [meta-python][PATCH 3/7] python3-pathlib2: " Leon Anavi
@ 2020-06-22 13:45 ` Trevor Gamblin
0 siblings, 0 replies; 14+ messages in thread
From: Trevor Gamblin @ 2020-06-22 13:45 UTC (permalink / raw)
To: Leon Anavi, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 2162 bytes --]
On 6/19/20 4:10 AM, Leon Anavi wrote:
> Consolidate inc and bb files into a single bb file.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
> .../recipes-devtools/python/python-pathlib2.inc | 11 -----------
> .../python/python3-pathlib2_2.3.5.bb | 13 ++++++++++++-
> 2 files changed, 12 insertions(+), 12 deletions(-)
> delete mode 100644 meta-python/recipes-devtools/python/python-pathlib2.inc
>
> diff --git a/meta-python/recipes-devtools/python/python-pathlib2.inc b/meta-python/recipes-devtools/python/python-pathlib2.inc
> deleted file mode 100644
> index d69d5273a..000000000
> --- a/meta-python/recipes-devtools/python/python-pathlib2.inc
> +++ /dev/null
> @@ -1,11 +0,0 @@
> -DESCRIPTION = "Object-oriented filesystem paths"
> -HOMEPAGE = "https://github.com/mcmtroffaes/pathlib2"
> -LICENSE = "MIT"
> -LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=042856c23a3e903b33bf361ea1cbe29a"
> -
> -SRC_URI[md5sum] = "f2bd0a363eb0f8fa0556f35c1d9e66fb"
> -SRC_URI[sha256sum] = "6cd9a47b597b37cc57de1c05e56fb1a1c9cc9fab04fe78c29acd090418529868"
> -
> -RDEPENDS_${PN} += "${PYTHON_PN}-six ${PYTHON_PN}-ctypes"
> -
> -BBCLASSEXTEND = "native nativesdk"
> diff --git a/meta-python/recipes-devtools/python/python3-pathlib2_2.3.5.bb b/meta-python/recipes-devtools/python/python3-pathlib2_2.3.5.bb
> index 66f71e57a..a022701ad 100644
> --- a/meta-python/recipes-devtools/python/python3-pathlib2_2.3.5.bb
> +++ b/meta-python/recipes-devtools/python/python3-pathlib2_2.3.5.bb
> @@ -1,2 +1,13 @@
> +DESCRIPTION = "Object-oriented filesystem paths"
> +HOMEPAGE = "https://github.com/mcmtroffaes/pathlib2"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=042856c23a3e903b33bf361ea1cbe29a"
> +
> +SRC_URI[md5sum] = "f2bd0a363eb0f8fa0556f35c1d9e66fb"
> +SRC_URI[sha256sum] = "6cd9a47b597b37cc57de1c05e56fb1a1c9cc9fab04fe78c29acd090418529868"
> +
> inherit pypi setuptools3
> -require python-pathlib2.inc
> +
> +RDEPENDS_${PN} += "${PYTHON_PN}-six ${PYTHON_PN}-ctypes"
> +
> +BBCLASSEXTEND = "native nativesdk"
>
>
[-- Attachment #2: Type: text/html, Size: 3528 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [oe] [meta-python][PATCH 4/7] python3-pretend: Consolidate in a single file
2020-06-19 8:10 ` [meta-python][PATCH 4/7] python3-pretend: " Leon Anavi
@ 2020-06-22 13:45 ` Trevor Gamblin
0 siblings, 0 replies; 14+ messages in thread
From: Trevor Gamblin @ 2020-06-22 13:45 UTC (permalink / raw)
To: Leon Anavi, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 2014 bytes --]
On 6/19/20 4:10 AM, Leon Anavi wrote:
> Consolidate inc and bb files into a single bb file.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
> .../recipes-devtools/python/python-pretend.inc | 9 ---------
> .../recipes-devtools/python/python3-pretend_1.0.9.bb | 11 ++++++++++-
> 2 files changed, 10 insertions(+), 10 deletions(-)
> delete mode 100644 meta-python/recipes-devtools/python/python-pretend.inc
>
> diff --git a/meta-python/recipes-devtools/python/python-pretend.inc b/meta-python/recipes-devtools/python/python-pretend.inc
> deleted file mode 100644
> index 58f196199..000000000
> --- a/meta-python/recipes-devtools/python/python-pretend.inc
> +++ /dev/null
> @@ -1,9 +0,0 @@
> -SUMMARY = "A library for stubbing in Python"
> -HOMEPAGE = "https://github.com/alex/pretend"
> -LICENSE = "BSD-3-Clause"
> -LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=411780c0b7fa756753e94affeee5bc99"
> -
> -SRC_URI[md5sum] = "ad53883ede48aeac7ae584f0de0240e8"
> -SRC_URI[sha256sum] = "c90eb810cde8ebb06dafcb8796f9a95228ce796531bc806e794c2f4649aa1b10"
> -
> -BBCLASSEXTEND = "native nativesdk"
> diff --git a/meta-python/recipes-devtools/python/python3-pretend_1.0.9.bb b/meta-python/recipes-devtools/python/python3-pretend_1.0.9.bb
> index 9c5d8a843..21d14a03b 100644
> --- a/meta-python/recipes-devtools/python/python3-pretend_1.0.9.bb
> +++ b/meta-python/recipes-devtools/python/python3-pretend_1.0.9.bb
> @@ -1,2 +1,11 @@
> +SUMMARY = "A library for stubbing in Python"
> +HOMEPAGE = "https://github.com/alex/pretend"
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=411780c0b7fa756753e94affeee5bc99"
> +
> +SRC_URI[md5sum] = "ad53883ede48aeac7ae584f0de0240e8"
> +SRC_URI[sha256sum] = "c90eb810cde8ebb06dafcb8796f9a95228ce796531bc806e794c2f4649aa1b10"
> +
> inherit pypi setuptools3
> -require python-pretend.inc
> +
> +BBCLASSEXTEND = "native nativesdk"
>
>
[-- Attachment #2: Type: text/html, Size: 3328 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [oe] [meta-python][PATCH 5/7] python3-prompt-toolkit: Consolidate in a single file
2020-06-19 8:10 ` [meta-python][PATCH 5/7] python3-prompt-toolkit: " Leon Anavi
@ 2020-06-22 13:45 ` Trevor Gamblin
0 siblings, 0 replies; 14+ messages in thread
From: Trevor Gamblin @ 2020-06-22 13:45 UTC (permalink / raw)
To: Leon Anavi, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 2567 bytes --]
On 6/19/20 4:10 AM, Leon Anavi wrote:
> Consolidate inc and bb files into a single bb file.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
> .../python/python-prompt-toolkit.inc | 18 ------------------
> .../python/python3-prompt-toolkit_2.0.10.bb | 17 ++++++++++++++++-
> 2 files changed, 16 insertions(+), 19 deletions(-)
> delete mode 100644 meta-python/recipes-devtools/python/python-prompt-toolkit.inc
>
> diff --git a/meta-python/recipes-devtools/python/python-prompt-toolkit.inc b/meta-python/recipes-devtools/python/python-prompt-toolkit.inc
> deleted file mode 100644
> index 91aa7bb19..000000000
> --- a/meta-python/recipes-devtools/python/python-prompt-toolkit.inc
> +++ /dev/null
> @@ -1,18 +0,0 @@
> -SUMMARY = "Library for building powerful interactive command lines in Python"
> -LICENSE = "BSD-3-Clause"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f"
> -
> -SRC_URI[md5sum] = "5016c523e603cd7119644fbc0f00ce53"
> -SRC_URI[sha256sum] = "f15af68f66e664eaa559d4ac8a928111eebd5feda0c11738b5998045224829db"
> -
> -PYPI_PACKAGE = "prompt_toolkit"
> -
> -RDEPENDS_${PN} += " \
> - ${PYTHON_PN}-core \
> - ${PYTHON_PN}-six \
> - ${PYTHON_PN}-terminal \
> - ${PYTHON_PN}-threading \
> - ${PYTHON_PN}-wcwidth \
> -"
> -
> -BBCLASSEXTEND = "native nativesdk"
> diff --git a/meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.10.bb b/meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.10.bb
> index 0e99917c2..d9ece8dab 100644
> --- a/meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.10.bb
> +++ b/meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.10.bb
> @@ -1,7 +1,22 @@
> +SUMMARY = "Library for building powerful interactive command lines in Python"
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f"
> +
> +SRC_URI[md5sum] = "5016c523e603cd7119644fbc0f00ce53"
> +SRC_URI[sha256sum] = "f15af68f66e664eaa559d4ac8a928111eebd5feda0c11738b5998045224829db"
> +
> inherit pypi setuptools3
> -require python-prompt-toolkit.inc
> +
> +PYPI_PACKAGE = "prompt_toolkit"
>
> RDEPENDS_${PN} += " \
> + ${PYTHON_PN}-core \
> + ${PYTHON_PN}-six \
> + ${PYTHON_PN}-terminal \
> + ${PYTHON_PN}-threading \
> + ${PYTHON_PN}-wcwidth \
> ${PYTHON_PN}-datetime \
> ${PYTHON_PN}-shell \
> "
> +
> +BBCLASSEXTEND = "native nativesdk"
>
>
[-- Attachment #2: Type: text/html, Size: 3752 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [oe] [meta-python][PATCH 6/7] python3-prompt-toolkit: Upgrade 2.0.10 -> 3.0.5
2020-06-19 8:10 ` [meta-python][PATCH 6/7] python3-prompt-toolkit: Upgrade 2.0.10 -> 3.0.5 Leon Anavi
@ 2020-06-22 13:46 ` Trevor Gamblin
0 siblings, 0 replies; 14+ messages in thread
From: Trevor Gamblin @ 2020-06-22 13:46 UTC (permalink / raw)
To: Leon Anavi, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 3282 bytes --]
On 6/19/20 4:10 AM, Leon Anavi wrote:
> Upgrade to release 3.0.5 and add HOMEPAGE. The new release brings:
>
> New features:
> - (almost) 100% type annotated.
> - Native asyncio instead of custom event loops.
> - Added shift-based text selection.
> - Added many more vt100 ANSI sequences and keys.
> - Improved control/shift key support in Windows.
> - No Mypy errors in prompt_toolkit anymore.
> - Added `set_exception_handler` optional argument to
> `PromptSession.prompt()`.
>
> Breaking changes:
> - Python 2 support has been dropped. Minimal Python version is now
> 3.6, although 3.7 is preferred (because of ContextVars).
> - Native asyncio, so some async code becomes slightly different.
> - The active `Application` became a contextvar. Which means that
> it should be propagated correctly to the code that requires it.
> However, random other threads or coroutines won't be able to know
> what the current application is.
> - The dialog shortcuts API changed. All dialog functions now return
> an `Application`. You still have to call either `run()` or
> `run_async` on the `Application` object.
> - The way inputhooks work is changed.
> - `patch_stdout` now requires an `Application` as input.
> - `ShiftControl` has been replaced with `ControlShift` and `s-c`
> with `c-s` in key bindings. Aliases for backwards-compatibility
> have been added.
>
> Fixes:
> - Bugfix in invalidate code. `PromptSession` was invalidating the
> UI continuously.
> - Add uvloop support.
> - Forwarded `set_exception_handler` in `Application.run` to the
> `run_async` call.
> - Bugfix in `NestedCompleter` when there is a leading space.
> - Bugfix in mouse handling on Windows.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
> ...mpt-toolkit_2.0.10.bb => python3-prompt-toolkit_3.0.5.bb} | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
> rename meta-python/recipes-devtools/python/{python3-prompt-toolkit_2.0.10.bb => python3-prompt-toolkit_3.0.5.bb} (70%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.10.bb b/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.5.bb
> similarity index 70%
> rename from meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.10.bb
> rename to meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.5.bb
> index d9ece8dab..b4d20c2cd 100644
> --- a/meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.10.bb
> +++ b/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.5.bb
> @@ -1,9 +1,10 @@
> SUMMARY = "Library for building powerful interactive command lines in Python"
> +HOMEPAGE = "https://python-prompt-toolkit.readthedocs.io/"
> LICENSE = "BSD-3-Clause"
> LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f"
>
> -SRC_URI[md5sum] = "5016c523e603cd7119644fbc0f00ce53"
> -SRC_URI[sha256sum] = "f15af68f66e664eaa559d4ac8a928111eebd5feda0c11738b5998045224829db"
> +SRC_URI[md5sum] = "96ba0be8d3145eb70e3da25654987670"
> +SRC_URI[sha256sum] = "563d1a4140b63ff9dd587bda9557cffb2fe73650205ab6f4383092fb882e7dc8"
>
> inherit pypi setuptools3
>
>
>
[-- Attachment #2: Type: text/html, Size: 4245 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [oe] [meta-python][PATCH 7/7] python3-ptyprocess: Consolidate in a single file
2020-06-19 8:10 ` [meta-python][PATCH 7/7] python3-ptyprocess: Consolidate in a single file Leon Anavi
@ 2020-06-22 13:46 ` Trevor Gamblin
0 siblings, 0 replies; 14+ messages in thread
From: Trevor Gamblin @ 2020-06-22 13:46 UTC (permalink / raw)
To: Leon Anavi, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 3429 bytes --]
On 6/19/20 4:10 AM, Leon Anavi wrote:
> Consolidate inc and bb files into a single bb file.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
> .../python/python-ptyprocess.inc | 41 ------------------
> .../python/python3-ptyprocess_0.6.0.bb | 43 ++++++++++++++++++-
> 2 files changed, 42 insertions(+), 42 deletions(-)
> delete mode 100644 meta-python/recipes-devtools/python/python-ptyprocess.inc
>
> diff --git a/meta-python/recipes-devtools/python/python-ptyprocess.inc b/meta-python/recipes-devtools/python/python-ptyprocess.inc
> deleted file mode 100644
> index a6dc21cf1..000000000
> --- a/meta-python/recipes-devtools/python/python-ptyprocess.inc
> +++ /dev/null
> @@ -1,41 +0,0 @@
> -SUMMARY = "Run a subprocess in a pseudo terminal"
> -HOMEPAGE = "http://ptyprocess.readthedocs.io/en/latest/"
> -SECTION = "devel/python"
> -LICENSE = "ISC"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=cfdcd51fa7d5808da4e74346ee394490"
> -
> -SRCNAME = "ptyprocess"
> -
> -SRC_URI[md5sum] = "37402d69f3b50913d4d483587bffad8f"
> -SRC_URI[sha256sum] = "923f299cc5ad920c68f2bc0bc98b75b9f838b93b599941a6b63ddbc2476394c0"
> -
> -UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ptyprocess"
> -
> -S = "${WORKDIR}/${SRCNAME}-${PV}"
> -
> -RDEPENDS_${PN} = "\
> - ${PYTHON_PN}-core \
> - ${PYTHON_PN}-fcntl \
> - ${PYTHON_PN}-terminal \
> - ${PYTHON_PN}-resource \
> -"
> -
> -BBCLASSEXTEND = "native nativesdk"
> -
> -inherit ptest
> -
> -SRC_URI += " \
> - file://run-ptest \
> -"
> -
> -RDEPENDS_${PN}-ptest += " \
> - ${PYTHON_PN}-pytest \
> - ${PYTHON_PN}-fcntl \
> - ${PYTHON_PN}-terminal \
> - ${PYTHON_PN}-resource \
> -"
> -
> -do_install_ptest() {
> - install -d ${D}${PTEST_PATH}/tests
> - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
> -}
> diff --git a/meta-python/recipes-devtools/python/python3-ptyprocess_0.6.0.bb b/meta-python/recipes-devtools/python/python3-ptyprocess_0.6.0.bb
> index bdcd0e253..87911e02e 100644
> --- a/meta-python/recipes-devtools/python/python3-ptyprocess_0.6.0.bb
> +++ b/meta-python/recipes-devtools/python/python3-ptyprocess_0.6.0.bb
> @@ -1,2 +1,43 @@
> -require python-ptyprocess.inc
> +SUMMARY = "Run a subprocess in a pseudo terminal"
> +HOMEPAGE = "http://ptyprocess.readthedocs.io/en/latest/"
> +SECTION = "devel/python"
> +LICENSE = "ISC"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=cfdcd51fa7d5808da4e74346ee394490"
> +
> +SRCNAME = "ptyprocess"
> +
> +SRC_URI[md5sum] = "37402d69f3b50913d4d483587bffad8f"
> +SRC_URI[sha256sum] = "923f299cc5ad920c68f2bc0bc98b75b9f838b93b599941a6b63ddbc2476394c0"
> +
> inherit pypi setuptools3
> +
> +UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ptyprocess"
> +
> +S = "${WORKDIR}/${SRCNAME}-${PV}"
> +
> +RDEPENDS_${PN} = "\
> + ${PYTHON_PN}-core \
> + ${PYTHON_PN}-fcntl \
> + ${PYTHON_PN}-terminal \
> + ${PYTHON_PN}-resource \
> +"
> +
> +BBCLASSEXTEND = "native nativesdk"
> +
> +inherit ptest
> +
> +SRC_URI += " \
> + file://run-ptest \
> +"
> +
> +RDEPENDS_${PN}-ptest += " \
> + ${PYTHON_PN}-pytest \
> + ${PYTHON_PN}-fcntl \
> + ${PYTHON_PN}-terminal \
> + ${PYTHON_PN}-resource \
> +"
> +
> +do_install_ptest() {
> + install -d ${D}${PTEST_PATH}/tests
> + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
> +}
>
>
[-- Attachment #2: Type: text/html, Size: 5237 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2020-06-22 13:46 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-19 8:10 [meta-python][PATCH 1/7] python3-parse: Consolidate in a single file Leon Anavi
2020-06-19 8:10 ` [meta-python][PATCH 2/7] python3-passlib: " Leon Anavi
2020-06-22 13:45 ` [oe] " Trevor Gamblin
2020-06-19 8:10 ` [meta-python][PATCH 3/7] python3-pathlib2: " Leon Anavi
2020-06-22 13:45 ` [oe] " Trevor Gamblin
2020-06-19 8:10 ` [meta-python][PATCH 4/7] python3-pretend: " Leon Anavi
2020-06-22 13:45 ` [oe] " Trevor Gamblin
2020-06-19 8:10 ` [meta-python][PATCH 5/7] python3-prompt-toolkit: " Leon Anavi
2020-06-22 13:45 ` [oe] " Trevor Gamblin
2020-06-19 8:10 ` [meta-python][PATCH 6/7] python3-prompt-toolkit: Upgrade 2.0.10 -> 3.0.5 Leon Anavi
2020-06-22 13:46 ` [oe] " Trevor Gamblin
2020-06-19 8:10 ` [meta-python][PATCH 7/7] python3-ptyprocess: Consolidate in a single file Leon Anavi
2020-06-22 13:46 ` [oe] " Trevor Gamblin
2020-06-22 13:44 ` [oe] [meta-python][PATCH 1/7] python3-parse: " Trevor Gamblin
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.