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

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

Commit Message

Andrei Gherzan Dec. 9, 2021, 4:14 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

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..20f40d98b
--- /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) \
+"