# HG changeset patch # User Norm Jacobs # Date 1374815477 25200 # Node ID 9b48e71485e7e75211f02d3b48a8b00ea136872b # Parent c7663c70e1868112301da9c05a51f2e4d297fd1b 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland diff -r c7663c70e186 -r 9b48e71485e7 components/meta-packages/history/SUNWpython26-cssutils.p5m --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/meta-packages/history/SUNWpython26-cssutils.p5m Thu Jul 25 22:11:17 2013 -0700 @@ -0,0 +1,30 @@ +# +# 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) 2013, Oracle and/or its affiliates. All rights reserved. +# + +# +# Legacy package information for renamed SUNWpython26-cssutils package +# +set name=pkg.fmri value=pkg:/SUNWpython26-cssutils@0.5.11,5.11-0.175.0.0.0.0.0 +set name=pkg.renamed value=true + +depend fmri=library/python-2/cssutils-26@0.5.11-0.133 type=require diff -r c7663c70e186 -r 9b48e71485e7 components/python/cssutils/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/python/cssutils/Makefile Thu Jul 25 22:11:17 2013 -0700 @@ -0,0 +1,81 @@ +# +# 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) 2013, Oracle and/or its affiliates. All rights reserved. +# + +include ../../../make-rules/shared-macros.mk + +COMPONENT_NAME= cssutils +COMPONENT_VERSION= 0.9.6 +COMPONENT_PROJECT_URL= http://code.google.com/p/cssutils/ +COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) +COMPONENT_ARCHIVE= $(COMPONENT_SRC).zip +COMPONENT_ARCHIVE_HASH= \ + sha256:18f3cffb2ff413e0796d0c9192db3a56f18fe57524cc54edc57d20239614eb87 +COMPONENT_ARCHIVE_URL= http://cssutils.googlecode.com/files/$(COMPONENT_ARCHIVE) +COMPONENT_BUGDB= python-mod/cssutils + +include $(WS_TOP)/make-rules/prep.mk +include $(WS_TOP)/make-rules/setup.py.mk +include $(WS_TOP)/make-rules/ips.mk + +COMPONENT_TEST_DIR= $(COMPONENT_SRC) +COMPONENT_TEST_ARGS= ./setup.py test + +# Remove the trailing Control-M's from the Python source files. +COMPONENT_PRE_BUILD_ACTION = \ + /usr/bin/find $(SOURCE_DIR)/src \ + -name *.py -exec $(GSED) -i -e 's/ //g' "{}" \; ; + +# After we have done each Python build, copy it to its own version specific +# source hierarchy and then adjust the shebang lines as needed, before we +# build for Python 2.6. Note that this assumes we are only doing Python 2.7 +# and Python 2.6, and we are doing them in that order. +COMPONENT_POST_BUILD_ACTION = \ + (cd $(SOURCE_DIR); cp -rp src src-$(PYTHON_VERSION) ; \ + cd $(SOURCE_DIR)/src ; \ + $(GSED) -i -e 's/2[.]7/2.6/g' cssutils/__init__.py ; \ + $(GSED) -i -e 's/2[.]7/2.6/g' cssutils/codec.py ; \ + $(GSED) -i -e 's/2[.]7/2.6/g' cssutils/errorhandler.py ; \ + $(GSED) -i -e 's/2[.]7/2.6/g' cssutils/parse.py ; \ + $(GSED) -i -e 's/2[.]7/2.6/g' cssutils/scripts/csscapture.py ; \ + $(GSED) -i -e 's/2[.]7/2.6/g' cssutils/scripts/csscombine.py ; \ + $(GSED) -i -e 's/2[.]7/2.6/g' cssutils/scripts/cssparse.py ; \ + $(GSED) -i -e 's/2[.]7/2.6/g' cssutils/serialize.py ; \ + $(GSED) -i -e 's/2[.]7/2.6/g' cssutils/tokenize2.py ; \ + $(GSED) -i -e 's/2[.]7/2.6/g' encutils/__init__.py ) + +# Copy over the source hierarchy for the appropriate Python build before +# installing it. +COMPONENT_PRE_INSTALL_ACTION = \ + (cd $(SOURCE_DIR); $(RM) -r src ; $(CP) -rp src-$(PYTHON_VERSION) src ) + +build: $(BUILD_NO_ARCH) + +install: $(INSTALL_NO_ARCH) + +test: $(TEST_NO_ARCH) + +BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) + +include $(WS_TOP)/make-rules/depend.mk diff -r c7663c70e186 -r 9b48e71485e7 components/python/cssutils/cssutils-GENFRAG.p5m --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/python/cssutils/cssutils-GENFRAG.p5m Thu Jul 25 22:11:17 2013 -0700 @@ -0,0 +1,29 @@ +# +# 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) 2013, Oracle and/or its affiliates. All rights reserved. +# + +# cssutils was previously in the 'desktop' consolidation. This optional +# dependency is here to facilitate the safe transfer of the package +# to the 'userland' consolidation. +depend type=optional fmri=consolidation/desktop/desktop-incorporation@0.5.11,5.11-0.175.2.0.0.20.0 diff -r c7663c70e186 -r 9b48e71485e7 components/python/cssutils/cssutils-PYVER.p5m --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/python/cssutils/cssutils-PYVER.p5m Thu Jul 25 22:11:17 2013 -0700 @@ -0,0 +1,141 @@ +# +# 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) 2013, Oracle and/or its affiliates. All rights reserved. +# + +set name=pkg.fmri \ + value=pkg:/library/python-2/cssutils-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) +set name=pkg.summary \ + value="A Python package to parse and build CSS Cascading Style Sheets." +set name=com.oracle.info.description value="the cssutils Python module" +set name=info.classification \ + value=org.opensolaris.category.2008:Development/Python +set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) +set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) +set name=org.opensolaris.arc-caseid value=LSARC/2008/658 +set name=org.opensolaris.consolidation value=$(CONSOLIDATION) + +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils-0.9.6-py$(PYVER).egg-info/PKG-INFO +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils-0.9.6-py$(PYVER).egg-info/SOURCES.txt +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils-0.9.6-py$(PYVER).egg-info/dependency_links.txt +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils-0.9.6-py$(PYVER).egg-info/entry_points.txt +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils-0.9.6-py$(PYVER).egg-info/top_level.txt +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/__init__.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/_fetch.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/_fetchgae.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/codec.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/css/__init__.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/css/csscharsetrule.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/css/csscomment.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/css/cssfontfacerule.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/css/cssimportrule.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/css/cssmediarule.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/css/cssnamespacerule.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/css/csspagerule.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/css/cssproperties.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/css/cssrule.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/css/cssrulelist.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/css/cssstyledeclaration.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/css/cssstylerule.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/css/cssstylesheet.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/css/cssunknownrule.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/css/cssvalue.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/css/property.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/css/selector.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/css/selectorlist.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/css2productions.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/cssproductions.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/errorhandler.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/helper.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/parse.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/prodparser.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/profiles.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/script.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/scripts/__init__.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/scripts/csscapture.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/scripts/csscombine.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/scripts/cssparse.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/serialize.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/settings.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/stylesheets/__init__.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/stylesheets/medialist.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/stylesheets/mediaquery.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/stylesheets/stylesheet.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/stylesheets/stylesheetlist.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/tokenize2.py +file path=usr/lib/python$(PYVER)/vendor-packages/cssutils/util.py +file path=usr/lib/python$(PYVER)/vendor-packages/encutils/__init__.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/__init__.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/basetest.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_codec.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_csscharsetrule.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_csscomment.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_cssfontfacerule.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_cssimportrule.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_cssmediarule.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_cssnamespacerule.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_csspagerule.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_cssproperties.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_cssrule.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_cssrulelist.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_cssstyledeclaration.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_cssstylerule.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_cssstylesheet.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_cssunknownrule.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_cssutils.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_cssutilsimport.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_cssvalue.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_domimplementation.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_encutils/__init__.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_errorhandler.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_helper.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_medialist.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_mediaquery.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_parse.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_prodparser.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_profiles.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_properties.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_property.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_scripts_csscombine.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_selector.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_selectorlist.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_serialize.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_settings.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_tokenize2.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_util.py +file path=usr/lib/python$(PYVER)/vendor-packages/tests/test_x.py + +license cssutils.license license="LGPL v3" + +# force a dependency on the Python runtime +depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \ + pkg.debug.depend.path=usr/bin + +# force a dependency on the cssutils package +depend type=require \ + fmri=library/python-2/cssutils@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) + +# cssutils was previously in the 'desktop' consolidation. This optional +# dependency is here to facilitate the safe transfer of the package +# to the 'userland' consolidation. +depend type=optional fmri=consolidation/desktop/desktop-incorporation@0.5.11,5.11-0.175.2.0.0.20.0 diff -r c7663c70e186 -r 9b48e71485e7 components/python/cssutils/cssutils.license --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/python/cssutils/cssutils.license Thu Jul 25 22:11:17 2013 -0700 @@ -0,0 +1,165 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + + This version of the GNU Lesser General Public License incorporates +the terms and conditions of version 3 of the GNU General Public +License, supplemented by the additional permissions listed below. + + 0. Additional Definitions. + + As used herein, "this License" refers to version 3 of the GNU Lesser +General Public License, and the "GNU GPL" refers to version 3 of the GNU +General Public License. + + "The Library" refers to a covered work governed by this License, +other than an Application or a Combined Work as defined below. + + An "Application" is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library. + + A "Combined Work" is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the "Linked +Version". + + The "Minimal Corresponding Source" for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version. + + The "Corresponding Application Code" for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work. + + 1. Exception to Section 3 of the GNU GPL. + + You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL. + + 2. Conveying Modified Versions. + + If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version: + + a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or + + b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. + + 3. Object Code Incorporating Material from Library Header Files. + + The object code form of an Application may incorporate material from +a header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following: + + a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the object code with a copy of the GNU GPL and this license + document. + + 4. Combined Works. + + You may convey a Combined Work under terms of your choice that, +taken together, effectively do not restrict modification of the +portions of the Library contained in the Combined Work and reverse +engineering for debugging such modifications, if you also do each of +the following: + + a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this license + document. + + c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of this + License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time + a copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version + of the Library that is interface-compatible with the Linked + Version. + + e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the + GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the + Application with a modified version of the Linked Version. (If + you use option 4d0, the Installation Information must accompany + the Minimal Corresponding Source and Corresponding Application + Code. If you use option 4d1, you must provide the Installation + Information in the manner specified by section 6 of the GNU GPL + for conveying Corresponding Source.) + + 5. Combined Libraries. + + You may place library facilities that are a work based on the +Library side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work. + + 6. Revised Versions of the GNU Lesser General Public License. + + The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the +Library as you received it specifies that a certain numbered version +of the GNU Lesser General Public License "or any later version" +applies to it, you have the option of following the terms and +conditions either of that published version or of any later version +published by the Free Software Foundation. If the Library as you +received it does not specify a version number of the GNU Lesser +General Public License, you may choose any version of the GNU Lesser +General Public License ever published by the Free Software Foundation. + + If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the +Library. diff -r c7663c70e186 -r 9b48e71485e7 components/python/cssutils/patches/cssutils-01-py27.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/python/cssutils/patches/cssutils-01-py27.patch Thu Jul 25 22:11:17 2013 -0700 @@ -0,0 +1,113 @@ +pkgdepend doesn't like the first line of a Python script to be: +'#!/usr/bin/env python' so turn it into '#!/usr/bin/python2.7' + +Note that there is a COMPONENT_POST_BUILD_ACTION in the component +Makefile to then turn them into #!/usr/bin/python2.6 for when we +do the Python 2.6 build. + +Yes we do need the Control-M's in here. Initially the Python source +files have them, and there is a COMPONENT_PRE_BUILD_ACTION in the +component Makefile to strip them out, otherwise pkgdepend gets confused. + +--- cssutils-0.9.6/src/cssutils/tokenize2.py.orig 2009-12-04 19:57:40.769947686 +0800 ++++ cssutils-0.9.6/src/cssutils/tokenize2.py 2009-12-04 19:58:06.792081272 +0800 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2.7 + # -*- coding: utf-8 -*- + """New CSS Tokenizer (a generator) + """ +--- cssutils-0.9.6/src/cssutils/serialize.py.orig 2009-12-07 10:17:54.826455529 +0800 ++++ cssutils-0.9.6/src/cssutils/serialize.py 2009-12-07 10:19:33.138080643 +0800 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2.7 + # -*- coding: utf-8 -*- + """cssutils serializer""" + __all__ = ['CSSSerializer', 'Preferences'] +@@ -948,4 +948,4 @@ + out.append(val, None, space=False) + + return out.value() +- +\ No newline at end of file ++ +--- cssutils-0.9.6/src/cssutils/__init__.py.orig 2009-12-07 10:21:25.702234442 +0800 ++++ cssutils-0.9.6/src/cssutils/__init__.py 2009-12-07 10:21:44.667894629 +0800 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2.7 + """cssutils - CSS Cascading Style Sheets library for Python + + Copyright (C) 2004-2009 Christof Hoeke +--- cssutils-0.9.6/src/cssutils/scripts/csscombine.py.orig 2009-12-07 10:22:27.582839434 +0800 ++++ cssutils-0.9.6/src/cssutils/scripts/csscombine.py 2009-12-07 10:22:39.860764499 +0800 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2.7 + """Combine sheets referred to by @import rules in a given CSS proxy sheet + into a single new sheet. + +@@ -96,4 +96,4 @@ + + + if __name__ == '__main__': +- sys.exit(main()) +\ No newline at end of file ++ sys.exit(main()) +--- cssutils-0.9.6/src/cssutils/scripts/cssparse.py.orig 2009-12-07 10:23:30.623787121 +0800 ++++ cssutils-0.9.6/src/cssutils/scripts/cssparse.py 2009-12-07 10:23:40.469638156 +0800 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2.7 + """utility script to parse given filenames or string + """ + __docformat__ = 'restructuredtext' +--- cssutils-0.9.6/src/cssutils/scripts/csscapture.py.orig 2009-12-07 10:24:13.568541655 +0800 ++++ cssutils-0.9.6/src/cssutils/scripts/csscapture.py 2009-12-07 10:24:27.094792825 +0800 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2.7 + """Retrieve all CSS stylesheets including embedded for a given URL. + Retrieve as StyleSheetList or save to disk - raw, parsed or minified version. + +--- cssutils-0.9.6/src/cssutils/errorhandler.py.orig 2009-12-07 10:25:31.225803334 +0800 ++++ cssutils-0.9.6/src/cssutils/errorhandler.py 2009-12-07 10:25:41.199601897 +0800 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2.7 + """cssutils ErrorHandler + + ErrorHandler +--- cssutils-0.9.6/src/cssutils/parse.py.orig 2009-12-07 10:26:23.218622184 +0800 ++++ cssutils-0.9.6/src/cssutils/parse.py 2009-12-07 10:26:32.968490941 +0800 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2.7 + """A validating CSSParser""" + __all__ = ['CSSParser'] + __docformat__ = 'restructuredtext' +--- cssutils-0.9.6/src/encutils/__init__.py.orig 2009-12-07 10:27:04.131362666 +0800 ++++ cssutils-0.9.6/src/encutils/__init__.py 2009-12-07 10:27:17.697342850 +0800 +@@ -1,5 +1,5 @@ + # -*- coding: utf-8 -*- +-#!/usr/bin/env python ++#!/usr/bin/python2.7 + """encutils - encoding detection collection for Python + + :Version: 0.9 +@@ -682,4 +682,4 @@ + + if __name__ == '__main__': + import pydoc +- pydoc.help(__name__) +\ No newline at end of file ++ pydoc.help(__name__) +--- cssutils-0.9.6/src/cssutils/codec.py.orig 2012-08-07 06:45:29.982973309 -0700 ++++ cssutils-0.9.6/src/cssutils/codec.py 2012-08-07 06:45:41.155738434 -0700 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2.7 + """Python codec for CSS.""" + __docformat__ = 'restructuredtext' + __author__ = 'Walter Doerwald' diff -r c7663c70e186 -r 9b48e71485e7 components/python/cssutils/resolve.deps --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/python/cssutils/resolve.deps Thu Jul 25 22:11:17 2013 -0700 @@ -0,0 +1,2 @@ +runtime/python-26 +runtime/python-27