d3b29d4b61f1549244a7509b798be6f806cf7d4eTimo Sirainen#
2a90d8a14b0e7cc1508814bc87d3dfa598ef46a8Timo Sirainen# CDDL HEADER START
5355df8b66da35698449a10c2c83633a64995298Timo Sirainen#
d99107ddf4d9bccb710994482daf65276a9d6321Timo Sirainen# The contents of this file are subject to the terms of the
d99107ddf4d9bccb710994482daf65276a9d6321Timo Sirainen# Common Development and Distribution License (the "License").
2a90d8a14b0e7cc1508814bc87d3dfa598ef46a8Timo Sirainen# You may not use this file except in compliance with the License.
d3b29d4b61f1549244a7509b798be6f806cf7d4eTimo Sirainen#
2a90d8a14b0e7cc1508814bc87d3dfa598ef46a8Timo Sirainen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# or http://www.opensolaris.org/os/licensing.
fc71e94957d0c2959a609450a2f303640d681858Sascha Wilde# See the License for the specific language governing permissions
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# and limitations under the License.
2a90d8a14b0e7cc1508814bc87d3dfa598ef46a8Timo Sirainen#
bbe42963032af89fac1318844da08c742525cc87Timo Sirainen# When distributing Covered Code, include this CDDL HEADER in each
72b9d8039b714ea57c4e3b31bce32ef41cb414d4Timo Sirainen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1299f2c3723ca9ccf8f9e563ec23ee1a1721fe4cTimo Sirainen# If applicable, add the following below this CDDL HEADER, with the
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# fields enclosed by brackets "[]" replaced with your own identifying
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# information: Portions Copyright [yyyy] [name of copyright owner]
fc71e94957d0c2959a609450a2f303640d681858Sascha Wilde#
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# CDDL HEADER END
bbe42963032af89fac1318844da08c742525cc87Timo Sirainen#
53f37d41e1abb068131320f39f870fc92e81f560Timo Sirainen
53f37d41e1abb068131320f39f870fc92e81f560Timo Sirainen#
# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
#
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME= oslo.utils
COMPONENT_VERSION= 1.4.0
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_HASH= \
sha256:f90e1d52542225031bc7e3d9bdc1b1270a80388e30285532124586e45e9317f6
COMPONENT_ARCHIVE_URL= $(call pypi_url)
COMPONENT_PROJECT_URL= https://launchpad.net/oslo.utils
COMPONENT_BUGDB= python-mod/oslo.utils
TPNO= 25744
# Depends on netaddr which is not Python 3 ready.
PYTHON_VERSIONS= 2.7 2.6
include $(WS_MAKE_RULES)/prep.mk
include $(WS_MAKE_RULES)/setup.py.mk
include $(WS_MAKE_RULES)/ips.mk
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
# common targets
build: $(BUILD_NO_ARCH)
install: $(INSTALL_NO_ARCH)
# see $(COMPONENT_SRC)/test-requirements.txt for the python modules
# required to execute unittests.
test: $(NO_TESTS)