diff options
author | Leon Anavi <leon.anavi@konsulko.com> | 2020-06-15 15:38:47 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-06-17 08:57:30 -0700 |
commit | fbc457f68799b56e1d37f55d857083d7075ae207 (patch) | |
tree | 6957ead72e3272a60a2dee9297b078d3a39eedf9 | |
parent | 37616b499381e8a96309425fd92ba938b7cf3ee3 (diff) | |
download | meta-openembedded-fbc457f68799b56e1d37f55d857083d7075ae207.tar.gz |
python3-psutil: 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>
-rw-r--r-- | meta-python/recipes-devtools/python/python-psutil.inc | 22 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-psutil_5.7.0.bb | 25 |
2 files changed, 23 insertions, 24 deletions
diff --git a/meta-python/recipes-devtools/python/python-psutil.inc b/meta-python/recipes-devtools/python/python-psutil.inc deleted file mode 100644 index dfb33e8dcf..0000000000 --- a/meta-python/recipes-devtools/python/python-psutil.inc +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | SUMMARY = "A cross-platform process and system utilities module for Python" | ||
2 | LICENSE = "BSD-3-Clause" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e35fd9f271d19d5f742f20a9d1f8bb8b" | ||
4 | |||
5 | SRC_URI[md5sum] = "ed7b0f11ed214bcabbe76b7cf52f3ae3" | ||
6 | SRC_URI[sha256sum] = "685ec16ca14d079455892f25bd124df26ff9137664af445563c1bd36629b5e0e" | ||
7 | |||
8 | PACKAGES =+ "${PN}-tests" | ||
9 | |||
10 | FILES_${PN}-tests += " \ | ||
11 | ${PYTHON_SITEPACKAGES_DIR}/psutil/test* \ | ||
12 | ${PYTHON_SITEPACKAGES_DIR}/psutil/__pycache__/test* \ | ||
13 | " | ||
14 | |||
15 | |||
16 | RDEPENDS_${PN} += " \ | ||
17 | ${PYTHON_PN}-shell \ | ||
18 | ${PYTHON_PN}-threading \ | ||
19 | ${PYTHON_PN}-xml \ | ||
20 | " | ||
21 | |||
22 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-psutil_5.7.0.bb b/meta-python/recipes-devtools/python/python3-psutil_5.7.0.bb index c1969ea657..170819d59a 100644 --- a/meta-python/recipes-devtools/python/python3-psutil_5.7.0.bb +++ b/meta-python/recipes-devtools/python/python3-psutil_5.7.0.bb | |||
@@ -1,4 +1,25 @@ | |||
1 | SUMMARY = "A cross-platform process and system utilities module for Python" | ||
2 | LICENSE = "BSD-3-Clause" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e35fd9f271d19d5f742f20a9d1f8bb8b" | ||
4 | |||
5 | SRC_URI[md5sum] = "ed7b0f11ed214bcabbe76b7cf52f3ae3" | ||
6 | SRC_URI[sha256sum] = "685ec16ca14d079455892f25bd124df26ff9137664af445563c1bd36629b5e0e" | ||
7 | |||
1 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
2 | require python-psutil.inc | ||
3 | 9 | ||
4 | RDEPENDS_${PN} += "${PYTHON_PN}-netclient" | 10 | PACKAGES =+ "${PN}-tests" |
11 | |||
12 | FILES_${PN}-tests += " \ | ||
13 | ${PYTHON_SITEPACKAGES_DIR}/psutil/test* \ | ||
14 | ${PYTHON_SITEPACKAGES_DIR}/psutil/__pycache__/test* \ | ||
15 | " | ||
16 | |||
17 | |||
18 | RDEPENDS_${PN} += " \ | ||
19 | ${PYTHON_PN}-shell \ | ||
20 | ${PYTHON_PN}-threading \ | ||
21 | ${PYTHON_PN}-xml \ | ||
22 | ${PYTHON_PN}-netclient \ | ||
23 | " | ||
24 | |||
25 | BBCLASSEXTEND = "native nativesdk" | ||