python3-parse: Consolidate in a single file
PATCH 1/7 python3-parse: Consolidate in a single file
Consolidate inc and bb files into a single bb file.
--- .../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
meta-python/recipes-devtools/python/python-parse.inc deleted +0 -26
@@ -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}/ -}
meta-python/recipes-devtools/python/python3-parse_1.15.0.bb +26 -2
@@ -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}/ +}
Signature · 1 line
2.17.1
PATCH 2/7 python3-passlib: Consolidate in a single file
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
--- .../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
meta-python/recipes-devtools/python/python-passlib.inc deleted +0 -19
@@ -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 \ -"
meta-python/recipes-devtools/python/python3-passlib_1.7.2.bb +20 -1
@@ -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 + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-crypt \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-netclient \ +"
Signature · 1 line
2.17.1
Re: [oe] [meta-python][PATCH 2/7] python3-passlib: Consolidate in a single file
Quoted 6 lines · 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/homeSigned-off-by Leon Anavi <[email protected]>
Quoted 61 lines
--- .../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
meta-python/recipes-devtools/python/python-passlib.inc deleted +0
-19@@ -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 \ -"meta-python/recipes-devtools/python/python3-passlib_1.7.2.bb +20
-1@@ -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 + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-crypt \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-netclient \ +"
PATCH 3/7 python3-pathlib2: Consolidate in a single file
In reply to Leon AnaviConsolidate inc and bb files into a single bb file.
--- .../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
meta-python/recipes-devtools/python/python-pathlib2.inc deleted +0 -11
@@ -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"
meta-python/recipes-devtools/python/python3-pathlib2_2.3.5.bb +12 -1
@@ -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"
Signature · 1 line
2.17.1
Re: [oe] [meta-python][PATCH 3/7] python3-pathlib2: Consolidate in a single file
Quoted 3 lines · Leon Anavi
Consolidate inc and bb files into a single bb file.
Signed-off-by Leon Anavi <[email protected]>
Quoted 44 lines
--- .../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
meta-python/recipes-devtools/python/python-pathlib2.inc deleted +0
-11@@ -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"meta-python/recipes-devtools/python/python3-pathlib2_2.3.5.bb +12
-1@@ -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"
PATCH 4/7 python3-pretend: Consolidate in a single file
In reply to Leon AnaviConsolidate inc and bb files into a single bb file.
--- .../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
meta-python/recipes-devtools/python/python-pretend.inc deleted +0 -9
@@ -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"
meta-python/recipes-devtools/python/python3-pretend_1.0.9.bb +10 -1
@@ -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"
Signature · 1 line
2.17.1
Re: [oe] [meta-python][PATCH 4/7] python3-pretend: Consolidate in a single file
Quoted 3 lines · Leon Anavi
Consolidate inc and bb files into a single bb file.
Signed-off-by Leon Anavi <[email protected]>
Quoted 40 lines
--- .../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
meta-python/recipes-devtools/python/python-pretend.inc deleted +0
-9@@ -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"meta-python/recipes-devtools/python/python3-pretend_1.0.9.bb +10
-1@@ -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"
PATCH 5/7 python3-prompt-toolkit: Consolidate in a single file
In reply to Leon AnaviConsolidate inc and bb files into a single bb file.
--- .../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
meta-python/recipes-devtools/python/python-prompt-toolkit.inc deleted +0 -18
@@ -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"
meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.10.bb +16 -1
@@ -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"
Signature · 1 line
2.17.1
Re: [oe] [meta-python][PATCH 5/7] python3-prompt-toolkit: Consolidate in a single file
Quoted 3 lines · Leon Anavi
Consolidate inc and bb files into a single bb file.
Signed-off-by Leon Anavi <[email protected]>
Quoted 60 lines
--- .../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
meta-python/recipes-devtools/python/python-prompt-toolkit.inc deleted +0
-18@@ -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"meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.10.bb +16
-1@@ -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"
PATCH 6/7 python3-prompt-toolkit: Upgrade 2.0.10 -> 3.0.5
In reply to Leon AnaviUpgrade 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.
---
...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%)meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.5.bb renamed from meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.10.bb +3 -2
@@ -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
Signature · 1 line
2.17.1
Re: [oe] [meta-python][PATCH 6/7] python3-prompt-toolkit: Upgrade 2.0.10 -> 3.0.5
Quoted 38 lines · 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 inprompt_toolkitanymore.
- Addedset_exception_handleroptional argument toPromptSession.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 activeApplicationbecame 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 anApplication. You still have to call eitherrun()orrun_asyncon theApplicationobject.
- The way inputhooks work is changed.
-patch_stdoutnow requires anApplicationas input.
-ShiftControlhas been replaced withControlShiftands-cwithc-sin key bindings. Aliases for backwards-compatibility have been added.Fixes:
- Bugfix in invalidate code.PromptSessionwas invalidating the UI continuously.
- Add uvloop support.
- Forwardedset_exception_handlerinApplication.runto therun_asynccall.
- Bugfix inNestedCompleterwhen there is a leading space.
- Bugfix in mouse handling on Windows.
Quoted 1 line
Signed-off-by Leon Anavi <[email protected]>
Quoted 27 lines
--- ...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%)
meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.5.bb renamed from meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.10.bb +3
-2@@ -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
PATCH 7/7 python3-ptyprocess: Consolidate in a single file
In reply to Leon AnaviConsolidate inc and bb files into a single bb file.
--- .../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
meta-python/recipes-devtools/python/python-ptyprocess.inc deleted +0 -41
@@ -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/ -}
meta-python/recipes-devtools/python/python3-ptyprocess_0.6.0.bb +42 -1
44 lines not on this page · raw message
Signature · 1 line
2.17.1
Re: [oe] [meta-python][PATCH 7/7] python3-ptyprocess: Consolidate in a single file
Quoted 3 lines · Leon Anavi
Consolidate inc and bb files into a single bb file.
Signed-off-by Leon Anavi <[email protected]>
Quoted 104 lines
--- .../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
meta-python/recipes-devtools/python/python-ptyprocess.inc deleted +0
-41@@ -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/ -}meta-python/recipes-devtools/python/python3-ptyprocess_0.6.0.bb +42
-1@@ -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/ +}
Quoted 3 lines · Leon Anavi
Consolidate inc and bb files into a single bb file.
Signed-off-by Leon Anavi <[email protected]>
Quoted 73 lines
--- .../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
meta-python/recipes-devtools/python/python-parse.inc deleted +0
-26@@ -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}/ -}meta-python/recipes-devtools/python/python3-parse_1.15.0.bb +26
-2@@ -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}/ +}