Makefile revision 6486
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff# CDDL HEADER START
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff# The contents of this file are subject to the terms of the
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff# Common Development and Distribution License (the "License").
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff# You may not use this file except in compliance with the License.
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff# See the License for the specific language governing permissions
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff# and limitations under the License.
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff# When distributing Covered Code, include this CDDL HEADER in each
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff# If applicable, add the following below this CDDL HEADER, with the
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff# fields enclosed by brackets "[]" replaced with your own identifying
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff# information: Portions Copyright [yyyy] [name of copyright owner]
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff# CDDL HEADER END
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael GraffCOMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael GraffCOMPONENT_PROJECT_URL= http://cairographics.org/pycairo/
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff sha256:b15f71019e42e06d86f7e8fe5587f07c3de5a59a6c3a071b25fe100796dbcd56
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael GraffCOMPONENT_ARCHIVE_URL= http://cairographics.org/releases/$(COMPONENT_ARCHIVE)
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff# upstream delivers python3 support separately as "pycairo" (without the "2")
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff# Parent package was not version-unlockable in gnome-incorporation =>
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff# do-not-publish.
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff# the test scripts aren't hooked into the test target in pycairo, so run directly
66bd3b3c6b171271c705b897823dcdcf29464698Michael GraffCOMPONENT_TEST_ARGS = /usr/bin/py.test-$(PYTHON_VERSION)
66bd3b3c6b171271c705b897823dcdcf29464698Michael GraffCOMPONENT_TEST_TRANSFORMS += '-e "s|in [0-9\.]* seconds||g" '
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael GraffCOMPONENT_TEST_TRANSFORMS += '-e "s|Python 2.7.[0-9]*|Python 2.7|g" '
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael GraffCOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff# py.test is required for testing, not building or runtime