components/python/ipaddress/Makefile
author Niveditha Rau <Niveditha.Rau@Oracle.COM>
Thu, 16 Feb 2017 16:13:13 -0800
changeset 7685 a7ec984d7d4c
parent 6786 c424280db93e
child 7687 1093e2a9adbd
permissions -rw-r--r--
25564905 incorrect permissions on some desktop component deliveries in /usr/lib
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5486
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
     1
#
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
     3
#
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
     7
#
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    12
#
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    18
#
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    20
#
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    21
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    22
#
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    23
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    24
#
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    25
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    26
include ../../../make-rules/shared-macros.mk
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    27
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		ipaddress
6786
c424280db93e 23210191 Upgrade ipaddress to 1.0.16
Laszlo Peter <laszlo.peter@oracle.com>
parents: 5486
diff changeset
    29
COMPONENT_VERSION=	1.0.16
5486
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    30
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_HASH=	\
6786
c424280db93e 23210191 Upgrade ipaddress to 1.0.16
Laszlo Peter <laszlo.peter@oracle.com>
parents: 5486
diff changeset
    33
    sha256:5a3182b322a706525c46282ca6f064d27a02cffbd449f9f47416f1dc96aa71b0
5486
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL=	$(call pypi_url)
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    35
COMPONENT_PROJECT_URL=  https://github.com/phihag/ipaddress
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    36
COMPONENT_BUGDB=	python-mod/ipaddress
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    37
6786
c424280db93e 23210191 Upgrade ipaddress to 1.0.16
Laszlo Peter <laszlo.peter@oracle.com>
parents: 5486
diff changeset
    38
TPNO=			27996
5486
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    39
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    40
# ipaddress is superfluous in Python 3.4
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    41
PYTHON_VERSIONS =	$(PYTHON2_VERSIONS)
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    42
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    43
include $(WS_MAKE_RULES)/prep.mk
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    44
include $(WS_MAKE_RULES)/setup.py.mk
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    45
include $(WS_MAKE_RULES)/ips.mk
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    46
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    47
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    48
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    49
COMPONENT_TEST_DIR = $(SOURCE_DIR)
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    50
COMPONENT_TEST_ARGS = test_ipaddress.py
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    51
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    52
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    53
COMPONENT_TEST_TRANSFORMS += \
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    54
	'-e "s|\(^Ran [0-9]\+ tests in\).*|\1|" '
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    55
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    56
# common targets
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    57
build:		$(BUILD_NO_ARCH)
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    58
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    59
install:	$(INSTALL_NO_ARCH)
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    60
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    61
test:		$(TEST_NO_ARCH)
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    62
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    63
system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)