python3-rfc3339-validator: Upgrade 0.1.1 -> 0.1.2

Upgrade to release 0.1.2:

- setup.py: move pytest-runner to test_requirements

Patch has been removed from the recipe because it has been already
upstreamed in the new release.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Leon Anavi 2020-09-18 14:58:35 +03:00 committed by Khem Raj
parent ea5d1e2298
commit d7c8d85f95
2 changed files with 2 additions and 38 deletions

View File

@ -1,32 +0,0 @@
From 2de281fdca88f223ace1eb6428a77b9903c69264 Mon Sep 17 00:00:00 2001
From: Nicola Lunghi <nicola.lunghi@jci.com>
Date: Thu, 14 Nov 2019 11:58:28 +0000
Subject: [PATCH] setup.py: move pytest-runner to test_requirements
This fixes an issue with yocto build.
pytest-runner is only needed when running tests.
Upstream-Status: Pending
---
setup.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/setup.py b/setup.py
index 9a50767..e3b1c6e 100644
--- a/setup.py
+++ b/setup.py
@@ -12,9 +12,9 @@ requirements = [
'six',
]
-setup_requirements = ['pytest-runner', ]
+setup_requirements = []
-test_requirements = ['pytest>=3', ]
+test_requirements = ['pytest>=3', 'pytest-runner']
setup(
author="Nicolas Aimetti",
--
2.20.1

View File

@ -5,17 +5,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a21b13b5a996f08f7e0b088aa38ce9c6"
FILESEXTRAPATHS_prepend := "${THISDIR}/python-rfc3339-validator:"
SRC_URI[md5sum] = "9d8899041d83f98180bddd8b62ee7e99"
SRC_URI[sha256sum] = "20a600d01fbb1f793cbb6f4ec4ebb2104f4c9e80d74d5f78350b63ecc6cccd08"
SRC_URI[md5sum] = "2c233007189d5ef21046cb2afac51a96"
SRC_URI[sha256sum] = "c9659c3183488a1875c4d327c9873d9e92c54cdcd69dfbfae7546ad8b27baf9a"
PYPI_PACKAGE = "rfc3339_validator"
inherit pypi setuptools3
SRC_URI_append = " \
file://0001-setup.py-move-pytest-runner-to-test_requirements.patch \
"
RDEPENDS_${PN} += "\
${PYTHON_PN}-core \
${PYTHON_PN}-datetime \