From 5d29a4f036a81076b9ddd98dd93d885f8d2b9f74 Mon Sep 17 00:00:00 2001 From: wangmy Date: Fri, 4 Jun 2021 10:18:14 +0800 Subject: python3-libarchive-c: upgrade 3.0 -> 3.1 Add runtime dependency to resolve errors that occurred when import libarchive. Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- .../python/python3-libarchive-c_3.0.bb | 21 --------------------- .../python/python3-libarchive-c_3.1.bb | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 21 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-libarchive-c_3.0.bb create mode 100644 meta/recipes-devtools/python/python3-libarchive-c_3.1.bb (limited to 'meta/recipes-devtools') diff --git a/meta/recipes-devtools/python/python3-libarchive-c_3.0.bb b/meta/recipes-devtools/python/python3-libarchive-c_3.0.bb deleted file mode 100644 index d29195545f..0000000000 --- a/meta/recipes-devtools/python/python3-libarchive-c_3.0.bb +++ /dev/null @@ -1,21 +0,0 @@ -SUMMARY = "Python interface to libarchive" -DESCRIPTION = "A Python interface to libarchive. It uses the standard ctypes module to \ - dynamically load and access the C library." -HOMEPAGE = "https://github.com/Changaco/python-libarchive-c" -LICENSE = "CC0-1.0" -LIC_FILES_CHKSUM = "file://LICENSE.md;md5=bcab380227a83bc147350b40a81e6ffc" - -PYPI_PACKAGE = "libarchive-c" - -inherit pypi setuptools3 - -SRC_URI[md5sum] = "920885f5910aa8245e30896996e0415b" -SRC_URI[sha256sum] = "6f12fa9cf0e44579e5f45bbf11aa455a930fbfdb13ea0ce3c3dfe7b9b9a452ba" - -RDEPENDS_${PN} += "\ - libarchive \ - ${PYTHON_PN}-ctypes \ - ${PYTHON_PN}-mmap \ -" - -BBCLASSEXTEND = "native" diff --git a/meta/recipes-devtools/python/python3-libarchive-c_3.1.bb b/meta/recipes-devtools/python/python3-libarchive-c_3.1.bb new file mode 100644 index 0000000000..d8f7862f92 --- /dev/null +++ b/meta/recipes-devtools/python/python3-libarchive-c_3.1.bb @@ -0,0 +1,22 @@ +SUMMARY = "Python interface to libarchive" +DESCRIPTION = "A Python interface to libarchive. It uses the standard ctypes module to \ + dynamically load and access the C library." +HOMEPAGE = "https://github.com/Changaco/python-libarchive-c" +LICENSE = "CC0-1.0" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=bcab380227a83bc147350b40a81e6ffc" + +PYPI_PACKAGE = "libarchive-c" + +inherit pypi setuptools3 + +SRC_URI[md5sum] = "8c62da42a8b9bd24642e5430427e6f5a" +SRC_URI[sha256sum] = "618a7ecfbfb58ca15e11e3138d4a636498da3b6bc212811af158298530fbb87e" + +RDEPENDS_${PN} += "\ + libarchive \ + ${PYTHON_PN}-ctypes \ + ${PYTHON_PN}-mmap \ + ${PYTHON_PN}-logging \ +" + +BBCLASSEXTEND = "native" -- cgit 1.2.3-korg