author | Alan Coopersmith <Alan.Coopersmith@Oracle.COM> |
Sun, 18 Sep 2016 10:50:41 -0700 | |
changeset 6957 | ff86c93b1c69 |
parent 6324 | 97f8b348537a |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
6324
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
20 |
# |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
21 |
|
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
22 |
# |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
23 |
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
24 |
# |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
25 |
|
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
26 |
# gobject-introspection bindings are only built correctly for gtk when building |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
27 |
# with gcc, this would otherwise build with Studio. |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
28 |
COMPILER = gcc |
6957
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
29 |
BUILD_BITS = 64_and_32 |
6324
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
30 |
include ../../../make-rules/shared-macros.mk |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
31 |
|
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
32 |
COMPONENT_NAME= pygobject |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
33 |
COMPONENT_VERSION= 3.18.2 |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
34 |
COMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/PyGObject |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE_HASH= \ |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
36 |
sha256:2a3cad1517916b74e131e6002c3824361aee0671ffb0d55ded119477fc1c2c5f |
6957
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
37 |
COMPONENT_BUGDB= gnome/libraries |
6324
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
38 |
|
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
39 |
TPNO= 25832 |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
40 |
|
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
41 |
# Needs gobject-introspection >= 1.39.0, which is not available on S11. |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
42 |
ifeq ($(BUILD_TYPE), evaluation) |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
43 |
BUILD_32_and_64= |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
44 |
INSTALL_32_and_64= |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
45 |
PUBLISH_STAMP= |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
46 |
endif |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
47 |
|
6957
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
48 |
# replicated from $(WS_MAKE_RULES)/setup.py.mk since this uses configure.mk |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
49 |
CONFIGURE_64 += $(PYTHON3_VERSIONS:%=$(BUILD_DIR)/$(MACH64)-%/.configured) |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
50 |
$(BUILD_DIR)/%-3.4/.configured: PYTHON_VERSION=3.4 |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
51 |
$(BUILD_DIR)/%-3.4/.configured: PYTHON_VENDOR_PACKAGES=$(PYTHON_VENDOR_PACKAGES.32) |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
52 |
$(BUILD_DIR)/%-3.5/.configured: PYTHON_VERSION=3.5 |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
53 |
$(BUILD_DIR)/%-3.5/.configured: PYTHON_VENDOR_PACKAGES=$(PYTHON_VENDOR_PACKAGES.32) |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
54 |
$(BUILD_DIR)/$(MACH64)-%/.configured: BITS=64 |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
55 |
|
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
56 |
BUILD_64 += $(PYTHON3_VERSIONS:%=$(BUILD_DIR)/$(MACH64)-%/.built) |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
57 |
$(BUILD_DIR)/%-3.4/.built: PYTHON_VERSION=3.4 |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
58 |
$(BUILD_DIR)/%-3.5/.built: PYTHON_VERSION=3.5 |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
59 |
$(BUILD_DIR)/$(MACH64)-%/.built: BITS=64 |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
60 |
|
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
61 |
INSTALL_64 += $(PYTHON3_VERSIONS:%=$(BUILD_DIR)/$(MACH64)-%/.installed) |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
62 |
$(BUILD_DIR)/%-3.4/.installed: PYTHON_VERSION=3.4 |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
63 |
$(BUILD_DIR)/%-3.5/.installed: PYTHON_VERSION=3.5 |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
64 |
$(BUILD_DIR)/$(MACH64)-%/.installed: BITS=64 |
6324
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
65 |
|
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
66 |
# Tests do not yet work with Userland framework - 23712631 |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
67 |
TEST_TARGET= $(SKIP_TEST) |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
68 |
include $(WS_MAKE_RULES)/gnome-component.mk |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
69 |
|
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
70 |
# Required due to patch to configure.ac. |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
71 |
COMPONENT_PREP_ACTION += ( cd $(@D) ; NOCONFIGURE=1 $(CONFIG_SHELL) autogen.sh ); |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
72 |
|
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
73 |
# Needs -std=c99 at minimum for 'NAN', etc. |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
74 |
CFLAGS += -std=c11 |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
75 |
|
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
76 |
CONFIGURE_OPTIONS += --disable-static |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
77 |
|
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
78 |
# The build process modifies the shebang line to use the version of Python |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
79 |
# automatically found; to avoid using the current system default, one is |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
80 |
# explicitly specified here. |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
81 |
CONFIGURE_OPTIONS += --with-python=$(PYTHON) |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
82 |
|
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
83 |
# Ensure Python modules are installed into vendor package directories. |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
84 |
CONFIGURE_ENV += am_cv_python_pythondir=$(PYTHON_VENDOR_PACKAGES) |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
85 |
CONFIGURE_ENV += am_cv_python_pyexecdir=$(PYTHON_VENDOR_PACKAGES) |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
86 |
|
6957
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
87 |
# Temporary until build machines install pycairo for python3 |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
88 |
PYCAIRO_BASE = $(WS_COMPONENTS)/python/pycairo/build/prototype/$(MACH) |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
89 |
PKG_CONFIG_PATHS += $(PYCAIRO_BASE)$(PKG_CONFIG_DEFAULT) |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
90 |
CPPFLAGS += -I $(PYCAIRO_BASE)/usr/include/pycairo |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
91 |
|
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
92 |
# Override $(PYTHON) for configure step so that configure can find |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
93 |
# $(PYTHON)-config properly |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
94 |
$(BUILD_DIR)/%-3.4/.configured: PYTHON=$(PYTHON.3.4)m |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
95 |
$(BUILD_DIR)/%-3.5/.configured: PYTHON=$(PYTHON.3.5)m |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
96 |
|
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
97 |
# Make install path match what autopyc transforms look for |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
98 |
COMPONENT_POST_INSTALL_ACTION += \ |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
99 |
case "$(PYTHON_VERSION)" in \ |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
100 |
2.7) $(MKDIR) $(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES.32)/gi ; \ |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
101 |
$(SYMLINK) ../64/gi $(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES.32)/gi/64 ;; \ |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
102 |
3.4) $(SYMLINK) . $(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES.32)/gi/64 ;; \ |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
103 |
esac ; |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
104 |
|
6324
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
105 |
REQUIRED_PACKAGES += library/desktop/cairo |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
106 |
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
107 |
REQUIRED_PACKAGES += library/glib2 |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
108 |
REQUIRED_PACKAGES += library/libffi |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
109 |
REQUIRED_PACKAGES += library/python/pycairo-27 |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
110 |
# Pyflakes is needed for tests, but not build or install |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
111 |
REQUIRED_PACKAGES += library/python/pyflakes |
97f8b348537a
23245351 Move pygobject 2.28.6 to Userland and add 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
112 |
REQUIRED_PACKAGES += runtime/python-27 |
6957
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
113 |
REQUIRED_PACKAGES += runtime/python-34 |
ff86c93b1c69
17702965 GObject bindings for Python3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6324
diff
changeset
|
114 |
REQUIRED_PACKAGES += runtime/python-35 |