components/python/pylxml/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Wed, 09 Sep 2015 11:58:35 -0700
changeset 4847 05ee227964f9
parent 4339 6501cf9c29f9
child 5071 ee5549aeee8d
permissions -rw-r--r--
21810533 Improve various Python module download locations
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
251
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     1
#
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     3
#
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     7
#
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    12
#
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    18
#
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    20
#
1890
5a4ef66c42bf 16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents: 1434
diff changeset
    21
251
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    22
#
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3497
diff changeset
    23
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
1890
5a4ef66c42bf 16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents: 1434
diff changeset
    24
#
5a4ef66c42bf 16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents: 1434
diff changeset
    25
251
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    26
include ../../../make-rules/shared-macros.mk
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    27
4847
05ee227964f9 21810533 Improve various Python module download locations
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    28
COMPONENT_NAME=		lxml
752
cbd9239f6454 7153019 Update Python lxml bindings to latest version
Rich Burridge <rich.burridge@oracle.com>
parents: 706
diff changeset
    29
COMPONENT_VERSION=	2.3.3
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 251
diff changeset
    30
COMPONENT_PROJECT_URL=	http://lxml.de/
4847
05ee227964f9 21810533 Improve various Python module download locations
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    31
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
05ee227964f9 21810533 Improve various Python module download locations
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    32
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 752
diff changeset
    33
COMPONENT_ARCHIVE_HASH=	\
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 752
diff changeset
    34
    sha256:2a3ca34f63b062ee8e059ca2460ac18040ec9622f0a31e143383f0db944ceb36
4847
05ee227964f9 21810533 Improve various Python module download locations
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    35
COMPONENT_ARCHIVE_URL=	$(call pypi_url)
1071
cc3ecf7b3dec 15959394 Several Userland components are using the wrong BugDB cat/subcat.
Rich Burridge <rich.burridge@oracle.com>
parents: 1058
diff changeset
    36
COMPONENT_BUGDB=	python-mod/lxml
251
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    37
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1890
diff changeset
    38
TPNO=			17146
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1890
diff changeset
    39
251
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    40
# disable optimization to prevent the Studio compilers from spinning
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    41
studio_OPT.i386.32 =
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    42
studio_OPT.i386.64 =
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    43
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3497
diff changeset
    44
include $(WS_MAKE_RULES)/prep.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3497
diff changeset
    45
include $(WS_MAKE_RULES)/setup.py.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3497
diff changeset
    46
include $(WS_MAKE_RULES)/ips.mk
251
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    47
1434
c782e620dd26 17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 1071
diff changeset
    48
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
c782e620dd26 17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 1071
diff changeset
    49
1890
5a4ef66c42bf 16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents: 1434
diff changeset
    50
COMPONENT_TEST_ARGS=	test
5a4ef66c42bf 16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents: 1434
diff changeset
    51
COMPONENT_TEST_CMD=	$(MAKE) -i
5a4ef66c42bf 16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents: 1434
diff changeset
    52
COMPONENT_TEST_DIR=	$(SOURCE_DIR)
5a4ef66c42bf 16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents: 1434
diff changeset
    53
251
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    54
# common targets
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    55
build:		$(BUILD_32_and_64)
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    56
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    57
install:	$(INSTALL_32_and_64)
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    58
1890
5a4ef66c42bf 16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents: 1434
diff changeset
    59
test:		$(TEST_32_and_64)
251
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    60
4339
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3817
diff changeset
    61
system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3817
diff changeset
    62
251
f527656d334f 7041598 migrate python-2/lxml-26 from slim_prototype to userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    63
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3497
diff changeset
    64
REQUIRED_PACKAGES += library/libxml2
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3497
diff changeset
    65
REQUIRED_PACKAGES += library/libxslt
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3497
diff changeset
    66
REQUIRED_PACKAGES += system/library
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3497
diff changeset
    67
REQUIRED_PACKAGES += system/library/math