diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2024-06-20 16:52:50 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-06-20 07:32:55 -0700 |
| commit | 9b1df8ea162b2f9dcdce500e1cf456d2f7d979cf (patch) | |
| tree | fca0e0fc80a8610624a1acfc28dfa1ebce345d5a /meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb | |
| parent | a8b73a38da69f4d1d2731edeeb569f58c49c4dd9 (diff) | |
| download | meta-openembedded-9b1df8ea162b2f9dcdce500e1cf456d2f7d979cf.tar.gz | |
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb | 31 |
1 files changed, 31 insertions, 0 deletions
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 @@ | |||
| 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 | |||
| 6 | SRC_URI[sha256sum] = "0f549a3f3b0699415ac04d167e9cb39bccfb730cb832b4d20be3d9867356e658" | ||
| 7 | |||
| 8 | PYPI_PACKAGE = "requests_file" | ||
| 9 | |||
| 10 | inherit pypi python_setuptools_build_meta ptest | ||
| 11 | |||
| 12 | SRC_URI += " \ | ||
| 13 | file://run-ptest \ | ||
| 14 | " | ||
| 15 | |||
| 16 | DEPENDS += "python3-setuptools-scm-native" | ||
| 17 | |||
| 18 | RDEPENDS:${PN}-ptest += " \ | ||
| 19 | python3-pytest \ | ||
| 20 | python3-unittest-automake-output \ | ||
| 21 | " | ||
| 22 | |||
| 23 | do_install_ptest() { | ||
| 24 | install -d ${D}${PTEST_PATH}/tests | ||
| 25 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 26 | } | ||
| 27 | |||
| 28 | RDEPENDS:${PN} += " \ | ||
| 29 | python3-requests \ | ||
| 30 | " | ||
| 31 | |||
