#
|
# 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 2022 Marcel Telka
|
#
|
|
%patch% 01-tox.ini-gmake.patch
|
|
%include-3%
|
# We need the directory where cldr-common-42.0.zip is downloaded
|
COMPONENT_PRE_TEST_ACTION += $(MKDIR) $(@D)/cldr ;
|
# Remove the directory after testing is completed
|
COMPONENT_POST_TEST_ACTION += $(RM) -r $(@D)/cldr ;
|
# https://github.com/python-babel/babel/issues/935
|
COMPONENT_TEST_ENV += TZ=UTC
|
# The order of import_cldr INFO and WARNING lines could vary
|
COMPONENT_TEST_TRANSFORMS += "-e '/^INFO:import_cldr:/d'"
|
COMPONENT_TEST_TRANSFORMS += "-e '/^WARNING:import_cldr:/d'"
|