summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2016-08-23 14:57:29 -0400
committerErik Schnetter <schnetter@gmail.com>2016-08-23 14:57:29 -0400
commit05f5ba4bf9c6fa68427525301e2a42fed76d8682 (patch)
tree474985fc48a50c75384098375673c889653cca32 /var
parent73cae8d9c4c568f50fee2829d87b31c0361ce792 (diff)
downloadspack-05f5ba4bf9c6fa68427525301e2a42fed76d8682.tar.gz
spack-05f5ba4bf9c6fa68427525301e2a42fed76d8682.tar.bz2
spack-05f5ba4bf9c6fa68427525301e2a42fed76d8682.tar.xz
spack-05f5ba4bf9c6fa68427525301e2a42fed76d8682.zip
Correct flake8 errors
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/cddlib/package.py8
-rw-r--r--var/spack/repos/builtin/packages/lrslib/package.py1
2 files changed, 5 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/cddlib/package.py b/var/spack/repos/builtin/packages/cddlib/package.py
index 7454c0bb84..ced5f46d1f 100644
--- a/var/spack/repos/builtin/packages/cddlib/package.py
+++ b/var/spack/repos/builtin/packages/cddlib/package.py
@@ -27,15 +27,15 @@ from spack import *
class Cddlib(Package):
- """The C-library cddlib is a C implementation of the Double Description
+ """The C-library cddlib is a C implementation of the Double Description
Method of Motzkin et al. for generating all vertices (i.e. extreme points)
- and extreme rays of a general convex polyhedron in R^d given by a system
+ and extreme rays of a general convex polyhedron in R^d given by a system
of linear inequalities"""
homepage = "https://www.inf.ethz.ch/personal/fukudak/cdd_home/"
# This is the original download url. It is currently down [2016-08-23],
# but should be reinstated or updated once the issue is resolved.
- # url = "ftp://ftp.ifor.math.ethz.ch/pub/fukuda/cdd/cddlib-094h.tar.gz"
- url = "http://pkgs.fedoraproject.org/lookaside/pkgs/cddlib/cddlib-094h.tar.gz/1467d270860bbcb26d3ebae424690e7c/cddlib-094h.tar.gz"
+ # url = "ftp://ftp.ifor.math.ethz.ch/pub/fukuda/cdd/cddlib-094h.tar.gz"
+ url = "http://pkgs.fedoraproject.org/lookaside/pkgs/cddlib/cddlib-094h.tar.gz/1467d270860bbcb26d3ebae424690e7c/cddlib-094h.tar.gz"
def url_for_version(self, version):
# Since the commit id is part of the version, we can't
diff --git a/var/spack/repos/builtin/packages/lrslib/package.py b/var/spack/repos/builtin/packages/lrslib/package.py
index b56333541f..68a907ea59 100644
--- a/var/spack/repos/builtin/packages/lrslib/package.py
+++ b/var/spack/repos/builtin/packages/lrslib/package.py
@@ -32,6 +32,7 @@ class Lrslib(Package):
problems and comes with a choice of three arithmetic packages"""
homepage = "http://cgm.cs.mcgill.ca/~avis/C/lrs.html"
url = "http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/lrslib-062.tar.gz"
+
def url_for_version(self, version):
return ("http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/lrslib-%s.tar.gz" %
('0' + str(version).replace('.', '')))