components/python/unittest2/Makefile
changeset 4984 7145b15b7f0d
parent 4983 db2589571faa
child 4985 eed3576cafd0
equal deleted inserted replaced
4983:db2589571faa 4984:7145b15b7f0d
     1 #
       
     2 # CDDL HEADER START
       
     3 #
       
     4 # The contents of this file are subject to the terms of the
       
     5 # Common Development and Distribution License (the "License").
       
     6 # You may not use this file except in compliance with the License.
       
     7 #
       
     8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
     9 # or http://www.opensolaris.org/os/licensing.
       
    10 # See the License for the specific language governing permissions
       
    11 # and limitations under the License.
       
    12 #
       
    13 # When distributing Covered Code, include this CDDL HEADER in each
       
    14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    15 # If applicable, add the following below this CDDL HEADER, with the
       
    16 # fields enclosed by brackets "[]" replaced with your own identifying
       
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
       
    18 #
       
    19 # CDDL HEADER END
       
    20 #
       
    21 # Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
       
    22 #
       
    23 include ../../../make-rules/shared-macros.mk
       
    24 
       
    25 COMPONENT_NAME=		unittest2
       
    26 COMPONENT_VERSION=	0.5.1
       
    27 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
       
    28 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
       
    29 COMPONENT_ARCHIVE_HASH=	\
       
    30     sha256:aa5de8cdf654d843379c97bd1ee240e86356d3355a97b147a6f3f4d149247a71
       
    31 COMPONENT_ARCHIVE_URL=	$(call pypi_url)
       
    32 COMPONENT_PROJECT_URL=	http://pypi.python.org/pypi/unittest2
       
    33 COMPONENT_BUGDB=	python-mod/unittest2
       
    34 
       
    35 TPNO=			14503
       
    36 
       
    37 # The unittest2 module was integrated into Python 2.7, so we should
       
    38 # only deliver a 2.6 module.
       
    39 PYTHON_VERSIONS = 2.6
       
    40 
       
    41 include $(WS_MAKE_RULES)/prep.mk
       
    42 include $(WS_MAKE_RULES)/setup.py.mk
       
    43 include $(WS_MAKE_RULES)/ips.mk
       
    44 
       
    45 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
       
    46 
       
    47 COMPONENT_TEST_ARGS=	setup.py test
       
    48 COMPONENT_TEST_DIR=	$(SOURCE_DIR)
       
    49 
       
    50 # common targets
       
    51 build:		$(BUILD_NO_ARCH)
       
    52 
       
    53 install:	$(INSTALL_NO_ARCH)
       
    54 
       
    55 test:		$(TEST_NO_ARCH)
       
    56 
       
    57 system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
       
    58 
       
    59 
       
    60 REQUIRED_PACKAGES += library/python/setuptools-26