components/python/netaddr/netaddr-PYVER.p5m
branchs11-update
changeset 2704 96a400628f41
child 1666 69d14d547e77
child 3661 47545fb8aed4
child 4156 4b1def16fe9b
equal deleted inserted replaced
2703:66303c49c5ee 2704:96a400628f41
       
     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) 2013, Oracle and/or its affiliates. All rights reserved.
       
    24 #
       
    25 
       
    26 set name=pkg.fmri \
       
    27     value=pkg:/library/python-2/netaddr-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
       
    28 set name=pkg.summary value="Python network address manipulation"
       
    29 set name=pkg.description \
       
    30     value="The netaddr Python library represents and manipulates network addresses. It supports the ability to work and interact with the following: IPv4 and IPv6 addresses and subnets; MAC addresses, OUI and IAB identifiers, IEEE EUI-64 identifiers; arbitrary (non-aligned) IP address ranges and IP address sets; various non-CIDR IP range formats such as nmap and glob-style formats."
       
    31 set name=com.oracle.info.description \
       
    32     value="the Python network address manipulation library"
       
    33 set name=com.oracle.info.tpno value=13141
       
    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/2012/037
       
    39 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
       
    40 #
       
    41 link path=usr/bin/netaddr target=netaddr-$(PYVER) mediator=python \
       
    42     mediator-version=$(PYVER)
       
    43 #
       
    44 # since we have IPython < 0.11, skip dependencies for
       
    45 # IPython.frontend.terminal.embed
       
    46 file path=usr/bin/netaddr-$(PYVER) \
       
    47     pkg.depend.bypass-generate=.*(frontend|terminal|embed).*
       
    48 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr-$(IPS_COMPONENT_VERSION)-py$(PYVER).egg-info
       
    49 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/__init__.py
       
    50 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/compat.py
       
    51 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/core.py
       
    52 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/eui/__init__.py
       
    53 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/eui/iab.idx
       
    54 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/eui/iab.txt
       
    55 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/eui/ieee.py
       
    56 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/eui/oui.idx
       
    57 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/eui/oui.txt
       
    58 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/fbsocket.py
       
    59 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/ip/__init__.py
       
    60 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/ip/glob.py
       
    61 # urllib.request is not available in python 2.X
       
    62 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/ip/iana.py \
       
    63     pkg.depend.bypass-generate=.*(urllib|request).*
       
    64 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/ip/intset.py
       
    65 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/ip/ipv4-address-space.xml
       
    66 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/ip/ipv6-address-space.xml
       
    67 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/ip/multicast-addresses.xml
       
    68 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/ip/nmap.py
       
    69 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/ip/rfc1924.py
       
    70 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/ip/sets.py
       
    71 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/strategy/__init__.py
       
    72 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/strategy/eui48.py
       
    73 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/strategy/eui64.py
       
    74 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/strategy/ipv4.py
       
    75 file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/strategy/ipv6.py
       
    76 #
       
    77 license LICENSE license=BSD
       
    78 #
       
    79 # force a dependency on the netaddr package
       
    80 depend type=require \
       
    81     fmri=library/python-2/netaddr@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)