2035N/A#
2035N/A# CDDL HEADER START
2035N/A#
2035N/A# The contents of this file are subject to the terms of the
2035N/A# Common Development and Distribution License (the "License").
2035N/A# You may not use this file except in compliance with the License.
2035N/A#
2035N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2035N/A# or http://www.opensolaris.org/os/licensing.
2035N/A# See the License for the specific language governing permissions
2035N/A# and limitations under the License.
2035N/A#
2035N/A# When distributing Covered Code, include this CDDL HEADER in each
2035N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2035N/A# If applicable, add the following below this CDDL HEADER, with the
2035N/A# fields enclosed by brackets "[]" replaced with your own identifying
2035N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2035N/A#
2035N/A# CDDL HEADER END
2035N/A#
5680N/A
5680N/A#
6191N/A# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
2035N/A#
2035N/Ainclude ../../../make-rules/shared-macros.mk
2035N/A
2035N/ACOMPONENT_NAME= httplib2
6191N/ACOMPONENT_VERSION= 0.9.2
2035N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2035N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2035N/ACOMPONENT_ARCHIVE_HASH= \
6191N/A sha256:c3aba1c9539711551f4d83e857b316b5134a1c4ddce98a875b7027be7dd6d988
2035N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
2035N/ACOMPONENT_PROJECT_URL= http://code.google.com/p/httplib2/
2035N/ACOMPONENT_BUGDB= python-mod/httplib2
2035N/A
6191N/ATPNO= 29114
2899N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
3817N/Ainclude $(WS_MAKE_RULES)/ips.mk
2035N/A
2035N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
2035N/A
6908N/A# Set up the tests for running with multiple versions. Many of the tests
6908N/A# attempt to connect to URLs outside the firewall, some of which no longer
6908N/A# exist. Others could be set up on a local server with the tests directory
6908N/A# from the git repo. But for the most part, just expect the tests to fail.
6908N/ACOMPONENT_PRE_TEST_ACTION = \
6908N/A v=$$(echo $(PYTHON_VERSION) | cut -c1); \
6908N/A $(CP) -r $(COMPONENT_SRC)/python$$v/httplib2/test $(@D); \
6908N/A $(CP) $(COMPONENT_SRC)/python$$v/httplib2test.py $(@D); \
6908N/A
6908N/ACOMPONENT_TEST_DIR = $(@D)
2035N/ACOMPONENT_TEST_ARGS = httplib2test.py
2035N/A
2035N/A# common targets
2035N/Abuild: $(BUILD_NO_ARCH)
2035N/A
2035N/Ainstall: $(INSTALL_NO_ARCH)
2035N/A
2035N/Atest: $(TEST_NO_ARCH)
2035N/A
4337N/Asystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
4337N/A