Makefile revision 3661
6ee667aeeb284b652e256ad1d792b0fb6c28fabaLennart Poettering#
643a14a5271ed19ec30a9882d4b9e9ae1c357fb1Lennart Poettering# CDDL HEADER START
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering#
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# The contents of this file are subject to the terms of the
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers# Common Development and Distribution License (the "License").
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers# You may not use this file except in compliance with the License.
91e8651b6e3acf77c0fc51febe70b94afcd81b7dZbigniew Jędrzejewski-Szmek#
912b54ad47e1597c1744ccd936368b0eb1468b16David Strauss# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# or http://www.opensolaris.org/os/licensing.
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# See the License for the specific language governing permissions
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering# and limitations under the License.
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering#
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# When distributing Covered Code, include this CDDL HEADER in each
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# If applicable, add the following below this CDDL HEADER, with the
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# fields enclosed by brackets "[]" replaced with your own identifying
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# information: Portions Copyright [yyyy] [name of copyright owner]
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering#
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# CDDL HEADER END
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering#
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering#
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sieversinclude ../../../make-rules/shared-macros.mk
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-SzmekCOMPONENT_NAME= pytest
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringCOMPONENT_VERSION= 2.3.5
3e2147858f21943d5f4a781c60f33ac22c6096edKay SieversCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3e2147858f21943d5f4a781c60f33ac22c6096edKay SieversCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
96bd03d5b8d5d04fc8037c03a43bb5b148cc1e29Zbigniew Jędrzejewski-SzmekCOMPONENT_ARCHIVE_HASH= \
96bd03d5b8d5d04fc8037c03a43bb5b148cc1e29Zbigniew Jędrzejewski-Szmek sha256:804c28bef415fc6a54de7934f05b2d67a9cc8a230de98685fca274d9fcbe8b1c
96bd03d5b8d5d04fc8037c03a43bb5b148cc1e29Zbigniew Jędrzejewski-SzmekCOMPONENT_ARCHIVE_URL= $(call pypi_url)
652e737517bbbae692923246aeb687e2d1f314efZbigniew Jędrzejewski-SzmekCOMPONENT_PROJECT_URL= https://pypi.python.org/pypi/pytest
652e737517bbbae692923246aeb687e2d1f314efZbigniew Jędrzejewski-SzmekCOMPONENT_BUGDB= python-mod/pytest
652e737517bbbae692923246aeb687e2d1f314efZbigniew Jędrzejewski-Szmek
c2654883624885696edccd2a202873998ec208f1Holger Hans Peter FreytherTPNO= 14503
e7c431d3bcfdeeec5dcae0707145edb9a3f749aaHolger Hans Peter Freyther
c2654883624885696edccd2a202873998ec208f1Holger Hans Peter Freytherinclude $(WS_TOP)/make-rules/prep.mk
cd4010b37349413db1e553e213e62e654ca28113Lennart Poetteringinclude $(WS_TOP)/make-rules/setup.py.mk
cd4010b37349413db1e553e213e62e654ca28113Lennart Poetteringinclude $(WS_TOP)/make-rules/ips.mk
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering
3e2147858f21943d5f4a781c60f33ac22c6096edKay SieversCOMPONENT_TEST_DIR = $(COMPONENT_SRC)/testing
62ca29b81b5f19007889439b744a16776607a55eLennart PoetteringCOMPONENT_TEST_CMD = $(PROTOUSRBINDIR)/py.test
62ca29b81b5f19007889439b744a16776607a55eLennart PoetteringCOMPONENT_TEST_ARGS = test_assertion.py
62ca29b81b5f19007889439b744a16776607a55eLennart Poettering
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien NoceraASLR_MODE = $(ASLR_NOT_APPLICABLE)
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering
62ca29b81b5f19007889439b744a16776607a55eLennart Poettering# common targets
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poetteringbuild: $(BUILD_NO_ARCH)
74b91131ed09850ed487a2f7849147ff6f80194dLennart Poettering
114a50f898a89bd7784c215ac5df95ec8c45a905Lennart Poetteringinstall: $(INSTALL_NO_ARCH)
62ca29b81b5f19007889439b744a16776607a55eLennart Poettering
114a50f898a89bd7784c215ac5df95ec8c45a905Lennart Poettering# Tests require the py package to be installed.
114a50f898a89bd7784c215ac5df95ec8c45a905Lennart Poetteringtest: $(TEST_NO_ARCH)
4b2d99d9f4258a29f0bf8b1a78d17836e75bc378Lennart Poettering
62ca29b81b5f19007889439b744a16776607a55eLennart PoetteringBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
4b2d99d9f4258a29f0bf8b1a78d17836e75bc378Lennart Poettering
4b2d99d9f4258a29f0bf8b1a78d17836e75bc378Lennart Poetteringinclude $(WS_TOP)/make-rules/depend.mk
c01995635d14840074c2ff17a153b76edd0bf1b9Lennart Poettering