summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
authorJustin Bronder <jsbronder@cold-front.org>2023-08-10 11:39:51 -0400
committerKhem Raj <raj.khem@gmail.com>2023-08-11 00:06:04 -0700
commit9a8cfc75f56928e813f4782a6ff00984f8d2fb80 (patch)
treedcee7fe10e6cbb3cda6e14e7cc85f0eabcd5aec9 /meta-python/recipes-devtools/python
parent32537d7b341449ee19acb701248d90f7c16a2ca9 (diff)
downloadmeta-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.bb23
-rw-r--r--meta-python/recipes-devtools/python/python3-mypy_1.5.0.bb23
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 @@
1SUMMARY = "Optional static typing for Python 3 and 2 (PEP 484)"
2HOMEPAGE = "https://github.com/python/mypy"
3LICENSE = "MIT & Python-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=6ba8ec528da02073b7e1f4124c0f836f"
5
6PYPI_PACKAGE = "mypy"
7
8inherit pypi python_setuptools_build_meta
9
10SRC_URI[sha256sum] = "40b0f21484238269ae6a57200c807d80debc6459d444c0489a102d7c6a75fa56"
11
12BBCLASSEXTEND = "native"
13
14RDEPENDS:${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 @@
1SUMMARY = "Optional static typing for Python 3 and 2 (PEP 484)"
2HOMEPAGE = "https://github.com/python/mypy"
3LICENSE = "MIT & Python-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=6ba8ec528da02073b7e1f4124c0f836f"
5
6inherit pypi python_setuptools_build_meta
7
8SRC_URI[sha256sum] = "f3460f34b3839b9bc84ee3ed65076eb827cd99ed13ed08d723f9083cada4a212"
9
10BBCLASSEXTEND = "native"
11
12DEPENDS += " \
13 python3-mypy-extensions-native \
14 python3-types-psutil-native \
15 python3-types-setuptools-native \
16 python3-typing-extensions-native \
17"
18
19RDEPENDS:${PN} += " \
20 python3-modules \
21 python3-mypy-extensions \
22 python3-typing-extensions \
23"