components/python/virtualenv/Makefile
author Laszlo Peter <laszlo.peter@oracle.com>
Wed, 07 Sep 2016 14:48:40 -0700
changeset 6844 5800d36b7861
parent 4984 7145b15b7f0d
child 7687 1093e2a9adbd
permissions -rw-r--r--
23119434 Upgrade virtualenv to 15.0.1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1607
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
#
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
#
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
#
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
#
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
#
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
#
3998
5bd484384122 PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents: 3817
diff changeset
    21
5bd484384122 PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents: 3817
diff changeset
    22
#
6844
5800d36b7861 23119434 Upgrade virtualenv to 15.0.1
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    23
# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
1607
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    24
#
6844
5800d36b7861 23119434 Upgrade virtualenv to 15.0.1
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    25
1607
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
include ../../../make-rules/shared-macros.mk
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		virtualenv
6844
5800d36b7861 23119434 Upgrade virtualenv to 15.0.1
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    29
COMPONENT_VERSION=	15.0.1
1607
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    30
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
6844
5800d36b7861 23119434 Upgrade virtualenv to 15.0.1
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    32
COMPONENT_ARCHIVE_HASH=	sha256:1a74278b8adb383ce4c7619e33c753b1eb7b58dc1e449601c096ca4b76125f84
1607
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_URL=	$(call pypi_url)
6844
5800d36b7861 23119434 Upgrade virtualenv to 15.0.1
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    34
COMPONENT_PROJECT_URL=	https://github.com/pypa/virtualenv
1607
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    35
COMPONENT_BUGDB=	python-mod/virtualenv
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    36
6844
5800d36b7861 23119434 Upgrade virtualenv to 15.0.1
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    37
TPNO=			29529
1907
446472de62e9 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents: 1607
diff changeset
    38
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    39
include $(WS_MAKE_RULES)/prep.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    40
include $(WS_MAKE_RULES)/setup.py.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    41
include $(WS_MAKE_RULES)/ips.mk
1607
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    42
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    43
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    44
6844
5800d36b7861 23119434 Upgrade virtualenv to 15.0.1
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    45
COMPONENT_POST_INSTALL_ACTION +=	\
5800d36b7861 23119434 Upgrade virtualenv to 15.0.1
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    46
    (cd $(PROTO_DIR)/usr/bin; $(MV) virtualenv virtualenv-$(PYTHON_VERSION))
5800d36b7861 23119434 Upgrade virtualenv to 15.0.1
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    47
1607
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    48
# common targets
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    49
build:		$(BUILD_NO_ARCH)
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    50
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    51
install:	$(INSTALL_NO_ARCH)
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    52
3998
5bd484384122 PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents: 3817
diff changeset
    53
# Virtualenv has tests, but only in the source repo; not in the tarballs.
1607
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    54
test:		$(NO_TESTS)
861db9bed008 PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    55
6844
5800d36b7861 23119434 Upgrade virtualenv to 15.0.1
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    56
system-test:	$(NO_TESTS)
4339
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3998
diff changeset
    57
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    58
REQUIRED_PACKAGES += library/python/setuptools-27
3998
5bd484384122 PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents: 3817
diff changeset
    59
REQUIRED_PACKAGES += library/python/setuptools-34
6844
5800d36b7861 23119434 Upgrade virtualenv to 15.0.1
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    60
REQUIRED_PACKAGES += library/python/setuptools-35