4070N/A#
4070N/A# CDDL HEADER START
4070N/A#
4070N/A# The contents of this file are subject to the terms of the
4070N/A# Common Development and Distribution License (the "License").
4070N/A# You may not use this file except in compliance with the License.
4070N/A#
4070N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4070N/A# or http://www.opensolaris.org/os/licensing.
4070N/A# See the License for the specific language governing permissions
4070N/A# and limitations under the License.
4070N/A#
4070N/A# When distributing Covered Code, include this CDDL HEADER in each
4070N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4070N/A# If applicable, add the following below this CDDL HEADER, with the
4070N/A# fields enclosed by brackets "[]" replaced with your own identifying
4070N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4070N/A#
4070N/A# CDDL HEADER END
4070N/A#
4070N/A
4070N/A#
4070N/A# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
4070N/A#
4070N/A
4070N/Ainclude ../../../make-rules/shared-macros.mk
4070N/A
4070N/ACOMPONENT_NAME= pysendfile
4070N/ACOMPONENT_VERSION= 2.0.1
4070N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4070N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
4070N/ACOMPONENT_ARCHIVE_HASH= \
4070N/A sha256:510a414b270986fba3c79cb76d90a4c910c701bfb43ff983a5d4e92846050e17
4070N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
4070N/ACOMPONENT_PROJECT_URL= https://github.com/giampaolo/pysendfile
4070N/ACOMPONENT_BUGDB= python-mod/pysendfile
4070N/A
4070N/ATPNO= 20385
4070N/A
4070N/Ainclude $(WS_MAKE_RULES)/prep.mk
4070N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
4070N/Ainclude $(WS_MAKE_RULES)/ips.mk
4070N/A
4070N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
4070N/A
4070N/ACOMPONENT_TEST_ARGS= test/test_sendfile.py
4070N/ACOMPONENT_TEST_DIR= $(SOURCE_DIR)
4070N/ACOMPONENT_TEST_ENV= PATH=$(PROTO_DIR)/usr/bin
4070N/ACOMPONENT_TEST_ENV += PYTHONPATH=$(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES.32)
4070N/ACOMPONENT_TEST_ENV += PYTHON_VERSION=$(PYTHON_VERSION)
4070N/A
4070N/A# common targets
4070N/Abuild: $(BUILD_32_and_64)
4070N/A
4070N/Ainstall: $(INSTALL_32_and_64)
4070N/A
4070N/Atest: $(NO_TESTS)
4070N/A
4070N/A
4070N/AREQUIRED_PACKAGES += system/library