commit | author | age
|
6fb566
|
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 gevent |
|
15 |
# |
|
16 |
|
|
17 |
BUILD_STYLE = pyproject |
|
18 |
USE_COMMON_TEST_MASTER = no |
|
19 |
|
|
20 |
include ../../../make-rules/shared-macros.mk |
|
21 |
|
|
22 |
COMPONENT_NAME = gevent |
|
23 |
HUMAN_VERSION = 22.10.2 |
|
24 |
COMPONENT_SUMMARY = gevent - Coroutine-based network library |
|
25 |
COMPONENT_PROJECT_URL = http://www.gevent.org/ |
|
26 |
COMPONENT_ARCHIVE_URL = \ |
|
27 |
https://files.pythonhosted.org/packages/9f/4a/e9e57cb9495f0c7943b1d5965c4bdd0d78bc4a433a7c96ee034b16c01520/gevent-22.10.2.tar.gz |
|
28 |
COMPONENT_ARCHIVE_HASH = \ |
|
29 |
sha256:1ca01da176ee37b3527a2702f7d40dbc9ffb8cfc7be5a03bfa4f9eec45e55c46 |
|
30 |
COMPONENT_LICENSE = MIT |
|
31 |
COMPONENT_LICENSE_FILE = LICENSE |
|
32 |
|
|
33 |
include $(WS_MAKE_RULES)/common.mk |
|
34 |
|
|
35 |
# Do not use test concurrency to get predictable order of test results |
|
36 |
COMPONENT_TEST_ENV += NWORKERS=1 |
|
37 |
|
|
38 |
# Normalize test results |
|
39 |
COMPONENT_TEST_TRANSFORMS += "-e 's/\x1b\[[0-9;]*m//g'" # remove colors |
|
40 |
COMPONENT_TEST_TRANSFORMS += "-e '/^Running tests in parallel with concurrency/d'" # drop concurrency report |
|
41 |
COMPONENT_TEST_TRANSFORMS += "-e 's/0x[0-9a-f]\{12,\}/\$$(POINTER)/g'" # pointers |
|
42 |
COMPONENT_TEST_TRANSFORMS += "-e 's/\(thread_ident=\)0x[0-9a-f]\{1,\}/\1\$$(ID)/g'" # thread_ident |
|
43 |
COMPONENT_TEST_TRANSFORMS += "-e 's/[0-9]\{4\}-[0-9][0-9]-[0-9][0-9]T[0-9][0-9]:[0-9][0-9]:[0-9][0-9]Z/\$$(TIMESTAMP)/g'" # timestamps |
|
44 |
COMPONENT_TEST_TRANSFORMS += "-e 's/\[[0-9]\{4\}-[0-9][0-9]-[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]\]/[\$$(TIMESTAMP)]/g'" # timestamps |
|
45 |
COMPONENT_TEST_TRANSFORMS += "-e 's/\(Ran [0-9]\{1,\} tests\{0,1\}\) in [\.0-9]\{1,\}s/\1/'" # timing |
|
46 |
COMPONENT_TEST_TRANSFORMS += "-e 's/^\(Ran [0-9]\{1,\} tests\{0,1\}.* in [0-9]\{1,\} files\{0,1\}\) in .*\$$/\1/'" # timing |
|
47 |
COMPONENT_TEST_TRANSFORMS += "-e 's/\(GET .* HTTP.*\) [\.0-9]\{1,\}\$$/\1/'" # timing |
|
48 |
COMPONENT_TEST_TRANSFORMS += "-e 's/\(reacted\) after [\.0-9]\{1,\} seconds/\1/'" # timing |
|
49 |
COMPONENT_TEST_TRANSFORMS += "-e 's/ \[took [\.0-9]\{1,\}s\]//'" # timing |
|
50 |
COMPONENT_TEST_TRANSFORMS += "-e 's/ \[took [\.0-9]\{1,\}s \([^]]*\)\]/ [\1]/'" # timing |
|
51 |
COMPONENT_TEST_TRANSFORMS += "-e 's/^\( 127\.0\.0\.1:\)[0-9]\{1,\}\([ -]\)/\1\$$(PORT)\2/'" # source port changes |
|
52 |
COMPONENT_TEST_TRANSFORMS += "-e '/New connection from 127\.0\.0\.1:/d'" # could be out of order |
|
53 |
COMPONENT_TEST_TRANSFORMS += "-e '/echoed b/d'" # could be out of order |
|
54 |
COMPONENT_TEST_TRANSFORMS += "-e '/^Longest-running tests:/,/^\$$/d'" # list changes with every run |
|
55 |
|
|
56 |
# This project uses both cpython and abi3 ABI depending on particular library. |
|
57 |
# To deal with this we need to disable automatic ABI library name transforms. |
|
58 |
PY3_CPYTHON_NAMING=\# |
|
59 |
|
|
60 |
# Auto-generated dependencies |
|
61 |
PYTHON_REQUIRED_PACKAGES += library/python/cffi |
|
62 |
PYTHON_REQUIRED_PACKAGES += library/python/cython |
|
63 |
PYTHON_REQUIRED_PACKAGES += library/python/greenlet |
|
64 |
PYTHON_REQUIRED_PACKAGES += library/python/setuptools |
|
65 |
PYTHON_REQUIRED_PACKAGES += library/python/wheel |
|
66 |
PYTHON_REQUIRED_PACKAGES += library/python/zope-event |
|
67 |
PYTHON_REQUIRED_PACKAGES += library/python/zope-interface |
|
68 |
PYTHON_REQUIRED_PACKAGES += runtime/python |
|
69 |
REQUIRED_PACKAGES += system/library |
|
70 |
TEST_REQUIRED_PACKAGES.python += library/python/cffi |
|
71 |
TEST_REQUIRED_PACKAGES.python += library/python/coverage |
|
72 |
TEST_REQUIRED_PACKAGES.python += library/python/coveralls |
|
73 |
TEST_REQUIRED_PACKAGES.python += library/python/dnspython |
|
74 |
TEST_REQUIRED_PACKAGES.python += library/python/idna |
|
75 |
TEST_REQUIRED_PACKAGES.python += library/python/objgraph |
|
76 |
TEST_REQUIRED_PACKAGES.python += library/python/psutil |
|
77 |
TEST_REQUIRED_PACKAGES.python += library/python/requests |