components/python/dateutil/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Thu, 23 Feb 2017 13:46:52 -0800
changeset 7687 1093e2a9adbd
parent 6750 b93f4cab3687
permissions -rw-r--r--
25590368 Userland components should include "upstream" release tracking information
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6750
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     1
#
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     3
#
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     7
#
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    12
#
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    18
#
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    20
#
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    21
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    22
#
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 6750
diff changeset
    23
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
6750
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    24
#
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    25
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    26
include ../../../make-rules/shared-macros.mk
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    27
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		python-dateutil
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    29
COMPONENT_VERSION=	2.5.3
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    30
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_HASH=	\
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    33
    sha256:1408fdb07c6a1fa9997567ce3fcee6a337b39a503d80699e0f213de4aa4b32ed
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL=	$(call pypi_url)
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    35
COMPONENT_PROJECT_URL=	https://dateutil.readthedocs.org
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    36
COMPONENT_BUGDB=	python-mod/dateutil
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 6750
diff changeset
    37
COMPONENT_ANITYA_ID=	5621
6750
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    38
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    39
TPNO=			28610
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    40
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    41
include $(WS_MAKE_RULES)/prep.mk
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    42
include $(WS_MAKE_RULES)/setup.py.mk
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    43
include $(WS_MAKE_RULES)/ips.mk
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    44
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    45
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    46
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    47
# common targets
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    48
build:		$(BUILD_NO_ARCH)
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    49
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    50
install:	$(INSTALL_NO_ARCH)
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    51
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    52
# Run the tests in the build directory so as not to touch the source directory.
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    53
# Because they're not copied over during the build, we do that now.
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    54
COMPONENT_PRE_TEST_ACTION = \
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    55
	$(CP) -r $(COMPONENT_SRC)/dateutil/test $(@D)
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    56
COMPONENT_TEST_DIR = $(@D)
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    57
COMPONENT_TEST_CMD = py.test-$(PYTHON_VERSION)
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    58
COMPONENT_TEST_ARGS = --result-log=$(COMPONENT_TEST_OUTPUT)
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    59
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    60
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    61
test:		$(TEST_NO_ARCH)
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    62
b93f4cab3687 PSARC 2015/459 dateutil - Extensions to the standard Python datetime module
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    63
system-test:    $(NO_TESTS)