Danek Duvall
2012-11-14 5ada669b0df965f8d473fe21ec8ce1c7b7cf3f02
15845939 versionless python manifests

--HG--
rename : components/mercurial/mercurial.p5m => components/mercurial/mercurial-GENFRAG.p5m
rename : components/mercurial/mercurial-26.p5m => components/mercurial/mercurial-PYVER.p5m
rename : components/python/mako/mako-26.p5m => components/python/mako/mako-PYVER.p5m
extra : rebase_source : 172cb758a3af60a67d58918d5e5f1380fa4b0c4f
5 files deleted
3 files added
2 files modified
1 files renamed
1739 ■■■■■ changed files
components/mercurial/mercurial-26.p5m 420 ●●●●● patch | view | raw | blame | history
components/mercurial/mercurial-27.p5m 420 ●●●●● patch | view | raw | blame | history
components/mercurial/mercurial-GENFRAG.p5m 18 ●●●●● patch | view | raw | blame | history
components/mercurial/mercurial-PYVER.p5m 420 ●●●●● patch | view | raw | blame | history
components/python/mako/mako-26.p5m 87 ●●●●● patch | view | raw | blame | history
components/python/mako/mako-27.p5m 87 ●●●●● patch | view | raw | blame | history
components/python/mako/mako-PYVER.p5m 79 ●●●●● patch | view | raw | blame | history
components/python/mako/mako.p5m 38 ●●●●● patch | view | raw | blame | history
make-rules/ips.mk 103 ●●●●● patch | view | raw | blame | history
make-rules/shared-macros.mk 20 ●●●●● patch | view | raw | blame | history
transforms/mkgeneric 47 ●●●●● patch | view | raw | blame | history
components/mercurial/mercurial-26.p5m
File was deleted
components/mercurial/mercurial-27.p5m
File was deleted
components/mercurial/mercurial-GENFRAG.p5m
File was renamed from components/mercurial/mercurial.p5m
@@ -32,25 +32,7 @@
# And we don't create .pyc files for demo files.
<transform file path=usr/demo/mercurial/.*\.py$ -> default pkg.tmp.autopyc false>
set name=pkg.fmri value=pkg:/developer/versioning/mercurial@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="The Mercurial Source Control Management System"
set name=pkg.description value="A fast, lightweight source control management system designed for efficient handling of very large distributed projects."
set name=info.classification value="org.opensolaris.category.2008:Development/Source Code Management"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.arc-caseid value=PSARC/2006/417
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
license mercurial.copyright license='GPLv2+'
depend fmri=developer/versioning/mercurial-26@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
    predicate=runtime/python-26 \
    type=conditional
depend fmri=developer/versioning/mercurial-27@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
    predicate=runtime/python-27 \
    type=conditional
dir path=usr
dir path=usr/demo
components/mercurial/mercurial-PYVER.p5m
New file
@@ -0,0 +1,420 @@
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
#
set name=pkg.fmri value=pkg:/developer/versioning/mercurial-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="The Mercurial Source Control Management System"
set name=pkg.description value="A fast, lightweight source control management system designed for efficient handling of very large distributed projects."
set name=info.classification value="org.opensolaris.category.2008:Development/Source Code Management"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.arc-caseid value=PSARC/2006/417
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
license mercurial.copyright license='GPLv2+'
# force a dependency on the mercurial package
depend fmri=developer/versioning/mercurial@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
    type=optional
