components/python/ipaddress/Makefile
author Yiteng Zhang <yiteng.zhang@oracle.com>
Tue, 23 Feb 2016 15:19:53 -0800
changeset 5486 fc535b316139
child 6786 c424280db93e
permissions -rw-r--r--
PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module PSARC/2015/490 ipaddress - Python IPv4/IPv6 manipulation module 22365145 upgrade setuptools to version 19.2 22520287 Upgrade cffi to version 1.4.2 22520302 Upgrade cryptography to version 1.2.1 22520335 Integrate idna into Userland 22520346 Integrate ipaddress into Userland 22520361 Upgrade pyasn1 to version 0.1.9
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
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    29
COMPONENT_VERSION=	1.0.14
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=	\
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    33
    sha256:226f4be44c6cb64055e23060848266f51f329813baae28b53dc50e93488b3b3e
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
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    38
TPNO=			26070
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)