blob: 0acbb2eac0a21aa6880953ff052db90a19a279eb (
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
|
SUMMARY = "Core utilities for Python packages"
HOMEPAGE = "https://github.com/pypa/packaging"
LICENSE = "Apache-2.0 | BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91"
SRC_URI[sha256sum] = "048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5"
inherit pypi python_flit_core ptest
BBCLASSEXTEND = "native nativesdk"
# Bootstrap the native build
DEPENDS:remove:class-native = "python3-build-native"
RDEPENDS:${PN} += "python3-profile"
do_compile:class-native () {
python_flit_core_do_manual_build
}
RDEPENDS:${PN}-ptest += "python3-pytest python3-pretend"
INSANE_SKIP:${PN} += "already-stripped"
INSANE_SKIP:${PN}-ptest += "arch"
do_install_ptest() {
cp -r ${S}/tests ${D}${PTEST_PATH}
rm -f ${D}${PTEST_PATH}/tests/manylinux/build.sh
}
|