summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pytest-httpbin/package.py
blob: 0782f761d4128406d7535e314aecc970a9d3920b (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-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 PyPytestHttpbin(PythonPackage):
    """Easily test your HTTP library against a local copy of httpbin"""

    homepage = "https://github.com/kevin1024/pytest-httpbin"
    url      = "https://pypi.io/packages/source/p/pytest-httpbin/pytest-httpbin-0.2.3.tar.gz"

    version('0.2.3', 'b8ebb8e2fbac1a445fb5d044f7fec556')

    extends('python', ignore=r'bin/flask')

    depends_on('py-setuptools', type='build')
    depends_on('py-flask',      type=('build', 'run'))
    depends_on('py-decorator',  type=('build', 'run'))
    depends_on('py-httpbin',    type=('build', 'run'))
    depends_on('py-six',        type=('build', 'run'))