diff options
| author | Nicola Lunghi <nick83ola@gmail.com> | 2019-11-14 12:47:58 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-11-14 10:11:59 -0800 |
| commit | dd81e462f703053c4da715458da2758ae7ca900b (patch) | |
| tree | cbb759e256522eafcf42051083c7cc3116289567 /meta-python/recipes-devtools/python/python-rfc3339-validator | |
| parent | 3984ac6e4fd9091dacd420416d97a59f43039068 (diff) | |
| download | meta-openembedded-dd81e462f703053c4da715458da2758ae7ca900b.tar.gz | |
python-rfc3339-validator: add recipe
This is an optional dependency for python-jsonschema
Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-rfc3339-validator')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-rfc3339-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-rfc3339-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch b/meta-python/recipes-devtools/python/python-rfc3339-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch new file mode 100644 index 0000000000..ce8ca0bc8c --- /dev/null +++ b/meta-python/recipes-devtools/python/python-rfc3339-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From 2de281fdca88f223ace1eb6428a77b9903c69264 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Nicola Lunghi <nicola.lunghi@jci.com> | ||
| 3 | Date: Thu, 14 Nov 2019 11:58:28 +0000 | ||
| 4 | Subject: [PATCH] setup.py: move pytest-runner to test_requirements | ||
| 5 | |||
| 6 | This fixes an issue with yocto build. | ||
| 7 | pytest-runner is only needed when running tests. | ||
| 8 | |||
| 9 | Upstream-Status: Pending | ||
| 10 | --- | ||
| 11 | setup.py | 4 ++-- | ||
| 12 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 13 | |||
| 14 | diff --git a/setup.py b/setup.py | ||
| 15 | index 9a50767..e3b1c6e 100644 | ||
| 16 | --- a/setup.py | ||
| 17 | +++ b/setup.py | ||
| 18 | @@ -12,9 +12,9 @@ requirements = [ | ||
| 19 | 'six', | ||
| 20 | ] | ||
| 21 | |||
| 22 | -setup_requirements = ['pytest-runner', ] | ||
| 23 | +setup_requirements = [] | ||
| 24 | |||
| 25 | -test_requirements = ['pytest>=3', ] | ||
| 26 | +test_requirements = ['pytest>=3', 'pytest-runner'] | ||
| 27 | |||
| 28 | setup( | ||
| 29 | author="Nicolas Aimetti", | ||
| 30 | -- | ||
| 31 | 2.20.1 | ||
| 32 | |||
