diff options
author | Leon Anavi <leon.anavi@konsulko.com> | 2020-06-11 12:09:01 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-06-11 21:58:29 -0700 |
commit | 3e8ffc30fbd33823954896c52c8f1353bb468bea (patch) | |
tree | 59dd9fe6c3dcbe031a6720f50c679947a0752eba /meta-python | |
parent | a8c58b17e5d8583e3e047fc4142624316d233893 (diff) | |
download | meta-openembedded-3e8ffc30fbd33823954896c52c8f1353bb468bea.tar.gz |
python3-pluggy: Consolidate in a single file
Consolidate inc and bb files into a single bb file.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python-pluggy.inc | 27 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pluggy_0.13.1.bb | 29 |
2 files changed, 27 insertions, 29 deletions
diff --git a/meta-python/recipes-devtools/python/python-pluggy.inc b/meta-python/recipes-devtools/python/python-pluggy.inc deleted file mode 100644 index 1198d5f740..0000000000 --- a/meta-python/recipes-devtools/python/python-pluggy.inc +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | SUMMARY = "Plugin and hook calling mechanisms for python" | ||
2 | HOMEPAGE = "https://github.com/pytest-dev/pluggy" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2" | ||
5 | |||
6 | SRC_URI[md5sum] = "7f610e28b8b34487336b585a3dfb803d" | ||
7 | SRC_URI[sha256sum] = "15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0" | ||
8 | |||
9 | DEPENDS += "${PYTHON_PN}-setuptools-scm-native" | ||
10 | RDEPENDS_${PN} += "${PYTHON_PN}-importlib-metadata \ | ||
11 | ${PYTHON_PN}-more-itertools \ | ||
12 | " | ||
13 | |||
14 | inherit pypi ptest | ||
15 | |||
16 | SRC_URI += " \ | ||
17 | file://run-ptest \ | ||
18 | " | ||
19 | |||
20 | RDEPENDS_${PN}-ptest += " \ | ||
21 | ${PYTHON_PN}-pytest \ | ||
22 | " | ||
23 | |||
24 | do_install_ptest() { | ||
25 | install -d ${D}${PTEST_PATH}/testing | ||
26 | cp -rf ${S}/testing/* ${D}${PTEST_PATH}/testing/ | ||
27 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-pluggy_0.13.1.bb b/meta-python/recipes-devtools/python/python3-pluggy_0.13.1.bb index 941e8e3d8c..d3e0365ca1 100644 --- a/meta-python/recipes-devtools/python/python3-pluggy_0.13.1.bb +++ b/meta-python/recipes-devtools/python/python3-pluggy_0.13.1.bb | |||
@@ -1,2 +1,27 @@ | |||
1 | inherit setuptools3 | 1 | SUMMARY = "Plugin and hook calling mechanisms for python" |
2 | require python-pluggy.inc | 2 | HOMEPAGE = "https://github.com/pytest-dev/pluggy" |
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2" | ||
5 | |||
6 | SRC_URI[md5sum] = "7f610e28b8b34487336b585a3dfb803d" | ||
7 | SRC_URI[sha256sum] = "15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0" | ||
8 | |||
9 | DEPENDS += "${PYTHON_PN}-setuptools-scm-native" | ||
10 | RDEPENDS_${PN} += "${PYTHON_PN}-importlib-metadata \ | ||
11 | ${PYTHON_PN}-more-itertools \ | ||
12 | " | ||
13 | |||
14 | inherit pypi ptest setuptools3 | ||
15 | |||
16 | SRC_URI += " \ | ||
17 | file://run-ptest \ | ||
18 | " | ||
19 | |||
20 | RDEPENDS_${PN}-ptest += " \ | ||
21 | ${PYTHON_PN}-pytest \ | ||
22 | " | ||
23 | |||
24 | do_install_ptest() { | ||
25 | install -d ${D}${PTEST_PATH}/testing | ||
26 | cp -rf ${S}/testing/* ${D}${PTEST_PATH}/testing/ | ||
27 | } | ||