author | Danek Duvall <danek.duvall@oracle.com> |
Tue, 07 Apr 2015 13:31:20 -0700 | |
branch | s11-update |
changeset 4072 | db0cec748ec0 |
parent 3778 | 35735ffdda43 |
permissions | -rw-r--r-- |
2884
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
1 |
# |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
3 |
# |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
7 |
# |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
12 |
# |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
18 |
# |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
20 |
# |
4072
db0cec748ec0
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3778
diff
changeset
|
21 |
|
db0cec748ec0
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3778
diff
changeset
|
22 |
# |
3704
69ab8eca01c5
PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
23 |
# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. |
2884
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
24 |
# |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
25 |
|
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
26 |
set name=pkg.fmri \ |
3704
69ab8eca01c5
PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
27 |
value=pkg:/library/python/pytz-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
2884
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
28 |
set name=pkg.summary value="Python time zone library" |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
29 |
set name=pkg.description \ |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
30 |
value="This library allows accurate and cross-platform timezone calculations using Python 2.4 or higher and provides access to the Olson timezone database. It also solves the issue of ambiguous times at the end of daylight savings." |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
31 |
set name=com.oracle.info.description value="the Python time zone library" |
3661
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
2884
diff
changeset
|
32 |
set name=com.oracle.info.tpno value=$(TPNO) |
2884
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
33 |
set name=info.classification \ |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
34 |
value=org.opensolaris.category.2008:Development/Python |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
35 |
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
36 |
set name=info.upstream value="Stuart Bishop <[email protected]>" |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
37 |
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
38 |
set name=org.opensolaris.arc-caseid value=PSARC/2013/318 |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
39 |
set name=org.opensolaris.consolidation value=$(CONSOLIDATION) |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
40 |
# |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
41 |
file path=usr/lib/python$(PYVER)/vendor-packages/pytz-$(COMPONENT_VERSION)-py$(PYVER).egg-info/PKG-INFO |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
42 |
file path=usr/lib/python$(PYVER)/vendor-packages/pytz-$(COMPONENT_VERSION)-py$(PYVER).egg-info/SOURCES.txt |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
43 |
file path=usr/lib/python$(PYVER)/vendor-packages/pytz-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
44 |
file path=usr/lib/python$(PYVER)/vendor-packages/pytz-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
45 |
file path=usr/lib/python$(PYVER)/vendor-packages/pytz-$(COMPONENT_VERSION)-py$(PYVER).egg-info/zip-safe |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
46 |
file path=usr/lib/python$(PYVER)/vendor-packages/pytz/__init__.py |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
47 |
file path=usr/lib/python$(PYVER)/vendor-packages/pytz/exceptions.py |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
48 |
file path=usr/lib/python$(PYVER)/vendor-packages/pytz/lazy.py |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
49 |
file path=usr/lib/python$(PYVER)/vendor-packages/pytz/reference.py |
3778
35735ffdda43
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
3704
diff
changeset
|
50 |
# Python 3 has a newer library to replace cStringIO. The code is written |
35735ffdda43
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
3704
diff
changeset
|
51 |
# properly, but pkgdepend is not (yet) smart enough to grok the difference. |
35735ffdda43
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
3704
diff
changeset
|
52 |
file path=usr/lib/python$(PYVER)/vendor-packages/pytz/tzfile.py \ |
35735ffdda43
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
3704
diff
changeset
|
53 |
pkg.depend.bypass-generate=.*cStringIO.* |
2884
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
54 |
file path=usr/lib/python$(PYVER)/vendor-packages/pytz/tzinfo.py |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
55 |
# |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
56 |
license LICENSE.txt license=MIT |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
57 |
|
3704
69ab8eca01c5
PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
58 |
# force the rename with an optional dependency on the old name |
69ab8eca01c5
PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
59 |
depend type=optional \ |
69ab8eca01c5
PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
60 |
fmri=library/python-2/pytz-$(PYV)@2013.4,5.11-0.175.3.0.0.16.0 |
69ab8eca01c5
PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
61 |
|
2884
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
62 |
# force a dependency on the Python runtime |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
63 |
depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \ |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
64 |
pkg.debug.depend.path=usr/bin |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
65 |
|
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
66 |
# force a dependency on the pytz package |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
67 |
depend type=require \ |
3704
69ab8eca01c5
PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
68 |
fmri=library/python/pytz@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
2884
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
69 |
|
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
70 |
# Pull in the timezone database |
9ad800ee0577
PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
71 |
depend type=require fmri=system/data/timezone |