31cfaab3c9
Drop httpx.py to fix the following build failure with python 2.x raised since bump to version 1.4.3 in commitfd684ab9f3
ande2d0893824
: error: File "/usr/lib/python2.7/site-packages/sentry_sdk/integrations/httpx.py", line 69 async def send(self, request, **kwargs): ^ Fixes: - http://autobuild.buildroot.org/results/fd651abb3bc2fa33c861238acf1c4ad49fdac160 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
25 lines
931 B
Makefile
25 lines
931 B
Makefile
################################################################################
|
|
#
|
|
# python-sentry-sdk
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_SENTRY_SDK_VERSION = 1.4.3
|
|
PYTHON_SENTRY_SDK_SOURCE = sentry-sdk-$(PYTHON_SENTRY_SDK_VERSION).tar.gz
|
|
PYTHON_SENTRY_SDK_SITE = https://files.pythonhosted.org/packages/a7/30/1d967b2e0cac2fa388344b2968fa57e69d5382b922e57cda43af54b9063a
|
|
PYTHON_SENTRY_SDK_SETUP_TYPE = setuptools
|
|
PYTHON_SENTRY_SDK_LICENSE = BSD-2-Clause
|
|
PYTHON_SENTRY_SDK_LICENSE_FILES = LICENSE
|
|
|
|
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
|
# only needed/valid for python 3.x
|
|
define PYTHON_SENTRY_SDK_RM_PY3_FILES
|
|
rm -f $(addprefix $(TARGET_DIR)/usr/lib/python*/site-packages/sentry_sdk/integrations/,\
|
|
aiohttp.py asgi.py django/asgi.py httpx.py sanic.py tornado.py)
|
|
endef
|
|
|
|
PYTHON_SENTRY_SDK_POST_INSTALL_TARGET_HOOKS += PYTHON_SENTRY_SDK_RM_PY3_FILES
|
|
endif
|
|
|
|
$(eval $(python-package))
|