summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pyside/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-pyside/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-pyside/package.py41
1 files changed, 18 insertions, 23 deletions
diff --git a/var/spack/repos/builtin/packages/py-pyside/package.py b/var/spack/repos/builtin/packages/py-pyside/package.py
index e799b4cb72..dc728bff77 100644
--- a/var/spack/repos/builtin/packages/py-pyside/package.py
+++ b/var/spack/repos/builtin/packages/py-pyside/package.py
@@ -1,27 +1,8 @@
-##############################################################################
-# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
-# Produced at the Lawrence Livermore National Laboratory.
+# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
-# 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/spack/spack
-# Please also see the NOTICE and LICENSE files 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
-##############################################################################
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
from spack import *
import os
@@ -31,7 +12,21 @@ class PyPyside(PythonPackage):
homepage = "https://pypi.python.org/pypi/pyside"
url = "https://pypi.io/packages/source/P/PySide/PySide-1.2.2.tar.gz"
+ # More recent versions of PySide2 (for Qt5) have been taken under
+ # the offical Qt umbrella. For more information, see:
+ # http://wiki.qt.io/Qt_for_Python_Development_Getting_Started
+
+ # Version 1.2.4 claims to not work with Python 3.5, mostly
+ # because it hasn't been tested. Otherwise, it's the same as v1.2.3
+ # https://github.com/PySide/pyside-setup/issues/58
+ # Meanwhile, developers have moved onto pyside2 (for Qt5),
+ # and show little interest in certifying PySide 1.2.4 for Python.
version('1.2.4', '3cb7174c13bd45e3e8f77638926cb8c0') # rpath problems
+
+ # This is not available from pypi
+ # version('1.2.3', 'fa5d5438b045ede36104bba25a6ccc10')
+
+ # v1.2.2 does not work with Python3
version('1.2.2', 'c45bc400c8a86d6b35f34c29e379e44d', preferred=True)
depends_on('cmake', type='build')