Signed-off-by: Derek Straka <[email protected]>
---
.../python/python3-netaddr/run-ptest | 3 ---
.../python/python3-netaddr_1.3.0.bb | 13 ++-----------
2 files changed, 2 insertions(+), 14 deletions(-)
delete mode 100644
meta-python/recipes-devtools/python/python3-netaddr/run-ptest
diff --git a/meta-python/recipes-devtools/python/python3-netaddr/run-ptest
b/meta-python/recipes-devtools/python/python3-netaddr/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta-python/recipes-devtools/python/python3-netaddr/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-pytest --automake
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"
SRC_URI[sha256sum] =
"5c3c3d9895b551b763779ba7db7a03487dc1f8e3b385af819af341ae9ef6e48a"
-inherit pypi python_setuptools_build_meta ptest
+inherit pypi python_setuptools_build_meta ptest-python-pytest
-SRC_URI += " \
- file://run-ptest \
-"
-
-RDEPENDS:${PN}-ptest += " \
- python3-pytest \
- python3-unittest-automake-output \
-"
-
-do_install_ptest() {
+do_install_ptest:append () {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/netaddr/tests/* ${D}${PTEST_PATH}/tests/
}
--
2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#115156):
https://lists.openembedded.org/g/openembedded-devel/message/115156
Mute This Topic: https://lists.openembedded.org/mt/110905942/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-