summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-aiohttp-cors/package.py
blob: 8d4dd2f7d1e9cb7315cc40a418c1e5e11f74b187 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 2013-2020 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)


class PyAiohttpCors(PythonPackage):
    """aiohttp_cors library implements Cross Origin Resource Sharing (CORS)
    support for aiohttp asyncio-powered asynchronous HTTP server."""

    homepage = "https://github.com/aio-libs/aiohttp-cors"
    url      = "https://pypi.io/packages/source/a/aiohttp_cors/aiohttp-cors-0.7.0.tar.gz"

    version('0.7.0', sha256='4d39c6d7100fd9764ed1caf8cebf0eb01bf5e3f24e2e073fda6234bc48b19f5d')

    depends_on('python@3.4.1:', type=('build', 'run'))
    depends_on('py-setuptools@20.8.1:', type='build')
    depends_on('py-aiohttp@1.1:', type=('build', 'run'))
    depends_on('py-typing', when='^python@:3.4', type=('build', 'run'))