author | Rich Burridge <rich.burridge@oracle.com> |
Wed, 14 Aug 2013 10:54:58 -0700 | |
changeset 1434 | c782e620dd26 |
parent 1104 | c62d7e76bc87 |
child 1907 | 446472de62e9 |
permissions | -rw-r--r-- |
1104
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
# |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
# |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
# |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
# |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
18 |
# |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
20 |
# |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
21 |
|
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
22 |
# |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
23 |
# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
24 |
# |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
25 |
|
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
26 |
include ../../../make-rules/shared-macros.mk |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
27 |
|
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= ipython |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_VERSION= 0.10 |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_PROJECT_URL= http://ipython.org/ |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_ARCHIVE_HASH= \ |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
34 |
sha256:60d602637dc5f078b083a4ca5ab64364ba816bd72439844012ed11a30f88228c |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE_URL= http://archive.ipython.org/release/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
36 |
COMPONENT_BUGDB= python-mod/ipython |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
37 |
|
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
38 |
include $(WS_TOP)/make-rules/prep.mk |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
39 |
include $(WS_TOP)/make-rules/setup.py.mk |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
40 |
include $(WS_TOP)/make-rules/ips.mk |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
41 |
|
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
42 |
# Replace "#!/usr/bin/env ..." shebang lines with properly versioned ones. |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
43 |
COMPONENT_PRE_BUILD_ACTION = \ |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
44 |
/usr/bin/find $(SOURCE_DIR) -name *.py \ |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
45 |
-exec $(GSED) -i -e 's/env python/python$(PYTHON_VERSION)/' "{}" \; ; |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
46 |
|
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
47 |
# Unpack the ipython man pages. |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
48 |
COMPONENT_POST_UNPACK_ACTION = \ |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
49 |
(cd $(SOURCE_DIR)/docs/man; /usr/bin/gunzip * ) |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
50 |
|
1434
c782e620dd26
17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
1104
diff
changeset
|
51 |
ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
c782e620dd26
17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
1104
diff
changeset
|
52 |
|
1104
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
53 |
# common targets |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
54 |
build: $(BUILD_32) |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
55 |
|
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
56 |
install: $(INSTALL_32) |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
57 |
|
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
58 |
test: $(NO_TESTS) |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
59 |
|
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
60 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
61 |
|
c62d7e76bc87
15820218 SUNBT7202658 Move python/ipython from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
62 |
include $(WS_TOP)/make-rules/depend.mk |