author | Norm Jacobs <Norm.Jacobs@Oracle.COM> |
Tue, 18 Oct 2016 13:46:28 -0500 | |
changeset 7126 | c0715e78cafb |
parent 6711 | 824d4bb15f85 |
permissions | -rw-r--r-- |
1309
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
20 |
# |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
21 |
|
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
22 |
# |
6711
824d4bb15f85
23210056 Upgrade netaddr to 0.7.18
Rich Burridge <rich.burridge@oracle.com>
parents:
3998
diff
changeset
|
23 |
# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. |
1309
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
24 |
# |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
25 |
|
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
26 |
set name=pkg.fmri \ |
1666
69d14d547e77
PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents:
1309
diff
changeset
|
27 |
value=pkg:/library/python/netaddr-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
1309
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
28 |
set name=pkg.summary value="Python network address manipulation" |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
29 |
set name=pkg.description \ |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
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." |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
31 |
set name=com.oracle.info.description \ |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
32 |
value="the Python network address manipulation library" |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1666
diff
changeset
|
33 |
set name=com.oracle.info.tpno value=$(TPNO) |
1309
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
34 |
set name=info.classification \ |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
35 |
value=org.opensolaris.category.2008:Development/Python |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
36 |
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
37 |
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
38 |
set name=org.opensolaris.arc-caseid value=PSARC/2012/037 |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
39 |
set name=org.opensolaris.consolidation value=$(CONSOLIDATION) |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
40 |
# |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
41 |
link path=usr/bin/netaddr target=netaddr-$(PYVER) mediator=python \ |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
42 |
mediator-version=$(PYVER) |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
43 |
# |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
44 |
# since we have IPython < 0.11, skip dependencies for |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
45 |
# IPython.frontend.terminal.embed |
3998
5bd484384122
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3732
diff
changeset
|
46 |
# |
5bd484384122
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3732
diff
changeset
|
47 |
file path=usr/bin/netaddr-$(PYVER) pkg.depend.bypass-generate=.*/terminal.* |
5bd484384122
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3732
diff
changeset
|
48 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr-$(COMPONENT_VERSION)-py$(PYVER).egg-info |
1309
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
49 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/__init__.py |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
50 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/compat.py |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
51 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/core.py |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
52 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/eui/__init__.py |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
53 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/eui/iab.idx |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
54 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/eui/iab.txt |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
55 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/eui/ieee.py |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
56 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/eui/oui.idx |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
57 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/eui/oui.txt |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
58 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/fbsocket.py |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
59 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/ip/__init__.py |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
60 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/ip/glob.py |
3998
5bd484384122
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3732
diff
changeset
|
61 |
# urllib.request is not available in Python 2.X |
1309
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
62 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/ip/iana.py \ |
3998
5bd484384122
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3732
diff
changeset
|
63 |
pkg.depend.bypass-generate=.*/urllib.* |
1309
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
64 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/ip/ipv4-address-space.xml |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
65 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/ip/ipv6-address-space.xml |
6711
824d4bb15f85
23210056 Upgrade netaddr to 0.7.18
Rich Burridge <rich.burridge@oracle.com>
parents:
3998
diff
changeset
|
66 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/ip/ipv6-unicast-address-assignments.xml |
1309
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
67 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/ip/multicast-addresses.xml |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
68 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/ip/nmap.py |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
69 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/ip/rfc1924.py |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
70 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/ip/sets.py |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
71 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/strategy/__init__.py |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
72 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/strategy/eui48.py |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
73 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/strategy/eui64.py |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
74 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/strategy/ipv4.py |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
75 |
file path=usr/lib/python$(PYVER)/vendor-packages/netaddr/strategy/ipv6.py |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
76 |
# |
6711
824d4bb15f85
23210056 Upgrade netaddr to 0.7.18
Rich Burridge <rich.burridge@oracle.com>
parents:
3998
diff
changeset
|
77 |
license netaddr.license license=BSD |
3732
0f62cc221c7e
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
78 |
|
0f62cc221c7e
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
79 |
# force the rename with an optional dependency on the old name |
0f62cc221c7e
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
80 |
depend type=optional \ |
0f62cc221c7e
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
81 |
fmri=library/python-2/netaddr-$(PYV)@0.7.10,5.12-5.12.0.0.0.41.0 |
1309
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
82 |
# |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
83 |
# force a dependency on the netaddr package |
27b67da05e40
15798522 SUNBT7177417 Add python netaddr to Solaris
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
84 |
depend type=require \ |
1666
69d14d547e77
PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents:
1309
diff
changeset
|
85 |
fmri=library/python/netaddr@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |