6954N/A# The contents of this file are subject to the terms of the 6954N/A# Common Development and Distribution License (the "License"). 6954N/A# You may not use this file except in compliance with the License. 6954N/A# See the License for the specific language governing permissions 6954N/A# and limitations under the License. 6954N/A# When distributing Covered Code, include this CDDL HEADER in each 6954N/A# If applicable, add the following below this CDDL HEADER, with the 6954N/A# fields enclosed by brackets "[]" replaced with your own identifying 6954N/A# information: Portions Copyright [yyyy] [name of copyright owner] 6954N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. 6954N/A# upstream delivers python2 support separately as "py2cairo" 6954N/A# Cannot run tests until build machines update to s12_105 due to bug 23763105 6959N/A# Requires newer version of cairo than we have available in S11. 6954N/A# Trick bundled waf into unpacking itself so we can patch it 6954N/A# Do not install optimised compiled .pyo files 7037N/A# This needed to be added for pycairo to build cleanly s12_109 onwards 6954N/A# The bundled waf compiles to the old pre-python-3.2 locations, so 6954N/A# tell it not to bother, and take care of it ourselves 6954N/A# waf picks up the PYTHONDIR & PYTHONARCHDIR settings at configure time, 6954N/A# but still insists on installing to site-packages instead of vendor-packages 6954N/A# the test scripts aren't hooked into the test target in pycairo, so run directly