components/python/PyGObject/Makefile
New file @@ -0,0 +1,67 @@ # # 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 PyGObject # BUILD_STYLE = pyproject # Force setup.py build style to get the pkgconfig file installed # see also: https://pygobject.readthedocs.io/en/latest/packagingguide.html BUILD_STYLE = setup.py include ../../../make-rules/shared-macros.mk COMPONENT_NAME = PyGObject HUMAN_VERSION = 3.46.0 COMPONENT_SUMMARY = PyGObject - Python bindings for GObject Introspection COMPONENT_PROJECT_URL = https://pygobject.readthedocs.io COMPONENT_ARCHIVE_URL = \ https://files.pythonhosted.org/packages/ac/4a/f24ddf1d20cc4b56affc7921e29928559a06c922eb60077448392792b914/PyGObject-3.46.0.tar.gz COMPONENT_ARCHIVE_HASH = \ sha256:481437b05af0a66b7c366ea052710eb3aacbb979d22d30b797f7ec29347ab1e6 COMPONENT_LICENSE = LGPL-2.1-only COMPONENT_LICENSE_FILE = COPYING # Manifest options for library/python/pygobject-3-39 package COMPONENT_FMRI.PyGObject-3-39 = library/python/pygobject-3-39 # Force setup.py test style because the automatically detected pytest test # style does not work properly. TEST_STYLE = setup.py # We cannot obsolete pygobject-27 yet because it is needed by gimp and pygtk2-27. PYTHON_VERSIONS_OBSOLETING := $(filter-out 2.7, $(PYTHON_VERSIONS_OBSOLETING)) include $(WS_MAKE_RULES)/common.mk # Make sure the data files are installed at proper location PYTHON_DATA = $(USRDIR) # Rename some files to make way for symlinks COMPONENT_POST_INSTALL_ACTION += \ (cd $(PROTOUSRINCDIR)/pygobject-3.0; $(MV) pygobject.h pygobject.h-$(PYTHON_VERSION)) ; COMPONENT_POST_INSTALL_ACTION += \ (cd $(PROTOUSRLIBDIR)/pkgconfig; $(MKDIR) ../$(MACH64)/pkgconfig; $(MV) pygobject-3.0.pc ../$(MACH64)/pkgconfig/pygobject-3.0.pc-$(PYTHON_VERSION)) ; # Replace Python version in header and pkgconfig file names GENERATE_EXTRA_CMD += | \ $(GSED) -E -e 's/(pygobject((\.h)|(-3\.0\.pc))-)3\.[0-9]*$$/\1$$(PYVER)/' | uniq # Auto-generated dependencies PYTHON_REQUIRED_PACKAGES += library/python/pycairo PYTHON_REQUIRED_PACKAGES += runtime/python REQUIRED_PACKAGES += library/desktop/cairo REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection REQUIRED_PACKAGES += library/glib2 REQUIRED_PACKAGES += library/libffi REQUIRED_PACKAGES += system/library components/python/PyGObject/PyGObject-3-39.p5m
New file @@ -0,0 +1,26 @@ # # 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)@$(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)' depend type=require fmri=library/python/pygobject-39 components/python/PyGObject/PyGObject-PYVER.p5mcopy from components/python/pygobject-3/manifests/generic-manifest.p5m copy to components/python/PyGObject/PyGObject-PYVER.p5m
File was copied from components/python/pygobject-3/manifests/generic-manifest.p5m @@ -3,31 +3,39 @@ # 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 2022 <contributor> set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) # # 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/include/pygobject-3.0/pygobject.h-$(PYVER) file path=usr/lib/$(MACH64)/pkgconfig/pygobject-3.0.pc-$(PYVER) file path=usr/lib/python$(PYVER)/vendor-packages/PyGObject-$(COMPONENT_VERSION)-py$(PYVER).egg-info/PKG-INFO file path=usr/lib/python$(PYVER)/vendor-packages/PyGObject-$(COMPONENT_VERSION)-py$(PYVER).egg-info/SOURCES.txt file path=usr/lib/python$(PYVER)/vendor-packages/PyGObject-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt file path=usr/lib/python$(PYVER)/vendor-packages/PyGObject-$(COMPONENT_VERSION)-py$(PYVER).egg-info/not-zip-safe file path=usr/lib/python$(PYVER)/vendor-packages/PyGObject-$(COMPONENT_VERSION)-py$(PYVER).egg-info/requires.txt file path=usr/lib/python$(PYVER)/vendor-packages/PyGObject-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt file path=usr/lib/python$(PYVER)/vendor-packages/PyGObject-$(HUMAN_VERSION)-py$(PYVER).egg-info/PKG-INFO file path=usr/lib/python$(PYVER)/vendor-packages/PyGObject-$(HUMAN_VERSION)-py$(PYVER).egg-info/SOURCES.txt file path=usr/lib/python$(PYVER)/vendor-packages/PyGObject-$(HUMAN_VERSION)-py$(PYVER).egg-info/dependency_links.txt file path=usr/lib/python$(PYVER)/vendor-packages/PyGObject-$(HUMAN_VERSION)-py$(PYVER).egg-info/not-zip-safe file path=usr/lib/python$(PYVER)/vendor-packages/PyGObject-$(HUMAN_VERSION)-py$(PYVER).egg-info/requires.txt file path=usr/lib/python$(PYVER)/vendor-packages/PyGObject-$(HUMAN_VERSION)-py$(PYVER).egg-info/top_level.txt file path=usr/lib/python$(PYVER)/vendor-packages/gi/__init__.py file path=usr/lib/python$(PYVER)/vendor-packages/gi/_constants.py file path=usr/lib/python$(PYVER)/vendor-packages/gi/_error.py file path=usr/lib/python$(PYVER)/vendor-packages/gi/_gi.cpython-37m.so file path=usr/lib/python$(PYVER)/vendor-packages/gi/_gi_cairo.cpython-37m.so file path=usr/lib/python$(PYVER)/vendor-packages/gi/_gi.so file path=usr/lib/python$(PYVER)/vendor-packages/gi/_gi_cairo.so file path=usr/lib/python$(PYVER)/vendor-packages/gi/_gtktemplate.py file path=usr/lib/python$(PYVER)/vendor-packages/gi/_option.py file path=usr/lib/python$(PYVER)/vendor-packages/gi/_ossighelper.py @@ -52,5 +60,11 @@ file path=usr/lib/python$(PYVER)/vendor-packages/pygtkcompat/__init__.py file path=usr/lib/python$(PYVER)/vendor-packages/pygtkcompat/generictreemodel.py file path=usr/lib/python$(PYVER)/vendor-packages/pygtkcompat/pygtkcompat.py file path=usr/lib/python$(PYVER)/vendor-packages/gi/_gi.cpython-39.so file path=usr/lib/python$(PYVER)/vendor-packages/gi/_gi_cairo.cpython-39.so # 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/pycairo-$(PYV) <transform file path=(usr/.*/)(pygobject(.h|-3.0.pc))-(3\.\d+)$ -> emit link path=%<1>%<2> target=%<2>-%<4> mediator=python mediator-version=%<4> > components/python/PyGObject/history
New file @@ -0,0 +1,5 @@ library/python/pygobject-3-27@3.18.2,5.11-2022.0.0.9 noincorporate library/python/pygobject-3-34@3.18.2,5.11-2020.0.1.3 library/python/pygobject-3-35@3.18.2,5.11-2022.0.0.9 noincorporate library/python/pygobject-3-37@3.42.0,5.11-2022.0.0.4 noincorporate library/python/pygobject-3@3.42.0,5.11-2022.0.0.4 library/python/pygobject noincorporate components/python/PyGObject/manifests/sample-manifest.p5m
File was renamed from components/python/pygobject-3/manifests/generic-manifest.p5m @@ -3,31 +3,39 @@ # 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 2022 <contributor> set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) # # 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/include/pygobject-3.0/pygobject.h-$(PYVER) file path=usr/lib/$(MACH64)/pkgconfig/pygobject-3.0.pc-$(PYVER) file path=usr/lib/python$(PYVER)/vendor-packages/PyGObject-$(COMPONENT_VERSION)-py$(PYVER).egg-info/PKG-INFO file path=usr/lib/python$(PYVER)/vendor-packages/PyGObject-$(COMPONENT_VERSION)-py$(PYVER).egg-info/SOURCES.txt file path=usr/lib/python$(PYVER)/vendor-packages/PyGObject-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt file path=usr/lib/python$(PYVER)/vendor-packages/PyGObject-$(COMPONENT_VERSION)-py$(PYVER).egg-info/not-zip-safe file path=usr/lib/python$(PYVER)/vendor-packages/PyGObject-$(COMPONENT_VERSION)-py$(PYVER).egg-info/requires.txt file path=usr/lib/python$(PYVER)/vendor-packages/PyGObject-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt file path=usr/lib/python$(PYVER)/vendor-packages/PyGObject-$(HUMAN_VERSION)-py$(PYVER).egg-info/PKG-INFO file path=usr/lib/python$(PYVER)/vendor-packages/PyGObject-$(HUMAN_VERSION)-py$(PYVER).egg-info/SOURCES.txt file path=usr/lib/python$(PYVER)/vendor-packages/PyGObject-$(HUMAN_VERSION)-py$(PYVER).egg-info/dependency_links.txt file path=usr/lib/python$(PYVER)/vendor-packages/PyGObject-$(HUMAN_VERSION)-py$(PYVER).egg-info/not-zip-safe file path=usr/lib/python$(PYVER)/vendor-packages/PyGObject-$(HUMAN_VERSION)-py$(PYVER).egg-info/requires.txt file path=usr/lib/python$(PYVER)/vendor-packages/PyGObject-$(HUMAN_VERSION)-py$(PYVER).egg-info/top_level.txt file path=usr/lib/python$(PYVER)/vendor-packages/gi/__init__.py file path=usr/lib/python$(PYVER)/vendor-packages/gi/_constants.py file path=usr/lib/python$(PYVER)/vendor-packages/gi/_error.py file path=usr/lib/python$(PYVER)/vendor-packages/gi/_gi.cpython-37m.so file path=usr/lib/python$(PYVER)/vendor-packages/gi/_gi_cairo.cpython-37m.so file path=usr/lib/python$(PYVER)/vendor-packages/gi/_gi.so file path=usr/lib/python$(PYVER)/vendor-packages/gi/_gi_cairo.so file path=usr/lib/python$(PYVER)/vendor-packages/gi/_gtktemplate.py file path=usr/lib/python$(PYVER)/vendor-packages/gi/_option.py file path=usr/lib/python$(PYVER)/vendor-packages/gi/_ossighelper.py @@ -52,5 +60,10 @@ file path=usr/lib/python$(PYVER)/vendor-packages/pygtkcompat/__init__.py file path=usr/lib/python$(PYVER)/vendor-packages/pygtkcompat/generictreemodel.py file path=usr/lib/python$(PYVER)/vendor-packages/pygtkcompat/pygtkcompat.py file path=usr/lib/python$(PYVER)/vendor-packages/gi/_gi.cpython-39.so file path=usr/lib/python$(PYVER)/vendor-packages/gi/_gi_cairo.cpython-39.so # 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/pycairo-$(PYV) components/python/PyGObject/pkg5
File was renamed from components/python/pygobject-3/pkg5 @@ -1,19 +1,17 @@ { "dependencies": [ "SUNWcs", "library/desktop/cairo", "library/desktop/gobject/gobject-introspection", "library/glib2", "library/libffi", "runtime/python-37", "library/python/pycairo-39", "runtime/python-39", "shell/ksh93", "system/library" ], "fmris": [ "library/python/pygobject-3-37", "library/python/pygobject-3-39", "library/python/pygobject-3" "library/python/pygobject-39", "library/python/pygobject" ], "name": "pygobject" "name": "PyGObject" } components/python/PyGObject/python-integrate-project.conf
New file @@ -0,0 +1,62 @@ # # 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 2021 Gary Mills # Copyright 2017 Alexander Pyhalov # %include-1% # Force setup.py build style to get the pkgconfig file installed # see also: https://pygobject.readthedocs.io/en/latest/packagingguide.html BUILD_STYLE = setup.py %include-2% # Manifest options for library/python/pygobject-3-39 package COMPONENT_FMRI.PyGObject-3-39 = library/python/pygobject-3-39 # Force setup.py test style because the automatically detected pytest test # style does not work properly. TEST_STYLE = setup.py # We cannot obsolete pygobject-27 yet because it is needed by gimp and pygtk2-27. PYTHON_VERSIONS_OBSOLETING := $(filter-out 2.7, $(PYTHON_VERSIONS_OBSOLETING)) %include-3% # Make sure the data files are installed at proper location PYTHON_DATA = $(USRDIR) # Rename some files to make way for symlinks COMPONENT_POST_INSTALL_ACTION += \ (cd $(PROTOUSRINCDIR)/pygobject-3.0; $(MV) pygobject.h pygobject.h-$(PYTHON_VERSION)) ; COMPONENT_POST_INSTALL_ACTION += \ (cd $(PROTOUSRLIBDIR)/pkgconfig; $(MKDIR) ../$(MACH64)/pkgconfig; $(MV) pygobject-3.0.pc ../$(MACH64)/pkgconfig/pygobject-3.0.pc-$(PYTHON_VERSION)) ; # Replace Python version in header and pkgconfig file names GENERATE_EXTRA_CMD += | \ $(GSED) -E -e 's/(pygobject((\.h)|(-3\.0\.pc))-)3\.[0-9]*$$/\1$$(PYVER)/' | uniq %hook-manifest% # Create mediated symlinks printf '<transform file path=(usr/.*/)(pygobject(\.h|-3\.0\.pc))-(3\\.\\d+)$ -> emit link path=%%<1>%%<2> target=%%<2>-%%<4> mediator=python mediator-version=%%<4> >\n' >> "$DISTRIBUTION-PYVER.p5m" # # Create manifest for transitional library/python/pygobject-3-39 package. # # A renamed package would work too, but since there are many packages that # require library/python/pygobject-3-39 we would like to avoid the installation # of the renamed package for extended period (possibly months) until all # dependants are converted to use library/python/pygobject-39 instead. # cat "$WS_TOP/transforms/manifest-metadata-template" \ | sed -e 's/^#.*Copyright.*<contributor>.*$/# This file was automatically generated using '"$THIS"'/g' \ > "$DISTRIBUTION-3-39.p5m" cat <<-"EOF" >> "$DISTRIBUTION-3-39.p5m" depend type=require fmri=library/python/pygobject-39 EOF MANIFEST="$MANIFEST $DISTRIBUTION-3-39.p5m" components/python/pygobject-27/history
@@ -1,4 +1,3 @@ library/python-2/pygobject-26@2.28.6,5.11-2016.0.1.4 library/python-2/pygobject@2.28.6,5.11-2015.0.2.1 library/python/pygobject library/python/pygobject-26@2.28.6,5.11-2016.0.1.4 library/python/pygobject@2.28.6,5.11-2022.0.0.8 library/python/pygobject-27 components/python/pygobject-3-legacy/Makefile
File was deleted components/python/pygobject-3-legacy/history
File was deleted components/python/pygobject-3-legacy/manifests/sample-manifest.p5m
File was deleted components/python/pygobject-3-legacy/patches/01-disable-tests.patch
File was deleted components/python/pygobject-3-legacy/patches/02-avoid-using-cpp.patch
File was deleted components/python/pygobject-3-legacy/patches/03-egg-version.patch
File was deleted components/python/pygobject-3-legacy/pkg5
File was deleted components/python/pygobject-3-legacy/pygobject-3-27.p5m
File was deleted components/python/pygobject-3-legacy/pygobject-3-35.p5m
File was deleted components/python/pygobject-3/Makefile
File was deleted components/python/pygobject-3/manifests/sample-manifest.p5m
File was deleted components/python/pygobject-3/pygobject-3-GENFRAG.p5m
File was deleted components/python/pygobject-3/pygobject-3-PYVER.p5m
File was deleted