components/python/cachetools/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Thu, 23 Feb 2017 13:46:52 -0800
changeset 7687 1093e2a9adbd
parent 6410 3ae42b2b5dad
permissions -rw-r--r--
25590368 Userland components should include "upstream" release tracking information
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6410
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     1
#
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     3
#
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     7
#
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    12
#
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    18
#
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    20
#
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    21
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
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: 6410
diff changeset
    23
# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
6410
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    24
#
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    25
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    26
include ../../../make-rules/shared-macros.mk
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    27
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		cachetools
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    29
COMPONENT_VERSION=	1.1.5
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    30
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_HASH=	\
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    33
    sha256:9810dd6afaec9e9eaae5ec33f2aa7117214a7a3f8427e70ab23939fe4d1bf279
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL=	$(call pypi_url)
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    35
COMPONENT_PROJECT_URL=	https://github.com/tkem/cachetools
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    36
COMPONENT_BUGDB=	python-mod/cachetools
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 6410
diff changeset
    37
COMPONENT_ANITYA_ID=	7022
6410
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    38
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    39
TPNO=			27447
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    40
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    41
include $(WS_MAKE_RULES)/prep.mk
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    42
include $(WS_MAKE_RULES)/setup.py.mk
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    43
include $(WS_MAKE_RULES)/ips.mk
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    44
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    45
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    46
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    47
COMPONENT_TEST_DIR =	$(SOURCE_DIR)
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    48
COMPONENT_TEST_ARGS =	setup.py test
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    49
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    50
# common targets
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    51
build:		$(BUILD_NO_ARCH)
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    52
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    53
install:	$(INSTALL_NO_ARCH)
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    54
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    55
test:		$(TEST_NO_ARCH)
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    56
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    57
system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)