commit | author | age
|
fdaa00
|
1 |
# |
MT |
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. |
|
6 |
# |
|
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. |
|
10 |
# |
|
11 |
|
|
12 |
# |
|
13 |
# This file was automatically generated using the following command: |
|
14 |
# $WS_TOOLS/python-integrate-project redis |
|
15 |
# |
|
16 |
|
|
17 |
BUILD_STYLE = setup.py |
|
18 |
|
|
19 |
include ../../../make-rules/shared-macros.mk |
|
20 |
|
|
21 |
COMPONENT_NAME = redis |
2b8a02
|
22 |
HUMAN_VERSION = 5.0.3 |
fdaa00
|
23 |
COMPONENT_SUMMARY = redis - Python client for Redis database and key-value store |
MT |
24 |
COMPONENT_PROJECT_URL = https://github.com/redis/redis-py |
|
25 |
COMPONENT_ARCHIVE_HASH = \ |
2b8a02
|
26 |
sha256:4973bae7444c0fbed64a06b87446f79361cb7e4ec1538c022d696ed7a5015580 |
fdaa00
|
27 |
COMPONENT_LICENSE = MIT |
MT |
28 |
COMPONENT_LICENSE_FILE = LICENSE |
|
29 |
|
|
30 |
TEST_STYLE = pytest |
|
31 |
|
|
32 |
include $(WS_MAKE_RULES)/common.mk |
|
33 |
|
|
34 |
# This project does not support tox so we need to provide test requirements |
|
35 |
# manually. |
|
36 |
TEST_REQUIREMENTS += dev_requirements.txt |
|
37 |
|
|
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 |
|
41 |
|
|
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 |
a71f16
|
50 |
PYTEST_ADDOPTS += --ignore tests/test_asyncio/test_bloom.py |
fdaa00
|
51 |
# We have no RedisGraph support |
MT |
52 |
PYTEST_ADDOPTS += --ignore tests/test_graph.py |
a71f16
|
53 |
PYTEST_ADDOPTS += --ignore tests/test_asyncio/test_graph.py |
fdaa00
|
54 |
# We have no JSON support for Redis |
MT |
55 |
PYTEST_ADDOPTS += --ignore tests/test_json.py |
a71f16
|
56 |
PYTEST_ADDOPTS += --ignore tests/test_asyncio/test_json.py |
fdaa00
|
57 |
# We have no RedisTimeSeries support |
MT |
58 |
PYTEST_ADDOPTS += --ignore tests/test_timeseries.py |
a71f16
|
59 |
PYTEST_ADDOPTS += --ignore tests/test_asyncio/test_timeseries.py |
fdaa00
|
60 |
|
MT |
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 |