15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
authorRich Burridge <rich.burridge@oracle.com>
Tue, 08 Jan 2013 10:56:04 -0800
changeset 1105 e745d9f4429b
parent 1104 c62d7e76bc87
child 1106 a607a44533d8
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
components/meta-packages/history/SUNWpython26-simplejson.p5m
components/python/simplejson/Makefile
components/python/simplejson/simplejson-GENFRAG.p5m
components/python/simplejson/simplejson-PYVER.p5m
components/python/simplejson/simplejson.license
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/meta-packages/history/SUNWpython26-simplejson.p5m	Tue Jan 08 10:56:04 2013 -0800
@@ -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-simplejson package
+#
+set name=pkg.fmri value=pkg:/[email protected],5.11-0.175.0.0.0.0.0
+set name=pkg.renamed value=true
+
+depend fmri=library/python-2/[email protected] type=require
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/python/simplejson/Makefile	Tue Jan 08 10:56:04 2013 -0800
@@ -0,0 +1,51 @@
+#
+# 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=		simplejson
+COMPONENT_VERSION=	2.1.2
+COMPONENT_PROJECT_URL=	http://undefined.org/python/#simplejson
+COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
+COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
+COMPONENT_ARCHIVE_HASH= \
+    sha256:d196d78af44acdf47078e320124bfe4cd2cb3bd7b9be7f5587b2e149124cb49c
+COMPONENT_ARCHIVE_URL=	http://pypi.python.org/packages/source/s/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
+COMPONENT_BUGDB=	python-mod/simplejson
+
+include $(WS_TOP)/make-rules/prep.mk
+include $(WS_TOP)/make-rules/setup.py.mk
+include $(WS_TOP)/make-rules/ips.mk
+
+# common targets
+build:          $(BUILD_32_and_64)
+
+install:        $(INSTALL_32_and_64)
+
+test:           $(NO_TESTS)
+
+BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
+
+include $(WS_TOP)/make-rules/depend.mk
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/python/simplejson/simplejson-GENFRAG.p5m	Tue Jan 08 10:56:04 2013 -0800
@@ -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.
+#
+
+# simplejson 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/[email protected]
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/python/simplejson/simplejson-PYVER.p5m	Tue Jan 08 10:56:04 2013 -0800
@@ -0,0 +1,91 @@
+#
+# 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/simplejson-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary \
+    value="JSON (Java Script Object Notation) encoder/decoder for Python"
+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/722
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+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/simplejson
+dir  path=usr/lib/python$(PYVER)/vendor-packages/simplejson-2.1.2-py$(PYVER).egg-info
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson-2.1.2-py$(PYVER).egg-info/PKG-INFO
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson-2.1.2-py$(PYVER).egg-info/SOURCES.txt
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson-2.1.2-py$(PYVER).egg-info/dependency_links.txt
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson-2.1.2-py$(PYVER).egg-info/top_level.txt
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson-2.1.2-py$(PYVER).egg-info/zip-safe
+dir  path=usr/lib/python$(PYVER)/vendor-packages/simplejson/64
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/64/_speedups.so
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/__init__.py
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/_speedups.so
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/decoder.py
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/encoder.py
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/ordered_dict.py
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/scanner.py
+dir  path=usr/lib/python$(PYVER)/vendor-packages/simplejson/tests
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/tests/__init__.py
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/tests/test_check_circular.py
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/tests/test_decimal.py
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/tests/test_decode.py
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/tests/test_default.py
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/tests/test_dump.py
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/tests/test_encode_basestring_ascii.py
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/tests/test_encode_for_html.py
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/tests/test_errors.py
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/tests/test_fail.py
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/tests/test_float.py
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/tests/test_indent.py
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/tests/test_pass1.py
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/tests/test_pass2.py
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/tests/test_pass3.py
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/tests/test_recursion.py
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/tests/test_scanstring.py
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/tests/test_separators.py
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/tests/test_speedups.py
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/tests/test_unicode.py
+file path=usr/lib/python$(PYVER)/vendor-packages/simplejson/tool.py
+license simplejson.license license=MIT
+
+# simplejson 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/[email protected]
+
+# 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 simplejson package
+depend type=require \
+    fmri=library/python-2/simplejson@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/python/simplejson/simplejson.license	Tue Jan 08 10:56:04 2013 -0800
@@ -0,0 +1,13 @@
+--------------------
+- simplejson 2.1.2 -
+--------------------
+
+Oracle Internal Tracking Number: 5929
+
+Copyright (c) 2006 Bob Ippolito 
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.