python-pexpect: fix byte-compilation with Python 2
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 1 May 2016 20:15:18 +0000 (22:15 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 22 May 2016 19:31:59 +0000 (21:31 +0200)
commit944d0a95454306a000e604388014eebf7a6affc4
tree1afa4bf91bd9f1bab9f6c90ef2bed66aae885b9b
parent5d9389ebc2d9a3020277102466a9f223c2a3f24b
python-pexpect: fix byte-compilation with Python 2

pexpect contains one file, async.py, that is only meant to be used
with Python 3. Due to this, it fails to byte-compile with Python 2,
which will become a problem once we make byte-compilation failures
fatal failures that abort the build.

As suggested by upstream at
https://github.com/pexpect/pexpect/issues/290, we simply remove the
problematic file when building with Python 2.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/python-pexpect/python-pexpect.mk