summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kuhn <suraia@ikkoku.de>2016-12-27 09:18:26 +0100
committerTodd Gamblin <tgamblin@llnl.gov>2016-12-27 00:18:26 -0800
commitbaaa613e445f8a00baf22efe61e8e16a3ee87591 (patch)
tree23893da63100560b99025bcbdef5f80580ee294a
parent29bac34c1d468773bec4661850a12c126c101e95 (diff)
downloadspack-baaa613e445f8a00baf22efe61e8e16a3ee87591.tar.gz
spack-baaa613e445f8a00baf22efe61e8e16a3ee87591.tar.bz2
spack-baaa613e445f8a00baf22efe61e8e16a3ee87591.tar.xz
spack-baaa613e445f8a00baf22efe61e8e16a3ee87591.zip
Update wx to 3.1.0 (#2641)
-rw-r--r--var/spack/repos/builtin/packages/wx/package.py17
1 files changed, 12 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/wx/package.py b/var/spack/repos/builtin/packages/wx/package.py
index 5a80ca1c1f..42d39df9e6 100644
--- a/var/spack/repos/builtin/packages/wx/package.py
+++ b/var/spack/repos/builtin/packages/wx/package.py
@@ -35,17 +35,24 @@ class Wx(Package):
rather than emulating the GUI. It's also extensive, free,
open-source and mature."""
homepage = "http://www.wxwidgets.org/"
+ url = "https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.0/wxWidgets-3.1.0.tar.bz2"
- version('2.8.12', '2fa39da14bc06ea86fe902579fedc5b1',
- url="https://sourceforge.net/projects/wxwindows/files/2.8.12/wxWidgets-2.8.12.tar.gz")
- version('3.0.1', 'dad1f1cd9d4c370cbc22700dc492da31',
- url="https://sourceforge.net/projects/wxwindows/files/3.0.1/wxWidgets-3.0.1.tar.bz2")
+ version('3.1.0', '2170839cfa9d9322e8ee8368b21a15a2497b4f11')
+ version('3.0.2', '6461eab4428c0a8b9e41781b8787510484dea800')
+ version('3.0.1', '73e58521d6871c9f4d1e7974c6e3a81629fddcf8')
depends_on('gtkplus')
+ def make_wx(self):
+ make()
+
+ @when('@:3.0.2')
+ def make_wx(self):
+ make(parallel=False)
+
def install(self, spec, prefix):
configure("--prefix=%s" % prefix, "--enable-unicode",
"--disable-precomp-headers")
- make(parallel=False)
+ self.make_wx()
make("install")