components/python/contextvars/Makefile | ●●●●● patch | view | raw | blame | history | |
components/python/contextvars/contextvars-PYVER.p5m | ●●●●● patch | view | raw | blame | history | |
components/python/contextvars/manifests/sample-manifest.p5m | ●●●●● patch | view | raw | blame | history | |
components/python/contextvars/pkg5 | ●●●●● patch | view | raw | blame | history | |
components/python/contextvars/python-integrate-project.conf | ●●●●● patch | view | raw | blame | history | |
components/python/contextvars/test/results-all.master | ●●●●● patch | view | raw | blame | history |
components/python/contextvars/Makefile
New file @@ -0,0 +1,42 @@ # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # This file was automatically generated using the following command: # $WS_TOOLS/python-integrate-project contextvars # BUILD_STYLE = setup.py include ../../../make-rules/shared-macros.mk COMPONENT_NAME = contextvars HUMAN_VERSION = 2.4 COMPONENT_SUMMARY = contextvars - PEP 567 Backport COMPONENT_PROJECT_URL = http://github.com/MagicStack/contextvars COMPONENT_ARCHIVE_URL = \ https://files.pythonhosted.org/packages/83/96/55b82d9f13763be9d672622e1b8106c85acb83edd7cc2fa5bc67cd9877e9/contextvars-2.4.tar.gz COMPONENT_ARCHIVE_HASH = \ sha256:f38c908aaa59c14335eeea12abea5f443646216c4e29380d7bf34d2018e2c39e COMPONENT_LICENSE = Apache-2.0 COMPONENT_LICENSE_FILE = LICENSE TEST_STYLE = pytest include $(WS_MAKE_RULES)/common.mk # Disable some plugins to get tests passed PYTEST_ADDOPTS += -p no:black PYTEST_ADDOPTS += -p no:mypy # Auto-generated dependencies PYTHON_REQUIRED_PACKAGES += library/python/immutables PYTHON_REQUIRED_PACKAGES += runtime/python components/python/contextvars/contextvars-PYVER.p5m
New file @@ -0,0 +1,38 @@ # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # This file was automatically generated using python-integrate-project # set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) set name=pkg.human-version value=$(HUMAN_VERSION) set name=pkg.summary value="$(COMPONENT_SUMMARY)" set name=info.classification value="$(COMPONENT_CLASSIFICATION)" set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) set name=org.opensolaris.consolidation value=$(CONSOLIDATION) license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)' file path=usr/lib/python$(PYVER)/vendor-packages/contextvars-$(HUMAN_VERSION)-py$(PYVER).egg-info/PKG-INFO file path=usr/lib/python$(PYVER)/vendor-packages/contextvars-$(HUMAN_VERSION)-py$(PYVER).egg-info/SOURCES.txt file path=usr/lib/python$(PYVER)/vendor-packages/contextvars-$(HUMAN_VERSION)-py$(PYVER).egg-info/dependency_links.txt file path=usr/lib/python$(PYVER)/vendor-packages/contextvars-$(HUMAN_VERSION)-py$(PYVER).egg-info/requires.txt file path=usr/lib/python$(PYVER)/vendor-packages/contextvars-$(HUMAN_VERSION)-py$(PYVER).egg-info/top_level.txt file path=usr/lib/python$(PYVER)/vendor-packages/contextvars/__init__.py # python modules are unusable without python runtime binary depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \ pkg.debug.depend.path=usr/bin # Automatically generated dependencies based on distribution metadata depend type=require fmri=pkg:/library/python/immutables-$(PYV) components/python/contextvars/manifests/sample-manifest.p5m
New file @@ -0,0 +1,38 @@ # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2023 <contributor> # set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) set name=pkg.human-version value=$(HUMAN_VERSION) set name=pkg.summary value="$(COMPONENT_SUMMARY)" set name=info.classification value="$(COMPONENT_CLASSIFICATION)" set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) set name=org.opensolaris.consolidation value=$(CONSOLIDATION) license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)' file path=usr/lib/python$(PYVER)/vendor-packages/contextvars-$(HUMAN_VERSION)-py$(PYVER).egg-info/PKG-INFO file path=usr/lib/python$(PYVER)/vendor-packages/contextvars-$(HUMAN_VERSION)-py$(PYVER).egg-info/SOURCES.txt file path=usr/lib/python$(PYVER)/vendor-packages/contextvars-$(HUMAN_VERSION)-py$(PYVER).egg-info/dependency_links.txt file path=usr/lib/python$(PYVER)/vendor-packages/contextvars-$(HUMAN_VERSION)-py$(PYVER).egg-info/requires.txt file path=usr/lib/python$(PYVER)/vendor-packages/contextvars-$(HUMAN_VERSION)-py$(PYVER).egg-info/top_level.txt file path=usr/lib/python$(PYVER)/vendor-packages/contextvars/__init__.py # python modules are unusable without python runtime binary depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \ pkg.debug.depend.path=usr/bin # Automatically generated dependencies based on distribution metadata depend type=require fmri=pkg:/library/python/immutables-$(PYV) components/python/contextvars/pkg5
New file @@ -0,0 +1,11 @@ { "dependencies": [ "library/python/immutables-39", "runtime/python-39" ], "fmris": [ "library/python/contextvars-39", "library/python/contextvars" ], "name": "contextvars" } components/python/contextvars/python-integrate-project.conf
New file @@ -0,0 +1,19 @@ # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2023 Marcel Telka # %include-3% # Disable some plugins to get tests passed PYTEST_ADDOPTS += -p no:black PYTEST_ADDOPTS += -p no:mypy components/python/contextvars/test/results-all.master
New file @@ -0,0 +1,33 @@ ============================= test session starts ============================== platform sunos5 -- Python $(PYTHON_VERSION).X -- $(PYTHON) cachedir: .pytest_cache hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('$(@D)/.hypothesis/examples') rootdir: $(@D) asyncio: mode=strict collecting ... collected 23 items ::project PASSED tests/test_basics.py::ContextTest::test_context_copy_1 PASSED tests/test_basics.py::ContextTest::test_context_get_context_1 PASSED tests/test_basics.py::ContextTest::test_context_getset_1 PASSED tests/test_basics.py::ContextTest::test_context_getset_2 PASSED tests/test_basics.py::ContextTest::test_context_getset_3 PASSED tests/test_basics.py::ContextTest::test_context_getset_4 PASSED tests/test_basics.py::ContextTest::test_context_getset_5 PASSED tests/test_basics.py::ContextTest::test_context_new_1 PASSED tests/test_basics.py::ContextTest::test_context_run_1 PASSED tests/test_basics.py::ContextTest::test_context_run_2 PASSED tests/test_basics.py::ContextTest::test_context_run_3 PASSED tests/test_basics.py::ContextTest::test_context_run_4 PASSED tests/test_basics.py::ContextTest::test_context_run_5 PASSED tests/test_basics.py::ContextTest::test_context_run_6 PASSED tests/test_basics.py::ContextTest::test_context_run_7 PASSED tests/test_basics.py::ContextTest::test_context_subclassing_1 PASSED tests/test_basics.py::ContextTest::test_context_threads_1 PASSED tests/test_basics.py::ContextTest::test_context_typerrors_1 PASSED tests/test_basics.py::ContextTest::test_context_var_new_1 PASSED tests/test_basics.py::ContextTest::test_context_var_new_2 PASSED tests/test_basics.py::ContextTest::test_context_var_repr_1 PASSED ======== 22 passed ========