summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2020-06-11 12:09:01 +0300
committerKhem Raj <raj.khem@gmail.com>2020-06-11 21:58:29 -0700
commit3e8ffc30fbd33823954896c52c8f1353bb468bea (patch)
tree59dd9fe6c3dcbe031a6720f50c679947a0752eba /meta-python
parenta8c58b17e5d8583e3e047fc4142624316d233893 (diff)
downloadmeta-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.inc27
-rw-r--r--meta-python/recipes-devtools/python/python3-pluggy_0.13.1.bb29
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 @@
1SUMMARY = "Plugin and hook calling mechanisms for python"
2HOMEPAGE = "https://github.com/pytest-dev/pluggy"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2"
5
6SRC_URI[md5sum] = "7f610e28b8b34487336b585a3dfb803d"
7SRC_URI[sha256sum] = "15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0"
8
9DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
10RDEPENDS_${PN} += "${PYTHON_PN}-importlib-metadata \
11 ${PYTHON_PN}-more-itertools \
12"
13
14inherit pypi ptest
15
16SRC_URI += " \
17 file://run-ptest \
18"
19
20RDEPENDS_${PN}-ptest += " \
21 ${PYTHON_PN}-pytest \
22"
23
24do_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 @@
1inherit setuptools3 1SUMMARY = "Plugin and hook calling mechanisms for python"
2require python-pluggy.inc 2HOMEPAGE = "https://github.com/pytest-dev/pluggy"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2"
5
6SRC_URI[md5sum] = "7f610e28b8b34487336b585a3dfb803d"
7SRC_URI[sha256sum] = "15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0"
8
9DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
10RDEPENDS_${PN} += "${PYTHON_PN}-importlib-metadata \
11 ${PYTHON_PN}-more-itertools \
12"
13
14inherit pypi ptest setuptools3
15
16SRC_URI += " \
17 file://run-ptest \
18"
19
20RDEPENDS_${PN}-ptest += " \
21 ${PYTHON_PN}-pytest \
22"
23
24do_install_ptest() {
25 install -d ${D}${PTEST_PATH}/testing
26 cp -rf ${S}/testing/* ${D}${PTEST_PATH}/testing/
27}