summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-lxml/package.py
blob: 6c86cf72be05d242e03791e0305367736c07b7ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack import *


class PyLxml(PythonPackage):
    """lxml is the most feature-rich and easy-to-use library for processing
    XML and HTML in the Python language."""

    homepage = "http://lxml.de/"
    url      = "https://pypi.io/packages/source/l/lxml/lxml-2.3.tar.gz"

    version('4.2.5', 'ce042575c4459c4994f68b9a862a72a4')
    version('3.7.3', '075692ce442e69bbd604d44e21c02753')
    version('2.3', 'a245a015fd59b63e220005f263e1682a')

    depends_on('py-setuptools@0.6c5:', type='build')
    depends_on('py-cython@0.20:', type='build')
    depends_on('libxml2', type=('build', 'run'))
    depends_on('libxslt', type=('build', 'run'))