dir path=usr/lib/python$(PYVER)
dir path=usr/lib/python$(PYVER)/vendor-packages
dir path=usr/lib/python$(PYVER)/vendor-packages/hgext
dir path=usr/lib/python$(PYVER)/vendor-packages/hgext/convert
dir path=usr/lib/python$(PYVER)/vendor-packages/hgext/highlight
dir path=usr/lib/python$(PYVER)/vendor-packages/hgext/largefiles
dir path=usr/lib/python$(PYVER)/vendor-packages/hgext/zeroconf
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/help
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/hgweb
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/httpclient
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/da
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/da/LC_MESSAGES
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/de
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/de/LC_MESSAGES
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/el
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/el/LC_MESSAGES
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/fr
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/fr/LC_MESSAGES
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/it
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/it/LC_MESSAGES
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/ja
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/ja/LC_MESSAGES
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/pt_BR
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/pt_BR/LC_MESSAGES
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/ro
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/ro/LC_MESSAGES
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/ru
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/ru/LC_MESSAGES
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/sv
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/sv/LC_MESSAGES
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/zh_CN
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/zh_CN/LC_MESSAGES
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/zh_TW
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/zh_TW/LC_MESSAGES
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/atom
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/coal
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/gitweb
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/monoblue
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/paper
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/raw
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/rss
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/spartan
dir path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/static
file path=usr/bin/hg-$(PYVER)
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/acl.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/bugzilla.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/children.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/churn.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/color.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/convert/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/convert/bzr.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/convert/common.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/convert/convcmd.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/convert/cvs.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/convert/cvsps.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/convert/darcs.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/convert/filemap.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/convert/git.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/convert/gnuarch.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/convert/hg.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/convert/monotone.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/convert/p4.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/convert/subversion.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/convert/transport.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/eol.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/extdiff.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/fetch.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/gpg.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/graphlog.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/hgcia.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/hgk.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/highlight/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/highlight/highlight.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/interhg.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/keyword.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/largefiles/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/largefiles/basestore.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/largefiles/lfcommands.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/largefiles/lfutil.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/largefiles/localstore.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/largefiles/overrides.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/largefiles/proto.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/largefiles/remotestore.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/largefiles/reposetup.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/largefiles/uisetup.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/largefiles/wirestore.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/mq.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/notify.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/pager.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/patchbomb.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/progress.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/purge.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/rebase.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/record.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/relink.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/schemes.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/share.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/transplant.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/win32mbcs.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/win32text.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/zeroconf/Zeroconf.py
file path=usr/lib/python$(PYVER)/vendor-packages/hgext/zeroconf/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial-$(COMPONENT_VERSION)-py$(PYVER).egg-info
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/__version__.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/ancestor.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/archival.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/base85.so
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/bdiff.so
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/bookmarks.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/bundlerepo.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/byterange.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/changegroup.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/changelog.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/cmdutil.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/commands.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/commandserver.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/config.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/context.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/copies.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/dagparser.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/dagutil.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/demandimport.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/diffhelpers.so
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/dirstate.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/discovery.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/dispatch.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/encoding.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/error.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/extensions.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/fancyopts.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/filelog.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/filemerge.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/fileset.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/formatter.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/graphmod.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/hbisect.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/help.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/help/config.txt
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/help/dates.txt
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/help/diffs.txt
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/help/environment.txt
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/help/extensions.txt
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/help/filesets.txt
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/help/glossary.txt
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/help/hgignore.txt
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/help/hgweb.txt
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/help/merge-tools.txt
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/help/multirevs.txt
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/help/patterns.txt
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/help/phases.txt
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/help/revisions.txt
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/help/revsets.txt
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/help/subrepos.txt
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/help/templates.txt
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/help/urls.txt
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/hg.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/hgweb/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/hgweb/common.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/hgweb/hgweb_mod.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/hgweb/hgwebdir_mod.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/hgweb/protocol.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/hgweb/request.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/hgweb/server.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/hgweb/webcommands.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/hgweb/webutil.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/hgweb/wsgicgi.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/hook.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/httpclient/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/httpclient/socketutil.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/httpconnection.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/httprepo.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/i18n.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/ignore.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/keepalive.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/da/LC_MESSAGES/hg.mo
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/de/LC_MESSAGES/hg.mo
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/el/LC_MESSAGES/hg.mo
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/fr/LC_MESSAGES/hg.mo
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/it/LC_MESSAGES/hg.mo
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/ja/LC_MESSAGES/hg.mo
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/pt_BR/LC_MESSAGES/hg.mo
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/ro/LC_MESSAGES/hg.mo
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/ru/LC_MESSAGES/hg.mo
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/sv/LC_MESSAGES/hg.mo
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/zh_CN/LC_MESSAGES/hg.mo
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/locale/zh_TW/LC_MESSAGES/hg.mo
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/localrepo.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/lock.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/lsprof.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/lsprofcalltree.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/mail.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/manifest.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/match.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/mdiff.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/merge.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/minirst.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/mpatch.so
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/node.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/osutil.so
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/parser.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/parsers.so
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/patch.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/phases.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/posix.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/pushkey.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/pvec.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/py3kcompat.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/repair.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/repo.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/revlog.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/revset.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/scmutil.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/setdiscovery.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/similar.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/simplemerge.py pkg.depend.bypass-generate=.*
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/sshrepo.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/sshserver.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/sslutil.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/statichttprepo.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/store.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/strutil.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/subrepo.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/tags.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templatefilters.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templatekw.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templater.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/atom/bookmarkentry.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/atom/bookmarks.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/atom/changelog.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/atom/changelogentry.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/atom/error.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/atom/filelog.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/atom/header.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/atom/map
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/atom/tagentry.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/atom/tags.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/coal/header.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/coal/map
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/gitweb/bookmarks.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/gitweb/branches.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/gitweb/changelog.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/gitweb/changelogentry.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/gitweb/changeset.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/gitweb/error.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/gitweb/fileannotate.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/gitweb/filediff.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/gitweb/filelog.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/gitweb/filerevision.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/gitweb/footer.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/gitweb/graph.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/gitweb/header.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/gitweb/help.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/gitweb/helptopics.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/gitweb/index.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/gitweb/manifest.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/gitweb/map
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/gitweb/notfound.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/gitweb/search.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/gitweb/shortlog.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/gitweb/summary.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/gitweb/tags.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/map-cmdline.bisect
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/map-cmdline.changelog
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/map-cmdline.compact
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/map-cmdline.default
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/map-cmdline.xml
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/monoblue/bookmarks.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/monoblue/branches.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/monoblue/changelog.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/monoblue/changelogentry.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/monoblue/changeset.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/monoblue/error.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/monoblue/fileannotate.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/monoblue/filediff.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/monoblue/filelog.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/monoblue/filerevision.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/monoblue/footer.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/monoblue/graph.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/monoblue/header.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/monoblue/help.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/monoblue/helptopics.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/monoblue/index.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/monoblue/manifest.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/monoblue/map
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/monoblue/notfound.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/monoblue/search.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/monoblue/shortlog.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/monoblue/summary.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/monoblue/tags.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/paper/bookmarks.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/paper/branches.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/paper/changeset.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/paper/diffstat.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/paper/error.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/paper/fileannotate.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/paper/filediff.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/paper/filelog.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/paper/filelogentry.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/paper/filerevision.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/paper/footer.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/paper/graph.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/paper/header.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/paper/help.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/paper/helptopics.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/paper/index.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/paper/manifest.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/paper/map
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/paper/notfound.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/paper/search.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/paper/shortlog.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/paper/shortlogentry.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/paper/tags.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/raw/changeset.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/raw/error.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/raw/fileannotate.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/raw/filediff.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/raw/index.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/raw/manifest.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/raw/map
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/raw/notfound.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/rss/bookmarkentry.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/rss/bookmarks.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/rss/changelog.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/rss/changelogentry.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/rss/error.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/rss/filelog.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/rss/filelogentry.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/rss/header.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/rss/map
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/rss/tagentry.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/rss/tags.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/spartan/branches.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/spartan/changelog.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/spartan/changelogentry.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/spartan/changeset.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/spartan/error.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/spartan/fileannotate.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/spartan/filediff.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/spartan/filelog.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/spartan/filelogentry.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/spartan/filerevision.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/spartan/footer.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/spartan/graph.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/spartan/header.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/spartan/index.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/spartan/manifest.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/spartan/map
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/spartan/notfound.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/spartan/search.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/spartan/shortlog.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/spartan/shortlogentry.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/spartan/tags.tmpl
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/static/background.png
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/static/coal-file.png
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/static/coal-folder.png
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/static/excanvas.js
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/static/hgicon.png
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/static/hglogo.png
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/static/mercurial.js
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/static/style-coal.css
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/static/style-gitweb.css
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/static/style-monoblue.css
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/static/style-paper.css
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/static/style.css
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/templates/template-vars.txt
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/transaction.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/treediscovery.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/ui.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/url.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/util.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/verify.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/win32.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/windows.py
file path=usr/lib/python$(PYVER)/vendor-packages/mercurial/wireproto.py
link path=usr/bin/hg target=hg-$(PYVER) mediator=python mediator-version=$(PYVER)
components/python/mako/mako-26.p5m
File was deleted
components/python/mako/mako-27.p5m
File was deleted
components/python/mako/mako-PYVER.p5m
New file
@@ -0,0 +1,79 @@
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
#
set name=pkg.fmri value=pkg:/library/python-2/mako-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="Template library written in Python"
set name=pkg.description value="Mako is an embedded Python (i.e., Python Server Page) templating language."
set name=info.classification value="org.opensolaris.category.2008:Development/Python"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.upstream value="Mike Bayer <mike@zzzcomputing.com>"
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
set name=org.opensolaris.arc-caseid \
    value=PSARC/2011/263
