python3-requests-file_2.1.0.bb 763 B

1234567891011121314151617181920212223242526272829303132
  1. SUMMARY = "File transport adapter for Requests"
  2. HOMEPAGE = "http://github.com/dashea/requests-file"
  3. LICENSE = "Apache-2.0"
  4. LIC_FILES_CHKSUM = "file://LICENSE;md5=9cc728d6087e43796227b0a31422de6b"
  5. SRC_URI[sha256sum] = "0f549a3f3b0699415ac04d167e9cb39bccfb730cb832b4d20be3d9867356e658"
  6. PYPI_PACKAGE = "requests_file"
  7. UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
  8. inherit pypi python_setuptools_build_meta ptest
  9. SRC_URI += " \
  10. file://run-ptest \
  11. "
  12. DEPENDS += "python3-setuptools-scm-native"
  13. RDEPENDS:${PN}-ptest += " \
  14. python3-pytest \
  15. python3-unittest-automake-output \
  16. "
  17. do_install_ptest() {
  18. install -d ${D}${PTEST_PATH}/tests
  19. cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
  20. }
  21. RDEPENDS:${PN} += " \
  22. python3-requests \
  23. "