Files
poky/meta/recipes-devtools/python/python3-attrs_24.3.0.bb
Derek Straka cf6b12e5c9 python3-*: Update recipes with pytest ptests to use the new ptest-python-pytest class
The newly added ptest-python-pytest removes duplication for:
  1. Copying pytest files to the ptest directory
  2. Adding standard pytest dependencies
  3. Adding a common run-ptest script using pytest

(From OE-Core rev: 8d84d9e19b9292b1863921611924714d77c41d21)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 12:37:20 +00:00

29 lines
639 B
BlitzBasic

SUMMARY = "Classes Without Boilerplate"
HOMEPAGE = "http://www.attrs.org/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=5e55731824cf9205cfabeab9a0600887"
SRC_URI[sha256sum] = "8f5c07333d543103541ba7be0e2ce16eeee8130cb0b3f9238ab904ce1e85baff"
inherit pypi ptest-python-pytest python_hatchling
DEPENDS += " \
python3-hatch-vcs-native \
python3-hatch-fancy-pypi-readme-native \
"
RDEPENDS:${PN}+= " \
python3-compression \
python3-crypt \
"
RDEPENDS:${PN}-ptest += " \
python3-hypothesis \
"
do_install_ptest:append() {
install ${S}/conftest.py ${D}${PTEST_PATH}/
}
BBCLASSEXTEND = "native nativesdk"