Skip to content

Commit dd7a413

Browse files
Merge branch 'develop' of github.com:DiegoMagdaleno/spack into develop
2 parents 033097b + a8c3423 commit dd7a413

File tree

24 files changed

+62
-47
lines changed

24 files changed

+62
-47
lines changed

lib/spack/spack/util/executable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def streamify(arg, mode):
209209
istream.close()
210210

211211
def __eq__(self, other):
212-
return self.exe == other.exe
212+
return hasattr(other, 'exe') and self.exe == other.exe
213213

214214
def __neq__(self, other):
215215
return not (self == other)

var/spack/repos/builtin/packages/py-backports-weakref/package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class PyBackportsWeakref(PythonPackage):
1010
"""Backports of new features in Python's weakref module"""
1111

1212
homepage = "https://github.com/PiDelport/backports.weakref"
13-
url = "https://pypi.org/packages/source/b/backports.weakref/backports.weakref-1.0.post1.tar.gz"
13+
url = "https://pypi.io/packages/source/b/backports.weakref/backports.weakref-1.0.post1.tar.gz"
1414

1515
version('1.0.post1', sha256='bc4170a29915f8b22c9e7c4939701859650f2eb84184aee80da329ac0b9825c2', preferred=True)
1616
version('1.0rc1', sha256='8813bf712a66b3d8b85dc289e1104ed220f1878cf981e2fe756dfaabe9a82892')

var/spack/repos/builtin/packages/py-colorlog/package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class PyColorlog(PythonPackage):
1010
"""A colored formatter for the python logging module"""
1111

1212
homepage = "https://github.com/borntyping/python-colorlog"
13-
url = "https://pypi.org/packages/source/c/colorlog/colorlog-4.0.2.tar.gz"
13+
url = "https://pypi.io/packages/source/c/colorlog/colorlog-4.0.2.tar.gz"
1414

1515
version('4.0.2', sha256='3cf31b25cbc8f86ec01fef582ef3b840950dea414084ed19ab922c8b493f9b42')
1616
version('3.1.4', sha256='418db638c9577f37f0fae4914074f395847a728158a011be2a193ac491b9779d')

var/spack/repos/builtin/packages/py-colorpy/package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class PyColorpy(PythonPackage):
1515
"""
1616

1717
homepage = "http://markkness.net/colorpy/ColorPy.html"
18-
url = "https://pypi.org/packages/source/c/colorpy/colorpy-0.1.1.tar.gz"
18+
url = "https://pypi.io/packages/source/c/colorpy/colorpy-0.1.1.tar.gz"
1919

2020
version('0.1.1', sha256='e400a7e879adc83c6098dde13cdd093723f3936778c245b1caf88f5f1411170d')
2121

var/spack/repos/builtin/packages/py-ecdsa/package.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ class PyEcdsa(PythonPackage):
1010
"""ECDSA cryptographic signature library (pure python)"""
1111

1212
homepage = "https://github.com/warner/python-ecdsa"
13-
url = "https://files.pythonhosted.org/packages/source/e/ecdsa/ecdsa-0.13.2.tar.gz"
13+
url = "https://pypi.io/packages/source/e/ecdsa/ecdsa-0.15.tar.gz"
1414

15+
version('0.15', sha256='8f12ac317f8a1318efa75757ef0a651abe12e51fc1af8838fb91079445227277')
1516
version('0.13.2', sha256='5c034ffa23413ac923541ceb3ac14ec15a0d2530690413bff58c12b80e56d884')
1617

17-
depends_on('py-setuptools', type='build')
18-
depends_on('py-six', type=('build', 'run'))
1918
depends_on('[email protected]:2.8,3.3:', type=('build', 'run'))
19+
depends_on('py-setuptools', type='build')
20+
depends_on('[email protected]:', type=('build', 'run'))
2021
depends_on('openssl', type='test')

var/spack/repos/builtin/packages/py-exodus-bundler/package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class PyExodusBundler(PythonPackage):
1111
ELF binaries from one system to another."""
1212

1313
homepage = "https://github.com/intoli/exodus"
14-
url = "https://pypi.org/packages/source/e/exodus-bundler/exodus-bundler-2.0.2.tar.gz"
14+
url = "https://pypi.io/packages/source/e/exodus-bundler/exodus-bundler-2.0.2.tar.gz"
1515

1616
version('2.0.2', sha256='4e896a2034b94cf7b4fb33d86a68e29a7d3b08e57541e444db34dddc6ac1ef68')
1717

