<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-openembedded.git/meta-python/recipes-extended/python-pyparted/python3-pyparted, branch rocko</title>
<subtitle>Mirror of git.openembedded.org/meta-openembedded</subtitle>
<id>https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=rocko</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=rocko'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/'/>
<updated>2017-06-05T09:01:47+00:00</updated>
<entry>
<title>python3-pyparted: add a python3 recipe</title>
<updated>2017-06-05T09:01:47+00:00</updated>
<author>
<name>Hongxu Jia</name>
<email>hongxu.jia@windriver.com</email>
</author>
<published>2017-05-26T07:37:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=abc5a71c4d216742dc2af4b475136262ac169612'/>
<id>urn:sha1:abc5a71c4d216742dc2af4b475136262ac169612</id>
<content type='text'>
- Split to a common python-pyparted.inc for python2 and python3

- Tweak 0001-fix-version-float-check.patch for python3 to fix
  do_compile errror
----
| ERROR: python3 setup.py build_ext execution failed.
| Traceback (most recent call last):
|   File "setup.py", line 62, in &lt;module&gt;
|     check_mod_version('libparted', need_libparted_version)
|   File "setup.py", line 55, in check_mod_version
|     match = re.search('([0-9]+\.[0-9]+)', modversion)
|   File "work/core2-64-wrs-linux/python3-pyparted/3.10.7+gitAU
TOINC+69c4a478e4-r0/recipe-sysroot-native/usr/lib/python3.5/re.py",
line 173, in search
|     return _compile(pattern, flags).search(string)
| TypeError: cannot use a string pattern on a bytes-like object
----

The reason is the return of subprocess.check_output is byte in python3,
but string in python2

Signed-off-by: Hongxu Jia &lt;hongxu.jia@windriver.com&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
</feed>
