summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pathos/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-pathos/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-pathos/package.py38
1 files changed, 19 insertions, 19 deletions
diff --git a/var/spack/repos/builtin/packages/py-pathos/package.py b/var/spack/repos/builtin/packages/py-pathos/package.py
index c440c61fc7..48f189fb6c 100644
--- a/var/spack/repos/builtin/packages/py-pathos/package.py
+++ b/var/spack/repos/builtin/packages/py-pathos/package.py
@@ -7,34 +7,34 @@ from spack.package import *
class PyPathos(PythonPackage):
- """Parallel graph management and execution in heterogeneous computing """
+ """Parallel graph management and execution in heterogeneous computing"""
homepage = "https://github.com/uqfoundation/pathos"
pypi = "pathos/pathos-0.2.3.tar.gz"
- version('0.2.8', sha256='1f0f27a90f7ab66c423ba796529000fde9360d17b2d8e50097641ff405fc6f15')
- version('0.2.3', sha256='954c5b0a8b257c375e35d311c65fa62a210a3d65269195557de38418ac9f61f9')
- version('0.2.0', sha256='2f4e67e7914c95fb0cce766bab173eb2c5860ee420108fa183099557ac2e50e9')
+ version("0.2.8", sha256="1f0f27a90f7ab66c423ba796529000fde9360d17b2d8e50097641ff405fc6f15")
+ version("0.2.3", sha256="954c5b0a8b257c375e35d311c65fa62a210a3d65269195557de38418ac9f61f9")
+ version("0.2.0", sha256="2f4e67e7914c95fb0cce766bab173eb2c5860ee420108fa183099557ac2e50e9")
- depends_on('python@2.6:2.8,3.1:', type=('build', 'run'))
- depends_on('python@2.7:2.8,3.6:', when='@0.2.8:', type=('build', 'run'))
+ depends_on("python@2.6:2.8,3.1:", type=("build", "run"))
+ depends_on("python@2.7:2.8,3.6:", when="@0.2.8:", type=("build", "run"))
- depends_on('py-setuptools@0.6:', type='build')
- depends_on('py-multiprocess@0.70.7:', type=('build', 'run'))
- depends_on('py-pox@0.2.5:', type=('build', 'run'))
- depends_on('py-pox@0.3.0:', type=('build', 'run'), when='@0.2.8:')
- depends_on('py-ppft@1.6.4.9:', type=('build', 'run'))
- depends_on('py-ppft@1.6.6.4:', type=('build', 'run'), when='@0.2.8:')
- depends_on('py-dill@0.2.9:', type=('build', 'run'))
- depends_on('py-dill@0.3.4:', type=('build', 'run'), when='@0.2.8:')
- depends_on('py-multiprocess@0.70.12:', type=('build', 'run'), when='@0.2.8:')
+ depends_on("py-setuptools@0.6:", type="build")
+ depends_on("py-multiprocess@0.70.7:", type=("build", "run"))
+ depends_on("py-pox@0.2.5:", type=("build", "run"))
+ depends_on("py-pox@0.3.0:", type=("build", "run"), when="@0.2.8:")
+ depends_on("py-ppft@1.6.4.9:", type=("build", "run"))
+ depends_on("py-ppft@1.6.6.4:", type=("build", "run"), when="@0.2.8:")
+ depends_on("py-dill@0.2.9:", type=("build", "run"))
+ depends_on("py-dill@0.3.4:", type=("build", "run"), when="@0.2.8:")
+ depends_on("py-multiprocess@0.70.12:", type=("build", "run"), when="@0.2.8:")
def url_for_version(self, version):
- url = self.url.rsplit('/', 1)[0]
- if Version('0.2.8') > version >= Version('0.2.2'):
- url += '/pathos-{0}.tar.gz'
+ url = self.url.rsplit("/", 1)[0]
+ if Version("0.2.8") > version >= Version("0.2.2"):
+ url += "/pathos-{0}.tar.gz"
else:
- url += '/pathos-{0}.zip'
+ url += "/pathos-{0}.zip"
url = url.format(version)
return url