diff mbox

[oe,meta-python] python-pyyaml 3.10: unbreak versioning

Message ID 1439221366-7089-1-git-send-email-koen.kooi@linaro.org
State Accepted
Commit 42fcf360806f6131da534af29d40dbfe3d44b408
Headers show

Commit Message

Koen Kooi Aug. 10, 2015, 3:42 p.m. UTC
Using our own setup.py is great, but it should use the same version as the recipe, otherwise you get errors like these:

pkg_resources.DistributionNotFound: The 'PyYAML==3.10' distribution was not found and is required

Package python-pyyaml (3.10-r0.0) is installed on root and has the following files:
[..]
/usr/lib/python2.7/site-packages/PyYAML-3.06-py2.7.egg-info

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
---
 meta-python/recipes-devtools/python/python-pyyaml/setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/meta-python/recipes-devtools/python/python-pyyaml/setup.py b/meta-python/recipes-devtools/python/python-pyyaml/setup.py
index fb64983..2ed1c94 100644
--- a/meta-python/recipes-devtools/python/python-pyyaml/setup.py
+++ b/meta-python/recipes-devtools/python/python-pyyaml/setup.py
@@ -1,5 +1,5 @@ 
 NAME = 'PyYAML'
-VERSION = '3.06'
+VERSION = '3.10'
 DESCRIPTION = "YAML parser and emitter for Python"
 LONG_DESCRIPTION = """\
 YAML is a data serialization format designed for human readability and