kumquat-buildroot/package/python-sentry-sdk
Peter Korsgaard d62f0042e8 package/python-sentry-sdk: drop asyncio files for python 2.x to fix pycompile issue
sentry-sdk has a set of optional "integrations", some of which use 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/sentry_sdk/integrations/sanic.py", line 64
    async def sentry_handle_request(self, request, *args, **kwargs):
            ^
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/9e4/9e47ee2a56153379e4e7bc839be5972a2302ba9f/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-10-12 08:37:17 +02:00
..
Config.in package/python-sentry-sdk: update homepage URL 2020-09-23 22:57:07 +02:00
python-sentry-sdk.hash
python-sentry-sdk.mk package/python-sentry-sdk: drop asyncio files for python 2.x to fix pycompile issue 2020-10-12 08:37:17 +02:00