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 <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Leon Anavi 2024-06-20 16:52:50 +03:00 committed by Khem Raj
parent a8b73a38da
commit 9b1df8ea16
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -3,15 +3,18 @@ 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"
SRC_URI[sha256sum] = "0f549a3f3b0699415ac04d167e9cb39bccfb730cb832b4d20be3d9867356e658"
inherit pypi setuptools3 ptest
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 \