components/python/jaraco.packaging/Makefile | ●●●●● patch | view | raw | blame | history | |
components/python/jaraco.packaging/jaraco.packaging-PYVER.p5m | ●●●●● patch | view | raw | blame | history | |
components/python/jaraco.packaging/manifests/sample-manifest.p5m | ●●●●● patch | view | raw | blame | history | |
components/python/jaraco.packaging/patches/01-no-ruff.patch | ●●●●● patch | view | raw | blame | history | |
components/python/jaraco.packaging/pkg5 | ●●●●● patch | view | raw | blame | history | |
components/python/jaraco.packaging/python-integrate-project.conf | ●●●●● patch | view | raw | blame | history | |
components/python/jaraco.packaging/test/results-all.master | ●●●●● patch | view | raw | blame | history |
components/python/jaraco.packaging/Makefile
New file @@ -0,0 +1,47 @@ # # 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 jaraco.packaging # BUILD_STYLE = pyproject include ../../../make-rules/shared-macros.mk COMPONENT_NAME = jaraco.packaging HUMAN_VERSION = 9.5.0 COMPONENT_SUMMARY = jaraco.packaging - tools to supplement packaging Python releases COMPONENT_PROJECT_URL = https://github.com/jaraco/jaraco.packaging COMPONENT_ARCHIVE_HASH = \ sha256:4d73cd8c5080ea42d19748025426fbe4998fe24123f96fade8278f0453de1880 COMPONENT_LICENSE = MIT COMPONENT_LICENSE_FILE = LICENSE include $(WS_MAKE_RULES)/common.mk # Auto-generated dependencies PYTHON_REQUIRED_PACKAGES += library/python/build PYTHON_REQUIRED_PACKAGES += library/python/domdf-python-tools PYTHON_REQUIRED_PACKAGES += library/python/jaraco-context PYTHON_REQUIRED_PACKAGES += library/python/setuptools PYTHON_REQUIRED_PACKAGES += library/python/setuptools-scm PYTHON_REQUIRED_PACKAGES += library/python/sphinx PYTHON_REQUIRED_PACKAGES += library/python/virtualenv PYTHON_REQUIRED_PACKAGES += library/python/wheel PYTHON_REQUIRED_PACKAGES += runtime/python TEST_REQUIRED_PACKAGES.python += library/python/pytest TEST_REQUIRED_PACKAGES.python += library/python/pytest-checkdocs TEST_REQUIRED_PACKAGES.python += library/python/pytest-cov TEST_REQUIRED_PACKAGES.python += library/python/pytest-enabler TEST_REQUIRED_PACKAGES.python += library/python/pytest-mypy TEST_REQUIRED_PACKAGES.python += library/python/types-docutils components/python/jaraco.packaging/jaraco.packaging-PYVER.p5m
New file @@ -0,0 +1,44 @@ # # 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/jaraco.packaging-$(HUMAN_VERSION).dist-info/LICENSE file path=usr/lib/python$(PYVER)/vendor-packages/jaraco.packaging-$(HUMAN_VERSION).dist-info/METADATA file path=usr/lib/python$(PYVER)/vendor-packages/jaraco.packaging-$(HUMAN_VERSION).dist-info/WHEEL file path=usr/lib/python$(PYVER)/vendor-packages/jaraco.packaging-$(HUMAN_VERSION).dist-info/top_level.txt file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/packaging/__init__.py file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/packaging/make-tree.py file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/packaging/metadata.py file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/packaging/sphinx.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/build-$(PYV) depend type=require fmri=pkg:/library/python/domdf-python-tools-$(PYV) depend type=require fmri=pkg:/library/python/jaraco-context-$(PYV) depend type=require fmri=pkg:/library/python/sphinx-$(PYV) depend type=require fmri=pkg:/library/python/virtualenv-$(PYV) components/python/jaraco.packaging/manifests/sample-manifest.p5m
New file @@ -0,0 +1,44 @@ # # 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 2024 <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/jaraco.packaging-$(HUMAN_VERSION).dist-info/LICENSE file path=usr/lib/python$(PYVER)/vendor-packages/jaraco.packaging-$(HUMAN_VERSION).dist-info/METADATA file path=usr/lib/python$(PYVER)/vendor-packages/jaraco.packaging-$(HUMAN_VERSION).dist-info/WHEEL file path=usr/lib/python$(PYVER)/vendor-packages/jaraco.packaging-$(HUMAN_VERSION).dist-info/top_level.txt file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/packaging/__init__.py file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/packaging/make-tree.py file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/packaging/metadata.py file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/packaging/sphinx.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/build-$(PYV) depend type=require fmri=pkg:/library/python/domdf-python-tools-$(PYV) depend type=require fmri=pkg:/library/python/jaraco-context-$(PYV) depend type=require fmri=pkg:/library/python/sphinx-$(PYV) depend type=require fmri=pkg:/library/python/virtualenv-$(PYV) components/python/jaraco.packaging/patches/01-no-ruff.patch
New file @@ -0,0 +1,13 @@ We have no pytest-ruff support yet. see https://github.com/tikv/jemallocator/issues/58 --- jaraco.packaging-9.5.0/setup.cfg.orig +++ jaraco.packaging-9.5.0/setup.cfg @@ -29,7 +29,6 @@ pytest-cov pytest-mypy pytest-enabler >= 2.2 - pytest-ruff >= 0.2.1 types-docutils docs = components/python/jaraco.packaging/pkg5
New file @@ -0,0 +1,18 @@ { "dependencies": [ "library/python/build-39", "library/python/domdf-python-tools-39", "library/python/jaraco-context-39", "library/python/setuptools-39", "library/python/setuptools-scm-39", "library/python/sphinx-39", "library/python/virtualenv-39", "library/python/wheel-39", "runtime/python-39" ], "fmris": [ "library/python/jaraco-packaging", "library/python/jaraco-packaging-39" ], "name": "jaraco.packaging" } components/python/jaraco.packaging/python-integrate-project.conf
New file @@ -0,0 +1,16 @@ # # 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 2024 Marcel Telka # %patch% 01-no-ruff.patch components/python/jaraco.packaging/test/results-all.master
New file @@ -0,0 +1,33 @@ py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV) py$(PYV): commands[0]> python -m pytest ============================= test session starts ============================== platform sunos5 -- Python $(PYTHON_VERSION).X -- $(@D)/.tox/py$(PYV)/bin/python cachedir: .tox/py$(PYV)/.pytest_cache rootdir: $(@D) configfile: pytest.ini collecting ... collected 11 items .::project PASSED .::project PASSED conftest.py::mypy PASSED conftest.py::mypy-status PASSED docs/conf.py::mypy PASSED jaraco/packaging/__init__.py::mypy PASSED jaraco/packaging/make-tree.py::mypy PASSED jaraco/packaging/metadata.py::mypy PASSED jaraco/packaging/sphinx.py::jaraco.packaging.sphinx PASSED jaraco/packaging/sphinx.py::jaraco.packaging.sphinx._load_metadata_from_wheel PASSED jaraco/packaging/sphinx.py::mypy PASSED =============================== warnings summary =============================== jaraco/packaging/sphinx.py::jaraco.packaging.sphinx._load_metadata_from_wheel $(@D)/jaraco/packaging/sphinx.py:100: DeprecationWarning: JARACO_PACKAGING_SPHINX_WHEEL is deprecated; use BUILD_ENVIRONMENT=current instead warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ===================================== mypy ===================================== Success: no issues found in 6 source files ======== 11 passed, 1 warning ======== py$(PYV): OK congratulations :)