summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-bleach/package.py
blob: 728ac4ff9e06aff5ab038ed37cb9535acff7b414 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2018 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 PyBleach(PythonPackage):
    """An easy whitelist-based HTML-sanitizing tool."""

    homepage = "http://github.com/mozilla/bleach"
    url      = "https://pypi.io/packages/source/b/bleach/bleach-1.5.0.tar.gz"

    version('1.5.0', 'b663300efdf421b3b727b19d7be9c7e7')

    depends_on('python@2.6:2.8,3.2:3.5')
    depends_on('py-setuptools', type='build')
    depends_on('py-six', type=('build', 'run'))
    depends_on('py-html5lib@0.999,0.999999:0.9999999', type=('build', 'run'))