15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland s11-update
authorNorm Jacobs <Norm.Jacobs@Oracle.COM>
Thu, 25 Jul 2013 22:11:17 -0700
branchs11-update
changeset 2700 c7663c70e186
parent 2699 62ad843cf9dd
child 2701 9b48e71485e7
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
components/meta-packages/history/SUNWpython26-simplejson.p5m
components/python/simplejson/Makefile
components/python/simplejson/resolve.deps
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	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-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	Thu Jul 25 22:11:17 2013 -0700
@@ -0,0 +1,56 @@
+#
+# 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
+
+COMPONENT_TEST_DIR= $(COMPONENT_SRC) 
+COMPONENT_TEST_ARGS= ./setup.py test
+
+ASLR_MODE = $(ASLR_ENABLE)
+
+# common targets
+build:          $(BUILD_32_and_64)
+
+install:        $(INSTALL_32_and_64)
+
+test:           $(TEST_32_and_64)
+
+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/resolve.deps	Thu Jul 25 22:11:17 2013 -0700
@@ -0,0 +1,3 @@
+runtime/python-26
+runtime/python-27
+system/library
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/python/simplejson/simplejson-GENFRAG.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.
+#
+
+# 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],5.11-0.175.2.0.0.20.0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/python/simplejson/simplejson-PYVER.p5m	Thu Jul 25 22:11:17 2013 -0700
@@ -0,0 +1,85 @@
+#
+# 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=com.oracle.info.description value="the JSON encoder/decoder for Python"
+set name=com.oracle.info.tpno value=5929
+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)
+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
+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
+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],5.11-0.175.2.0.0.20.0
+
+# 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/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/python/simplejson/simplejson.license	Thu Jul 25 22:11:17 2013 -0700
@@ -0,0 +1,7 @@
+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.