Marcel Telka
2023-08-14 4691aaf7b4e6c3cfb610646e3c4e9cfb35c65599
Add setuptools-declarative-requirements Python project

5 files added
182 ■■■■■ changed files
components/python/setuptools-declarative-requirements/Makefile 59 ●●●●● patch | view | raw | blame | history
components/python/setuptools-declarative-requirements/manifests/sample-manifest.p5m 40 ●●●●● patch | view | raw | blame | history
components/python/setuptools-declarative-requirements/pkg5 13 ●●●●● patch | view | raw | blame | history
components/python/setuptools-declarative-requirements/python-integrate-project.conf 30 ●●●●● patch | view | raw | blame | history
components/python/setuptools-declarative-requirements/setuptools-declarative-requirements-PYVER.p5m 40 ●●●●● patch | view | raw | blame | history
components/python/setuptools-declarative-requirements/Makefile
New file
@@ -0,0 +1,59 @@
#
# 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 setuptools-declarative-requirements
#
BUILD_STYLE = pyproject
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        setuptools-declarative-requirements
HUMAN_VERSION =            1.3.0
COMPONENT_SUMMARY =        setuptools-declarative-requirements - File support for setuptools declarative setup.cfg
COMPONENT_PROJECT_URL =        https://github.com/s0undt3ch/setuptools-declarative-requirements
COMPONENT_ARCHIVE_URL =        \
    https://files.pythonhosted.org/packages/f0/06/85fb4a4ccb82f5040cd5ddc4ab55db5f9d16e0a1b43887e82a8e671e17cb/setuptools-declarative-requirements-1.3.0.tar.gz
COMPONENT_ARCHIVE_HASH =    \
    sha256:57a5b9bb9ad350c278e8aa6be4cdebbcd925b9ba71d6a712a178a618cfb898f7
COMPONENT_LICENSE =        Apache-2.0
COMPONENT_LICENSE_FILE =    LICENSE
TEST_STYLE = pytest
#
# Following dependency loops were detected (where 'A --> B' means 'A needs B to
# run tests', and 'A ==> B' means 'A needs B for build and/or run'):
#
# setuptools-declarative-requirements --> pytest-shell-utilities ==> setuptools-declarative-requirements
#
# To break loops we need to allow this project to integrate without testing in
# a case the required projects are not available yet (bootstrap).
#
PYTHON_TEST_BOOTSTRAP = yes
include $(WS_MAKE_RULES)/common.mk
# This project does not support tox so we need to provide test requirements
# manually.
TEST_REQUIREMENTS += requirements/tests.in
# Auto-generated dependencies
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/pypiserver
TEST_REQUIRED_PACKAGES.python += library/python/pytest
TEST_REQUIRED_PACKAGES.python += library/python/pytest-shell-utilities
TEST_REQUIRED_PACKAGES.python += library/python/virtualenv
components/python/setuptools-declarative-requirements/manifests/sample-manifest.p5m
New file
@@ -0,0 +1,40 @@
#
# 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/declarative_requirements/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/declarative_requirements/integration.py
file path=usr/lib/python$(PYVER)/vendor-packages/declarative_requirements/version.py
file path=usr/lib/python$(PYVER)/vendor-packages/setuptools_declarative_requirements-$(HUMAN_VERSION).dist-info/LICENSE
file path=usr/lib/python$(PYVER)/vendor-packages/setuptools_declarative_requirements-$(HUMAN_VERSION).dist-info/METADATA
file path=usr/lib/python$(PYVER)/vendor-packages/setuptools_declarative_requirements-$(HUMAN_VERSION).dist-info/WHEEL
file path=usr/lib/python$(PYVER)/vendor-packages/setuptools_declarative_requirements-$(HUMAN_VERSION).dist-info/entry_points.txt
file path=usr/lib/python$(PYVER)/vendor-packages/setuptools_declarative_requirements-$(HUMAN_VERSION).dist-info/top_level.txt
# 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/setuptools-$(PYV)
components/python/setuptools-declarative-requirements/pkg5
New file
@@ -0,0 +1,13 @@
{
    "dependencies": [
        "library/python/setuptools-39",
        "library/python/setuptools-scm-39",
        "library/python/wheel-39",
        "runtime/python-39"
    ],
    "fmris": [
        "library/python/setuptools-declarative-requirements-39",
        "library/python/setuptools-declarative-requirements"
    ],
    "name": "setuptools-declarative-requirements"
}
components/python/setuptools-declarative-requirements/python-integrate-project.conf
New file
@@ -0,0 +1,30 @@
#
# 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-2%
#
# Following dependency loops were detected (where 'A --> B' means 'A needs B to
# run tests', and 'A ==> B' means 'A needs B for build and/or run'):
#
# setuptools-declarative-requirements --> pytest-shell-utilities ==> setuptools-declarative-requirements
#
# To break loops we need to allow this project to integrate without testing in
# a case the required projects are not available yet (bootstrap).
#
PYTHON_TEST_BOOTSTRAP = yes
%include-3%
# This project does not support tox so we need to provide test requirements
# manually.
TEST_REQUIREMENTS += requirements/tests.in
components/python/setuptools-declarative-requirements/setuptools-declarative-requirements-PYVER.p5m
New file
@@ -0,0 +1,40 @@
#
# 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/declarative_requirements/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/declarative_requirements/integration.py
file path=usr/lib/python$(PYVER)/vendor-packages/declarative_requirements/version.py
file path=usr/lib/python$(PYVER)/vendor-packages/setuptools_declarative_requirements-$(HUMAN_VERSION).dist-info/LICENSE
file path=usr/lib/python$(PYVER)/vendor-packages/setuptools_declarative_requirements-$(HUMAN_VERSION).dist-info/METADATA
file path=usr/lib/python$(PYVER)/vendor-packages/setuptools_declarative_requirements-$(HUMAN_VERSION).dist-info/WHEEL
file path=usr/lib/python$(PYVER)/vendor-packages/setuptools_declarative_requirements-$(HUMAN_VERSION).dist-info/entry_points.txt
file path=usr/lib/python$(PYVER)/vendor-packages/setuptools_declarative_requirements-$(HUMAN_VERSION).dist-info/top_level.txt
# 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/setuptools-$(PYV)