author | John Beck <John.Beck@Oracle.COM> |
Mon, 27 Mar 2017 15:35:14 -0700 | |
branch | s11u3-sru |
changeset 7811 | 9126e6f58cd8 |
parent 3996 | 20c0f21bbe1e |
permissions | -rw-r--r-- |
2695
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
20 |
# |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
21 |
|
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
22 |
# |
3789
137fdcb27c8e
16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents:
3778
diff
changeset
|
23 |
# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. |
2695
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
24 |
# |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
25 |
|
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
26 |
include ../../../make-rules/shared-macros.mk |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
27 |
|
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= Twisted |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
29 |
COMPONENT_VERSION= 10.1.0 |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
30 |
COMPONENT_PROJECT_URL= http://twistedmatrix.com/trac/ |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
31 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
33 |
COMPONENT_ARCHIVE_HASH= \ |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
34 |
sha256:eda6e0e9e5ef6f6c19ab75bcb094f83a12ee25fe589fbcddf946e8a655c8070b |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE_URL= http://tmrc.mit.edu/mirror/twisted/$(COMPONENT_NAME)/10.1/$(COMPONENT_ARCHIVE) |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
36 |
COMPONENT_BUGDB= python-mod/twisted |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
37 |
|
3661
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
2910
diff
changeset
|
38 |
TPNO= 9692 |
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
2910
diff
changeset
|
39 |
|
3778
35735ffdda43
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
40 |
# Syntax issues: not Python 3 ready. |
7811
9126e6f58cd8
PSARC 2014/190 Python 2.6 EOF
John Beck <John.Beck@Oracle.COM>
parents:
3996
diff
changeset
|
41 |
PYTHON_VERSIONS= $(PYTHON2_VERSIONS) |
3778
35735ffdda43
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
42 |
|
3996
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3789
diff
changeset
|
43 |
include $(WS_MAKE_RULES)/prep.mk |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3789
diff
changeset
|
44 |
include $(WS_MAKE_RULES)/setup.py.mk |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3789
diff
changeset
|
45 |
include $(WS_MAKE_RULES)/ips.mk |
2695
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
46 |
|
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
47 |
COMPONENT_TEST_DIR= $(COMPONENT_SRC) |
3778
35735ffdda43
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
48 |
COMPONENT_TEST_CMD= $(@D)/scripts-$(PYTHON_VERSION)/trial twisted |
2695
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
49 |
COMPONENT_TEST_ARGS="" |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
50 |
|
2910
f8b8cbc43356
15801420 SUNBT7180909 tag the Userland consolidation binaries for ASLR
April Chin <april.chin@oracle.com>
parents:
2695
diff
changeset
|
51 |
ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
2695
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
52 |
|
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
53 |
# common targets |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
54 |
build: $(BUILD_32_and_64) |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
55 |
|
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
56 |
install: $(INSTALL_32_and_64) |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
57 |
|
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
58 |
# There are no automated tests yet, but the built-in unit tests can be run |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
59 |
# manually with: |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
60 |
# |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
61 |
# $ cd .../components/python/twisted/Twisted-10.1.0 |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
62 |
# $ ../build/i86-2.6/scripts-2.6/trial twisted |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
63 |
# $ ../build/i86-2.7/scripts-2.7/trial twisted |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
64 |
# |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
65 |
test: $(TEST_32_and_64) |
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
66 |
|
212ca0502cbd
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
67 |
|
3996
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3789
diff
changeset
|
68 |
REQUIRED_PACKAGES += system/library |