Marcel Telka
2024-03-24 ccfa9af848146ee08a6ff6f59cdb38728f93a598
Add pytest-system-statistics Python project

4 files added
1 files modified
156 ■■■■■ changed files
components/python/pytest-system-statistics/Makefile 44 ●●●●● patch | view | raw | blame | history
components/python/pytest-system-statistics/manifests/sample-manifest.p5m 46 ●●●●● patch | view | raw | blame | history
components/python/pytest-system-statistics/pkg5 19 ●●●●● patch | view | raw | blame | history
components/python/pytest-system-statistics/pytest-system-statistics-PYVER.p5m 46 ●●●●● patch | view | raw | blame | history
make-rules/setup.py.mk 1 ●●●● patch | view | raw | blame | history
components/python/pytest-system-statistics/Makefile
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 the following command:
#   $WS_TOOLS/python-integrate-project pytest-system-statistics
#
BUILD_STYLE = pyproject
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        pytest-system-statistics
HUMAN_VERSION =            1.0.2
COMPONENT_SUMMARY =        pytest-system-statistics - Pytest plugin to track and report system usage statistics
COMPONENT_PROJECT_URL =        https://github.com/saltstack/pytest-system-statistics
COMPONENT_ARCHIVE_HASH =    \
    sha256:059b739e3f4e288cd1e4dbe5785e077ee89df26f64e6c5164e9bb5d6657a4a71
COMPONENT_LICENSE =        Apache-2.0
COMPONENT_LICENSE_FILE =    LICENSE
TEST_STYLE = pytest
include $(WS_MAKE_RULES)/common.mk
# Auto-generated dependencies
PYTHON_REQUIRED_PACKAGES += library/python/attrs
PYTHON_REQUIRED_PACKAGES += library/python/psutil
PYTHON_REQUIRED_PACKAGES += library/python/pytest
PYTHON_REQUIRED_PACKAGES += library/python/pytest-skip-markers
PYTHON_REQUIRED_PACKAGES += library/python/setuptools
PYTHON_REQUIRED_PACKAGES += library/python/setuptools-declarative-requirements
PYTHON_REQUIRED_PACKAGES += library/python/setuptools-scm
PYTHON_REQUIRED_PACKAGES += library/python/typing-extensions
PYTHON_REQUIRED_PACKAGES += library/python/wheel
PYTHON_REQUIRED_PACKAGES += runtime/python
components/python/pytest-system-statistics/manifests/sample-manifest.p5m
New file
@@ -0,0 +1,46 @@
#
# 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/pytest_system_statistics-$(HUMAN_VERSION).dist-info/LICENSE
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_system_statistics-$(HUMAN_VERSION).dist-info/METADATA
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_system_statistics-$(HUMAN_VERSION).dist-info/NOTICE
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_system_statistics-$(HUMAN_VERSION).dist-info/WHEEL
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_system_statistics-$(HUMAN_VERSION).dist-info/entry_points.txt
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_system_statistics-$(HUMAN_VERSION).dist-info/top_level.txt
file path=usr/lib/python$(PYVER)/vendor-packages/pytestsysstats/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/pytestsysstats/plugin.py
file path=usr/lib/python$(PYVER)/vendor-packages/pytestsysstats/py.typed
file path=usr/lib/python$(PYVER)/vendor-packages/pytestsysstats/version.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/attrs-$(PYV)
depend type=require fmri=pkg:/library/python/psutil-$(PYV)
depend type=require fmri=pkg:/library/python/pytest-$(PYV)
depend type=require fmri=pkg:/library/python/pytest-skip-markers-$(PYV)
depend type=require fmri=pkg:/library/python/typing-extensions-$(PYV)
components/python/pytest-system-statistics/pkg5
New file
@@ -0,0 +1,19 @@
{
    "dependencies": [
        "library/python/attrs-39",
        "library/python/psutil-39",
        "library/python/pytest-39",
        "library/python/pytest-skip-markers-39",
        "library/python/setuptools-39",
        "library/python/setuptools-declarative-requirements-39",
        "library/python/setuptools-scm-39",
        "library/python/typing-extensions-39",
        "library/python/wheel-39",
        "runtime/python-39"
    ],
    "fmris": [
        "library/python/pytest-system-statistics",
        "library/python/pytest-system-statistics-39"
    ],
    "name": "pytest-system-statistics"
}
components/python/pytest-system-statistics/pytest-system-statistics-PYVER.p5m
New file
@@ -0,0 +1,46 @@
#
# 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/pytest_system_statistics-$(HUMAN_VERSION).dist-info/LICENSE
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_system_statistics-$(HUMAN_VERSION).dist-info/METADATA
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_system_statistics-$(HUMAN_VERSION).dist-info/NOTICE
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_system_statistics-$(HUMAN_VERSION).dist-info/WHEEL
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_system_statistics-$(HUMAN_VERSION).dist-info/entry_points.txt
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_system_statistics-$(HUMAN_VERSION).dist-info/top_level.txt
file path=usr/lib/python$(PYVER)/vendor-packages/pytestsysstats/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/pytestsysstats/plugin.py
file path=usr/lib/python$(PYVER)/vendor-packages/pytestsysstats/py.typed
file path=usr/lib/python$(PYVER)/vendor-packages/pytestsysstats/version.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/attrs-$(PYV)
depend type=require fmri=pkg:/library/python/psutil-$(PYV)
depend type=require fmri=pkg:/library/python/pytest-$(PYV)
depend type=require fmri=pkg:/library/python/pytest-skip-markers-$(PYV)
depend type=require fmri=pkg:/library/python/typing-extensions-$(PYV)
make-rules/setup.py.mk
@@ -465,6 +465,7 @@
$(eval $(call disable-pytest-plugin,socket,pytest-socket))
$(eval $(call disable-pytest-plugin,subprocess,pytest-subprocess))
$(eval $(call disable-pytest-plugin,subtests,pytest-subtests))
$(eval $(call disable-pytest-plugin,system-statistics,pytest-system-statistics))
$(eval $(call disable-pytest-plugin,tempdir,pytest-tempdir))        # adds line to test report header
$(eval $(call disable-pytest-plugin,time_machine,time-machine))
$(eval $(call disable-pytest-plugin,timeout,pytest-timeout))