diff options
author | healther <healther@users.noreply.github.com> | 2017-03-08 17:18:57 +0100 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2017-03-08 10:18:57 -0600 |
commit | bacb60457d0490f4fd4ab4132006e8099e65535e (patch) | |
tree | f0de2e9ddf6cec2f8a0192a409f068029301d437 /var | |
parent | f1d66467e33e26c5d4e73cf94858c6222a8ca00b (diff) | |
download | spack-bacb60457d0490f4fd4ab4132006e8099e65535e.tar.gz spack-bacb60457d0490f4fd4ab4132006e8099e65535e.tar.bz2 spack-bacb60457d0490f4fd4ab4132006e8099e65535e.tar.xz spack-bacb60457d0490f4fd4ab4132006e8099e65535e.zip |
Add package py-guiqwt and dependencies (#3334)
* add package py-guiqwt with dependencies
* fixed url
* fixed url2
* Update package.py
* Update package.py
Diffstat (limited to 'var')
4 files changed, 169 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-guidata/package.py b/var/spack/repos/builtin/packages/py-guidata/package.py new file mode 100644 index 0000000000..57863de39c --- /dev/null +++ b/var/spack/repos/builtin/packages/py-guidata/package.py @@ -0,0 +1,40 @@ +############################################################################## +# 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 PyGuidata(PythonPackage): + """Automatic graphical user interfaces generation for easy dataset editing + and display""" + + homepage = "https://github.com/PierreRaybaut/guidata" + url = "https://pypi.io/packages/source/g/guidata/guidata-1.7.5.zip" + + version('1.7.5', '915188c02ad3c89951ee260db65d84a7') + + depends_on('py-setuptools', type='build') + depends_on('py-pyqt@4:', type=('build', 'run')) + depends_on('py-spyder@2.0:2.9.9', type=('build', 'run')) + depends_on('py-h5py', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-guiqwt/package.py b/var/spack/repos/builtin/packages/py-guiqwt/package.py new file mode 100644 index 0000000000..8422ff5197 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-guiqwt/package.py @@ -0,0 +1,42 @@ +############################################################################## +# 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 PyGuiqwt(PythonPackage): + """guiqwt is a set of tools for curve and image plotting + (extension to PythonQwt)""" + + homepage = "https://github.com/PierreRaybaut/guiqwt" + url = "https://pypi.io/packages/source/g/guiqwt/guiqwt-3.0.2.zip" + + version('3.0.2', 'b49cd9706f56eb5d519390ba709d8c8c') + + depends_on('py-setuptools', type='build') + depends_on('py-numpy@1.3:', type=('build', 'run')) + depends_on('py-scipy@0.7:', type=('build', 'run')) + depends_on('py-guidata@1.7.0:', type=('build', 'run')) + depends_on('py-pythonqwt@0.5.0:', type=('build', 'run')) + depends_on('py-pillow', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-pythonqwt/package.py b/var/spack/repos/builtin/packages/py-pythonqwt/package.py new file mode 100644 index 0000000000..22ede1f868 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pythonqwt/package.py @@ -0,0 +1,42 @@ +############################################################################## +# 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 PyPythonqwt(PythonPackage): + """Qt plotting widgets for Python""" + + homepage = "https://github.com/PierreRaybaut/PythonQwt" + url = "https://pypi.io/packages/source/P/PythonQwt/PythonQwt-0.5.5.zip" + + version('0.5.5', 'a60c7da9fbca667337d14aca094b6fda') + + variant('docs', default=False, description="Build documentation.") + + depends_on('py-setuptools', type='build') + depends_on('py-numpy@1.3:', type=('build', 'run')) + depends_on('py-sip', type=('build', 'run')) + depends_on('py-pyqt@4:', type=('build', 'run')) + depends_on('py-sphinx@1.1:', type=('build', 'run'), when='+docs') diff --git a/var/spack/repos/builtin/packages/py-qtconsole/package.py b/var/spack/repos/builtin/packages/py-qtconsole/package.py new file mode 100644 index 0000000000..73f423943a --- /dev/null +++ b/var/spack/repos/builtin/packages/py-qtconsole/package.py @@ -0,0 +1,45 @@ +############################################################################## +# 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 PyQtconsole(PythonPackage): + """Jupyter Qt console""" + + homepage = "http://ipython.org" + url = "https://pypi.io/packages/source/q/qtconsole/qtconsole-4.2.1.tar.gz" + + version('4.2.1', 'c08ebebc7a60629ebadf685361ca0798') + + variant('docs', default=False, description='Build documentation') + + depends_on('py-setuptools', type='build') + depends_on('py-ipykernel@4.1:', type=('build', 'run')) + depends_on('py-jupyter-client@4.1:', type=('build', 'run')) + depends_on('py-jupyter-core', type=('build', 'run')) + depends_on('py-pygments', type=('build', 'run')) + depends_on('py-traitlets', type=('build', 'run')) + depends_on('py-sphinx@1.3:', type=('build', 'run'), when='+docs') + # mock; python_version=="2.7" and extra == 'test' |