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
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 astroid
17 BUILD_STYLE
= pyproject
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= astroid
23 COMPONENT_SUMMARY
= An abstract syntax tree for Python with inference support.
24 COMPONENT_ARCHIVE_HASH
= \
25 sha256
:5cfc40ae9f68311075d27ef68a4841bdc5cc7f6cf86671b49f00607d30188e2d
26 COMPONENT_LICENSE
= LGPL-2.1
-only
27 COMPONENT_LICENSE_FILE
= LICENSE
29 include $(WS_MAKE_RULES
)/common.mk
31 # https://github.com/pylint-dev/astroid/issues/2392
32 PYTEST_ADDOPTS
+= --deselect tests
/brain
/test_dataclasses.py
::test_pydantic_field
33 # fails with tox-current-env
34 PYTEST_ADDOPTS
+= --deselect tests
/test_modutils.py
::GetModulePartTest
::test_known_values_get_builtin_module_part
35 # fails with our numpy
36 PYTEST_ADDOPTS
+= --deselect tests
/test_regrtest.py
::NonRegressionTests
::test_numpy_distutils
38 # Random temporary dir name
39 COMPONENT_TEST_TRANSFORMS
+= "-e 's|\(/tmp\).\{8\}/|\1XXXXXXXX/|g'"
40 # Random temporary file name
41 COMPONENT_TEST_TRANSFORMS
+= "-e 's|\(/tmp\).\{8\}\.py|\1XXXXXXXX.py|g'"
43 # Auto-generated dependencies
44 PYTHON_REQUIRED_PACKAGES
+= library
/python
/setuptools
45 PYTHON_REQUIRED_PACKAGES
+= library
/python
/typing-extensions
46 PYTHON_REQUIRED_PACKAGES
+= library
/python
/wheel
47 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
48 TEST_REQUIRED_PACKAGES.python
+= library
/python
/attrs
49 TEST_REQUIRED_PACKAGES.python
+= library
/python
/black
50 TEST_REQUIRED_PACKAGES.python
+= library
/python
/coverage
51 TEST_REQUIRED_PACKAGES.python
+= library
/python
/mypy
52 TEST_REQUIRED_PACKAGES.python
+= library
/python
/nose
53 TEST_REQUIRED_PACKAGES.python
+= library
/python
/numpy
54 TEST_REQUIRED_PACKAGES.python
+= library
/python
/pylint
55 TEST_REQUIRED_PACKAGES.python
+= library
/python
/pytest
56 TEST_REQUIRED_PACKAGES.python
+= library
/python
/pytest-cov
57 TEST_REQUIRED_PACKAGES.python
+= library
/python
/python-dateutil
58 TEST_REQUIRED_PACKAGES.python
+= library
/python
/regex
59 TEST_REQUIRED_PACKAGES.python
+= library
/python
/setuptools
60 TEST_REQUIRED_PACKAGES.python
+= library
/python
/six
61 TEST_REQUIRED_PACKAGES.python
+= library
/python
/typing-extensions
62 TEST_REQUIRED_PACKAGES.python
+= library
/python
/urllib3