summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSinan <sbulutw@gmail.com>2020-05-11 01:43:56 -0700
committerGitHub <noreply@github.com>2020-05-11 10:43:56 +0200
commitff6a0fc7b038920f96ffa5dc4b9ef9b5b517081a (patch)
tree5e2dcfdf97feddb10180db2e43d375153b157506
parente08792cbcbb9f1bb3b43abfb0984dd76679dbc50 (diff)
downloadspack-ff6a0fc7b038920f96ffa5dc4b9ef9b5b517081a.tar.gz
spack-ff6a0fc7b038920f96ffa5dc4b9ef9b5b517081a.tar.bz2
spack-ff6a0fc7b038920f96ffa5dc4b9ef9b5b517081a.tar.xz
spack-ff6a0fc7b038920f96ffa5dc4b9ef9b5b517081a.zip
py-configobj: remove url function (#16522)
It seems the pypi version of the package somehow compiles just fine Co-authored-by: Sinan81 <sbulut@3vgeomatics.com>
-rw-r--r--var/spack/repos/builtin/packages/py-configobj/package.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/var/spack/repos/builtin/packages/py-configobj/package.py b/var/spack/repos/builtin/packages/py-configobj/package.py
index 6b8521405d..350695780d 100644
--- a/var/spack/repos/builtin/packages/py-configobj/package.py
+++ b/var/spack/repos/builtin/packages/py-configobj/package.py
@@ -16,15 +16,5 @@ class PyConfigobj(PythonPackage):
version('5.0.6', sha256='a2f5650770e1c87fb335af19a9b7eb73fc05ccf22144eb68db7d00cd2bcb0902')
version('4.7.2', sha256='515ff923462592e8321df8b48c47e3428f8d406ee22b8de77bef969d1af11171')
- # The version on PyPi seems to be outdated (2014) although confusingly
- # enough version number is the same as the latest release on github.
depends_on('py-six', type=('build', 'run'))
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
-
- def url_for_version(self, version):
- if version <= Version('5.0.0'):
- url = "https://pypi.io/packages/source/c/configobj/configobj-{0}.tar.gz"
- else:
- url = "https://github.com/DiffSK/configobj/archive/v{0}.tar.gz"
-
- return url.format(version)