author | Jiri Sasek <Jiri.Sasek@Oracle.COM> |
Fri, 14 Oct 2016 00:06:47 -0700 | |
branch | s11u3-sru |
changeset 7106 | d583491a2248 |
parent 3996 | 20c0f21bbe1e |
permissions | -rw-r--r-- |
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 |
# |
3996
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3661
diff
changeset
|
21 |
# Copyright (c) 2011, 2015, 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 |
|
3661
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
2796
diff
changeset
|
37 |
TPNO= 9207 |
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
2796
diff
changeset
|
38 |
|
3996
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3661
diff
changeset
|
39 |
include $(WS_MAKE_RULES)/prep.mk |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3661
diff
changeset
|
40 |
include $(WS_MAKE_RULES)/setup.py.mk |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3661
diff
changeset
|
41 |
include $(WS_MAKE_RULES)/ips.mk |
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
42 |
|
2796
c5bf1ff321c2
17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
2468
diff
changeset
|
43 |
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
|
44 |
# 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
|
45 |
# $(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
|
46 |
# 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
|
47 |
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
|
48 |
COMPONENT_TEST_CMD = $(SHELL) |
c5bf1ff321c2
17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
2468
diff
changeset
|
49 |
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
|
50 |
|
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
51 |
# common targets |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
52 |
build: $(BUILD_32_and_64) |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
53 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
54 |
install: $(INSTALL_32_and_64) |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
55 |
|
2796
c5bf1ff321c2
17085362 pyopenssl should be updated to 0.13
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
2468
diff
changeset
|
56 |
test: $(TEST_32_and_64) |
99
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 |
|
3996
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3661
diff
changeset
|
59 |
REQUIRED_PACKAGES += library/security/openssl |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3661
diff
changeset
|
60 |
REQUIRED_PACKAGES += system/library |