components/python/pyopenssl/Makefile
author Girish Moodalbail <Girish.Moodalbail@oracle.COM>
Fri, 18 Apr 2014 18:22:59 -0700
branchs11-update
changeset 3088 3f570a6d19b9
parent 2796 c5bf1ff321c2
child 3661 47545fb8aed4
child 4156 4b1def16fe9b
permissions -rw-r--r--
18610375 Terminating a VM instance doesn't release floating ip associated with it 17975048 'neutron subnet-create' has problems with gateway IPs
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
99
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     1
#
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     3
#
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     7
#
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    12
#
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    18
#
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    20
#
2468
ac31ae1adcff 16172230 Need to adjust COMPONENT_BUGDB for net-ssleay and pyopenssl
Rich Burridge <rich.burridge@oracle.com>
parents: 2434
diff changeset
    21
# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
99
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    22
#
127
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 99
diff changeset
    23
include ../../../make-rules/shared-macros.mk
99
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    24
2796
c5bf1ff321c2 17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents: 2468
diff changeset
    25
PATH=/usr/bin:/usr/sbin
99
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    26
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    27
COMPONENT_NAME=		pyOpenSSL
2796
c5bf1ff321c2 17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents: 2468
diff changeset
    28
COMPONENT_VERSION=	0.13
99
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    29
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 706
diff changeset
    31
COMPONENT_ARCHIVE_HASH=	\
2796
c5bf1ff321c2 17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents: 2468
diff changeset
    32
    sha256:21e12b03abaa0e04ecc8cd9c251598f71bae11c9f385304234e4ea5618c6163b
c5bf1ff321c2 17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents: 2468
diff changeset
    33
COMPONENT_ARCHIVE_URL=  $(call pypi_url)
c5bf1ff321c2 17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents: 2468
diff changeset
    34
COMPONENT_PROJECT_URL=  https://launchpad.net/pyopenssl
2468
ac31ae1adcff 16172230 Need to adjust COMPONENT_BUGDB for net-ssleay and pyopenssl
Rich Burridge <rich.burridge@oracle.com>
parents: 2434
diff changeset
    35
COMPONENT_BUGDB=	python-mod/pyopenssl
99
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    36
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    37
include $(WS_TOP)/make-rules/prep.mk
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    38
include $(WS_TOP)/make-rules/setup.py.mk
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    39
include $(WS_TOP)/make-rules/ips.mk
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    40
2796
c5bf1ff321c2 17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents: 2468
diff changeset
    41
COMPONENT_TEST_DIR = $(COMPONENT_SRC)/OpenSSL/test
c5bf1ff321c2 17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents: 2468
diff changeset
    42
# The .so files are under ./OpenSSL/64 not ./64/OpenSSL so the
c5bf1ff321c2 17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents: 2468
diff changeset
    43
# $(PYTHON_VENDOR_PACKAGES) variable for 64bit Python is wrong.
c5bf1ff321c2 17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents: 2468
diff changeset
    44
# Everything works fine if we just add the 32bit path.
c5bf1ff321c2 17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents: 2468
diff changeset
    45
COMPONENT_TEST_ENV += PYTHONPATH=$(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES.32)
c5bf1ff321c2 17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents: 2468
diff changeset
    46
COMPONENT_TEST_CMD = $(SHELL)
c5bf1ff321c2 17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents: 2468
diff changeset
    47
COMPONENT_TEST_ARGS = $(COMPONENT_DIR)/files/runtests
c5bf1ff321c2 17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents: 2468
diff changeset
    48
99
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    49
# common targets
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    50
build:		$(BUILD_32_and_64)
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    51
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    52
install:	$(INSTALL_32_and_64)
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    53
2796
c5bf1ff321c2 17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents: 2468
diff changeset
    54
test:		$(TEST_32_and_64)
99
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    55
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    56
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    57
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    58
include $(WS_TOP)/make-rules/depend.mk