python3-python-multipart_0.0.12.bb 608 B

12345678910111213141516171819202122232425
  1. SUMMARY = "A streaming multipart parser for Python"
  2. LICENSE = "Apache-2.0"
  3. LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3d98f0d58b28321924a89ab60c82410e"
  4. SRC_URI[sha256sum] = "045e1f98d719c1ce085ed7f7e1ef9d8ccc8c02ba02b5566d5f7521410ced58cb"
  5. inherit pypi python_hatchling ptest
  6. PYPI_PACKAGE = "python_multipart"
  7. UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
  8. SRC_URI += " \
  9. file://run-ptest \
  10. "
  11. RDEPENDS:${PN}-ptest += " \
  12. python3-pytest \
  13. python3-pyyaml \
  14. python3-unittest-automake-output \
  15. "
  16. do_install_ptest() {
  17. install -d ${D}${PTEST_PATH}/tests
  18. cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
  19. }