# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2023 Niklas Poslovski # %patch% 02-pytest-indirectly.patch %include-2% COMPONENT_FMRI = multimedia/yt-dlp COMPONENT_CLASSIFICATION = Applications/Sound and Video # This is a standalone application. Since no other Python project depends on # it we just provide single unversioned package. SINGLE_PYTHON_VERSION = yes %include-3% # # Add optional runtime dependencies. Technically, we do not need all of them # because only subset is strongly recommended but it is easier to add all of # them than to maintain the list of the strongly recommended. # # See also https://github.com/yt-dlp/yt-dlp/pull/11255 # COMPONENT_POST_INSTALL_ACTION += \ PYTHONPATH=$(PROTO_DIR)/$(PYTHON_DIR)/site-packages:$(PROTO_DIR)/$(PYTHON_LIB) \ $(PYTHON) $(WS_TOOLS)/python-requires $(COMPONENT_NAME) default >> $(@D)/.depend-runtime ;