python3-ptyprocess_0.7.0.bb 938 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. SUMMARY = "Run a subprocess in a pseudo terminal"
  2. HOMEPAGE = "http://ptyprocess.readthedocs.io/en/latest/"
  3. SECTION = "devel/python"
  4. LICENSE = "ISC"
  5. LIC_FILES_CHKSUM = "file://LICENSE;md5=cfdcd51fa7d5808da4e74346ee394490"
  6. SRCNAME = "ptyprocess"
  7. SRC_URI += "file://a44312974bd9084aa568d2e18ce5b2a7e0e45983.patch"
  8. SRC_URI[sha256sum] = "5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220"
  9. inherit pypi python_flit_core
  10. S = "${WORKDIR}/${SRCNAME}-${PV}"
  11. RDEPENDS:${PN} = "\
  12. python3-core \
  13. python3-fcntl \
  14. python3-terminal \
  15. python3-resource \
  16. "
  17. BBCLASSEXTEND = "native nativesdk"
  18. inherit ptest
  19. SRC_URI += " \
  20. file://run-ptest \
  21. "
  22. RDEPENDS:${PN}-ptest += " \
  23. bash \
  24. python3-fcntl \
  25. python3-pytest \
  26. python3-resource \
  27. python3-terminal \
  28. python3-unittest-automake-output \
  29. "
  30. do_install_ptest() {
  31. install -d ${D}${PTEST_PATH}/tests
  32. cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
  33. }