components/python/isort/isort-PYVER.p5m
changeset 6938 64f04bb4c3c3
equal deleted inserted replaced
6936:b7d04c4c9133 6938:64f04bb4c3c3
       
     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) 2016, Oracle and/or its affiliates. All rights reserved.
       
    24 #
       
    25 
       
    26 set name=pkg.fmri \
       
    27     value=pkg:/library/python/isort-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
       
    28 set name=pkg.summary \
       
    29     value="isort - a Python utility / library to sort Python imports"
       
    30 set name=pkg.description \
       
    31     value="isort is a Python utility / library to sort imports alphabetically, and automatically separated into sections. It provides a command line utility, Python library and plugins for various editors to quickly sort all your imports."
       
    32 set name=com.oracle.info.description value="the isort Python module"
       
    33 set name=com.oracle.info.tpno value=$(TPNO)
       
    34 set name=info.classification \
       
    35     value=org.opensolaris.category.2008:Development/Python
       
    36 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
       
    37 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
       
    38 set name=org.opensolaris.arc-caseid value=PSARC/2016/507
       
    39 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
       
    40 link path=usr/bin/isort target=isort-$(PYVER) mediator=python \
       
    41     mediator-version=$(PYVER)
       
    42 file path=usr/bin/isort-$(PYVER)
       
    43 file path=usr/lib/python$(PYVER)/vendor-packages/isort-$(COMPONENT_VERSION)-py$(PYVER).egg-info/PKG-INFO
       
    44 file path=usr/lib/python$(PYVER)/vendor-packages/isort-$(COMPONENT_VERSION)-py$(PYVER).egg-info/SOURCES.txt
       
    45 file path=usr/lib/python$(PYVER)/vendor-packages/isort-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt
       
    46 file path=usr/lib/python$(PYVER)/vendor-packages/isort-$(COMPONENT_VERSION)-py$(PYVER).egg-info/entry_points.txt
       
    47 file path=usr/lib/python$(PYVER)/vendor-packages/isort-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt
       
    48 file path=usr/lib/python$(PYVER)/vendor-packages/isort/__init__.py
       
    49 file path=usr/lib/python$(PYVER)/vendor-packages/isort/hooks.py
       
    50 file path=usr/lib/python$(PYVER)/vendor-packages/isort/isort.py
       
    51 # Prevent pkgdepend complaining with: "Could not find the file for pie_slice
       
    52 # imported in .../isort/main.py".
       
    53 file path=usr/lib/python$(PYVER)/vendor-packages/isort/main.py \
       
    54     pkg.depend.bypass-generate=.*
       
    55 file path=usr/lib/python$(PYVER)/vendor-packages/isort/natural.py
       
    56 file path=usr/lib/python$(PYVER)/vendor-packages/isort/pie_slice.py
       
    57 file path=usr/lib/python$(PYVER)/vendor-packages/isort/pylama_isort.py
       
    58 file path=usr/lib/python$(PYVER)/vendor-packages/isort/settings.py
       
    59 license isort.license license=MIT
       
    60 
       
    61 # force a dependency on the Python $(PYVER) runtime
       
    62 depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \
       
    63     pkg.debug.depend.path=usr/bin
       
    64 
       
    65 # force a dependency on the isort package
       
    66 depend type=require \
       
    67     fmri=library/python/isort@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
       
    68