From 967194ce267722fedfb83fbb52c42ac41b39cd4b Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Mon, 19 Mar 2018 10:40:56 -0500 Subject: [PATCH] Add latest version of libpng (#7516) --- var/spack/repos/builtin/packages/libpng/package.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/libpng/package.py b/var/spack/repos/builtin/packages/libpng/package.py index cbab3c68a3..7c0f56dc6a 100644 --- a/var/spack/repos/builtin/packages/libpng/package.py +++ b/var/spack/repos/builtin/packages/libpng/package.py @@ -29,10 +29,11 @@ class Libpng(AutotoolsPackage): """libpng is the official PNG reference library.""" homepage = "http://www.libpng.org/pub/png/libpng.html" - url = "http://download.sourceforge.net/libpng/libpng-1.6.29.tar.gz" + url = "http://download.sourceforge.net/libpng/libpng-1.6.34.tar.gz" list_url = "https://sourceforge.net/projects/libpng/files/" list_depth = 2 + version('1.6.34', '03fbc5134830240104e96d3cda648e71') version('1.6.29', '68553080685f812d1dd7a6b8215c37d8') version('1.6.27', '58698519e9f6126c1caeefc28dbcbd5f') # From http://www.libpng.org/pub/png/libpng.html (2017-01-04) @@ -61,3 +62,8 @@ def configure_args(self): 'LDFLAGS={0}'.format(self.spec['zlib'].libs.search_flags) ] return args + + def check(self): + # Libpng has both 'check' and 'test' targets that are aliases. + # Only need to run the tests once. + make('check')