python/coverage: update to 7.6.5
[oi-userland.git] / components / python / ipython / Makefile
blobc06d0e95219b1891f87dcf149826c1f8184500e6
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 ipython
17 BUILD_STYLE = pyproject
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME = ipython
22 HUMAN_VERSION = 8.18.1
23 COMPONENT_SUMMARY = ipython - IPython: Productive Interactive Computing
24 COMPONENT_PROJECT_URL = https://ipython.org
25 COMPONENT_ARCHIVE_URL = \
26 https://files.pythonhosted.org/packages/b1/b9/3ba6c45a6df813c09a48bac313c22ff83efa26cbb55011218d925a46e2ad/ipython-8.18.1.tar.gz
27 COMPONENT_ARCHIVE_HASH = \
28 sha256:ca6f079bb33457c66e233e4580ebfc4128855b4cf6370dddd73842a9563e8a27
29 COMPONENT_LICENSE = BSD-3-Clause
30 COMPONENT_LICENSE_FILE = LICENSE
32 TEST_STYLE = pytest
34 include $(WS_MAKE_RULES)/common.mk
36 # Rename section 1 man page(s) to contain version number
37 COMPONENT_POST_INSTALL_ACTION += \
38 for f in $(PROTOUSRSHAREMAN1DIR)/*.1 ; do \
39 [[ -f $$f ]] || continue ; \
40 for v in $(PYTHON_VERSIONS) ; do \
41 [[ "$$f" == "$${f%%$$v.1}" ]] || continue 2 ; \
42 done ; \
43 $(MV) $$f $${f%%.1}-$(PYTHON_VERSION).1 ; \
44 done ;
46 # This project does not support tox so we need to provide test requirements
47 # manually.
48 TEST_REQUIREMENTS_EXTRAS += test
50 # Random temporary file name
51 COMPONENT_TEST_TRANSFORMS += "-e 's|\(/tmp/tmp\).\{8\}\.py|\1XXXXXXXX.py|'"
53 # Auto-generated dependencies
54 PYTHON_REQUIRED_PACKAGES += library/python/decorator
55 PYTHON_REQUIRED_PACKAGES += library/python/exceptiongroup
56 PYTHON_REQUIRED_PACKAGES += library/python/jedi
57 PYTHON_REQUIRED_PACKAGES += library/python/matplotlib-inline
58 PYTHON_REQUIRED_PACKAGES += library/python/pexpect
59 PYTHON_REQUIRED_PACKAGES += library/python/prompt-toolkit
60 PYTHON_REQUIRED_PACKAGES += library/python/pygments
61 PYTHON_REQUIRED_PACKAGES += library/python/setuptools
62 PYTHON_REQUIRED_PACKAGES += library/python/stack-data
63 PYTHON_REQUIRED_PACKAGES += library/python/traitlets
64 PYTHON_REQUIRED_PACKAGES += library/python/typing-extensions
65 PYTHON_REQUIRED_PACKAGES += library/python/wheel
66 PYTHON_REQUIRED_PACKAGES += runtime/python
67 TEST_REQUIRED_PACKAGES.python += library/python/pickleshare
68 TEST_REQUIRED_PACKAGES.python += library/python/pytest
69 TEST_REQUIRED_PACKAGES.python += library/python/pytest-asyncio
70 TEST_REQUIRED_PACKAGES.python += library/python/testpath