a1d30e3aa0
Remove Python 2 package installation from the base image. For container builds, reference Python 2 packages only if we're not building for Bullseye. For libyang, don't build Python 2 bindings at all, since they don't seem to be used. Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
12 lines
429 B
Makefile
12 lines
429 B
Makefile
# redis_dump_load python3 wheel
|
|
|
|
REDIS_DUMP_LOAD_PY3 = redis_dump_load-1.1-py3-none-any.whl
|
|
$(REDIS_DUMP_LOAD_PY3)_SRC_PATH = $(SRC_PATH)/redis-dump-load
|
|
$(REDIS_DUMP_LOAD_PY3)_PYTHON_VERSION = 3
|
|
ifeq ($(ENABLE_PY2_MODULES), y)
|
|
# Synthetic dependency just to avoid race condition
|
|
$(REDIS_DUMP_LOAD_PY3)_DEPENDS += $(REDIS_DUMP_LOAD_PY2)
|
|
endif
|
|
$(REDIS_DUMP_LOAD_PY3)_TEST = n
|
|
SONIC_PYTHON_WHEELS += $(REDIS_DUMP_LOAD_PY3)
|