license mako.copyright license=MIT
# force a dependency on the Python runtime
depend fmri=__TBD pkg.debug.depend.file=python$(PYVER) \
       pkg.debug.depend.path=usr/bin type=require
# force a dependency on the mako package
depend fmri=library/python-2/mako@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
    type=require
dir  path=usr
dir  path=usr/lib
dir  path=usr/lib/python$(PYVER)
dir  path=usr/lib/python$(PYVER)/vendor-packages
dir  path=usr/lib/python$(PYVER)/vendor-packages/Mako-$(COMPONENT_VERSION)-py$(PYVER).egg-info
file path=usr/lib/python$(PYVER)/vendor-packages/Mako-$(COMPONENT_VERSION)-py$(PYVER).egg-info/PKG-INFO
file path=usr/lib/python$(PYVER)/vendor-packages/Mako-$(COMPONENT_VERSION)-py$(PYVER).egg-info/SOURCES.txt
file path=usr/lib/python$(PYVER)/vendor-packages/Mako-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt
file path=usr/lib/python$(PYVER)/vendor-packages/Mako-$(COMPONENT_VERSION)-py$(PYVER).egg-info/entry_points.txt
file path=usr/lib/python$(PYVER)/vendor-packages/Mako-$(COMPONENT_VERSION)-py$(PYVER).egg-info/not-zip-safe
file path=usr/lib/python$(PYVER)/vendor-packages/Mako-$(COMPONENT_VERSION)-py$(PYVER).egg-info/requires.txt
file path=usr/lib/python$(PYVER)/vendor-packages/Mako-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt
dir  path=usr/lib/python$(PYVER)/vendor-packages/mako
file path=usr/lib/python$(PYVER)/vendor-packages/mako/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/mako/_ast_util.py
file path=usr/lib/python$(PYVER)/vendor-packages/mako/ast.py
file path=usr/lib/python$(PYVER)/vendor-packages/mako/cache.py
file path=usr/lib/python$(PYVER)/vendor-packages/mako/codegen.py
file path=usr/lib/python$(PYVER)/vendor-packages/mako/exceptions.py
dir  path=usr/lib/python$(PYVER)/vendor-packages/mako/ext
file path=usr/lib/python$(PYVER)/vendor-packages/mako/ext/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/mako/ext/autohandler.py
file path=usr/lib/python$(PYVER)/vendor-packages/mako/ext/babelplugin.py
file path=usr/lib/python$(PYVER)/vendor-packages/mako/ext/preprocessors.py
file path=usr/lib/python$(PYVER)/vendor-packages/mako/ext/pygmentplugin.py
file path=usr/lib/python$(PYVER)/vendor-packages/mako/ext/turbogears.py
file path=usr/lib/python$(PYVER)/vendor-packages/mako/filters.py
file path=usr/lib/python$(PYVER)/vendor-packages/mako/lexer.py
file path=usr/lib/python$(PYVER)/vendor-packages/mako/lookup.py
file path=usr/lib/python$(PYVER)/vendor-packages/mako/parsetree.py
file path=usr/lib/python$(PYVER)/vendor-packages/mako/pygen.py
file path=usr/lib/python$(PYVER)/vendor-packages/mako/pyparser.py
file path=usr/lib/python$(PYVER)/vendor-packages/mako/runtime.py
file path=usr/lib/python$(PYVER)/vendor-packages/mako/template.py
file path=usr/lib/python$(PYVER)/vendor-packages/mako/util.py
components/python/mako/mako.p5m
File was deleted
make-rules/ips.mk
@@ -92,13 +92,39 @@
MANIFEST_BASE =        $(BUILD_DIR)/manifest-$(MACH)
CANONICAL_MANIFESTS =    $(wildcard *.p5m)
# Look for manifests which need to be duplicated for each version of python.
ifeq ($(findstring -PYVER,$(CANONICAL_MANIFESTS)),-PYVER)
UNVERSIONED_MANIFESTS = $(filter-out %-GENFRAG.p5m,$(filter-out %-PYVER.p5m,$(CANONICAL_MANIFESTS)))
PY_MANIFESTS = $(filter %-PYVER.p5m,$(CANONICAL_MANIFESTS))
PYV_MANIFESTS = $(foreach v,$(shell echo $(PYTHON_VERSIONS) | tr -d .),$(shell echo $(PY_MANIFESTS) | sed -e 's/-PYVER.p5m/-$(v).p5m/g'))
PYNV_MANIFESTS = $(shell echo $(PY_MANIFESTS) | sed -e 's/-PYVER//')
else
UNVERSIONED_MANIFESTS = $(CANONICAL_MANIFESTS)
endif
# Look for manifests which need to be duplicated for each version of perl.
ifeq ($(findstring -PERLVER,$(UNVERSIONED_MANIFESTS)),-PERLVER)
NOPERL_MANIFESTS = $(filter-out %-GENFRAG.p5m,$(filter-out %-PERLVER.p5m,$(UNVERSIONED_MANIFESTS)))
PERL_MANIFESTS = $(filter %-PERLVER.p5m,$(UNVERSIONED_MANIFESTS))
PERLV_MANIFESTS = $(foreach v,$(shell echo $(PERL_VERSIONS) | tr -d .),$(shell echo $(PERL_MANIFESTS) | sed -e 's/-PERLVER.p5m/-$(v).p5m/g'))
PERLNV_MANIFESTS = $(shell echo $(PERL_MANIFESTS) | sed -e 's/-PERLVER//')
else
NOPERL_MANIFESTS = $(UNVERSIONED_MANIFESTS)
endif
VERSIONED_MANIFESTS = \
    $(PYV_MANIFESTS) $(PYNV_MANIFESTS) \
    $(PERLV_MANIFESTS) $(PERLNV_MANIFESTS) \
    $(UNVERSIONED_MANIFESTS)
