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

Koen Kooi koen.kooi at linaro.org
Mon Aug 10 15:42:46 UTC 2015


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 at linaro.org>
---
 meta-python/recipes-devtools/python/python-pyyaml/setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.1.0




More information about the Openembedded-devel mailing list