diff options
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 | } |