summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-07-30 17:13:02 -0500
committerGitHub <noreply@github.com>2019-07-30 17:13:02 -0500
commitc1c5f58d12ff9a8e532de971c28e3676915a7117 (patch)
tree47d8f66082c4139be2830ad391dcd35ee3b1c1a9 /var
parentb34da4e108b7441d26ca6c02871cba65a0530566 (diff)
downloadspack-c1c5f58d12ff9a8e532de971c28e3676915a7117.tar.gz
spack-c1c5f58d12ff9a8e532de971c28e3676915a7117.tar.bz2
spack-c1c5f58d12ff9a8e532de971c28e3676915a7117.tar.xz
spack-c1c5f58d12ff9a8e532de971c28e3676915a7117.zip
Add py-cairocffi package (#12161)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-cairocffi/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-cairocffi/package.py b/var/spack/repos/builtin/packages/py-cairocffi/package.py
new file mode 100644
index 0000000000..ccc9b83ef1
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-cairocffi/package.py
@@ -0,0 +1,27 @@
+# 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 PyCairocffi(PythonPackage):
+ """cairocffi is a CFFI-based drop-in replacement for Pycairo, a set of
+ Python bindings and object-oriented API for cairo. Cairo is a 2D vector
+ graphics library with support for multiple backends including image
+ buffers, PNG, PostScript, PDF, and SVG file output."""
+
+ homepage = "https://github.com/Kozea/cairocffi"
+ url = "https://pypi.io/packages/source/c/cairocffi/cairocffi-1.0.2.tar.gz"
+ import_modules = ['cairocffi']
+
+ version('1.0.2', sha256='01ac51ae12c4324ca5809ce270f9dd1b67f5166fe63bd3e497e9ea3ca91946ff')
+
+ depends_on('python@3.5:', type=('build', 'run'))
+ depends_on('py-setuptools@39.2.0:', type='build')
+ depends_on('py-cffi@1.1.0:', type=('build', 'run'))
+ depends_on('py-pytest-runner', type='test')
+ depends_on('py-pytest-cov', type='test')
+ depends_on('py-pytest-flake8', type='test')
+ depends_on('py-pytest-isort', type='test')