diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-attrs_24.2.0.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-attrs_24.2.0.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-attrs_24.2.0.bb b/meta/recipes-devtools/python/python3-attrs_24.2.0.bb new file mode 100644 index 0000000000..a6cb60a8c8 --- /dev/null +++ b/meta/recipes-devtools/python/python3-attrs_24.2.0.bb | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | SUMMARY = "Classes Without Boilerplate" | ||
| 2 | HOMEPAGE = "http://www.attrs.org/" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5e55731824cf9205cfabeab9a0600887" | ||
| 5 | |||
| 6 | SRC_URI[sha256sum] = "5cfb1b9148b5b086569baec03f20d7b6bf3bcacc9a42bebf87ffaaca362f6346" | ||
| 7 | |||
| 8 | inherit pypi ptest python_hatchling | ||
| 9 | |||
| 10 | SRC_URI += " \ | ||
| 11 | file://run-ptest \ | ||
| 12 | " | ||
| 13 | |||
| 14 | DEPENDS += " \ | ||
| 15 | python3-hatch-vcs-native \ | ||
| 16 | python3-hatch-fancy-pypi-readme-native \ | ||
| 17 | " | ||
| 18 | |||
| 19 | RDEPENDS:${PN}+= " \ | ||
| 20 | python3-compression \ | ||
| 21 | python3-crypt \ | ||
| 22 | " | ||
| 23 | |||
| 24 | RDEPENDS:${PN}-ptest += " \ | ||
| 25 | python3-hypothesis \ | ||
| 26 | python3-pytest \ | ||
| 27 | python3-unittest-automake-output \ | ||
| 28 | " | ||
| 29 | |||
| 30 | do_install_ptest() { | ||
| 31 | install -d ${D}${PTEST_PATH}/tests | ||
| 32 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 33 | install ${S}/conftest.py ${D}${PTEST_PATH}/ | ||
| 34 | } | ||
| 35 | |||
| 36 | BBCLASSEXTEND = "native nativesdk" | ||
