summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMayeul d'Avezac <m.davezac@ucl.ac.uk>2017-04-04 12:52:58 +0100
committerAdam J. Stewart <ajstewart426@gmail.com>2017-04-04 06:52:58 -0500
commit8276bd75fce8b0b10a7189f345e737d2d8fe8cfa (patch)
tree6359c73af6c2abcfc6d9231638b9d80a27f0dc31 /var
parent508c96d04661dfc7139fd76cf9e4da61777a7c15 (diff)
downloadspack-8276bd75fce8b0b10a7189f345e737d2d8fe8cfa.tar.gz
spack-8276bd75fce8b0b10a7189f345e737d2d8fe8cfa.tar.bz2
spack-8276bd75fce8b0b10a7189f345e737d2d8fe8cfa.tar.xz
spack-8276bd75fce8b0b10a7189f345e737d2d8fe8cfa.zip
Update tinyxml (#3649)
* Update tinyxml * url seems to have changed * spack replaces "_2_6_2" with "_2.6.2" unless the url is explicitly given * copyfile is no longuer available by default * URL version-parsing should work as of #2972
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/tinyxml/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/tinyxml/package.py b/var/spack/repos/builtin/packages/tinyxml/package.py
index 9cb4b715df..45970ca4f8 100644
--- a/var/spack/repos/builtin/packages/tinyxml/package.py
+++ b/var/spack/repos/builtin/packages/tinyxml/package.py
@@ -23,6 +23,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
from spack import *
+from shutil import copyfile
import os.path
@@ -30,7 +31,7 @@ class Tinyxml(CMakePackage):
"""Simple, small, efficient, C++ XML parser"""
homepage = "http://grinninglizard.com/tinyxml/"
- url = "https://sourceforge.net/projects/tinyxml/files/tinyxml/2.6.2/tinyxml_2_6_2.tar.gz"
+ url = "https://downloads.sourceforge.net/project/tinyxml/tinyxml/2.6.2/tinyxml_2_6_2.tar.gz"
version('2.6.2', 'cba3f50dd657cb1434674a03b21394df9913d764')