mgis, tfel: add explicit dependency to py-numpy (#28502)
This commit is contained in:
parent
3dccb913a9
commit
8da204de61
@ -62,7 +62,10 @@ class Mgis(CMakePackage):
|
|||||||
depends_on('tfel@rliv-3.3', when="@rliv-1.1")
|
depends_on('tfel@rliv-3.3', when="@rliv-1.1")
|
||||||
depends_on('tfel@rliv-3.2', when="@rliv-1.0")
|
depends_on('tfel@rliv-3.2', when="@rliv-1.0")
|
||||||
depends_on('tfel@master', when="@master")
|
depends_on('tfel@master', when="@master")
|
||||||
depends_on('boost+python+numpy', when='+python')
|
depends_on('boost+python+numpy', when='+python',
|
||||||
|
type=('build', 'link', 'run'))
|
||||||
|
depends_on('py-numpy', when='+python',
|
||||||
|
type=('build', 'link', 'run'))
|
||||||
extends('python', when='+python')
|
extends('python', when='+python')
|
||||||
|
|
||||||
def patch(self):
|
def patch(self):
|
||||||
|
@ -128,6 +128,8 @@ class Tfel(CMakePackage):
|
|||||||
type=('build', 'link', 'run'))
|
type=('build', 'link', 'run'))
|
||||||
depends_on('python', when='+python_bindings',
|
depends_on('python', when='+python_bindings',
|
||||||
type=('build', 'link', 'run'))
|
type=('build', 'link', 'run'))
|
||||||
|
depends_on('py-numpy', when='+python_bindings',
|
||||||
|
type=('build', 'link', 'run'))
|
||||||
# As boost+py has py runtime dependency, boost+py needs types link and run as well:
|
# As boost+py has py runtime dependency, boost+py needs types link and run as well:
|
||||||
depends_on('boost+python+numpy', when='+python_bindings',
|
depends_on('boost+python+numpy', when='+python_bindings',
|
||||||
type=('build', 'link', 'run'))
|
type=('build', 'link', 'run'))
|
||||||
|
Loading…
Reference in New Issue
Block a user