This should also be updated to inherit python_setuptools_build_meta per
https://github.com/dashea/requests-file/blob/ce642a115d0cc7ee2d2cda614ce9b2a0bbebe562/pyproject.toml#L3


On Thu, Jun 20, 2024 at 6:53 AM Leon Anavi via lists.openembedded.org
<[email protected]> wrote:

> 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 <[email protected]>
> ---
>  ...ests-file_1.5.1.bb => python3-requests-file_2.1.0.bb} | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
>  rename meta-python/recipes-devtools/python/{
> python3-requests-file_1.5.1.bb => python3-requests-file_2.1.0.bb} (70%)
>
> diff --git a/meta-python/recipes-devtools/python/
> python3-requests-file_1.5.1.bb b/meta-python/recipes-devtools/python/
> python3-requests-file_2.1.0.bb
> similarity index 70%
> rename from meta-python/recipes-devtools/python/
> python3-requests-file_1.5.1.bb
> rename to meta-python/recipes-devtools/python/
> python3-requests-file_2.1.0.bb
> index 7ff984a93..4e0adc39f 100644
> --- a/meta-python/recipes-devtools/python/python3-requests-file_1.5.1.bb
> +++ b/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb
> @@ -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 \
> --
> 2.39.2
>
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110976): 
https://lists.openembedded.org/g/openembedded-devel/message/110976
Mute This Topic: https://lists.openembedded.org/mt/106780172/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to