GENERATED =        $(MANIFEST_BASE)-generated
COMBINED =        $(MANIFEST_BASE)-combined
MANIFESTS =        $(CANONICAL_MANIFESTS:%=$(MANIFEST_BASE)-%)
MANIFESTS =        $(VERSIONED_MANIFESTS:%=$(MANIFEST_BASE)-%)
DEPENDED=$(CANONICAL_MANIFESTS:%.p5m=$(MANIFEST_BASE)-%.depend)
RESOLVED=$(CANONICAL_MANIFESTS:%.p5m=$(MANIFEST_BASE)-%.depend.res)
DEPENDED=$(VERSIONED_MANIFESTS:%.p5m=$(MANIFEST_BASE)-%.depend)
RESOLVED=$(VERSIONED_MANIFESTS:%.p5m=$(MANIFEST_BASE)-%.depend.res)
PUBLISHED=$(RESOLVED:%.depend.res=%.published)
COPYRIGHT_FILE ?=    $(COMPONENT_NAME)-$(COMPONENT_VERSION).copyright
@@ -126,8 +152,69 @@
$(MANIFEST_BASE)-%.generate:    %.p5m canonical-manifests
    cat $(METADATA_TEMPLATE) $< >$@
# mogrify the manifest
$(MANIFEST_BASE)-%.mogrified:    %.p5m $(BUILD_DIR) canonical-manifests
# The text of a transform that will emit a dependency conditional on the
# presence of a particular version of a runtime, which will then draw in the
# runtime-version-specific version of the package we're operating on.  $(1) is
# the name of the runtime package, and $(2) is the version suffix.
mkgeneric = \
    echo "<transform set name=pkg.fmri value=(?:pkg:/)?(.+)-\#\#\#@(.*)" \
        "-> emit depend nodrop=true type=conditional" \
        "predicate=$(1)-$(2) fmri=%<1>-$(2)@%<2>>" >> $@;
