diff options
author | Niko Mauno <niko.mauno@vaisala.com> | 2024-08-26 09:40:04 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-08-26 07:36:07 -0700 |
commit | 10f1bf7d771211754a8370a9dbc481df0fce5eb5 (patch) | |
tree | 0d933b4c8ca154b0e83178bfaa1f3782c80e7a0c /meta-python | |
parent | f4aba31f35a9476d5974e7452d79c9319126c128 (diff) | |
download | meta-openembedded-10f1bf7d771211754a8370a9dbc481df0fce5eb5.tar.gz |
python3-cbor2: Sanitize recipe content
Apply suggestions to recipe content ordering and indentation style from
oe-stylize.py and also remove the duplicate DEPENDS line for
python3-setuptools-scm-native.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-cbor2_5.6.4.bb | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/meta-python/recipes-devtools/python/python3-cbor2_5.6.4.bb b/meta-python/recipes-devtools/python/python3-cbor2_5.6.4.bb index f0c2964f34..37c3ab6478 100644 --- a/meta-python/recipes-devtools/python/python3-cbor2_5.6.4.bb +++ b/meta-python/recipes-devtools/python/python3-cbor2_5.6.4.bb | |||
@@ -1,31 +1,26 @@ | |||
1 | DESCRIPTION = "An implementation of RFC 7049 - Concise Binary Object Representation (CBOR)." | 1 | DESCRIPTION = "An implementation of RFC 7049 - Concise Binary Object Representation (CBOR)." |
2 | DEPENDS +="python3-setuptools-scm-native" | ||
3 | |||
4 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a79e64179819c7ce293372c059f1dbd8" | 3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a79e64179819c7ce293372c059f1dbd8" |
6 | |||
7 | SRC_URI[sha256sum] = "1c533c50dde86bef1c6950602054a0ffa3c376e8b0e20c7b8f5b108793f6983e" | ||
8 | |||
9 | inherit pypi python_setuptools_build_meta ptest | ||
10 | |||
11 | DEPENDS += "python3-setuptools-scm-native" | 4 | DEPENDS += "python3-setuptools-scm-native" |
12 | 5 | ||
6 | SRC_URI[sha256sum] = "1c533c50dde86bef1c6950602054a0ffa3c376e8b0e20c7b8f5b108793f6983e" | ||
13 | SRC_URI += " \ | 7 | SRC_URI += " \ |
14 | file://run-ptest \ | 8 | file://run-ptest \ |
15 | " | 9 | " |
16 | 10 | ||
11 | inherit pypi python_setuptools_build_meta ptest | ||
12 | |||
13 | do_install_ptest() { | ||
14 | install -d ${D}${PTEST_PATH}/tests | ||
15 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
16 | } | ||
17 | |||
17 | RDEPENDS:${PN}-ptest += " \ | 18 | RDEPENDS:${PN}-ptest += " \ |
18 | python3-hypothesis \ | 19 | python3-hypothesis \ |
19 | python3-pytest \ | 20 | python3-pytest \ |
20 | python3-unittest-automake-output \ | 21 | python3-unittest-automake-output \ |
21 | python3-unixadmin \ | 22 | python3-unixadmin \ |
22 | " | 23 | " |
23 | |||
24 | do_install_ptest() { | ||
25 | install -d ${D}${PTEST_PATH}/tests | ||
26 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
27 | } | ||
28 | |||
29 | RDEPENDS:${PN} += " \ | 24 | RDEPENDS:${PN} += " \ |
30 | python3-datetime \ | 25 | python3-datetime \ |
31 | " | 26 | " |