components/python/rjsmin/rjsmin-PYVER.p5m
author Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
Mon, 07 Nov 2016 08:47:35 -0800
changeset 7251 ff9e0fbf5bd7
parent 6864 45128c94429d
permissions -rw-r--r--
25055503 gdm causes developer/opensolaris/userland to depend on obsolete imf-startup

#
# 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) 2016, Oracle and/or its affiliates. All rights reserved.
#

set name=pkg.fmri \
    value=pkg:/library/python/rjsmin-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="rJSmin - Javascript Minifier"
set name=pkg.description \
    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)."
set name=com.oracle.info.description value="the rjsmin Python module"
set name=com.oracle.info.tpno value=$(TPNO)
set name=info.classification \
    value=org.opensolaris.category.2008:Development/Python
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=info.upstream value="André Malo"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=org.opensolaris.arc-caseid value=PSARC/2016/432
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
#
file path=usr/lib/python$(PYVER)/vendor-packages/64/_rjsmin.so
file path=usr/lib/python$(PYVER)/vendor-packages/_rjsmin.so
file path=usr/lib/python$(PYVER)/vendor-packages/rjsmin-$(COMPONENT_VERSION)-py$(PYVER).egg-info
# pkgdepend on S11 doesn't grok new PEP 3149 syntax
file path=usr/lib/python$(PYVER)/vendor-packages/rjsmin.py \
    pkg.depend.bypass-generate=.*_rjsmin.*
#
license rjsmin.license license="Apache 2.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 rjsmin package
depend type=require \
    fmri=library/python/rjsmin@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)