Makefile revision 5680
1633838b8255282d10af15c5c84cee5a51466712Bob Halley#
69fe9aaafdd6a141610e86a777d325db75422070Mark Andrews# CDDL HEADER START
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# The contents of this file are subject to the terms of the
1633838b8255282d10af15c5c84cee5a51466712Bob Halley# Common Development and Distribution License (the "License").
1633838b8255282d10af15c5c84cee5a51466712Bob Halley# You may not use this file except in compliance with the License.
1633838b8255282d10af15c5c84cee5a51466712Bob Halley#
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# or http://www.opensolaris.org/os/licensing.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# See the License for the specific language governing permissions
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# and limitations under the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
1633838b8255282d10af15c5c84cee5a51466712Bob Halley# fields enclosed by brackets "[]" replaced with your own identifying
138d22b316c7cd10eaa9df2ee0e3ec712a077153Bob Halley# information: Portions Copyright [yyyy] [name of copyright owner]
29747dfe5e073a299b3681e01f5c55540f8bfed7Mark Andrews#
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence# CDDL HEADER END
c92ba071011bbc09e7146729606fd9e89a9be02cBob Halley#
c92ba071011bbc09e7146729606fd9e89a9be02cBob Halley
138d22b316c7cd10eaa9df2ee0e3ec712a077153Bob Halley#
b929562c6c1afec4ffa91fef6355188c8129449aBob Halley# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
b929562c6c1afec4ffa91fef6355188c8129449aBob Halley#
b929562c6c1afec4ffa91fef6355188c8129449aBob Halleyinclude ../../../make-rules/shared-macros.mk
b929562c6c1afec4ffa91fef6355188c8129449aBob Halley
29747dfe5e073a299b3681e01f5c55540f8bfed7Mark AndrewsCOMPONENT_NAME= pyrabbit
ab023a65562e62b85a824509d829b6fad87e00b1Rob AusteinCOMPONENT_VERSION= 1.0.1
ab023a65562e62b85a824509d829b6fad87e00b1Rob AusteinCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
ab023a65562e62b85a824509d829b6fad87e00b1Rob AusteinCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
ab023a65562e62b85a824509d829b6fad87e00b1Rob AusteinCOMPONENT_ARCHIVE_HASH= \
9b27701a8d38af8c6fbdb3b0ec5efa191b56fbdaBob Halley sha256:7bc2b89fb332f62f4aaa891b1a4c8bfa38b32d154d44403afc83f00755528bdc
9b27701a8d38af8c6fbdb3b0ec5efa191b56fbdaBob HalleyCOMPONENT_ARCHIVE_URL= $(call pypi_url)
9b27701a8d38af8c6fbdb3b0ec5efa191b56fbdaBob HalleyCOMPONENT_PROJECT_URL= https://github.com/bkjones/pyrabbit
b929562c6c1afec4ffa91fef6355188c8129449aBob HalleyCOMPONENT_BUGDB= python-mod/pyrabbit
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
b929562c6c1afec4ffa91fef6355188c8129449aBob HalleyTPNO= 14503
b929562c6c1afec4ffa91fef6355188c8129449aBob Halley
b929562c6c1afec4ffa91fef6355188c8129449aBob Halley# pyrabbit itself is Python 3 ready: builds & publishes cleanly. But it
b929562c6c1afec4ffa91fef6355188c8129449aBob Halley# depends on httplib2 which has its own dependency issues (see its Makefile
b929562c6c1afec4ffa91fef6355188c8129449aBob Halley# for details). So don't build for Python 3 until dependencies resolved.
ab023a65562e62b85a824509d829b6fad87e00b1Rob AusteinPYTHON_VERSIONS= $(PYTHON2_VERSIONS)
b929562c6c1afec4ffa91fef6355188c8129449aBob Halley
b929562c6c1afec4ffa91fef6355188c8129449aBob Halleyinclude $(WS_MAKE_RULES)/prep.mk
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austeininclude $(WS_MAKE_RULES)/setup.py.mk
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austeininclude $(WS_MAKE_RULES)/ips.mk
b929562c6c1afec4ffa91fef6355188c8129449aBob Halley
ab023a65562e62b85a824509d829b6fad87e00b1Rob AusteinASLR_MODE = $(ASLR_NOT_APPLICABLE)
b929562c6c1afec4ffa91fef6355188c8129449aBob Halley
b929562c6c1afec4ffa91fef6355188c8129449aBob Halley# common targets
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austeinbuild: $(BUILD_NO_ARCH)
b929562c6c1afec4ffa91fef6355188c8129449aBob Halley
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austeininstall: $(INSTALL_NO_ARCH)
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein# pyrabbit has no tests.
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austeintest: $(NO_TESTS)
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austeinsystem-test: $(NO_TESTS)
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein