summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorNiko Mauno <niko.mauno@vaisala.com>2024-08-26 09:40:04 +0000
committerKhem Raj <raj.khem@gmail.com>2024-08-26 07:36:07 -0700
commit10f1bf7d771211754a8370a9dbc481df0fce5eb5 (patch)
tree0d933b4c8ca154b0e83178bfaa1f3782c80e7a0c /meta-python
parentf4aba31f35a9476d5974e7452d79c9319126c128 (diff)
downloadmeta-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.bb21
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 @@
1DESCRIPTION = "An implementation of RFC 7049 - Concise Binary Object Representation (CBOR)." 1DESCRIPTION = "An implementation of RFC 7049 - Concise Binary Object Representation (CBOR)."
2DEPENDS +="python3-setuptools-scm-native"
3
4LICENSE = "MIT" 2LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a79e64179819c7ce293372c059f1dbd8" 3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a79e64179819c7ce293372c059f1dbd8"
6
7SRC_URI[sha256sum] = "1c533c50dde86bef1c6950602054a0ffa3c376e8b0e20c7b8f5b108793f6983e"
8
9inherit pypi python_setuptools_build_meta ptest
10
11DEPENDS += "python3-setuptools-scm-native" 4DEPENDS += "python3-setuptools-scm-native"
12 5
6SRC_URI[sha256sum] = "1c533c50dde86bef1c6950602054a0ffa3c376e8b0e20c7b8f5b108793f6983e"
13SRC_URI += " \ 7SRC_URI += " \
14 file://run-ptest \ 8 file://run-ptest \
15" 9"
16 10
11inherit pypi python_setuptools_build_meta ptest
12
13do_install_ptest() {
14 install -d ${D}${PTEST_PATH}/tests
15 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
16}
17
17RDEPENDS:${PN}-ptest += " \ 18RDEPENDS:${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
24do_install_ptest() {
25 install -d ${D}${PTEST_PATH}/tests
26 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
27}
28
29RDEPENDS:${PN} += " \ 24RDEPENDS:${PN} += " \
30 python3-datetime \ 25 python3-datetime \
31" 26"