summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhealther <healther@users.noreply.github.com>2017-03-03 15:00:01 +0100
committerAdam J. Stewart <ajstewart426@gmail.com>2017-03-03 08:00:01 -0600
commit2d395d7d75d9168c3eaadb4f940f654a445d0784 (patch)
tree4d5fd85d47f7f075a1336e2331bac3e8918feed4
parentac0fa0ca6e461c4022eba90d74791cd97f48e1aa (diff)
downloadspack-2d395d7d75d9168c3eaadb4f940f654a445d0784.tar.gz
spack-2d395d7d75d9168c3eaadb4f940f654a445d0784.tar.bz2
spack-2d395d7d75d9168c3eaadb4f940f654a445d0784.tar.xz
spack-2d395d7d75d9168c3eaadb4f940f654a445d0784.zip
add package py-qtpy (#3307)
* add package py-qtpy * (re)added qt dependence * changed url
-rw-r--r--var/spack/repos/builtin/packages/py-qtpy/package.py37
1 files changed, 37 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-qtpy/package.py b/var/spack/repos/builtin/packages/py-qtpy/package.py
new file mode 100644
index 0000000000..aeaf012999
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-qtpy/package.py
@@ -0,0 +1,37 @@
+##############################################################################
+# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
+# Produced at the Lawrence Livermore National Laboratory.
+#
+# This file is part of Spack.
+# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
+# LLNL-CODE-647188
+#
+# For details, see https://github.com/llnl/spack
+# Please also see the LICENSE file for our notice and the LGPL.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License (as
+# published by the Free Software Foundation) version 2.1, February 1999.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
+# conditions of the GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##############################################################################
+from spack import *
+
+
+class PyQtpy(PythonPackage):
+ """QtPy: Abtraction layer for PyQt5/PyQt4/PySide"""
+
+ homepage = "https://github.com/spyder-ide/qtpy"
+ url = "https://pypi.io/packages/source/Q/QtPy/QtPy-1.2.1.tar.gz"
+
+ version('1.2.1', 'e2f783fb7f8e502815237bd8d30c6d11')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-pyqt@4:', type=('build', 'run'))