diff options
| author | Justin Bronder <jsbronder@cold-front.org> | 2023-08-10 11:39:51 -0400 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-08-11 00:06:04 -0700 |
| commit | 9a8cfc75f56928e813f4782a6ff00984f8d2fb80 (patch) | |
| tree | dcee7fe10e6cbb3cda6e14e7cc85f0eabcd5aec9 /meta-python/recipes-devtools/python | |
| parent | 32537d7b341449ee19acb701248d90f7c16a2ca9 (diff) | |
| download | meta-openembedded-9a8cfc75f56928e813f4782a6ff00984f8d2fb80.tar.gz | |
python3-mypy: upgrade 0.971 -> 1.5.0
Switched RDEPEND to python3-modules as this is a complex package that is
still under fairly heavy development by python core contributors. It's
likely that the dependency list will change from release to release and
unlikely that anyone wanting type-checking will be object to having a
full python installation.
Note for anyone attempting to backport this, you'll need to add
python3-tomli to RDEPENDS as python < 3.11 won't be in the stdlib.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
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-mypy_0.971.bb | 23 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-mypy_1.5.0.bb | 23 |
2 files changed, 23 insertions, 23 deletions
diff --git a/meta-python/recipes-devtools/python/python3-mypy_0.971.bb b/meta-python/recipes-devtools/python/python3-mypy_0.971.bb deleted file mode 100644 index 31fcb06c9e..0000000000 --- a/meta-python/recipes-devtools/python/python3-mypy_0.971.bb +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | SUMMARY = "Optional static typing for Python 3 and 2 (PEP 484)" | ||
| 2 | HOMEPAGE = "https://github.com/python/mypy" | ||
| 3 | LICENSE = "MIT & Python-2.0" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6ba8ec528da02073b7e1f4124c0f836f" | ||
| 5 | |||
| 6 | PYPI_PACKAGE = "mypy" | ||
| 7 | |||
| 8 | inherit pypi python_setuptools_build_meta | ||
| 9 | |||
| 10 | SRC_URI[sha256sum] = "40b0f21484238269ae6a57200c807d80debc6459d444c0489a102d7c6a75fa56" | ||
| 11 | |||
| 12 | BBCLASSEXTEND = "native" | ||
| 13 | |||
| 14 | RDEPENDS:${PN} += " \ | ||
| 15 | ${PYTHON_PN}-mypy-extensions \ | ||
| 16 | ${PYTHON_PN}-typed-ast \ | ||
| 17 | ${PYTHON_PN}-typing-extensions \ | ||
| 18 | ${PYTHON_PN}-json \ | ||
| 19 | ${PYTHON_PN}-compression \ | ||
| 20 | ${PYTHON_PN}-pprint \ | ||
| 21 | ${PYTHON_PN}-difflib \ | ||
| 22 | ${PYTHON_PN}-toml \ | ||
| 23 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-mypy_1.5.0.bb b/meta-python/recipes-devtools/python/python3-mypy_1.5.0.bb new file mode 100644 index 0000000000..46730aa231 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-mypy_1.5.0.bb | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | SUMMARY = "Optional static typing for Python 3 and 2 (PEP 484)" | ||
| 2 | HOMEPAGE = "https://github.com/python/mypy" | ||
| 3 | LICENSE = "MIT & Python-2.0" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6ba8ec528da02073b7e1f4124c0f836f" | ||
| 5 | |||
| 6 | inherit pypi python_setuptools_build_meta | ||
| 7 | |||
| 8 | SRC_URI[sha256sum] = "f3460f34b3839b9bc84ee3ed65076eb827cd99ed13ed08d723f9083cada4a212" | ||
| 9 | |||
| 10 | BBCLASSEXTEND = "native" | ||
| 11 | |||
| 12 | DEPENDS += " \ | ||
| 13 | python3-mypy-extensions-native \ | ||
| 14 | python3-types-psutil-native \ | ||
| 15 | python3-types-setuptools-native \ | ||
| 16 | python3-typing-extensions-native \ | ||
| 17 | " | ||
| 18 | |||
| 19 | RDEPENDS:${PN} += " \ | ||
| 20 | python3-modules \ | ||
| 21 | python3-mypy-extensions \ | ||
| 22 | python3-typing-extensions \ | ||
| 23 | " | ||
