ffmpeg-6: fix COMPONENT_REVISION
[oi-userland.git] / components / python / redis / Makefile
blob717af0319517538b1f6e9d2845bda3da9089b1c4
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 redis
17 BUILD_STYLE = setup.py
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME = redis
22 HUMAN_VERSION = 5.0.7
23 COMPONENT_SUMMARY = Python client for Redis database and key-value store
24 COMPONENT_PROJECT_URL = https://github.com/redis/redis-py
25 COMPONENT_ARCHIVE_HASH = \
26 sha256:8f611490b93c8109b50adc317b31bfd84fff31def3475b92e7e80bf39f48175b
27 COMPONENT_LICENSE = MIT
28 COMPONENT_LICENSE_FILE = LICENSE
30 TEST_STYLE = pytest
32 include $(WS_MAKE_RULES)/common.mk
34 # This project does not support tox so we need to provide test requirements
35 # manually.
36 TEST_REQUIREMENTS += dev_requirements.txt
38 # To test we need database/redis installed and the
39 # svc:/application/database/redis:default service must be online
40 TEST_REQUIRED_PACKAGES += database/redis
42 # We do not run following sets of tests:
43 # - module tests since we do not have any Redis modules
44 # - cluster tests since we do not run Redis in cluster
45 # - ssl tests since our Redis is not built with TLS support
46 # - replica tests since we do not have replica Redis
47 PYTEST_ADDOPTS += -m "not redismod and not onlycluster and not ssl and not replica"
48 # We have no RedisBloom support
49 PYTEST_ADDOPTS += --ignore tests/test_bloom.py
50 PYTEST_ADDOPTS += --ignore tests/test_asyncio/test_bloom.py
51 # We have no RedisGraph support
52 PYTEST_ADDOPTS += --ignore tests/test_graph.py
53 PYTEST_ADDOPTS += --ignore tests/test_asyncio/test_graph.py
54 # We have no JSON support for Redis
55 PYTEST_ADDOPTS += --ignore tests/test_json.py
56 PYTEST_ADDOPTS += --ignore tests/test_asyncio/test_json.py
57 # We have no RedisTimeSeries support
58 PYTEST_ADDOPTS += --ignore tests/test_timeseries.py
59 PYTEST_ADDOPTS += --ignore tests/test_asyncio/test_timeseries.py
61 # Auto-generated dependencies
62 PYTHON_REQUIRED_PACKAGES += library/python/async-timeout
63 PYTHON_REQUIRED_PACKAGES += runtime/python
64 TEST_REQUIRED_PACKAGES.python += library/python/black
65 TEST_REQUIRED_PACKAGES.python += library/python/click
66 TEST_REQUIRED_PACKAGES.python += library/python/flake8
67 TEST_REQUIRED_PACKAGES.python += library/python/invoke
68 TEST_REQUIRED_PACKAGES.python += library/python/mock
69 TEST_REQUIRED_PACKAGES.python += library/python/packaging
70 TEST_REQUIRED_PACKAGES.python += library/python/pytest
71 TEST_REQUIRED_PACKAGES.python += library/python/pytest-asyncio
72 TEST_REQUIRED_PACKAGES.python += library/python/pytest-cov
73 TEST_REQUIRED_PACKAGES.python += library/python/pytest-timeout
74 TEST_REQUIRED_PACKAGES.python += library/python/urllib3
75 TEST_REQUIRED_PACKAGES.python += library/python/wheel