# Define and execute a macro that generates a rule to create a manifest for a
# python module specific to a particular version of the python runtime.
define python-manifest-rule
$(MANIFEST_BASE)-%-$(shell echo $(1) | tr -d .).p5m: %-PYVER.p5m
    $(PKGMOGRIFY) -D PYVER=$(1) -D PYV=$(shell echo $(1) | tr -d .) $$< > $$@
endef
$(foreach ver,$(PYTHON_VERSIONS),$(eval $(call python-manifest-rule,$(ver))))
# A rule to create a helper transform package for python, that will insert the
# appropriate conditional dependencies into a python library's
# runtime-version-generic package to pull in the version-specific bits when the
# corresponding version of python is on the system.
$(WS_TOP)/transforms/mkgeneric-python: $(WS_TOP)/make-rules/shared-macros.mk
    $(RM) $@
    $(foreach ver,$(shell echo $(PYTHON_VERSIONS) | tr -d .), \
        $(call mkgeneric,runtime/python,$(ver)))
# Build Python version-wrapping manifests from the generic version.
$(MANIFEST_BASE)-%.p5m: %-PYVER.p5m $(WS_TOP)/transforms/mkgeneric-python
    $(PKGMOGRIFY) -D PYV=### $(WS_TOP)/transforms/mkgeneric-python \
        $(WS_TOP)/transforms/mkgeneric $< > $@
    if [ -f $*-GENFRAG.p5m ]; then cat $*-GENFRAG.p5m >> $@; fi
