Correct flake8 errors

This commit is contained in:
Erik Schnetter 2016-08-23 14:57:29 -04:00
parent 73cae8d9c4
commit 05f5ba4bf9
2 changed files with 5 additions and 4 deletions

View File

@ -27,15 +27,15 @@
class Cddlib(Package): 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) 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""" of linear inequalities"""
homepage = "https://www.inf.ethz.ch/personal/fukudak/cdd_home/" homepage = "https://www.inf.ethz.ch/personal/fukudak/cdd_home/"
# This is the original download url. It is currently down [2016-08-23], # This is the original download url. It is currently down [2016-08-23],
# but should be reinstated or updated once the issue is resolved. # 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 = "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 = "http://pkgs.fedoraproject.org/lookaside/pkgs/cddlib/cddlib-094h.tar.gz/1467d270860bbcb26d3ebae424690e7c/cddlib-094h.tar.gz"
def url_for_version(self, version): def url_for_version(self, version):
# Since the commit id is part of the version, we can't # Since the commit id is part of the version, we can't

View File

@ -32,6 +32,7 @@ class Lrslib(Package):
problems and comes with a choice of three arithmetic packages""" problems and comes with a choice of three arithmetic packages"""
homepage = "http://cgm.cs.mcgill.ca/~avis/C/lrs.html" homepage = "http://cgm.cs.mcgill.ca/~avis/C/lrs.html"
url = "http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/lrslib-062.tar.gz" url = "http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/lrslib-062.tar.gz"
def url_for_version(self, version): def url_for_version(self, version):
return ("http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/lrslib-%s.tar.gz" % return ("http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/lrslib-%s.tar.gz" %
('0' + str(version).replace('.', ''))) ('0' + str(version).replace('.', '')))