gcc-6: use $(GNU_ARCH) in manifest
[unleashed-userland.git] / components / python / requests / Makefile
blob5f3fdbc8ef6abe8b8a79a0f7cf77732f97fd115b
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
23 # Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
26 include ../../../make-rules/shared-macros.mk
28 COMPONENT_NAME= requests
29 COMPONENT_VERSION= 2.11.1
30 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
31 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
32 COMPONENT_ARCHIVE_HASH= \
33 sha256:e8e5710ae923a00e45631f0e47c30ebfc83b7a8c4a7a818f78bf820f9b607558
34 COMPONENT_ARCHIVE_URL= https://github.com/kennethreitz/requests/archive/v$(COMPONENT_VERSION).tar.gz
35 COMPONENT_PROJECT_URL= http://python-requests.org/
36 COMPONENT_SUMMARY= Python HTTP Requests for Humans
37 COMPONENT_CLASSIFICATION= Development/Python
38 COMPONENT_LICENSE= Apache 2
40 PYTHON_VERSIONS= 2.7 3.4
42 include $(WS_MAKE_RULES)/prep.mk
43 include $(WS_MAKE_RULES)/setup.py.mk
44 include $(WS_MAKE_RULES)/ips.mk
46 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
50 # common targets
51 build: $(BUILD_NO_ARCH)
53 install: $(INSTALL_NO_ARCH)
55 # Tests require access to AWS services & the Internet
56 test: $(NO_TESTS)
58 REQUIRED_PACKAGES += runtime/python-27
59 REQUIRED_PACKAGES += runtime/python-34