Signed-off-by: Frede Hoey Braendstrup <[email protected]>
---
 .../python3-libpcap_1.11.0b29.bb              | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python3-libpcap/python3-libpcap_1.11.0b29.bb

diff --git 
a/meta-python/recipes-devtools/python3-libpcap/python3-libpcap_1.11.0b29.bb 
b/meta-python/recipes-devtools/python3-libpcap/python3-libpcap_1.11.0b29.bb
new file mode 100644
index 0000000000..733f03a12f
--- /dev/null
+++ b/meta-python/recipes-devtools/python3-libpcap/python3-libpcap_1.11.0b29.bb
@@ -0,0 +1,26 @@
+SUMMARY = "Python binding for the libpcap C library (ctypes-based)"
+HOMEPAGE = "https://pypi.org/project/libpcap/";
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3192dc70bf441e0dff721b0ec0c231e1"
+
+PYPI_PACKAGE = "libpcap"
+
+SRC_URI[sha256sum] = 
"65b43e9f4297c098df49f7cd4eab4aa0c58f83759daeb9a3f5f6da2f88f4ef08"
+
+inherit pypi python_setuptools_build_meta
+
+RDEPENDS:${PN} += " \
+    libpcap \
+    python3-py-utlx \
+    python3-pkg-about \
+    python3-ctypes \
+"
+
+do_install:append() {
+    find ${D}${PYTHON_SITEPACKAGES_DIR}/libpcap/_platform \
+        \( -name '*.so' -o -name '*.dll' \) -delete
+    find ${D}${PYTHON_SITEPACKAGES_DIR}/libpcap/_platform \
+        -type d -empty -delete
+}
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.54.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#238040): 
https://lists.openembedded.org/g/openembedded-core/message/238040
Mute This Topic: https://lists.openembedded.org/mt/119609680/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to