blob: 3116c6b62ec54366c512a371bdbea9f23416382e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
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"
SRC_URI += " \
file://new-libarchive.patch \
file://run-ptest \
"
PYPI_PACKAGE = "libarchive-c"
inherit pypi setuptools3 ptest
SRC_URI[sha256sum] = "7bcce24ea6c0fa3bc62468476c6d2f6264156db2f04878a372027c10615a2721"
RDEPENDS:${PN} += "\
libarchive \
python3-ctypes \
python3-mmap \
python3-logging \
"
RDEPENDS:${PN}-ptest += " \
locale-base-en-us \
python3-pytest \
python3-unittest-automake-output \
"
BBCLASSEXTEND = "native"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
install -d ${D}${PTEST_PATH}/libarchive
cp -r ${S}/tests/* ${D}${PTEST_PATH}/tests/
cp ${S}/libarchive/* ${D}${PTEST_PATH}/libarchive/
cp ${S}/README.rst ${D}${PTEST_PATH}/README.rst
}
|