commit | author | age
|
80dabe
|
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 Cython |
|
15 |
# |
|
16 |
|
|
17 |
BUILD_STYLE = setup.py |
|
18 |
|
|
19 |
include ../../../make-rules/shared-macros.mk |
|
20 |
|
|
21 |
COMPONENT_NAME = Cython |
a88589
|
22 |
HUMAN_VERSION = 3.0.10 |
be554f
|
23 |
COMPONENT_SUMMARY = Cython - The Cython compiler for writing C extensions in the Python language. |
MT |
24 |
COMPONENT_PROJECT_URL = https://cython.org/ |
80dabe
|
25 |
COMPONENT_ARCHIVE_HASH = \ |
a88589
|
26 |
sha256:dcc96739331fb854dcf503f94607576cfe8488066c61ca50dfd55836f132de99 |
80dabe
|
27 |
COMPONENT_LICENSE = Apache-2.0 |
MT |
28 |
COMPONENT_LICENSE_FILE = LICENSE.txt |
|
29 |
|
|
30 |
include $(WS_MAKE_RULES)/common.mk |
|
31 |
|
220b65
|
32 |
# Use well known path for Cython cache directory |
MT |
33 |
COMPONENT_TEST_ENV += CYTHON_CACHE_DIR=$(@D)/.cython-cache-dir |
0e3a34
|
34 |
# Testing installs packages using pip so direct it to private directory |
MT |
35 |
COMPONENT_TEST_ENV += PYTHONUSERBASE=$(@D)/.python-user-base |
80dabe
|
36 |
|
MT |
37 |
# Normalize tmp dir name |
|
38 |
COMPONENT_TEST_TRANSFORMS += "-e 's|\(TEST_TMP/cycache-test\).\{8\}\(/src\).\{8\}/|\1\2/|g'" |
be554f
|
39 |
COMPONENT_TEST_TRANSFORMS += "-e 's|\(TEST_TMP/recythonize-test\).\{8\}\(/src\).\{8\}/|\1\2/|g'" |
80dabe
|
40 |
# Normalize pointer |
220b65
|
41 |
COMPONENT_TEST_TRANSFORMS += "-e 's/\(Broken object at \)0x[a-f0-9]\{1,\}>/\1\$$(POINTER)>/g'" |
MT |
42 |
# Remove line with private path |
|
43 |
COMPONENT_TEST_TRANSFORMS += "-e '/^libgcov profiling error:/d'" |
be554f
|
44 |
# Remove profiling info |
MT |
45 |
COMPONENT_TEST_TRANSFORMS += "-e '/^Most expensive pipeline stages:/d'" |
80dabe
|
46 |
|
a88589
|
47 |
# https://github.com/OpenIndiana/oi-userland/pull/16549#issuecomment-2037519250 |
MT |
48 |
TEST_CONFLICTING_PACKAGES.python += library/python/numpy |
|
49 |
|
80dabe
|
50 |
# Auto-generated dependencies |
MT |
51 |
PYTHON_REQUIRED_PACKAGES += library/python/importlib-metadata |
|
52 |
PYTHON_REQUIRED_PACKAGES += library/python/setuptools |
|
53 |
PYTHON_REQUIRED_PACKAGES += runtime/python |
|
54 |
REQUIRED_PACKAGES += system/library |