Makefile revision 3789
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# CDDL HEADER START
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# The contents of this file are subject to the terms of the
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Common Development and Distribution License (the "License").
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# You may not use this file except in compliance with the License.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# or http://www.opensolaris.org/os/licensing.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# See the License for the specific language governing permissions
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# and limitations under the License.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# When distributing Covered Code, include this CDDL HEADER in each
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# If applicable, add the following below this CDDL HEADER, with the
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# CDDL HEADER END
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncinclude ../../../make-rules/shared-macros.mk
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_NAME= python-ldap
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_VERSION= 2.4.10
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_ARCHIVE_HASH= \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync sha256:67cc7801bf24c29386ab99966ceb68d6a60fa9e0566cc95a4fbb2c4695a8ce54
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_ARCHIVE_URL= $(call pypi_url)
7e032664d31552364e83b411950d6e7c96b0b880vboxsyncCOMPONENT_PROJECT_URL= http://www.python-ldap.org/
49ad08ab15f3b96d2d5ba5134a0506dd7b27fdf1vboxsyncCOMPONENT_BUGDB= python-mod/python-ldap
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncTPNO= 14503
49ad08ab15f3b96d2d5ba5134a0506dd7b27fdf1vboxsync
49ad08ab15f3b96d2d5ba5134a0506dd7b27fdf1vboxsync# This module has syntax issues and thus is not Python 3 ready.
49ad08ab15f3b96d2d5ba5134a0506dd7b27fdf1vboxsyncPYTHON_VERSIONS = 2.7 2.6
f22cba796fd7499bf85058671a1af7cbe491c622vboxsync
f22cba796fd7499bf85058671a1af7cbe491c622vboxsyncinclude $(WS_TOP)/make-rules/prep.mk
f22cba796fd7499bf85058671a1af7cbe491c622vboxsyncinclude $(WS_TOP)/make-rules/setup.py.mk
f22cba796fd7499bf85058671a1af7cbe491c622vboxsyncinclude $(WS_TOP)/make-rules/ips.mk
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncASLR_MODE = $(ASLR_NOT_APPLICABLE)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_TEST_DIR = $(SOURCE_DIR)/Tests
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_TEST_CMD = $(SHELL)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_TEST_ARGS = runtests.sh
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_TEST_ENV += PYTHONPATH=$(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES.32)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Needed to create a unique temporary directory.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCOMPONENT_TEST_ENV += BUILD_DIR=$(BUILD_DIR)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# common targets
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncbuild: $(BUILD_32_and_64)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncinstall: $(INSTALL_32_and_64)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Two tests are known to fail. These failures are not critical.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# One fails because it says the library does not throw a value error on a
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# bad URL. This one fails, as the bad url it is trying is an edge case:
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# ldap:///????? and not that important. The OpenLDAP library doesn't
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# have the necessary code to check for that case and error out. We (or
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# someone from the python-ldap team) would have to log an OpenLDAP bug,
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# propose a fix to the code, see it integrated, wait for a release, and
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# integrate the new release into Userland.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# The other failure is for a test case that has a comment before the test case:
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# # these two constants are pointless? XXX
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# The answer being yes. And the constants are not defined in the latest
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# version of python-ldap.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsynctest: $(TEST_32_and_64)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncinclude $(WS_TOP)/make-rules/depend.mk
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync