Makefile revision 4941
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#
3998N/A
3998N/A#
3817N/A# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
2035N/A#
3998N/A
2035N/Ainclude ../../../make-rules/shared-macros.mk
2035N/A
2035N/ACOMPONENT_NAME= cryptography
3998N/ACOMPONENT_VERSION= 0.8.2
2035N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2035N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2035N/ACOMPONENT_ARCHIVE_HASH= \
3998N/A sha256:1c9a022ab3decaf152093e2ef2d5ee4258c72c7d429446c86bd68ff8c0929db6
2035N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
2035N/ACOMPONENT_PROJECT_URL= https://cryptography.io/
2035N/ACOMPONENT_BUGDB= python-mod/cryptography
2035N/A
3998N/ATPNO= 22524
2818N/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
2035N/A# Use the CFFI version in the gate because if the CFFI version changes
2035N/A# everything using CFFI will break.
2035N/ACFFI = $(WS_COMPONENTS)/python/cffi/build/prototype/$(MACH)/$(PYTHON_LIB)
2035N/A
2035N/ACOMPONENT_BUILD_ENV += PYTHONPATH=$(CFFI)
2035N/ACOMPONENT_INSTALL_ENV += PYTHONPATH=$(CFFI)
2035N/A
2035N/A# common targets
2035N/Abuild: $(BUILD_32_and_64)
2035N/A
2035N/Ainstall: $(INSTALL_32_and_64)
4337N/A
4337N/A#
2035N/A# tests require cryptography_vectors, iso8601, pretend, pytest, and six,
3817N/A# some of which have not yet integrated.
#
test: $(NO_TESTS)
REQUIRED_PACKAGES += library/python/cffi
REQUIRED_PACKAGES += library/security/openssl
REQUIRED_PACKAGES += system/library