4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
21 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
22 # Copyright 2015, PALO Richard.
24 include ..
/..
/..
/make-rules
/shared-macros.mk
26 COMPONENT_NAME
= pylxml
27 COMPONENT_VERSION
= 3.5.0
29 COMPONENT_PROJECT_URL
= http
://lxml.de
/
30 COMPONENT_SRC_NAME
= lxml
31 COMPONENT_SRC
= $(COMPONENT_SRC_NAME
)-$(COMPONENT_VERSION
)
32 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).tgz
33 COMPONENT_ARCHIVE_HASH
= \
34 sha256
:349f93e3a4b09cc59418854ab8013d027d246757c51744bf20069bc89016f578
36 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)files
/$(COMPONENT_ARCHIVE
)
37 COMPONENT_BUGDB
= python-mod
/lxml
39 PYTHON_VERSIONS
= 2.7 3.4
41 include $(WS_TOP
)/make-rules
/prep.mk
42 include $(WS_TOP
)/make-rules
/setup.py.mk
43 include $(WS_TOP
)/make-rules
/ips.mk
45 ASLR_MODE
= $(ASLR_NOT_APPLICABLE
)
47 COMPONENT_TEST_ARGS
= test
48 COMPONENT_TEST_CMD
= $(MAKE
)
49 COMPONENT_TEST_DIR
= $(COMPONENT_SRC
)
50 COMPONENT_TEST_ENV
+= PYTHON
=$(PYTHON
)
51 COMPONENT_TEST_ENV
+= LC_ALL
=en_US.UTF-8
54 build
: $(BUILD_32_and_64
)
56 install: $(INSTALL_32_and_64
)
59 # ERROR: test_xmlschema_parse_fixed_attributes (lxml.tests.test_xmlschema.ETreeXMLSchemaTestCase)
60 # lxml.etree.XMLSyntaxError: Element 'b', attribute 'hardy': The value '(null)' does not match the fixed value constraint 'hey'.
61 # https://bugs.launchpad.net/lxml/+bug/1608479
62 test: $(TEST_32_and_64
)
64 REQUIRED_PACKAGES
+= library
/libxml2
65 REQUIRED_PACKAGES
+= library
/libxslt
66 REQUIRED_PACKAGES
+= runtime
/python-27
67 REQUIRED_PACKAGES
+= system
/library