# A rule to create a helper transform package for perl, that will insert the
# appropriate conditional dependencies into a perl library's
# runtime-version-generic package to pull in the version-specific bits when the
# corresponding version of perl is on the system.
$(WS_TOP)/transforms/mkgeneric-perl: $(WS_TOP)/make-rules/shared-macros.mk
    $(RM) $@
    $(foreach ver,$(shell echo $(PERL_VERSIONS) | tr -d .), \
        $(call mkgeneric,runtime/perl,$(ver)))
# Define and execute a macro that generates a rule to create a manifest for a
# perl module specific to a particular version of the perl runtime.
define perl-manifest-rule
$(MANIFEST_BASE)-%-$(shell echo $(1) | tr -d .).p5m: %-PERLVER.p5m
    $(PKGMOGRIFY) -D PERLVER=$(1) -D PLV=$(shell echo $(1) | tr -d .) $< > $@
endef
$(foreach ver,$(PERL_VERSIONS),$(eval $(call perl-manifest-rule,$(ver))))
# Build Perl version-wrapping manifests from the generic version.
$(MANIFEST_BASE)-%.p5m: %-PERLVER.p5m
    $(PKGMOGRIFY) -D PLV=### $(WS_TOP)/transforms/mkgeneric-perl \
        $(WS_TOP)/transforms/mkgeneric $< > $@
    if [ -f $*-GENFRAG.p5m ]; then cat $*-GENFRAG.p5m >> $@; fi
