components/python/pytz/Makefile
author Norm Jacobs <Norm.Jacobs@Sun.COM>
Sun, 15 Feb 2015 19:02:09 -0600
changeset 3817 30b42c38bbc4
parent 1948 2d1537e7942d
child 3998 5bd484384122
permissions -rw-r--r--
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1555
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
     1
#
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
     3
#
85cc81ad9166 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
85cc81ad9166 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").
85cc81ad9166 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.
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
     7
#
85cc81ad9166 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
85cc81ad9166 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.
85cc81ad9166 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
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    12
#
85cc81ad9166 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
85cc81ad9166 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.
85cc81ad9166 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
85cc81ad9166 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
85cc81ad9166 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]
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    18
#
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    20
#
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    21
# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
1555
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    22
#
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    23
include ../../../make-rules/shared-macros.mk
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    24
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    25
COMPONENT_NAME=		pytz
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    26
COMPONENT_VERSION=	2013d
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    27
HUMAN_VERSION=		$(COMPONENT_VERSION)
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    28
IPS_COMPONENT_VERSION=	2013.4
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    29
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    30
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_HASH=	\
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    32
    sha256:4eee447b2102141dfc7d92b0536608616f152811a8adee2f120460f368ecc4c6
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_URL=	$(call pypi_url)
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    34
COMPONENT_PROJECT_URL=	http://pytz.sourceforge.net/
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    35
COMPONENT_BUGDB=	python-mod/pytz
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    36
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1555
diff changeset
    37
TPNO=			15417
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1555
diff changeset
    38
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    39
include $(WS_MAKE_RULES)/prep.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    40
include $(WS_MAKE_RULES)/setup.py.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    41
include $(WS_MAKE_RULES)/ips.mk
1555
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    42
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    43
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    44
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    45
COMPONENT_TEST_ARGS=	../runtests.sh
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    46
COMPONENT_TEST_CMD=	/bin/sh
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    47
COMPONENT_TEST_DIR=	$(SOURCE_DIR)
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    48
COMPONENT_TEST_ENV+=	PYTHON=$(PYTHON)
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    49
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    50
# common targets
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    51
build:		$(BUILD_NO_ARCH)
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    52
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    53
install:	$(INSTALL_NO_ARCH)
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    54
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    55
test:		$(TEST_NO_ARCH)
85cc81ad9166 PSARC 2013/318 pytz - Python timezone database module
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    56