Marcel Telka
2023-12-30 7f00043b787ad049413aece3dd244bc6dc1dde92
Add runtime/python metapackage

4 files added
2 files modified
100 ■■■■■ changed files
components/meta-packages/build-essential/Makefile 2 ●●● patch | view | raw | blame | history
components/meta-packages/build-essential/build-essential.p5m 2 ●●● patch | view | raw | blame | history
components/meta-packages/python/Makefile 36 ●●●●● patch | view | raw | blame | history
components/meta-packages/python/manifests/sample-manifest.p5m 25 ●●●●● patch | view | raw | blame | history
components/meta-packages/python/pkg5 7 ●●●●● patch | view | raw | blame | history
components/meta-packages/python/python.p5m 28 ●●●●● patch | view | raw | blame | history
components/meta-packages/build-essential/Makefile
@@ -18,7 +18,7 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME=        build-essential
COMPONENT_VERSION =    10
COMPONENT_VERSION =    11
COMPONENT_SUMMARY=    A meta-package that installs common development tools such as gcc
COMPONENT_CLASSIFICATION=    Meta Packages/Group Packages
COMPONENT_FMRI=    metapackages/build-essential
components/meta-packages/build-essential/build-essential.p5m
@@ -115,7 +115,7 @@
depend fmri=runtime/ruby type=require
depend fmri=runtime/lua type=require
depend fmri=library/apr-util type=require
depend fmri=runtime/python-39 type=require
depend fmri=runtime/python type=require
# illumos-gate build dependencies
depend fmri=developer/as type=require
components/meta-packages/python/Makefile
New file
@@ -0,0 +1,36 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"). You may
# only use this file in accordance with the terms 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
#
BUILD_STYLE = pkg
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        python
COMPONENT_VERSION =        $(PYTHON_VERSION)
COMPONENT_SUMMARY =        Python - Interpreted, interactive, object-oriented programming language
COMPONENT_PROJECT_URL =        https://www.python.org/
COMPONENT_FMRI =        runtime/python
COMPONENT_CLASSIFICATION =    Development/Python
# This needs to be done before the common.mk include because here we still do
# have the full list of Python versions in PYTHON_VERSIONS.
ifeq ($(PYTHON_VERSION),$(lastword $(PYTHON_VERSIONS)))
PKG_MACROS += VENDOR_MEDIATOR=\#
else
PKG_MACROS += VENDOR_MEDIATOR=
endif
include $(WS_MAKE_RULES)/common.mk
# Auto-generated dependencies
components/meta-packages/python/manifests/sample-manifest.p5m
New file
@@ -0,0 +1,25 @@
#
# 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)@$(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)'
components/meta-packages/python/pkg5
New file
@@ -0,0 +1,7 @@
{
    "dependencies": [],
    "fmris": [
        "runtime/python"
    ],
    "name": "python"
}
components/meta-packages/python/python.p5m
New file
@@ -0,0 +1,28 @@
#
# 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
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(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=org.opensolaris.consolidation value=$(CONSOLIDATION)
depend fmri=runtime/python-$(PYV) type=require
# Temporary fake dir and vendor mediated symlink used during transition between
# Python versions.
$(VENDOR_MEDIATOR)dir path=usr/lib/python$(PYVER)
$(VENDOR_MEDIATOR)link path=usr/lib/transition-python target=python$(PYVER) mediator=python mediator-version=$(PYVER) mediator-priority=vendor