components/python/requestsexceptions/requestsexceptions-PYVER.p5m
changeset 6410 3ae42b2b5dad
equal deleted inserted replaced
6409:a57c61602ca6 6410:3ae42b2b5dad
       
     1 #
       
     2 # CDDL HEADER START
       
     3 #
       
     4 # The contents of this file are subject to the terms of the
       
     5 # Common Development and Distribution License (the "License").
       
     6 # You may not use this file except in compliance with the License.
       
     7 #
       
     8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
     9 # or http://www.opensolaris.org/os/licensing.
       
    10 # See the License for the specific language governing permissions
       
    11 # and limitations under the License.
       
    12 #
       
    13 # When distributing Covered Code, include this CDDL HEADER in each
       
    14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    15 # If applicable, add the following below this CDDL HEADER, with the
       
    16 # fields enclosed by brackets "[]" replaced with your own identifying
       
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
       
    18 #
       
    19 # CDDL HEADER END
       
    20 #
       
    21 
       
    22 #
       
    23 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
       
    24 #
       
    25 
       
    26 set name=pkg.fmri \
       
    27     value=pkg:/library/python/requestsexceptions-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
       
    28 set name=pkg.summary \
       
    29     value="find the correct path to exceptions in the requests library"
       
    30 set name=pkg.description \
       
    31     value='The python requests library bundles the urllib3 library, however, some software distributions modify requests to remove the bundled library. This makes some operations, such as supressing the "insecure platform warning" messages that urllib emits difficult. This is a simple library to find the correct path to exceptions in the requests library regardless of whether they are bundled.'
       
    32 set name=com.oracle.info.description \
       
    33     value="the requestsexceptions Python module"
       
    34 set name=com.oracle.info.tpno value=$(TPNO)
       
    35 set name=info.classification \
       
    36     value=org.opensolaris.category.2008:Development/Python \
       
    37     value="org.opensolaris.category.2008:Web Services/Application and Web Servers"
       
    38 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
       
    39 set name=info.upstream value="Monty Taylor <[email protected]>"
       
    40 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
       
    41 set name=org.opensolaris.arc-caseid value=PSARC/2016/430
       
    42 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
       
    43 #
       
    44 file path=usr/lib/python$(PYVER)/vendor-packages/requestsexceptions-$(COMPONENT_VERSION)-py$(PYVER).egg-info/PKG-INFO
       
    45 file path=usr/lib/python$(PYVER)/vendor-packages/requestsexceptions-$(COMPONENT_VERSION)-py$(PYVER).egg-info/SOURCES.txt
       
    46 file path=usr/lib/python$(PYVER)/vendor-packages/requestsexceptions-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt
       
    47 file path=usr/lib/python$(PYVER)/vendor-packages/requestsexceptions-$(COMPONENT_VERSION)-py$(PYVER).egg-info/not-zip-safe
       
    48 file path=usr/lib/python$(PYVER)/vendor-packages/requestsexceptions-$(COMPONENT_VERSION)-py$(PYVER).egg-info/pbr.json
       
    49 file path=usr/lib/python$(PYVER)/vendor-packages/requestsexceptions-$(COMPONENT_VERSION)-py$(PYVER).egg-info/requires.txt
       
    50 file path=usr/lib/python$(PYVER)/vendor-packages/requestsexceptions-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt
       
    51 file path=usr/lib/python$(PYVER)/vendor-packages/requestsexceptions/__init__.py
       
    52 #
       
    53 license requestsexceptions.license license="Apache v2.0"
       
    54 
       
    55 # force a dependency on the Python runtime
       
    56 depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \
       
    57     pkg.debug.depend.path=usr/bin
       
    58 
       
    59 # force a dependency on requests; pkgdepend work is needed to flush this out.
       
    60 depend type=require fmri=library/python/requests-$(PYV)
       
    61 
       
    62 # force a dependency on the requestsexceptions package
       
    63 depend type=require \
       
    64     fmri=library/python/requestsexceptions@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)