Skip to content

Commit 419460b

Browse files
scancode: add importlib_metadata module
as scancode insists on the use of the 3rd party lib instead of the one coming from cython Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
1 parent 274913f commit 419460b

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

.nonsdkable

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
.*/recipes-python/python-handy-archives-native/.*
5959
.*/recipes-python/python-hatch-requirements-txt-native/.*
6060
.*/recipes-python/python-hatch-vcs-native/.*
61+
.*/recipes-python/python-importlib-metadata-native/.*
6162
.*/recipes-python/python-inflection-native/.*
6263
.*/recipes-python/python-jaraco-functools-native/.*
6364
.*/recipes-python/python-javaproperties-native/.*
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
SUMMARY = "Read metadata from Python packages"
2+
HOMEPAGE = "https://pypi.org/project/importlib-metadata/"
3+
4+
DEFAULT_PREFERENCE = "${SCA_DEFAULT_PREFERENCE}"
5+
6+
LICENSE = "Apache-2.0"
7+
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
8+
9+
DEPENDS += "python3-setuptools-scm-native"
10+
11+
inherit pypi
12+
inherit pypi-old
13+
inherit python_setuptools_build_meta
14+
inherit_defer native
15+
16+
PYPI_PACKAGE = "importlib_metadata"
17+
18+
SRC_URI[sha256sum] = "9a547d3bc3608b025f93d403fdd1aae741c24fbb8314df4b155675742ce303c5"
19+
20+
S = "${UNPACKDIR}/importlib_metadata-${PV}"
21+
22+
RDEPENDS:${PN} += "python3-zipp-native"

recipes-sca/python3-scancode-native/python3-scancode-native_32.3.0.bb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ DEPENDS += "\
3838
python3-idna-native \
3939
python3-inflection-native \
4040
python3-intbitset-native \
41+
python3-importlib-metadata-native \
4142
python3-isodate-native \
4243
python3-jaraco-functools-native \
4344
python3-javaproperties-native \

0 commit comments

Comments
 (0)