# mogrify non-parameterized manifests
$(MANIFEST_BASE)-%.mogrified:    %.p5m $(BUILD_DIR)
    $(PKGMOGRIFY) $(PKG_OPTIONS) $< \
        $(PUBLISH_TRANSFORMS) | \
        sed -e '/^$$/d' -e '/^#.*$$/d' | uniq >$@
# mogrify parameterized manifests
$(MANIFEST_BASE)-%.mogrified:    $(MANIFEST_BASE)-%.p5m $(BUILD_DIR)
    $(PKGMOGRIFY) $(PKG_OPTIONS) $< \
        $(PUBLISH_TRANSFORMS) | \
        sed -e '/^$$/d' -e '/^#.*$$/d' | uniq >$@
@@ -171,18 +258,18 @@
    $(TOUCH) $@
print-package-names:    canonical-manifests
    @cat $(CANONICAL_MANIFESTS) $(WS_TOP)/transforms/print-pkgs | \
    @cat $(VERSIONED_MANIFESTS) $(WS_TOP)/transforms/print-pkgs | \
        $(PKGMOGRIFY) $(PKG_OPTIONS) /dev/fd/0 | \
         sed -e '/^$$/d' -e '/^#.*$$/d' | sort -u
print-package-paths:    canonical-manifests
    @cat $(CANONICAL_MANIFESTS) $(WS_TOP)/transforms/print-paths | \
    @cat $(VERSIONED_MANIFESTS) $(WS_TOP)/transforms/print-paths | \
        $(PKGMOGRIFY) $(PKG_OPTIONS) /dev/fd/0 | \
         sed -e '/^$$/d' -e '/^#.*$$/d' | sort -u
install-packages:    publish
    @if [ $(IS_GLOBAL_ZONE) = 0 -o x$(ROOT) != x ]; then \
        cat $(CANONICAL_MANIFESTS) $(WS_TOP)/transforms/print-paths | \
        cat $(VERSIONED_MANIFESTS) $(WS_TOP)/transforms/print-paths | \
        $(PKGMOGRIFY) $(PKG_OPTIONS) /dev/fd/0 | \
         sed -e '/^$$/d' -e '/^#.*$$/d' -e 's;/;;' | sort -u | \
        (cd $(PROTO_DIR) ; pfexec /bin/cpio -dump $(ROOT)) ; \
