234N/A#
234N/A# CDDL HEADER START
234N/A#
234N/A# The contents of this file are subject to the terms of the
234N/A# Common Development and Distribution License (the "License").
234N/A# You may not use this file except in compliance with the License.
234N/A#
234N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
234N/A# or http://www.opensolaris.org/os/licensing.
234N/A# See the License for the specific language governing permissions
234N/A# and limitations under the License.
234N/A#
234N/A# When distributing Covered Code, include this CDDL HEADER in each
234N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
234N/A# If applicable, add the following below this CDDL HEADER, with the
234N/A# fields enclosed by brackets "[]" replaced with your own identifying
234N/A# information: Portions Copyright [yyyy] [name of copyright owner]
234N/A#
234N/A# CDDL HEADER END
234N/A#
3789N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
234N/A#
234N/Ainclude ../../../make-rules/shared-macros.mk
234N/A
234N/APATH=/usr/bin:/usr/gnu/bin:/usr/sbin
234N/A
234N/ACOMPONENT_NAME= pycups
234N/ACOMPONENT_VERSION= 1.9.46
618N/ACOMPONENT_PROJECT_URL= http://cyberelk.net/tim/software/pycups/
234N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
234N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:74abd1d6b1a5b8a22d2ccf3730000848fcef0b63c6105b178f73ff76e72bc8fe
234N/ACOMPONENT_ARCHIVE_URL= http://cyberelk.net/tim/data/pycups/$(COMPONENT_ARCHIVE)
1273N/ACOMPONENT_BUGDB= python-mod/pycups
234N/A
3661N/ATPNO= 9025
3661N/A
3778N/A# Fails to compile: not Python 3 ready.
3789N/APYTHON_VERSIONS= 2.7 2.6
3778N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
234N/A
234N/A# pycups requires VERSION to be defined. Originally set in the package Makefile
234N/ACFLAGS += -DVERSION=\\\"$(COMPONENT_VERSION)\\\"
234N/A
234N/A# common targets
234N/Abuild: $(BUILD_32_and_64)
234N/A
234N/Ainstall: $(INSTALL_32_and_64)
234N/A
234N/Atest: $(NO_TESTS)
234N/A
234N/A
3996N/AREQUIRED_PACKAGES += library/print/cups-libs
3996N/AREQUIRED_PACKAGES += system/library