component(developer/golang-123): Add Component
[oi-userland.git] / components / python / Babel / Makefile
bloba8b89efaa7446ed8a55e1bbb438153325f885ba5
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
5 # 1.0 of the CDDL.
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 # This file was automatically generated using the following command:
14 # $WS_TOOLS/python-integrate-project -d python/Babel babel
17 BUILD_STYLE = pyproject
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME = babel
22 HUMAN_VERSION = 2.16.0
23 COMPONENT_SUMMARY = Internationalization utilities
24 COMPONENT_PROJECT_URL = https://babel.pocoo.org/
25 COMPONENT_ARCHIVE_HASH = \
26 sha256:d1f3554ca26605fe173f3de0c65f750f5a42f924499bf134de6423582298e316
27 COMPONENT_LICENSE = BSD-3-Clause
28 COMPONENT_LICENSE_FILE = LICENSE
30 include $(WS_MAKE_RULES)/common.mk
32 # We need the directory where the cldr-common zip file is downloaded
33 COMPONENT_PRE_TEST_ACTION += $(MKDIR) $(@D)/cldr ;
34 # Remove the directory after testing is completed
35 COMPONENT_POST_TEST_ACTION += $(RM) -r $(@D)/cldr ;
36 # https://github.com/python-babel/babel/issues/935
37 COMPONENT_TEST_ENV += TZ=UTC
38 # The order of import_cldr INFO and WARNING lines could vary
39 COMPONENT_TEST_TRANSFORMS += "-e '/^INFO:import_cldr:/d'"
40 COMPONENT_TEST_TRANSFORMS += "-e '/^WARNING:import_cldr:/d'"
42 # Auto-generated dependencies
43 PYTHON_REQUIRED_PACKAGES += library/python/setuptools
44 PYTHON_REQUIRED_PACKAGES += library/python/wheel
45 PYTHON_REQUIRED_PACKAGES += runtime/python
46 TEST_REQUIRED_PACKAGES.python += library/python/freezegun
47 TEST_REQUIRED_PACKAGES.python += library/python/pytest
48 TEST_REQUIRED_PACKAGES.python += library/python/pytest-cov