Marcel Telka
2023-08-16 ace8884f6055e863fac3cf9c9349b29ac9335ceb
Add click-help-colors Python project

5 files added
161 ■■■■■ changed files
components/python/click-help-colors/Makefile 37 ●●●●● patch | view | raw | blame | history
components/python/click-help-colors/click-help-colors-PYVER.p5m 41 ●●●●● patch | view | raw | blame | history
components/python/click-help-colors/manifests/sample-manifest.p5m 41 ●●●●● patch | view | raw | blame | history
components/python/click-help-colors/pkg5 11 ●●●●● patch | view | raw | blame | history
components/python/click-help-colors/test/results-all.master 31 ●●●●● patch | view | raw | blame | history
components/python/click-help-colors/Makefile
New file
@@ -0,0 +1,37 @@
#
# 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 click-help-colors
#
BUILD_STYLE = setup.py
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        click-help-colors
HUMAN_VERSION =            0.9.1
COMPONENT_SUMMARY =        click-help-colors - Colorization of help messages in Click
COMPONENT_PROJECT_URL =        https://github.com/r-m-n/click-help-colors
COMPONENT_ARCHIVE_URL =        \
    https://files.pythonhosted.org/packages/6c/c1/abc07420cfdc046c1005e16bc8090bc1f226d631b2bd172e5a8f5524c127/click-help-colors-0.9.1.tar.gz
COMPONENT_ARCHIVE_HASH =    \
    sha256:78cbcf30cfa81c5fc2a52f49220121e1a8190cd19197d9245997605d3405824d
COMPONENT_LICENSE =        MIT
COMPONENT_LICENSE_FILE =    LICENSE.txt
include $(WS_MAKE_RULES)/common.mk
# Auto-generated dependencies
PYTHON_REQUIRED_PACKAGES += library/python/click
PYTHON_REQUIRED_PACKAGES += runtime/python
TEST_REQUIRED_PACKAGES.python += library/python/pytest
components/python/click-help-colors/click-help-colors-PYVER.p5m
New file
@@ -0,0 +1,41 @@
#
# 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/click_help_colors-$(HUMAN_VERSION)-py$(PYVER).egg-info/PKG-INFO
file path=usr/lib/python$(PYVER)/vendor-packages/click_help_colors-$(HUMAN_VERSION)-py$(PYVER).egg-info/SOURCES.txt
file path=usr/lib/python$(PYVER)/vendor-packages/click_help_colors-$(HUMAN_VERSION)-py$(PYVER).egg-info/dependency_links.txt
file path=usr/lib/python$(PYVER)/vendor-packages/click_help_colors-$(HUMAN_VERSION)-py$(PYVER).egg-info/requires.txt
file path=usr/lib/python$(PYVER)/vendor-packages/click_help_colors-$(HUMAN_VERSION)-py$(PYVER).egg-info/top_level.txt
file path=usr/lib/python$(PYVER)/vendor-packages/click_help_colors/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/click_help_colors/core.py
file path=usr/lib/python$(PYVER)/vendor-packages/click_help_colors/decorators.py
file path=usr/lib/python$(PYVER)/vendor-packages/click_help_colors/utils.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/click-$(PYV)
components/python/click-help-colors/manifests/sample-manifest.p5m
New file
@@ -0,0 +1,41 @@
#
# 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/click_help_colors-$(HUMAN_VERSION)-py$(PYVER).egg-info/PKG-INFO
file path=usr/lib/python$(PYVER)/vendor-packages/click_help_colors-$(HUMAN_VERSION)-py$(PYVER).egg-info/SOURCES.txt
file path=usr/lib/python$(PYVER)/vendor-packages/click_help_colors-$(HUMAN_VERSION)-py$(PYVER).egg-info/dependency_links.txt
file path=usr/lib/python$(PYVER)/vendor-packages/click_help_colors-$(HUMAN_VERSION)-py$(PYVER).egg-info/requires.txt
file path=usr/lib/python$(PYVER)/vendor-packages/click_help_colors-$(HUMAN_VERSION)-py$(PYVER).egg-info/top_level.txt
file path=usr/lib/python$(PYVER)/vendor-packages/click_help_colors/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/click_help_colors/core.py
file path=usr/lib/python$(PYVER)/vendor-packages/click_help_colors/decorators.py
file path=usr/lib/python$(PYVER)/vendor-packages/click_help_colors/utils.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/click-$(PYV)
components/python/click-help-colors/pkg5
New file
@@ -0,0 +1,11 @@
{
    "dependencies": [
        "library/python/click-39",
        "runtime/python-39"
    ],
    "fmris": [
        "library/python/click-help-colors-39",
        "library/python/click-help-colors"
    ],
    "name": "click-help-colors"
}
components/python/click-help-colors/test/results-all.master
New file
@@ -0,0 +1,31 @@
ROOT: tox-gh-actions won't override envlist because tox is not running in GitHub Actions
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
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('$(@D)/.hypothesis/examples')
rootdir: $(@D)
asyncio: mode=strict
collecting ... collected 16 items
tests/test_basic.py::test_basic_command PASSED
tests/test_basic.py::test_basic_group PASSED
tests/test_basic.py::test_env_no_color PASSED
tests/test_basic.py::test_unknown_color PASSED
tests/test_custom_colors.py::test_command_custom_colors PASSED
tests/test_custom_colors.py::test_custom_option_color PASSED
tests/test_custom_colors.py::test_flag_option_color[--no-shout] PASSED
tests/test_custom_colors.py::test_flag_option_color[--shout] PASSED
tests/test_custom_colors.py::test_multi_name_option_color[--name] PASSED
tests/test_custom_colors.py::test_multi_name_option_color[-n,] PASSED
tests/test_custom_colors.py::test_multi_name_option_color[-n] PASSED
tests/test_custom_colors.py::test_option_color PASSED
tests/test_multi_commands.py::test_multi_command PASSED
tests/test_version_option.py::test_custom_message PASSED
tests/test_version_option.py::test_message_color PASSED
tests/test_version_option.py::test_version_and_prog_name_color PASSED
======== 16 passed ========
  py$(PYV): OK
  congratulations :)