Marcel Telka
2023-08-16 13c46e7cd53487757696ebb553fbcd03be047309
Add jaraco.ui Python project

5 files added
166 ■■■■■ changed files
components/python/jaraco.ui/Makefile 47 ●●●●● patch | view | raw | blame | history
components/python/jaraco.ui/jaraco.ui-PYVER.p5m 43 ●●●●● patch | view | raw | blame | history
components/python/jaraco.ui/manifests/sample-manifest.p5m 43 ●●●●● patch | view | raw | blame | history
components/python/jaraco.ui/pkg5 15 ●●●●● patch | view | raw | blame | history
components/python/jaraco.ui/test/results-all.master 18 ●●●●● patch | view | raw | blame | history
components/python/jaraco.ui/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.ui
#
BUILD_STYLE = pyproject
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        jaraco.ui
HUMAN_VERSION =            2.3.0
COMPONENT_SUMMARY =        jaraco.ui - User-Interface tools (mainly command-line)
COMPONENT_PROJECT_URL =        https://github.com/jaraco/jaraco.ui
COMPONENT_ARCHIVE_URL =        \
    https://files.pythonhosted.org/packages/2c/ce/af9fdee82c5f6dc0916f7468d6ca3df84a4f87376c0718ce3eec4a6ef5cb/jaraco.ui-2.3.0.tar.gz
COMPONENT_ARCHIVE_HASH =    \
    sha256:afaced6efda5c9715c17be9750687c283ff9ace5fb42d9a1997bedb46f6a8a1a
COMPONENT_LICENSE =        MIT
COMPONENT_LICENSE_FILE =    LICENSE
include $(WS_MAKE_RULES)/common.mk
# Auto-generated dependencies
PYTHON_REQUIRED_PACKAGES += library/python/jaraco-classes
PYTHON_REQUIRED_PACKAGES += library/python/jaraco-text
PYTHON_REQUIRED_PACKAGES += library/python/setuptools
PYTHON_REQUIRED_PACKAGES += library/python/setuptools-scm
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-black
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-flake8
TEST_REQUIRED_PACKAGES.python += library/python/pytest-mypy
components/python/jaraco.ui/jaraco.ui-PYVER.p5m
New file
@@ -0,0 +1,43 @@
#
# 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.ui-$(HUMAN_VERSION).dist-info/LICENSE
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco.ui-$(HUMAN_VERSION).dist-info/METADATA
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco.ui-$(HUMAN_VERSION).dist-info/WHEEL
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco.ui-$(HUMAN_VERSION).dist-info/top_level.txt
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/ui/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/ui/cmdline.py
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/ui/editor.py
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/ui/input.py
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/ui/menu.py
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/ui/progress.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/jaraco-classes-$(PYV)
depend type=require fmri=pkg:/library/python/jaraco-text-$(PYV)
components/python/jaraco.ui/manifests/sample-manifest.p5m
New file
@@ -0,0 +1,43 @@
#
# 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/jaraco.ui-$(HUMAN_VERSION).dist-info/LICENSE
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco.ui-$(HUMAN_VERSION).dist-info/METADATA
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco.ui-$(HUMAN_VERSION).dist-info/WHEEL
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco.ui-$(HUMAN_VERSION).dist-info/top_level.txt
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/ui/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/ui/cmdline.py
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/ui/editor.py
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/ui/input.py
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/ui/menu.py
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/ui/progress.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/jaraco-classes-$(PYV)
depend type=require fmri=pkg:/library/python/jaraco-text-$(PYV)
components/python/jaraco.ui/pkg5
New file
@@ -0,0 +1,15 @@
{
    "dependencies": [
        "library/python/jaraco-classes-39",
        "library/python/jaraco-text-39",
        "library/python/setuptools-39",
        "library/python/setuptools-scm-39",
        "library/python/wheel-39",
        "runtime/python-39"
    ],
    "fmris": [
        "library/python/jaraco-ui-39",
        "library/python/jaraco-ui"
    ],
    "name": "jaraco.ui"
}
components/python/jaraco.ui/test/results-all.master
New file
@@ -0,0 +1,18 @@
ROOT: tox-gh-actions won't override envlist because tox is not running in GitHub Actions
py$(PYV): remove tox env folder .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)
configfile: pytest.ini
asyncio: mode=strict
collecting ... collected 2 items
jaraco/ui/cmdline.py::ui.cmdline.Extend PASSED
tests/test_progress.py::TestSimpleProgress::test_simple_progress_one PASSED
======== 2 passed ========
  py$(PYV): OK
  congratulations :)