[meta-python] python3-pymetno: Introduce recipe on 0.7.0

Message ID 20211209150014.2294075-1-andrei@gherzan.com
State New
Headers show
Series [meta-python] python3-pymetno: Introduce recipe on 0.7.0 | expand

Commit Message

Andrei Gherzan Dec. 9, 2021, 3 p.m. UTC
From: Andrei Gherzan <andrei.gherzan@huawei.com>

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 .../python/python3-pymetno_0.7.0.bb              | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pymetno_0.7.0.bb

Comments

Khem Raj Dec. 9, 2021, 3:58 p.m. UTC | #1
On Thu, Dec 9, 2021 at 7:00 AM Andrei Gherzan <andrei@gherzan.com> wrote:
>
> From: Andrei Gherzan <andrei.gherzan@huawei.com>
>
> Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
> ---
>  .../python/python3-pymetno_0.7.0.bb              | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/python3-pymetno_0.7.0.bb
>
> diff --git a/meta-python/recipes-devtools/python/python3-pymetno_0.7.0.bb b/meta-python/recipes-devtools/python/python3-pymetno_0.7.0.bb
> new file mode 100644
> index 000000000..453f66afd
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-pymetno_0.7.0.bb
> @@ -0,0 +1,16 @@
> +SUMMARY = "Python library to talk to the met.no api"
> +HOMEPAGE = "https://github.com/Danielhiversen/pyMetno"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=5d503272f52c35147ec960cb56a03bf4"
> +
> +SRC_URI = "git://github.com/Danielhiversen/pyMetno.git;protocol=https;branch=master"
> +SRCREV = "15f1e887aaaba3bf243cc8f88eb761e0ad85c355"
> +S = "${WORKDIR}/git"
> +
> +inherit setuptools3
> +
> +RDEPENDS_${PN} = "\

This should use the new override separator ':' instead of '_'

> +       ${PYTHON_PN}-aiohttp (>=3.6.1) \
> +       ${PYTHON_PN}-async-timeout (>=3.0.1) \
> +       ${PYTHON_PN}-pytz (>=2019.3) \
> +"
> --
> 2.25.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#94261): https://lists.openembedded.org/g/openembedded-devel/message/94261
> Mute This Topic: https://lists.openembedded.org/mt/87613192/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Andrei Gherzan Dec. 9, 2021, 4:14 p.m. UTC | #2
On Thu, 9 Dec 2021, at 15:58, Khem Raj wrote:
> On Thu, Dec 9, 2021 at 7:00 AM Andrei Gherzan <andrei@gherzan.com> wrote:
>>
>> From: Andrei Gherzan <andrei.gherzan@huawei.com>
>>
>> Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
>> ---
>>  .../python/python3-pymetno_0.7.0.bb              | 16 ++++++++++++++++
>>  1 file changed, 16 insertions(+)
>>  create mode 100644 meta-python/recipes-devtools/python/python3-pymetno_0.7.0.bb
>>
>> diff --git a/meta-python/recipes-devtools/python/python3-pymetno_0.7.0.bb b/meta-python/recipes-devtools/python/python3-pymetno_0.7.0.bb
>> new file mode 100644
>> index 000000000..453f66afd
>> --- /dev/null
>> +++ b/meta-python/recipes-devtools/python/python3-pymetno_0.7.0.bb
>> @@ -0,0 +1,16 @@
>> +SUMMARY = "Python library to talk to the met.no api"
>> +HOMEPAGE = "https://github.com/Danielhiversen/pyMetno"
>> +LICENSE = "MIT"
>> +LIC_FILES_CHKSUM = "file://LICENSE;md5=5d503272f52c35147ec960cb56a03bf4"
>> +
>> +SRC_URI = "git://github.com/Danielhiversen/pyMetno.git;protocol=https;branch=master"
>> +SRCREV = "15f1e887aaaba3bf243cc8f88eb761e0ad85c355"
>> +S = "${WORKDIR}/git"
>> +
>> +inherit setuptools3
>> +
>> +RDEPENDS_${PN} = "\
>
> This should use the new override separator ':' instead of '_'

Indeed. Fixed in v2.

--
Andrei

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pymetno_0.7.0.bb b/meta-python/recipes-devtools/python/python3-pymetno_0.7.0.bb
new file mode 100644
index 000000000..453f66afd
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pymetno_0.7.0.bb
@@ -0,0 +1,16 @@ 
+SUMMARY = "Python library to talk to the met.no api"
+HOMEPAGE = "https://github.com/Danielhiversen/pyMetno"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5d503272f52c35147ec960cb56a03bf4"
+
+SRC_URI = "git://github.com/Danielhiversen/pyMetno.git;protocol=https;branch=master"
+SRCREV = "15f1e887aaaba3bf243cc8f88eb761e0ad85c355"
+S = "${WORKDIR}/git"
+
+inherit setuptools3
+
+RDEPENDS_${PN} = "\
+	${PYTHON_PN}-aiohttp (>=3.6.1) \
+	${PYTHON_PN}-async-timeout (>=3.0.1) \
+	${PYTHON_PN}-pytz (>=2019.3) \
+"