2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2022 Marcel Telka
16 %patch% 01-tox.ini-gmake.patch
19 # We need the directory where the cldr-common zip file is downloaded
20 COMPONENT_PRE_TEST_ACTION += $(MKDIR) $(@D)/cldr ;
21 # Remove the directory after testing is completed
22 COMPONENT_POST_TEST_ACTION += $(RM) -r $(@D)/cldr ;
23 # https://github.com/python-babel/babel/issues/935
24 COMPONENT_TEST_ENV += TZ=UTC
25 # The order of import_cldr INFO and WARNING lines could vary
26 COMPONENT_TEST_TRANSFORMS += "-e '/^INFO:import_cldr:/d'"
27 COMPONENT_TEST_TRANSFORMS += "-e '/^WARNING:import_cldr:/d'"