Files
buildroot/package
Peter Korsgaard 4314768295 package/python-pymodbus: drop asyncio files for python 2.x to fix pycompile issue
Pymodbus has optional support for asyncio.  Pycompile unfortunately errors
out on these files when running under Python 2.x:

../scripts/pycompile.py ..
error:   File "/usr/lib/python2.7/site-packages/pymodbus/client/asynchronous/asyncio/__init__.py", line 257
    yield from self._connect()
             ^
SyntaxError: invalid syntax

As a workaround, simply drop the unusable files from TARGET_DIR if building
for python 2.x.

Fixes:
http://autobuild.buildroot.net/results/cc4/cc48927cbe9ae6c2d8b12d65467ec40df82febf6/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 7d417ed7f3)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-10-12 10:56:54 +02:00
..
2020-07-22 13:37:23 +02:00
2020-10-03 07:57:02 +02:00
2020-10-10 22:24:03 +02:00
2020-05-09 16:51:17 +02:00
2020-08-13 19:02:31 +02:00
2020-08-28 18:01:15 +02:00
2020-04-27 22:28:44 +02:00
2020-04-19 22:48:58 +02:00
2020-07-20 21:57:07 +02:00
2020-09-29 16:17:56 +02:00
2020-04-23 23:38:10 +02:00
2020-07-22 13:46:52 +02:00
2020-05-25 22:04:35 +02:00
2020-05-01 14:09:42 +02:00
2020-10-02 22:32:54 +02:00
2020-04-25 21:28:53 +02:00
2020-04-21 21:35:54 +02:00
2020-07-13 08:36:53 +02:00
2020-07-22 13:42:11 +02:00
2020-05-01 15:08:04 +02:00
2020-04-21 21:37:38 +02:00
2020-05-26 12:02:13 +02:00
2020-07-22 09:01:18 +02:00
2020-04-21 22:12:51 +02:00
2020-08-28 18:43:39 +02:00
2020-07-15 23:20:40 +02:00
2020-07-22 13:40:39 +02:00
2020-09-25 17:38:31 +02:00
2020-05-01 14:04:51 +02:00
2020-04-25 22:34:43 +02:00
2020-05-02 18:34:30 +02:00
2020-05-25 22:52:53 +02:00
2020-04-25 21:29:18 +02:00
2020-04-21 21:37:24 +02:00
2020-05-25 22:48:44 +02:00
2020-05-17 21:38:47 +02:00
2020-07-22 13:42:11 +02:00
2020-04-21 21:35:43 +02:00
2020-08-28 18:43:39 +02:00
2020-04-21 21:35:33 +02:00
2020-09-29 20:35:07 +02:00
2020-04-27 22:26:40 +02:00
2020-09-29 17:20:42 +02:00
2020-04-27 22:20:16 +02:00
2020-05-25 22:48:44 +02:00
2020-05-03 21:57:44 +02:00