diff options
Diffstat (limited to 'poky/meta/recipes-devtools/python/python3-attrs_24.2.0.bb')
| -rw-r--r-- | poky/meta/recipes-devtools/python/python3-attrs_24.2.0.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/poky/meta/recipes-devtools/python/python3-attrs_24.2.0.bb b/poky/meta/recipes-devtools/python/python3-attrs_24.2.0.bb new file mode 100644 index 0000000000..a6cb60a8c8 --- /dev/null +++ b/poky/meta/recipes-devtools/python/python3-attrs_24.2.0.bb @@ -0,0 +1,36 @@ +SUMMARY = "Classes Without Boilerplate" +HOMEPAGE = "http://www.attrs.org/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5e55731824cf9205cfabeab9a0600887" + +SRC_URI[sha256sum] = "5cfb1b9148b5b086569baec03f20d7b6bf3bcacc9a42bebf87ffaaca362f6346" + +inherit pypi ptest python_hatchling + +SRC_URI += " \ + file://run-ptest \ +" + +DEPENDS += " \ + python3-hatch-vcs-native \ + python3-hatch-fancy-pypi-readme-native \ +" + +RDEPENDS:${PN}+= " \ + python3-compression \ + python3-crypt \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-hypothesis \ + python3-pytest \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ + install ${S}/conftest.py ${D}${PTEST_PATH}/ +} + +BBCLASSEXTEND = "native nativesdk" |
