New package: py-pycares (starting at 3.0.0) (#11340)
This commit is contained in:
parent
418d9f07dc
commit
dcbe798ca7
20
var/spack/repos/builtin/packages/py-pycares/package.py
Normal file
20
var/spack/repos/builtin/packages/py-pycares/package.py
Normal file
@ -0,0 +1,20 @@
|
||||
# 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 PyPycares(PythonPackage):
|
||||
"""pycares is a Python module which provides an interface to c-ares. c-ares
|
||||
is a C library that performs DNS requests and name resolutions
|
||||
asynchronously."""
|
||||
|
||||
homepage = "https://github.com/saghul/pycares"
|
||||
url = "https://github.com/saghul/pycares/archive/pycares-3.0.0.tar.gz"
|
||||
|
||||
version('3.0.0', '5f938c037c5905ebc5617a157c654088')
|
||||
|
||||
depends_on('python@2.6:')
|
||||
depends_on('py-cffi')
|
Loading…
Reference in New Issue
Block a user