diff options
| author | Tim Orling <ticotimo@gmail.com> | 2024-02-19 20:31:52 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-02-19 23:22:25 -0800 |
| commit | af75d5b9ad62e24cb8e3d57c474b28728a6d8a42 (patch) | |
| tree | 1856297c982bde91cf949ec12051ee1b359d221e /meta-python/recipes-devtools/python | |
| parent | 78f6d47290474d6c144ceb1a6f2b5289c06e227a (diff) | |
| download | meta-openembedded-af75d5b9ad62e24cb8e3d57c474b28728a6d8a42.tar.gz | |
python3-prettytable: upgrade 3.9.0 => 3.10.0; fix ptests
* Add all tests/* to be more complete and also to help
pytest find the tests (previously, no test cases were
actually being run)
* Sort RDEPENDS alphabetically
* ptest now RDEPENDS on python3-pytest-lazy-fixtures (with the s)
instead of python3-pytest-lazy-fixture (without the s) because
of python3-pytest 8.0.0 compatability.
* Rearrange the recipe a bit
https://github.com/jazzband/prettytable/releases/tag/3.10.0
Added
* Add support for Python 3.13 (#281) @hugovk
Changed
* Speedup: lazy imports and remove import (#276) @hugovk
* Use GitHub Flavored Markdown for table formatting (#268) @mumblingMac
* Use flake8-errmsg for friendlier tracebacks (#254) @hugovk
* Replace Flake8 with Ruff (#278) @hugovk
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-prettytable_3.10.0.bb (renamed from meta-python/recipes-devtools/python/python3-prettytable_3.9.0.bb) | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/meta-python/recipes-devtools/python/python3-prettytable_3.9.0.bb b/meta-python/recipes-devtools/python/python3-prettytable_3.10.0.bb index ba75057f59..35e9ab1798 100644 --- a/meta-python/recipes-devtools/python/python3-prettytable_3.9.0.bb +++ b/meta-python/recipes-devtools/python/python3-prettytable_3.10.0.bb | |||
| @@ -3,7 +3,12 @@ HOMEPAGE = "http://code.google.com/p/prettytable" | |||
| 3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c9a6829fcd174d9535b46211917c7671" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c9a6829fcd174d9535b46211917c7671" |
| 5 | 5 | ||
| 6 | SRC_URI[sha256sum] = "f4ed94803c23073a90620b201965e5dc0bccf1760b7a7eaf3158cab8aaffdf34" | 6 | |
| 7 | SRC_URI[sha256sum] = "9665594d137fb08a1117518c25551e0ede1687197cf353a4fdc78d27e1073568" | ||
| 8 | SRC_URI += " \ | ||
| 9 | file://run-ptest \ | ||
| 10 | " | ||
| 11 | inherit pypi ptest python_hatchling | ||
| 7 | 12 | ||
| 8 | do_install:append() { | 13 | do_install:append() { |
| 9 | perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "*.txt" -o -name "PKG-INFO"` | 14 | perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "*.txt" -o -name "PKG-INFO"` |
| @@ -12,33 +17,29 @@ do_install:append() { | |||
| 12 | done | 17 | done |
| 13 | } | 18 | } |
| 14 | 19 | ||
| 15 | BBCLASSEXTEND = "native nativesdk" | ||
| 16 | inherit pypi ptest python_hatchling | ||
| 17 | |||
| 18 | SRC_URI += " \ | ||
| 19 | file://run-ptest \ | ||
| 20 | " | ||
| 21 | |||
| 22 | DEPENDS += "\ | 20 | DEPENDS += "\ |
| 23 | python3-hatch-vcs-native \ | 21 | python3-hatch-vcs-native \ |
| 24 | " | 22 | " |
| 25 | 23 | ||
| 26 | RDEPENDS:${PN} += " \ | 24 | RDEPENDS:${PN} += " \ |
| 27 | python3-math \ | 25 | python3-compression \ |
| 28 | python3-html \ | 26 | python3-html \ |
| 29 | python3-wcwidth \ | 27 | python3-importlib-metadata \ |
| 30 | python3-json \ | 28 | python3-json \ |
| 31 | python3-compression \ | 29 | python3-math \ |
| 32 | python3-importlib-metadata \ | 30 | python3-wcwidth \ |
| 33 | " | 31 | " |
| 34 | 32 | ||
| 35 | RDEPENDS:${PN}-ptest += " \ | 33 | RDEPENDS:${PN}-ptest += " \ |
| 36 | python3-pytest \ | 34 | python3-pytest \ |
| 37 | python3-pytest-lazy-fixture \ | 35 | python3-pytest-lazy-fixtures \ |
| 38 | python3-sqlite3 \ | 36 | python3-sqlite3 \ |
| 39 | python3-unittest-automake-output \ | 37 | python3-unittest-automake-output \ |
| 40 | " | 38 | " |
| 41 | 39 | ||
| 42 | do_install_ptest() { | 40 | do_install_ptest() { |
| 43 | cp -f ${S}/tests/test_prettytable.py ${D}${PTEST_PATH}/ | 41 | install -d ${D}${PTEST_PATH}/tests |
| 42 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 44 | } | 43 | } |
| 44 | |||
| 45 | BBCLASSEXTEND = "native nativesdk" | ||
