summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShane R. Spencer <shane@bogomip.com>2019-05-10 10:48:37 -0800
committerPeter Scheibel <scheibel1@llnl.gov>2019-05-11 03:48:37 +0900
commitdcbe798ca7c193a7cb1aaa3561fc6708bb77e2f9 (patch)
tree3f2e79320123c19f0f29a1eca85807f071aec886
parent418d9f07dcda2e0c141be0bca4595447fa09c280 (diff)
downloadspack-dcbe798ca7c193a7cb1aaa3561fc6708bb77e2f9.tar.gz
spack-dcbe798ca7c193a7cb1aaa3561fc6708bb77e2f9.tar.bz2
spack-dcbe798ca7c193a7cb1aaa3561fc6708bb77e2f9.tar.xz
spack-dcbe798ca7c193a7cb1aaa3561fc6708bb77e2f9.zip
New package: py-pycares (starting at 3.0.0) (#11340)
-rw-r--r--var/spack/repos/builtin/packages/py-pycares/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pycares/package.py b/var/spack/repos/builtin/packages/py-pycares/package.py
new file mode 100644
index 0000000000..6080f09c23
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pycares/package.py
@@ -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')