aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python-booleanpy_3.7.bb
blob: b80e43448bb177597d5b71124e70cb3bf85d1218 (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
SUMMARY = "Define boolean algebras, create and parse boolean expressions and create custom boolean DSL"
HOMEPAGE = "https://github.com/bastikr/boolean.py"

LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e319747a5eb94cddf646037c01ddba47"

SRC_URI += "file://run-ptest"
SRC_URI[md5sum] = "1189d115a38f84f5df743014926a9159"
SRC_URI[sha256sum] = "bd19b412435611ecc712603d0fd7d0e280e24698e7a6e3d5f610473870c5dd1e"

PYPI_PACKAGE = "boolean.py"

inherit pypi setuptools ptest

RDEPENDS_${PN}_append_class-target = "\
    ${PYTHON_PN}-lang \
"

RDEPENDS_${PN}-ptest += "\
    ${PYTHON_PN}-unittest \
    ${PYTHON_PN}-pytest \
"

do_install_ptest() {
    install -d ${D}${PTEST_PATH}/boolean
    cp -rf ${S}/boolean/test_boolean.py  ${D}${PTEST_PATH}/boolean/
}

FILES_${PN}-test = ""

BBCLASSEXTEND = "native nativesdk"