Makefile revision 5568
2400N/A#
2400N/A# CDDL HEADER START
2400N/A#
2400N/A# The contents of this file are subject to the terms of the
2400N/A# Common Development and Distribution License (the "License").
2400N/A# You may not use this file except in compliance with the License.
2400N/A#
2400N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2400N/A# or http://www.opensolaris.org/os/licensing.
2400N/A# See the License for the specific language governing permissions
2400N/A# and limitations under the License.
2400N/A#
2400N/A# When distributing Covered Code, include this CDDL HEADER in each
2400N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2400N/A# If applicable, add the following below this CDDL HEADER, with the
2400N/A# fields enclosed by brackets "[]" replaced with your own identifying
2400N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2400N/A#
2400N/A# CDDL HEADER END
2400N/A#
5680N/A
5680N/A#
6191N/A# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
2400N/A#
2400N/A
2400N/Ainclude ../../../make-rules/shared-macros.mk
2400N/A
6191N/ACOMPONENT_NAME= cryptography
2400N/ACOMPONENT_VERSION= 1.2.3
2400N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2400N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
6191N/ACOMPONENT_ARCHIVE_HASH= \
2400N/A sha256:8eb11c77dd8e73f48df6b2f7a7e16173fe0fe8fdfe266232832e88477e08454e
2400N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
2400N/ACOMPONENT_PROJECT_URL= https://cryptography.io/
2400N/ACOMPONENT_BUGDB= python-mod/cryptography
6191N/A
2400N/ATPNO= 27254
3817N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
2400N/Ainclude $(WS_MAKE_RULES)/ips.mk
2400N/A
2400N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
2818N/A
2818N/A# Use the CFFI version in the gate because if the CFFI version changes
2818N/A# everything using CFFI will break.
2818N/ACFFI = $(WS_COMPONENTS)/python/cffi/build/prototype/$(MACH)/$(PYTHON_LIB)
2400N/A
2400N/ACOMPONENT_BUILD_ENV += PYTHONPATH=$(CFFI)
2400N/ACOMPONENT_INSTALL_ENV += PYTHONPATH=$(CFFI)
2400N/A
2400N/A# common targets
2400N/Abuild: $(BUILD_32_and_64)
2400N/A
2400N/Ainstall: $(INSTALL_32_and_64)
2400N/A
2400N/A#
4337N/A# tests require cryptography_vectors, iso8601, pretend, pytest>= 2.8.7,
4337N/A# hypothesis>=1.11.4 and pyasn1_modules, some of which have not yet integrated.
# On a i386 kernel zone with the test dependencies installed, test results are:
# Python2.7: 74000 passed, 6136 skipped
# Python3.4: 74000 passed, 6136 skipped
# Python3.5: 74000 passed, 6136 skipped
#
test: $(NO_TESTS)
system-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
REQUIRED_PACKAGES += library/python/cffi
REQUIRED_PACKAGES += library/security/openssl
REQUIRED_PACKAGES += system/library