var/spack/repos/builtin/packages/py-flake8-polyfill/package.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ class PyFlake8Polyfill(PythonPackage):
1111
for Flake8 plugins that intend to support Flake8 2.x and 3.x
1212
simultaneously.
1313
"""
14-
homepage = "https://pypi.org/project/flake8-polyfill/"
15-
url = "https://files.pythonhosted.org/packages/e6/67/1c26634a770db5c442e361311bee73cb3a177adb2eb3f7af8953cfd9f553/flake8-polyfill-1.0.2.tar.gz"
14+
homepage = "https://gitlab.com/pycqa/flake8-polyfill"
15+
url = "https://pypi.io/packages/source/f/flake8-polyfill/flake8-polyfill-1.0.2.tar.gz"
1616

1717
version('1.0.2', sha256='e44b087597f6da52ec6393a709e7108b2905317d0c0b744cdca6208e670d8eda')
1818

19-
extends('python', ignore='bin/(flake8|pyflakes|pycodestyle)')
20-
depends_on('py-flake8', type='run')
19+
depends_on('py-setuptools', type='build')
20+
depends_on('py-flake8', type=('build', 'run'))

var/spack/repos/builtin/packages/py-gensim/package.py

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,20 @@
88

99
class PyGensim(PythonPackage):
1010
"""Gensim is a Python library for topic modelling, document indexing and
11-
similarity retrieval with large corpora. Target audience is the natural
12-
language processing (NLP) and information retrieval (IR) community."""
11+
similarity retrieval with large corpora. Target audience is the natural
12+
language processing (NLP) and information retrieval (IR) community."""
1313

14-
homepage = "https://pypi.org/project/gensim/"
15-
url = "https://files.pythonhosted.org/packages/3a/bc/1415be59292a23ff123298b4b46ec4be80b3bfe72c8d188b58ab2653dee4/gensim-3.8.0.tar.gz"
14+
homepage = "https://radimrehurek.com/gensim"
15+
url = "https://pypi.io/packages/source/g/gensim/gensim-3.8.1.tar.gz"
1616

17-
version('3.8.1', sha256='33277fc0a8d7b0c7ce70fcc74bb82ad39f944c009b334856c6e86bf552b1dfdc',
18-
url='https://files.pythonhosted.org/packages/73/f2/e9af000df6419bf1a63ffed3e6033a1b1d8fcf2f971fcdac15296619aff8/gensim-3.8.1.tar.gz')
19-
version('3.8.0', sha256='ec5de7ff2bfa8692fa96a846bb5aae52f267fc322fbbe303c1f042d258af5766')
17+
maintainers = ['adamjstewart']
2018

21-
depends_on('[email protected]:', type=('build', 'run'))
19+
version('3.8.1', sha256='33277fc0a8d7b0c7ce70fcc74bb82ad39f944c009b334856c6e86bf552b1dfdc')
20+
version('3.8.0', sha256='ec5de7ff2bfa8692fa96a846bb5aae52f267fc322fbbe303c1f042d258af5766')
2221

22+
depends_on('[email protected]:2.8,3.5:', type=('build', 'run'))
2323
depends_on('py-setuptools', type='build')
24-
25-
depends_on('py-numpy', type=('build', 'run'))
26-
depends_on('py-scipy', type=('build', 'run'))
27-
depends_on('py-smart-open', type=('build', 'run'))
28-
depends_on('py-six', type=('build', 'run'))
24+
depends_on('[email protected]:', type=('build', 'run'))
25+
depends_on('[email protected]:', type=('build', 'run'))
26+
depends_on('[email protected]:', type=('build', 'run'))
27+
depends_on('[email protected]:', type=('build', 'run'))

var/spack/repos/builtin/packages/py-hdfs/package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
class PyHdfs(PythonPackage):
1010
"""API and command line interface for HDFS"""
1111
homepage = "https://hdfscli.readthedocs.io/en/latest/"
12-
url = "https://pypi.org/packages/source/h/hdfs/hdfs-2.1.0.tar.gz"
12+
url = "https://pypi.io/packages/source/h/hdfs/hdfs-2.1.0.tar.gz"
1313

1414
version('2.1.0', sha256='a40fe99ccb03b5c3247b33a4110eb21b57405dd7c3f1b775e362e66c19b44bc6')
1515

var/spack/repos/builtin/packages/py-humanfriendly/package.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@
88
class PyHumanfriendly(PythonPackage):
99
"""Human friendly output for text interfaces using Python"""
1010

11-
homepage = "https://pypi.org/project/humanfriendly/"
12-
url = "https://files.pythonhosted.org/packages/26/71/e7daf57e819a70228568ff5395fdbc4de81b63067b93167e07825fcf0bcf/humanfriendly-4.18.tar.gz"
11+
homepage = "https://humanfriendly.readthedocs.io/"
12+
url = "https://pypi.io/packages/source/h/humanfriendly/humanfriendly-8.1.tar.gz"
1313

14+
version('8.1', sha256='25c2108a45cfd1e8fbe9cdb30b825d34ef5d5675c8e11e4775c9aedbfb0bdee2')
1415
version('4.18', sha256='33ee8ceb63f1db61cce8b5c800c531e1a61023ac5488ccde2ba574a85be00a85')
1516

17+
depends_on('[email protected]:2.8,3.5:', type=('build', 'run'))
1618
depends_on('py-setuptools', type='build')
19+
depends_on('py-monotonic', when='^python@:2', type=('build', 'run'))

0 commit comments

Comments
 (0)