5dcc4caecdb1380e5a46ea4590fa7f4d123a8a18
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / python-lxml / python-lxml.mk
1 ################################################################################
2 #
3 # python-lxml
4 #
5 ################################################################################
6
7 PYTHON_LXML_VERSION = 3.4.2
8 PYTHON_LXML_SITE = http://lxml.de/files
9 PYTHON_LXML_SOURCE = lxml-$(PYTHON_LXML_VERSION).tgz
10
11 # Not including the GPL, because it is used only for the test scripts.
12 PYTHON_LXML_LICENSE = BSD-3c, Others
13 PYTHON_LXML_LICENSE_FILES = \
14         LICENSES.txt \
15         doc/licenses/BSD.txt \
16         doc/licenses/elementtree.txt \
17         src/lxml/isoschematron/resources/rng/iso-schematron.rng
18
19 # python-lxml can use either setuptools, or distutils as a fallback.
20 # So, we use setuptools.
21 PYTHON_LXML_SETUP_TYPE = setuptools
22
23 PYTHON_LXML_DEPENDENCIES = libxml2 libxslt zlib
24
25 # python-lxml needs these scripts in order to properly detect libxml2 and
26 # libxslt compiler and linker flags
27 PYTHON_LXML_BUILD_OPTS = \
28         --with-xslt-config=$(STAGING_DIR)/usr/bin/xslt-config \
29         --with-xml2-config=$(STAGING_DIR)/usr/bin/xml2-config
30
31 $(eval $(python-package))