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 Cython
17 BUILD_STYLE
= setup.py
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= Cython
23 COMPONENT_SUMMARY
= Cython
- The Cython compiler for writing C extensions in the Python language.
24 COMPONENT_PROJECT_URL
= https
://cython.org
/
25 COMPONENT_ARCHIVE_URL
= \
26 https
://files.pythonhosted.org
/packages
/2f
/81/c9fb4b69823f674e1e2acc484eac93a47a1e3a59d4d051c76259dadd6984
/Cython-3.0
.2.
tar.gz
27 COMPONENT_ARCHIVE_HASH
= \
28 sha256
:9594818dca8bb22ae6580c5222da2bc5cc32334350bd2d294a00d8669bcc61b5
29 COMPONENT_LICENSE
= Apache-2.0
30 COMPONENT_LICENSE_FILE
= LICENSE.txt
32 include $(WS_MAKE_RULES
)/common.mk
34 # Our Python 3.9 is compiled with removed full path for compiler from Python
35 # configuration so testing is unable to find proper compiler without explicit
37 COMPONENT_TEST_ENV
+= PATH
="$(GCC_BINDIR):$(PATH)"
38 # Use well known path for Cython cache directory
39 COMPONENT_TEST_ENV
+= CYTHON_CACHE_DIR
=$(@D
)/.cython-cache-dir
41 # Normalize tmp dir name
42 COMPONENT_TEST_TRANSFORMS
+= "-e 's|\(TEST_TMP/cycache-test\).\{8\}\(/src\).\{8\}/|\1\2/|g'"
43 COMPONENT_TEST_TRANSFORMS
+= "-e 's|\(TEST_TMP/recythonize-test\).\{8\}\(/src\).\{8\}/|\1\2/|g'"
45 COMPONENT_TEST_TRANSFORMS
+= "-e 's/\(Broken object at \)0x[a-f0-9]\{1,\}>/\1\$$(POINTER)>/g'"
46 # Remove line with private path
47 COMPONENT_TEST_TRANSFORMS
+= "-e '/^libgcov profiling error:/d'"
48 # Remove profiling info
49 COMPONENT_TEST_TRANSFORMS
+= "-e '/^Most expensive pipeline stages:/d'"
51 # Auto-generated dependencies
52 PYTHON_REQUIRED_PACKAGES
+= library
/python
/importlib-metadata
53 PYTHON_REQUIRED_PACKAGES
+= library
/python
/setuptools
54 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
55 REQUIRED_PACKAGES
+= system
/library