components/python/rjsmin/rjsmin-PYVER.p5m
author Edward Pilatowicz <edward.pilatowicz@oracle.com>
Tue, 14 Mar 2017 15:22:37 -0700
changeset 7795 92fb0e1622f7
parent 6864 45128c94429d
permissions -rw-r--r--
25700105 Docker service fails to come online
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6410
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     1
#
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     3
#
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     7
#
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    12
#
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    18
#
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    20
#
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    21
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    22
#
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    23
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    24
#
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    25
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    26
set name=pkg.fmri \
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    27
    value=pkg:/library/python/rjsmin-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    28
set name=pkg.summary value="rJSmin - Javascript Minifier"
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    29
set name=pkg.description \
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    30
    value="rJSmin is a javascript minifier written in python.  The minifier is based on the semantics of jsmin.c by Douglas Crockford.  The module is a re-implementation aiming for speed, so it can be used at runtime (rather than during a preprocessing step)."
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    31
set name=com.oracle.info.description value="the rjsmin Python module"
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    32
set name=com.oracle.info.tpno value=$(TPNO)
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    33
set name=info.classification \
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    34
    value=org.opensolaris.category.2008:Development/Python
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    35
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    36
set name=info.upstream value="André Malo"
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    37
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    38
set name=org.opensolaris.arc-caseid value=PSARC/2016/432
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    39
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    40
#
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    41
file path=usr/lib/python$(PYVER)/vendor-packages/64/_rjsmin.so
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    42
file path=usr/lib/python$(PYVER)/vendor-packages/_rjsmin.so
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    43
file path=usr/lib/python$(PYVER)/vendor-packages/rjsmin-$(COMPONENT_VERSION)-py$(PYVER).egg-info
6864
45128c94429d 24615249 work around pkgdepend issue to publish rjsmin on S11
John Beck <John.Beck@Oracle.COM>
parents: 6410
diff changeset
    44
# pkgdepend on S11 doesn't grok new PEP 3149 syntax
45128c94429d 24615249 work around pkgdepend issue to publish rjsmin on S11
John Beck <John.Beck@Oracle.COM>
parents: 6410
diff changeset
    45
file path=usr/lib/python$(PYVER)/vendor-packages/rjsmin.py \
45128c94429d 24615249 work around pkgdepend issue to publish rjsmin on S11
John Beck <John.Beck@Oracle.COM>
parents: 6410
diff changeset
    46
    pkg.depend.bypass-generate=.*_rjsmin.*
6410
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    47
#
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    48
license rjsmin.license license="Apache 2.0"
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    49
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    50
# force a dependency on the Python runtime
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    51
depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    52
    pkg.debug.depend.path=usr/bin
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    53
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    54
# force a dependency on the rjsmin package
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    55
depend type=require \
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    56
    fmri=library/python/rjsmin@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)