Document specs with multiple version ranges (#8284)

This commit is contained in:
Adam J. Stewart
2018-05-30 10:36:56 -05:00
committed by GitHub
parent be8077367d
commit 87223a531b

View File

@@ -1565,6 +1565,14 @@ correct way to specify this would be:
depends_on('python@2.6.0:2.6.999')
A spec can contain multiple version ranges separated by commas.
For example, if you need Boost 1.59.0 or newer, but there are known
issues with 1.64.0, 1.65.0, and 1.66.0, you can say:
.. code-block:: python
depends_on('boost@1.59.0:1.63,1.65.1,1.67.0:')
^^^^^^^^^^^^^^^^
Dependency types