jenkins-core-weekly: update to 2.491
[oi-userland.git] / components / python / elasticsearch / Makefile
blob475e5d987428ec3829aa3296e89a55baf4c0e01f
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 elasticsearch
17 BUILD_STYLE = pyproject
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME = elasticsearch
22 HUMAN_VERSION = 8.17.0
23 COMPONENT_SUMMARY = Python client for Elasticsearch
24 COMPONENT_PROJECT_URL = https://github.com/elastic/elasticsearch-py
25 COMPONENT_ARCHIVE_URL = \
26 https://github.com/elastic/elasticsearch-py/archive/refs/tags/v$(HUMAN_VERSION).tar.gz
27 COMPONENT_ARCHIVE_HASH = \
28 sha256:d9b7dc483f66a7549d56ce5d34801b408b512cce8f319c51d82bd302cd592e63
29 COMPONENT_LICENSE = Apache-2.0
30 COMPONENT_LICENSE_FILE = LICENSE
32 TEST_STYLE = pytest
34 COMPONENT_SRC = elasticsearch-py-$(HUMAN_VERSION)
36 include $(WS_MAKE_RULES)/common.mk
38 # This project does not support tox so we need to provide test requirements
39 # manually.
40 TEST_REQUIREMENTS_EXTRAS += dev
42 # We do not have orjson
43 PYTEST_ADDOPTS += --ignore test_elasticsearch/test_serializer.py
45 # Auto-generated dependencies
46 PYTHON_REQUIRED_PACKAGES += library/python/elastic-transport
47 PYTHON_REQUIRED_PACKAGES += library/python/hatchling
48 PYTHON_REQUIRED_PACKAGES += runtime/python
49 TEST_REQUIRED_PACKAGES.python += library/python/aiohttp
50 TEST_REQUIRED_PACKAGES.python += library/python/black
51 TEST_REQUIRED_PACKAGES.python += library/python/build
52 TEST_REQUIRED_PACKAGES.python += library/python/coverage
53 TEST_REQUIRED_PACKAGES.python += library/python/isort
54 TEST_REQUIRED_PACKAGES.python += library/python/jinja2
55 TEST_REQUIRED_PACKAGES.python += library/python/nox
56 TEST_REQUIRED_PACKAGES.python += library/python/numpy
57 TEST_REQUIRED_PACKAGES.python += library/python/pytest
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/twine