# # 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. # # # This file was automatically generated using the following command: # $WS_TOOLS/python-integrate-project sdjson # BUILD_STYLE = pyproject include ../../../make-rules/shared-macros.mk COMPONENT_NAME = sdjson HUMAN_VERSION = 0.5.0 COMPONENT_SUMMARY = Custom JSON Encoder for Python utilising functools.singledispatch to support custom encoders for both Python's built-in classes and user-created classes, without as much legwork. COMPONENT_PROJECT_URL = https://github.com/domdfcoding/singledispatch-json COMPONENT_ARCHIVE_URL = \ https://github.com/domdfcoding/singledispatch-json/archive/refs/tags/v$(HUMAN_VERSION).tar.gz COMPONENT_ARCHIVE_HASH = \ sha256:6b46f9ea7549083539cc8e504252a397fc3a88b12abab51a007d4823cb9cd083 COMPONENT_LICENSE = MIT COMPONENT_LICENSE_FILE = LICENSE # Github tarball use different source directory than sdist COMPONENT_SRC = singledispatch-json-$(HUMAN_VERSION) include $(WS_MAKE_RULES)/common.mk # pytest-datadir is needed by pytest-regressions and pytest-regressions is # needed by coincidence so both pytest-regressions and pytest-datadir will be # always installed. # # We need to list them explicitly here to make sure they are enabled. TEST_REQUIRED_PACKAGES.python += library/python/pytest-regressions TEST_REQUIRED_PACKAGES.python += library/python/pytest-datadir # Auto-generated dependencies PYTHON_REQUIRED_PACKAGES += library/python/domdf-python-tools PYTHON_REQUIRED_PACKAGES += library/python/typing-extensions PYTHON_REQUIRED_PACKAGES += library/python/whey PYTHON_REQUIRED_PACKAGES += runtime/python TEST_REQUIRED_PACKAGES.python += library/python/coincidence TEST_REQUIRED_PACKAGES.python += library/python/coverage TEST_REQUIRED_PACKAGES.python += library/python/importlib-metadata TEST_REQUIRED_PACKAGES.python += library/python/iniconfig TEST_REQUIRED_PACKAGES.python += library/python/pip TEST_REQUIRED_PACKAGES.python += library/python/pytest TEST_REQUIRED_PACKAGES.python += library/python/pytest-cov TEST_REQUIRED_PACKAGES.python += library/python/pytest-randomly TEST_REQUIRED_PACKAGES.python += library/python/pytest-rerunfailures TEST_REQUIRED_PACKAGES.python += library/python/pytest-timeout TEST_REQUIRED_PACKAGES.python += library/python/pytz TEST_REQUIRED_PACKAGES.python += library/python/virtualenv