Marcel Telka
2024-04-03 72d66ff28ec33bc2c05b355c6218d98d13b79450
commit | author | age
050075 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 elasticsearch
15 #
16
17 BUILD_STYLE = setup.py
18
19 include ../../../make-rules/shared-macros.mk
20
21 COMPONENT_NAME =        elasticsearch
8d9f47 22 HUMAN_VERSION =            8.13.0
050075 23 COMPONENT_SUMMARY =        elasticsearch - Python client for Elasticsearch
MT 24 COMPONENT_PROJECT_URL =        https://github.com/elastic/elasticsearch-py
25 COMPONENT_ARCHIVE_URL =        \
588a61 26     https://github.com/elastic/elasticsearch-py/archive/refs/tags/v$(HUMAN_VERSION).tar.gz
050075 27 COMPONENT_ARCHIVE_HASH =    \
8d9f47 28     sha256:82c0bca576eeaeb62dbaf63bab51119a40e2b77d3b1a8a410cf4959e4f6eb187
050075 29 COMPONENT_LICENSE =        Apache-2.0
MT 30 COMPONENT_LICENSE_FILE =    LICENSE
31
588a61 32 TEST_STYLE = pytest
MT 33
34 COMPONENT_SRC = elasticsearch-py-$(HUMAN_VERSION)
050075 35
MT 36 include $(WS_MAKE_RULES)/common.mk
37
d16bf1 38 # This project does not support tox so we need to provide test requirements
MT 39 # manually.
40 TEST_REQUIREMENTS += dev-requirements.txt
a66e72 41
8d9f47 42 # We do not have orjson
MT 43 PYTEST_ADDOPTS += --ignore test_elasticsearch/test_serializer.py
44
050075 45 # Auto-generated dependencies
MT 46 PYTHON_REQUIRED_PACKAGES += library/python/elastic-transport
47 PYTHON_REQUIRED_PACKAGES += runtime/python
433905 48 TEST_REQUIRED_PACKAGES.python += library/python/aiohttp
d16bf1 49 TEST_REQUIRED_PACKAGES.python += library/python/black
MT 50 TEST_REQUIRED_PACKAGES.python += library/python/build
51 TEST_REQUIRED_PACKAGES.python += library/python/coverage
52 TEST_REQUIRED_PACKAGES.python += library/python/elastic-transport
53 TEST_REQUIRED_PACKAGES.python += library/python/isort
54 TEST_REQUIRED_PACKAGES.python += library/python/jinja2
55 TEST_REQUIRED_PACKAGES.python += library/python/nox
8d9f47 56 TEST_REQUIRED_PACKAGES.python += library/python/numpy
d16bf1 57 TEST_REQUIRED_PACKAGES.python += library/python/pytest
MT 58 TEST_REQUIRED_PACKAGES.python += library/python/pytest-asyncio
59 TEST_REQUIRED_PACKAGES.python += library/python/pytest-cov
60 TEST_REQUIRED_PACKAGES.python += library/python/python-dateutil
61 TEST_REQUIRED_PACKAGES.python += library/python/pyyaml
62 TEST_REQUIRED_PACKAGES.python += library/python/requests
63 TEST_REQUIRED_PACKAGES.python += library/python/sphinx
8d9f47 64 TEST_REQUIRED_PACKAGES.python += library/python/sphinx-autodoc-typehints
3b907f 65 TEST_REQUIRED_PACKAGES.python += library/python/sphinx-rtd-theme
d16bf1 66 TEST_REQUIRED_PACKAGES.python += library/python/twine