Skip to contentSkip to conversation

python3-pkg-about: add recipe

PATCH In review Frederik Brændstrup 2 participants 6 messages Jun 2

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 python3-pkg-about: add recipe

---
 .../python3-pkg-about_2.4.2.bb                | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python3-pkg-about/python3-pkg-about_2.4.2.bb
meta-python/recipes-devtools/python3-pkg-about/python3-pkg-about_2.4.2.bb new file +20 -0
new file mode 100644
index 0000000000..a9fdc6d544
@@ -0,0 +1,20 @@
+SUMMARY = "Easy access to information about a Python package/distribution"
+HOMEPAGE = "https://pypi.org/project/pkg-about/"
+LICENSE = "Zlib"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d1684e2918788f4ab887eb4f3f7400bf"
+
+PYPI_PACKAGE = "pkg_about"
+
+SRC_URI[sha256sum] = "f5a3b2e402842141a8a36069dbb57ad9d27aa1623574863654cc26b5cc4bd545"
+
+inherit pypi python_setuptools_build_meta
+
+RDEPENDS:${PN} += " \
+    python3-build \
+    python3-packaging \
+    python3-importlib-metadata \
+    python3-email \
+    python3-packaging \
+"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.54.0
#1 lore raw

PATCH 2/3 python3-py-utlx: add recipe

---
 .../python3-py-utlx/python3-py-utlx_2.4.0.bb    | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python3-py-utlx/python3-py-utlx_2.4.0.bb
meta-python/recipes-devtools/python3-py-utlx/python3-py-utlx_2.4.0.bb new file +17 -0
new file mode 100644
index 0000000000..55be32ba45
@@ -0,0 +1,17 @@
+SUMMARY = "Python utility library (utlx)"
+HOMEPAGE = "https://pypi.org/project/py-utlx/"
+LICENSE = "Zlib"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5ec25ca3fcbff4a4c70d5244a47d2906"
+
+PYPI_PACKAGE = "py_utlx"
+
+SRC_URI[sha256sum] = "66b49b28113b11ae9e9710ea6dabeb9a0a18a5411be6896d1cbbc9f39845c15c"
+
+inherit pypi python_setuptools_build_meta
+
+RDEPENDS:${PN} += " \
+    python3-chardet \
+    python3-pkg-about \
+"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.54.0
#2 lore raw

Patchtest results for [PATCH 2/3] python3-py-utlx: add recipe

Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information:

---
Testing patch /home/patchtest/share/mboxes/2-3-python3-py-utlx-add-recipe.patch

FAIL: test commit message presence: Please include a commit message on your patch explaining the change (test_mbox.TestMbox.test_commit_message_presence)
FAIL: test target mailing list: Series sent to the wrong mailing list or some patches from the series correspond to different mailing lists (test_mbox.TestMbox.test_target_mailing_list)

PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)

SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: test CVE tag format: No new CVE patches introduced (test_patch.TestPatch.test_cve_tag_format)
SKIP: test Signed-off-by presence: No new CVE patches introduced (test_patch.TestPatch.test_signed_off_by_presence)
SKIP: test Upstream-Status presence: No new CVE patches introduced (test_patch.TestPatch.test_upstream_status_presence_format)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)

---

Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this email with an explanation of why the patch should be accepted. If you believe these results are due to an error in patchtest, please submit a bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category under 'Yocto Project Subprojects'). For more information on specific failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank you!

#3 lore raw

PATCH 3/3 python3-libpcap: add recipe

In reply to Frederik Brændstrup
---
 .../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
meta-python/recipes-devtools/python3-libpcap/python3-libpcap_1.11.0b29.bb new file +26 -0
new file mode 100644
index 0000000000..733f03a12f
@@ -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"
Signature · 1 line
2.54.0
#4 lore raw

Patchtest results for [PATCH 3/3] python3-libpcap: add recipe

Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information:

---
Testing patch /home/patchtest/share/mboxes/3-3-python3-libpcap-add-recipe.patch

FAIL: test commit message presence: Please include a commit message on your patch explaining the change (test_mbox.TestMbox.test_commit_message_presence)
FAIL: test target mailing list: Series sent to the wrong mailing list or some patches from the series correspond to different mailing lists (test_mbox.TestMbox.test_target_mailing_list)

PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)

SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: test CVE tag format: No new CVE patches introduced (test_patch.TestPatch.test_cve_tag_format)
SKIP: test Signed-off-by presence: No new CVE patches introduced (test_patch.TestPatch.test_signed_off_by_presence)
SKIP: test Upstream-Status presence: No new CVE patches introduced (test_patch.TestPatch.test_upstream_status_presence_format)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)

---

Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this email with an explanation of why the patch should be accepted. If you believe these results are due to an error in patchtest, please submit a bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category under 'Yocto Project Subprojects'). For more information on specific failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank you!

#5 lore raw

Patchtest results for [PATCH 1/3] python3-pkg-about: add recipe

In reply to Frederik Brændstrup

Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information:

---
Testing patch /home/patchtest/share/mboxes/1-3-python3-pkg-about-add-recipe.patch

FAIL: test commit message presence: Please include a commit message on your patch explaining the change (test_mbox.TestMbox.test_commit_message_presence)
FAIL: test target mailing list: Series sent to the wrong mailing list or some patches from the series correspond to different mailing lists (test_mbox.TestMbox.test_target_mailing_list)

PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)

SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: test CVE tag format: No new CVE patches introduced (test_patch.TestPatch.test_cve_tag_format)
SKIP: test Signed-off-by presence: No new CVE patches introduced (test_patch.TestPatch.test_signed_off_by_presence)
SKIP: test Upstream-Status presence: No new CVE patches introduced (test_patch.TestPatch.test_upstream_status_presence_format)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)

---

Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this email with an explanation of why the patch should be accepted. If you believe these results are due to an error in patchtest, please submit a bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category under 'Yocto Project Subprojects'). For more information on specific failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank you!