Add package: git-review (#3088)

* Add git-review

* Fix flake8 errors

* use PythonPackage for git-review

* added dependencies for git-review

* fix flake8

* moved url's to pypi.io based urls

* fixed flake8... again

* mostly url fixes, not tested, will do tomorrow

* flake8 fix

* changed URL for py-pysocks

* Fixed URL for pysocks

* fixed url
This commit is contained in:
healther
2017-03-01 19:29:22 +01:00
committed by Adam J. Stewart
parent 5fe96dec27
commit 1ee470c37e
15 changed files with 451 additions and 7 deletions

View File

@@ -29,15 +29,13 @@ class PyEnum34(PythonPackage):
"""Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, and 2.4."""
homepage = "https://pypi.python.org/pypi/enum34"
url = "https://pypi.python.org/packages/source/e/enum34/enum34-1.1.6.tar.gz"
url = "https://pypi.io/packages/source/e/enum34/enum34-1.1.6.tar.gz"
version('1.1.6', '5f13a0841a61f7fc295c514490d120d0',
url="https://pypi.python.org/packages/bf/3e/31d502c25302814a7c2f1d3959d2a3b3f78e509002ba91aea64993936876/enum34-1.1.6.tar.gz")
version('1.1.6', '5f13a0841a61f7fc295c514490d120d0')
depends_on('python@2.4:2.8,3.3:')
depends_on('python')
# This dependency breaks concretization
# See https://github.com/LLNL/spack/issues/2793
# depends_on('py-ordereddict', when='^python@:2.6.999', type=('build', 'run')) # noqa
depends_on('py-setuptools', type='build')