components/python/neutron-lib/Makefile
author Sean Wilcox <sean.wilcox@oracle.com>
Tue, 08 Nov 2016 11:16:49 -0700
changeset 7262 19860fd7b64f
parent 6756 214928237aa5
child 7687 1093e2a9adbd
permissions -rw-r--r--
24692363 restart of nova-compute went to maintenance
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6756
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     1
#
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     3
#
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     7
#
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    12
#
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    18
#
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    20
#
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    21
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    22
#
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    23
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    24
#
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    25
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    26
include ../../../make-rules/shared-macros.mk
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    27
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		neutron-lib
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    29
COMPONENT_VERSION=	0.0.3
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    30
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_HASH=	\
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    33
    sha256:299409af842fe504c2c80ab8e25b947c5c1301eb9db0727e494b84c62d71b0c6
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL=	$(call pypi_url)
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    35
COMPONENT_PROJECT_URL=	http://docs.openstack.org/developer/neutron-lib/
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    36
COMPONENT_BUGDB=	python-mod/neutron-lib
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    37
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    38
TPNO=			27904
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    39
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    40
# Depends on netaddr which is not Python 3 ready.
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    41
PYTHON_VERSIONS=	$(PYTHON2_VERSIONS)
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    42
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    43
include $(WS_MAKE_RULES)/prep.mk
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    44
include $(WS_MAKE_RULES)/setup.py.mk
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    45
include $(WS_MAKE_RULES)/ips.mk
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    46
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    47
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    48
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    49
# common targets
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    50
build:		$(BUILD_NO_ARCH)
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    51
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    52
install:	$(INSTALL_NO_ARCH)
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    53
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    54
# See $(COMPONENT_SRC)/test-requirements.txt for the Python modules
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    55
# required to execute unittests.
214928237aa5 PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    56
test:		$(NO_TESTS)