From 9b1df8ea162b2f9dcdce500e1cf456d2f7d979cf Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 20 Jun 2024 16:52:50 +0300 Subject: python3-requests-file: Upgrade 1.5.1 -> 2.1.0 Upgrade to release 2.1.0: - Correct a typo in requests_file.py - Remove dependency on six - Move metadata to pyproject.toml - Correct homepage link in pyproject.toml - Fix black formatting - Set the request property in the returned Response object Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-requests-file_1.5.1.bb | 28 ------------------- .../python/python3-requests-file_2.1.0.bb | 31 ++++++++++++++++++++++ 2 files changed, 31 insertions(+), 28 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-requests-file_1.5.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python3-requests-file_1.5.1.bb b/meta-python/recipes-devtools/python/python3-requests-file_1.5.1.bb deleted file mode 100644 index 7ff984a933..0000000000 --- a/meta-python/recipes-devtools/python/python3-requests-file_1.5.1.bb +++ /dev/null @@ -1,28 +0,0 @@ -SUMMARY = "File transport adapter for Requests" -HOMEPAGE = "http://github.com/dashea/requests-file" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=9cc728d6087e43796227b0a31422de6b" - -SRC_URI[md5sum] = "c96daf6b0c56687556e8a52748fd896c" -SRC_URI[sha256sum] = "07d74208d3389d01c38ab89ef403af0cfec63957d53a0081d8eca738d0247d8e" - -inherit pypi setuptools3 ptest - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - -RDEPENDS:${PN} += " \ - python3-requests \ -" - diff --git a/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb b/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb new file mode 100644 index 0000000000..4e0adc39f6 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb @@ -0,0 +1,31 @@ +SUMMARY = "File transport adapter for Requests" +HOMEPAGE = "http://github.com/dashea/requests-file" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=9cc728d6087e43796227b0a31422de6b" + +SRC_URI[sha256sum] = "0f549a3f3b0699415ac04d167e9cb39bccfb730cb832b4d20be3d9867356e658" + +PYPI_PACKAGE = "requests_file" + +inherit pypi python_setuptools_build_meta ptest + +SRC_URI += " \ + file://run-ptest \ +" + +DEPENDS += "python3-setuptools-scm-native" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS:${PN} += " \ + python3-requests \ +" + -- cgit v1.2.3-54-g00ecf