component(developer/golang-123): Add Component
[oi-userland.git] / components / python / jedi / Makefile
blob8529d858443e732f8e1a499b9f2183fab132cec9
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 jedi
17 BUILD_STYLE = setup.py
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME = jedi
22 HUMAN_VERSION = 0.19.2
23 COMPONENT_SUMMARY = An autocompletion tool for Python that can be used for text editors.
24 COMPONENT_PROJECT_URL = https://github.com/davidhalter/jedi
25 COMPONENT_ARCHIVE_HASH = \
26 sha256:4770dc3de41bde3966b02eb84fbcf557fb33cce26ad23da12c742fb50ecb11f0
27 COMPONENT_LICENSE = MIT
28 COMPONENT_LICENSE_FILE = LICENSE.txt
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_EXTRAS += testing
38 # Following tests fails with the 'pkg' project installed.
39 # https://github.com/davidhalter/jedi/issues/2034
40 PYTEST_ADDOPTS += --deselect test/test_api/test_classes.py::test_inheritance_module_path
41 PYTEST_ADDOPTS += --deselect test/test_inference/test_imports.py::test_correct_zip_package_behavior
42 PYTEST_ADDOPTS += --deselect test/test_inference/test_imports.py::test_find_module_package_zipped
43 PYTEST_ADDOPTS += --deselect test/test_inference/test_imports.py::test_zip_package_import_complete
45 # https://github.com/davidhalter/jedi/issues/2022
46 PYTEST_ADDOPTS += --deselect test/test_api/test_completion.py::test_complete_expanduser
48 # https://github.com/davidhalter/jedi/issues/2033
49 PYTEST_ADDOPTS += --deselect test/test_inference/test_imports.py::test_duplicated_import
51 # Auto-generated dependencies
52 PYTHON_REQUIRED_PACKAGES += library/python/parso
53 PYTHON_REQUIRED_PACKAGES += runtime/python
54 TEST_REQUIRED_PACKAGES.python += library/python/attrs
55 TEST_REQUIRED_PACKAGES.python += library/python/colorama
56 TEST_REQUIRED_PACKAGES.python += library/python/docopt
57 TEST_REQUIRED_PACKAGES.python += library/python/pytest