Commit Graph

5 Commits

Author SHA1 Message Date
Derek Straka
cf6b12e5c9 python3-*: Update recipes with pytest ptests to use the new ptest-python-pytest class
The newly added ptest-python-pytest removes duplication for:
  1. Copying pytest files to the ptest directory
  2. Adding standard pytest dependencies
  3. Adding a common run-ptest script using pytest

(From OE-Core rev: 8d84d9e19b9292b1863921611924714d77c41d21)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 12:37:20 +00:00
Khem Raj
e366c7a671 python3-libarchive-c: Avoid using find_library python API
find_library API depends on platform to provide ldconfig, ld, gcc, objdump
etc, so either we add these dependencies or avoid them by computing the
libarchive library name during build, which we can be done.

This ensures that ffi module works with musl as well as glibc equally
as musl does not provide ldconfig like glibc does

(From OE-Core rev: db350fa7c3c33956fb652eef8aefebaf18ead841)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-04 14:34:42 +00:00
Ross Burton
7fe641536e python3-libarchive-c: fix tests with libarchive 3.7.5 onwards
Backport a patch from an upstream PR to disable a test that correctly
causes errors in libarchive 3.7.5 onwards.

(From OE-Core rev: 51356c6d6774894926c9a291b9313324cfd6b127)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-30 17:07:17 +01:00
Corentin Lévy
c01e633ab9 python3-libarchive-c: add ptest
test added to the fast-list
result of ptest-runner:
Testsuite summary
TOTAL: 36
PASS: 36
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 11
END: /usr/lib/python3-libarchive-c/ptest
2024-08-01T11:44
STOP: ptest-runner
TOTAL: 1 FAIL: 0

(From OE-Core rev: 2019edfc5a6fd252329347a6230a2e39603b932b)

Signed-off-by: Corentin Lévy <corentin.levy@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-05 14:31:57 +01:00
Wang Mingyu
82cae7e42a python3-libarchive-c: upgrade 5.0 -> 5.1
Changelog:
===========
Fix the format_name property and move it from the ArchiveEntry class to the ArchiveRead class

(From OE-Core rev: eea08686271c5683840a733c32eda663c2aa23f6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00