make-rules/shared-macros.mk
@@ -41,7 +41,9 @@
export DOWNLOAD_SEARCH_PATH +=    $(EXTERNAL_ARCHIVE_MIRROR)
# The workspace starts at the mercurial root
export WS_TOP ?=        $(shell hg root)
ifeq ($(origin WS_TOP), undefined)
export WS_TOP :=        $(shell hg root)
endif
WS_LOGS =    $(WS_TOP)/$(MACH)/logs
WS_REPO =    $(WS_TOP)/$(MACH)/repo
@@ -72,7 +74,7 @@
ROOT =            /
# Native OS version
OS_VERSION =        $(shell uname -r)
OS_VERSION :=        $(shell uname -r)
SOLARIS_VERSION =    $(OS_VERSION:5.%=2.%)
# Target OS version
PKG_SOLARIS_VERSION ?= 5.12
@@ -94,7 +96,7 @@
COMPONENT_SRC_NAME =    $(COMPONENT_NAME)
COMPONENT_DIR =    $(shell pwd)
COMPONENT_DIR :=    $(shell pwd)
SOURCE_DIR =    $(COMPONENT_DIR)/$(COMPONENT_SRC)
BUILD_DIR =    $(COMPONENT_DIR)/build
PROTO_DIR =    $(BUILD_DIR)/prototype/$(MACH)
@@ -177,7 +179,7 @@
CONSTANT_TIME +=    TIME_CONSTANT=$(TIME_CONSTANT)
# set MACH from uname -p to either sparc or i386
MACH =        $(shell uname -p)
MACH :=        $(shell uname -p)
# set MACH32 from MACH to either sparcv7 or i86
MACH32_1 =    $(MACH:sparc=sparcv7)
@@ -310,13 +312,13 @@
PERL =          $(PERL.$(PERL_VERSION))
PERL_ARCH =     $(shell $(PERL) -e 'use Config; print $$Config{archname}')
PERL_ARCH :=    $(shell $(PERL) -e 'use Config; print $$Config{archname}')
# Optimally we should ask perl which C compiler was used but it doesn't
# result in a full path name.  Only "c" is being recorded
# inside perl builds while we actually need a full path to
# the studio compiler.
#PERL_CC =      $(shell $(PERL) -e 'use Config; print $$Config{cc}')
PERL_OPTIMIZE = $(shell $(PERL) -e 'use Config; print $$Config{optimize}')
#PERL_CC :=    $(shell $(PERL) -e 'use Config; print $$Config{cc}')
PERL_OPTIMIZE :=$(shell $(PERL) -e 'use Config; print $$Config{optimize}')
PKG_MACROS +=   PERL_ARCH=$(PERL_ARCH)
PKG_MACROS +=   PERL_VERSION=$(PERL_VERSION)
@@ -372,8 +374,8 @@
# Enables large file support for components that have no other means of doing
# so.  Use CPP_LARGEFILES and not the .32/.64 variety directly
CPP_LARGEFILES.32 =    $(shell getconf LFS_CFLAGS)
CPP_LARGEFILES.64 =    $(shell getconf LFS64_CFLAGS)
CPP_LARGEFILES.32 :=    $(shell getconf LFS_CFLAGS)
CPP_LARGEFILES.64 :=    $(shell getconf LFS64_CFLAGS)
CPP_LARGEFILES =        $(CPP_LARGEFILES.$(BITS))
# Enables some #pragma redefine_extname to POSIX-compliant Standard C Library
transforms/mkgeneric
New file
@@ -0,0 +1,47 @@
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
#
# This set of transforms helps us take a package that's parameterized on a
# platform's versions and emit a package that conditionally depends on those
# versioned packages, predicated on the platform version packages being
# present.
#
# For instance, for a package "mako-generic", we want to create a package
# "mako", which brings in "mako-26" if "python-26" is present, and "mako-27" if
# "python-27" is present.
#
# We do this by grabbing just the set actions from "mako-generic", and emitting
# those conditional depend actions.  We require that the parameterized package
# name end in "-###" (typically by setting a pkgmogrify variable to "###"),
# which we also remove here.  This works in conjunction with a set of rules in
# make-rules/ips.mk which create and use another transform file that actually
# emit the conditional dependencies.
<transform file dir link hardlink license user group driver legacy signature -> drop>
<transform depend -> default nodrop false>
<transform depend nodrop=false -> drop>
<transform set name=pkg.fmri value=(?:pkg:/)?(.+)-###@(.*) -> \
    edit value -### "">
<transform depend nodrop=true -> delete nodrop true>