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 # This file was automatically generated using the following command:
14 # $WS_TOOLS/python-integrate-project sdjson
17 BUILD_STYLE
= pyproject
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= sdjson
23 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.
24 COMPONENT_PROJECT_URL = https://github.com/domdfcoding/singledispatch-json
25 COMPONENT_ARCHIVE_URL = \
26 https://github.com/domdfcoding/singledispatch-json/archive/refs/tags/v$(HUMAN_VERSION).tar.gz
27 COMPONENT_ARCHIVE_HASH = \
28 sha256:6b46f9ea7549083539cc8e504252a397fc3a88b12abab51a007d4823cb9cd083
29 COMPONENT_LICENSE = MIT
30 COMPONENT_LICENSE_FILE = LICENSE
32 # Github tarball use different source directory than sdist
33 COMPONENT_SRC = singledispatch-json-$(HUMAN_VERSION)
35 include $(WS_MAKE_RULES)/common.mk
37 # pytest-datadir is needed by pytest-regressions and pytest-regressions is
38 # needed by coincidence so both pytest-regressions and pytest-datadir will be
41 # We need to list them explicitly here to make sure they are enabled.
42 TEST_REQUIRED_PACKAGES.python += library/python/pytest-regressions
43 TEST_REQUIRED_PACKAGES.python += library/python/pytest-datadir
45 # Auto-generated dependencies
46 PYTHON_REQUIRED_PACKAGES += library/python/domdf-python-tools
47 PYTHON_REQUIRED_PACKAGES += library/python/typing-extensions
48 PYTHON_REQUIRED_PACKAGES += library/python/whey
49 PYTHON_REQUIRED_PACKAGES += runtime/python
50 TEST_REQUIRED_PACKAGES.python += library/python/coincidence
51 TEST_REQUIRED_PACKAGES.python += library/python/coverage
52 TEST_REQUIRED_PACKAGES.python += library/python/importlib-metadata
53 TEST_REQUIRED_PACKAGES.python += library/python/iniconfig
54 TEST_REQUIRED_PACKAGES.python += library/python/pip
55 TEST_REQUIRED_PACKAGES.python += library/python/pytest
56 TEST_REQUIRED_PACKAGES.python += library/python/pytest-cov
57 TEST_REQUIRED_PACKAGES.python += library/python/pytest-randomly
58 TEST_REQUIRED_PACKAGES.python += library/python/pytest-rerunfailures
59 TEST_REQUIRED_PACKAGES.python += library/python/pytest-timeout
60 TEST_REQUIRED_PACKAGES.python += library/python/pytz
61 TEST_REQUIRED_PACKAGES.python += library/python/virtualenv