15819724 SUNBT7202228 python 3.4 (drop nonexistent group dependencies)
authorJohn Beck <John.Beck@Oracle.COM>
Tue, 20 May 2014 21:56:15 -0700
changeset 1913 bf893655bc39
parent 1912 b0c17ef05b75
child 1914 00e8dbcb9b1e
15819724 SUNBT7202228 python 3.4 (drop nonexistent group dependencies)
make-rules/ips.mk
transforms/python-3-groups
--- a/make-rules/ips.mk	Wed May 21 06:05:33 2014 +0800
+++ b/make-rules/ips.mk	Tue May 20 21:56:15 2014 -0700
@@ -73,6 +73,7 @@
 PUBLISH_TRANSFORMS +=	$(WS_TOP)/transforms/locale
 PUBLISH_TRANSFORMS +=	$(WS_TOP)/transforms/standard-libraries-past-py2.6
 PUBLISH_TRANSFORMS +=	$(WS_TOP)/transforms/python-rename
+PUBLISH_TRANSFORMS +=	$(WS_TOP)/transforms/python-3-groups
 PUBLISH_TRANSFORMS +=	$(PKGMOGRIFY_TRANSFORMS)
 PUBLISH_TRANSFORMS +=	$(WS_TOP)/transforms/publish-cleanup
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/transforms/python-3-groups	Tue May 20 21:56:15 2014 -0700
@@ -0,0 +1,43 @@
+#
+# 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) 2014, Oracle and/or its affiliates. All rights reserved.
+#
+
+# We have various group dependencies between Python modules to express the
+# intent "if installing A, also install B if possible".  This is for cases
+# where module A uses module B if it is available.  But in some cases, B
+# is not Python 3 ready even though A is.  These group dependencies would
+# prevent A-34 from being installed because B-34 does not exist.  So drop
+# such group dependencies.
+
+<transform depend fmri=library/python/boto-34 type=group -> drop>
+<transform depend fmri=library/python/coverage-34 type=group -> drop>
+<transform depend fmri=library/python/django-34 type=group -> drop>
+<transform depend fmri=library/python/eventlet-34 type=group -> drop>
+<transform depend fmri=library/python/keystoneclient-34 type=group -> drop>
+<transform depend fmri=library/python/librabbitmq-34 type=group -> drop>
+<transform depend fmri=library/python/m2crypto-34 type=group -> drop>
+<transform depend fmri=library/python/paste-34 type=group -> drop>
+<transform depend fmri=library/python/python-imaging-34 type=group -> drop>
+<transform depend fmri=library/python/simplejson-34 type=group -> drop>
+<transform depend fmri=library/python/sqlalchemy-34 type=group -> drop>