Remove version constraints
This commit is contained in:
parent
4eeaff175c
commit
b2aa78d6ab
5 changed files with 9 additions and 13 deletions
|
@ -37,8 +37,8 @@ class PyAstropy(Package):
|
||||||
version('1.1.post1', 'b52919f657a37d45cc45f5cb0f58c44d')
|
version('1.1.post1', 'b52919f657a37d45cc45f5cb0f58c44d')
|
||||||
|
|
||||||
# Required dependencies
|
# Required dependencies
|
||||||
extends('python@2.6.5:2.7,3.3:')
|
extends('python')
|
||||||
depends_on('py-numpy@1.6.0:')
|
depends_on('py-numpy')
|
||||||
|
|
||||||
# Optional dependencies
|
# Optional dependencies
|
||||||
depends_on('cfitsio')
|
depends_on('cfitsio')
|
||||||
|
@ -60,5 +60,4 @@ class PyAstropy(Package):
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
python('setup.py', 'build', '--use-system-cfitsio',
|
python('setup.py', 'build', '--use-system-cfitsio',
|
||||||
'--use-system-expat')
|
'--use-system-expat')
|
||||||
python('setup.py', 'install', '--single-version-externally-managed',
|
python('setup.py', 'install', '--prefix={0}'.format(prefix))
|
||||||
'--root=/', '--prefix={0}'.format(prefix))
|
|
||||||
|
|
|
@ -54,5 +54,4 @@ def install(self, spec, prefix):
|
||||||
env['CC'] = spec['mpi'].mpicc
|
env['CC'] = spec['mpi'].mpicc
|
||||||
python('setup.py', 'configure', '--mpi')
|
python('setup.py', 'configure', '--mpi')
|
||||||
|
|
||||||
python('setup.py', 'install', '--single-version-externally-managed',
|
python('setup.py', 'install', '--prefix={0}'.format(prefix))
|
||||||
'--root=/', '--prefix={0}'.format(prefix))
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ class PyIminuit(Package):
|
||||||
version('1.2', '4701ec472cae42015e26251703e6e984')
|
version('1.2', '4701ec472cae42015e26251703e6e984')
|
||||||
|
|
||||||
# Required dependencies
|
# Required dependencies
|
||||||
extends('python@2.7:2.8,3.4:')
|
extends('python')
|
||||||
depends_on('py-setuptools')
|
depends_on('py-setuptools')
|
||||||
|
|
||||||
# Optional dependencies
|
# Optional dependencies
|
||||||
|
@ -42,5 +42,4 @@ class PyIminuit(Package):
|
||||||
depends_on('py-matplotlib')
|
depends_on('py-matplotlib')
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
python('setup.py', 'install', '--single-version-externally-managed',
|
python('setup.py', 'install', '--prefix={0}'.format(prefix))
|
||||||
'--root=/', '--prefix={0}'.format(prefix))
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ class PyNestle(Package):
|
||||||
|
|
||||||
# Required dependencies
|
# Required dependencies
|
||||||
extends('python')
|
extends('python')
|
||||||
depends_on('py-numpy@1.6:')
|
depends_on('py-numpy')
|
||||||
|
|
||||||
# Optional dependencies
|
# Optional dependencies
|
||||||
depends_on('py-scipy')
|
depends_on('py-scipy')
|
||||||
|
|
|
@ -36,7 +36,7 @@ class PySncosmo(Package):
|
||||||
|
|
||||||
# Required dependencies
|
# Required dependencies
|
||||||
# py-sncosmo binaries are duplicates of those from py-astropy
|
# py-sncosmo binaries are duplicates of those from py-astropy
|
||||||
extends('python@2.6:2.7,3.3:', ignore=r'bin/*')
|
extends('python', ignore=r'bin/*')
|
||||||
depends_on('py-numpy')
|
depends_on('py-numpy')
|
||||||
depends_on('py-scipy')
|
depends_on('py-scipy')
|
||||||
depends_on('py-astropy')
|
depends_on('py-astropy')
|
||||||
|
@ -48,5 +48,4 @@ class PySncosmo(Package):
|
||||||
depends_on('py-nestle')
|
depends_on('py-nestle')
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
python('setup.py', 'install', '--single-version-externally-managed',
|
python('setup.py', 'install', '--prefix={0}'.format(prefix))
|
||||||
'--root=/', '--prefix={0}'.format(prefix))
|
|
||||||
|
|
Loading…
Reference in a new issue