ffmpeg-6: fix COMPONENT_REVISION
[oi-userland.git] / components / python / apeye / Makefile
blob410ea4145daca5e1ff974a5907c8967f5962771d
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 apeye
17 BUILD_STYLE = pyproject
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME = apeye
22 HUMAN_VERSION = 1.4.1
23 COMPONENT_REVISION = 1
24 COMPONENT_SUMMARY = Handy tools for working with URLs and APIs.
25 COMPONENT_PROJECT_URL = https://github.com/domdfcoding/apeye
26 COMPONENT_ARCHIVE_URL = \
27 https://github.com/domdfcoding/apeye/archive/refs/tags/v$(HUMAN_VERSION).tar.gz
28 COMPONENT_ARCHIVE_HASH = \
29 sha256:f8affe31802f0a31b28b42742d2b92baaf38fd6c124b6ee8e071e2f5da5e2932
30 COMPONENT_LICENSE = LGPL-3.0-only
31 COMPONENT_LICENSE_FILE = LICENSE
34 # Following dependency loops were detected (where 'A --> B' means 'A needs B to
35 # run tests', and 'A ==> B' means 'A needs B for build and/or run'):
37 # apeye --> coincidence ==> whey ==> pyproject-parser ==> shippinglabel ==> apeye
39 # To break loops we need to allow this component to integrate without testing in
40 # a case the required packages are not available yet (bootstrap).
42 PYTHON_TEST_BOOTSTRAP = yes
44 include $(WS_MAKE_RULES)/common.mk
46 # https://github.com/domdfcoding/apeye/issues/91
47 PYTEST_ADDOPTS += --deselect tests/test_rate_limiter.py::test_rate_limit
49 # Contains timestamp and random port number
50 COMPONENT_TEST_TRANSFORMS += "-e 's/ \{1,\}\[.*\] ENGINE.*//'"
52 # pytest-datadir is needed by pytest-regressions and pytest-regressions is
53 # needed by coincidence so both pytest-regressions and pytest-datadir will be
54 # always installed.
56 # We need to list them explicitly here to make sure they are enabled.
57 TEST_REQUIRED_PACKAGES.python += library/python/pytest-regressions
58 TEST_REQUIRED_PACKAGES.python += library/python/pytest-datadir
60 # see 04-test-yaml.patch
61 TEST_REQUIRED_PACKAGES.python += library/python/pyyaml
62 TEST_REQUIRED_PACKAGES.python += library/python/ruamel-yaml
64 # Auto-generated dependencies
65 PYTHON_REQUIRED_PACKAGES += library/python/apeye-core
66 PYTHON_REQUIRED_PACKAGES += library/python/domdf-python-tools
67 PYTHON_REQUIRED_PACKAGES += library/python/flit-core
68 PYTHON_REQUIRED_PACKAGES += library/python/platformdirs
69 PYTHON_REQUIRED_PACKAGES += library/python/requests
70 PYTHON_REQUIRED_PACKAGES += runtime/python
71 TEST_REQUIRED_PACKAGES.python += library/python/cachecontrol
72 TEST_REQUIRED_PACKAGES.python += library/python/cherrypy
73 TEST_REQUIRED_PACKAGES.python += library/python/coincidence
74 TEST_REQUIRED_PACKAGES.python += library/python/coverage
75 TEST_REQUIRED_PACKAGES.python += library/python/filelock
76 TEST_REQUIRED_PACKAGES.python += library/python/importlib-metadata
77 TEST_REQUIRED_PACKAGES.python += library/python/pip
78 TEST_REQUIRED_PACKAGES.python += library/python/pytest
79 TEST_REQUIRED_PACKAGES.python += library/python/pytest-cov
80 TEST_REQUIRED_PACKAGES.python += library/python/pytest-httpserver
81 TEST_REQUIRED_PACKAGES.python += library/python/pytest-randomly
82 TEST_REQUIRED_PACKAGES.python += library/python/pytest-timeout
83 TEST_REQUIRED_PACKAGES.python += library/python/virtualenv