diff options
| author | Bai, Haiqing <Haiqing.Bai@windriver.com> | 2026-04-03 03:38:41 +0000 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-04-03 01:05:45 -0700 |
| commit | dab9004db6063ad3ad16b94a91f5e47fbde8db45 (patch) | |
| tree | 3c655a4ee8ab84dcfaaa7fc7cb7b470c45e7a5b5 /meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb | |
| parent | 584fec0f74ad7c3ebe3bc5794be93382d4d386eb (diff) | |
| download | meta-openembedded-dab9004db6063ad3ad16b94a91f5e47fbde8db45.tar.gz | |
python3-stopit: Fixed the deprecated pkg_resources issue
pkg_resources is deprecated as an API. The pkg_resources package
has been removed from setuptools, so the way of obtaining the
version needs to be replaced with importlib.metadata module.
Signed-off-by: Bai, Haiqing <Haiqing.Bai@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb b/meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb index a952722619..a83adffcd2 100644 --- a/meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb +++ b/meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb | |||
| @@ -2,7 +2,6 @@ SUMMARY = "Raise asynchronous exceptions in other threads, control the timeout o | |||
| 2 | HOMEPAGE = "https://pypi.org/project/stopit/" | 2 | HOMEPAGE = "https://pypi.org/project/stopit/" |
| 3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
| 4 | 4 | ||
| 5 | SRC_URI += " file://LICENSE " | ||
| 6 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
| 7 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/LICENSE;md5=497c556f42b1355b64190da2f3d88f93" | 6 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/LICENSE;md5=497c556f42b1355b64190da2f3d88f93" |
| 8 | 7 | ||
| @@ -10,6 +9,11 @@ SRC_URI[sha256sum] = "f7f39c583fd92027bd9d06127b259aee7a5b7945c1f1fa56263811e1e7 | |||
| 10 | 9 | ||
| 11 | inherit pypi setuptools3 | 10 | inherit pypi setuptools3 |
| 12 | 11 | ||
| 12 | SRC_URI += "\ | ||
| 13 | file://LICENSE \ | ||
| 14 | file://0001-Drop-the-deprecated-pkg_resources.patch \ | ||
| 15 | " | ||
| 16 | |||
| 13 | RDEPENDS:${PN} += "\ | 17 | RDEPENDS:${PN} += "\ |
| 14 | python3-setuptools \ | 18 | python3-setuptools \ |
| 15 | " | 19 | " |
