diff options
author | Derek Straka <derek@asterius.io> | 2025-01-30 21:57:17 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-01-30 14:15:33 -0800 |
commit | 85b9417641d6446b4d2b12fc02ec94df69bccbce (patch) | |
tree | 3db4771dbccdfb165aea40c2222b93ede2e3747f /meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb | |
parent | 6c26365bf067d54c0335d69fb13e0867cd585340 (diff) | |
download | meta-openembedded-85b9417641d6446b4d2b12fc02ec94df69bccbce.tar.gz |
python3-netaddr: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb b/meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb index b8a772566a..8b486d26ff 100644 --- a/meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb | |||
@@ -4,18 +4,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=8afa43eca873b71d5d85dd0be1f707fa" | |||
4 | 4 | ||
5 | SRC_URI[sha256sum] = "5c3c3d9895b551b763779ba7db7a03487dc1f8e3b385af819af341ae9ef6e48a" | 5 | SRC_URI[sha256sum] = "5c3c3d9895b551b763779ba7db7a03487dc1f8e3b385af819af341ae9ef6e48a" |
6 | 6 | ||
7 | inherit pypi python_setuptools_build_meta ptest | 7 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
8 | 8 | ||
9 | SRC_URI += " \ | 9 | do_install_ptest:append () { |
10 | file://run-ptest \ | ||
11 | " | ||
12 | |||
13 | RDEPENDS:${PN}-ptest += " \ | ||
14 | python3-pytest \ | ||
15 | python3-unittest-automake-output \ | ||
16 | " | ||
17 | |||
18 | do_install_ptest() { | ||
19 | install -d ${D}${PTEST_PATH}/tests | 10 | install -d ${D}${PTEST_PATH}/tests |
20 | cp -rf ${S}/netaddr/tests/* ${D}${PTEST_PATH}/tests/ | 11 | cp -rf ${S}/netaddr/tests/* ${D}${PTEST_PATH}/tests/ |
21 | } | 12 | } |