6752N/A#
6752N/A# CDDL HEADER START
6752N/A#
6752N/A# The contents of this file are subject to the terms of the
6752N/A# Common Development and Distribution License (the "License").
6752N/A# You may not use this file except in compliance with the License.
6752N/A#
6752N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6752N/A# or http://www.opensolaris.org/os/licensing.
6752N/A# See the License for the specific language governing permissions
6752N/A# and limitations under the License.
6752N/A#
6752N/A# When distributing Covered Code, include this CDDL HEADER in each
6752N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6752N/A# If applicable, add the following below this CDDL HEADER, with the
6752N/A# fields enclosed by brackets "[]" replaced with your own identifying
6752N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6752N/A#
6752N/A# CDDL HEADER END
6752N/A#
6752N/A
6752N/A#
6752N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
6752N/A#
6752N/A
6752N/Ainclude ../../../make-rules/shared-macros.mk
6752N/A
6752N/ACOMPONENT_NAME= jsonpath-rw
6752N/ACOMPONENT_VERSION= 1.4.0
6752N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
6752N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
6752N/ACOMPONENT_ARCHIVE_HASH= \
6752N/A sha256:05c471281c45ae113f6103d1268ec7a4831a2e96aa80de45edc89b11fac4fbec
6752N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
6752N/ACOMPONENT_PROJECT_URL= https://github.com/kennknowles/python-jsonpath-rw
6752N/ACOMPONENT_BUGDB= python-mod/jsonpathrw
6752N/A
6752N/ATPNO= 24545
6752N/A
6752N/Ainclude $(WS_MAKE_RULES)/prep.mk
6752N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
6752N/Ainclude $(WS_MAKE_RULES)/ips.mk
6752N/A
6752N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
6752N/A
6752N/A# Allow pkg to create the mediated link. We drop the .py extension, too, since
6752N/A# a) it's the right thing, and b) it matches Ubuntu.
6752N/ACOMPONENT_POST_INSTALL_ACTION = \
6752N/A (cd $(PROTO_DIR)/usr/bin; $(MV) jsonpath.py jsonpath-$(PYTHON_VERSION))
6752N/A
6752N/A# There's a non-ASCII UTF-8 character in the source which upsets pkgdepend when
6752N/A# run in the C locale, so explicitly set the locale to UTF-8.
6752N/ACOMPONENT_PUBLISH_ENV += LC_ALL=en_US.UTF-8
6752N/A
6752N/A# common targets
6752N/Abuild: $(BUILD_NO_ARCH)
6752N/A
6752N/Ainstall: $(INSTALL_NO_ARCH)
6752N/A
6752N/A# Tests are not bundled in the tarballs, but are available in the git repo.
6752N/A# XXX File a bug to have the tarballs include the tests? Or use the git repo
6752N/A# instead of the tarball?
6752N/Atest: $(NO_TESTS)
6752N/A
6752N/Asystem-test: $(NO_TESTS)
6752N/A
6752N/AREQUIRED_PACKAGES += library/python/setuptools-27
6752N/AREQUIRED_PACKAGES += library/python/setuptools-34
6752N/AREQUIRED_PACKAGES += library/python/setuptools-35