components/python/pyyaml/Makefile
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Thu, 19 Mar 2015 20:44:31 -0700
branchs11-update
changeset 3996 20c0f21bbe1e
parent 3828 450ae9167756
child 7811 9126e6f58cd8
permissions -rw-r--r--
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3828
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     1
#
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     3
#
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     7
#
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    12
#
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    18
#
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    20
#
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    21
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    22
#
3996
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3828
diff changeset
    23
# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
3828
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    24
#
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    25
include ../../../make-rules/shared-macros.mk
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    26
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    27
COMPONENT_NAME=		PyYAML
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    28
COMPONENT_VERSION=	3.09
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    29
IPS_COMPONENT_VERSION=	3.9
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_HASH=	\
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    33
    sha256:30076d51387cca35d461c8b36408de189d31f17e44d45cd2200bbd2d02f555c1
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL=	http://pyyaml.org/download/pyyaml/$(COMPONENT_ARCHIVE)
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    35
COMPONENT_PROJECT_URL=	http://pyyaml.org/wiki/PyYAML
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    36
COMPONENT_BUGDB=	python-mod/pyyaml
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    37
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    38
TPNO=			9304
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    39
3996
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3828
diff changeset
    40
include $(WS_MAKE_RULES)/prep.mk
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3828
diff changeset
    41
include $(WS_MAKE_RULES)/setup.py.mk
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3828
diff changeset
    42
include $(WS_MAKE_RULES)/ips.mk
3828
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    43
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    44
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    45
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    46
COMPONENT_TEST_DIR =		$(SOURCE_DIR)
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    47
COMPONENT_TEST_ARGS.2.6 =	./tests/lib/test_all.py
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    48
COMPONENT_TEST_ARGS.2.7 =	./tests/lib/test_all.py
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    49
COMPONENT_TEST_ARGS.3.4 =	./tests/lib3/test_all.py
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    50
COMPONENT_TEST_ARGS =		$(COMPONENT_TEST_ARGS.$(PYTHON_VERSION))
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    51
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    52
# common targets
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    53
build:		$(BUILD_NO_ARCH)
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    54
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    55
install:	$(INSTALL_NO_ARCH)
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    56
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    57
test:		$(TEST_NO_ARCH)
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    58
450ae9167756 20054525 Migrate pyyaml from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    59