Skip to content

Commit b113018

Browse files
authored
packaging: fix line numbers because Alec can't count :P (#421)
1 parent 3ee0eda commit b113018

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tutorial_packaging.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ in the ``configure_args`` method as follows:
436436
:caption: tutorial-mpileaks/package.py (from tutorial/examples/packaging/3.package.py)
437437
:lines: 6-
438438
:language: python
439-
:emphasize-lines: 31-34
439+
:emphasize-lines: 32-36
440440

441441
Since this is an ``AutotoolsPackage``, the arguments returned from the
442442
method will automatically get passed to ``configure`` during the build.
@@ -500,7 +500,7 @@ and add the ``variant`` directive and associated arguments as follows:
500500
:caption: tutorial-mpileaks/package.py (from tutorial/examples/packaging/4.package.py)
501501
:lines: 6-
502502
:language: python
503-
:emphasize-lines: 16-21,44-51
503+
:emphasize-lines: 16-21,45-52
504504

505505
Notice that the ``variant`` directive is translated into a ``variants`` dictionary
506506
in ``self.spec``. Also note that the value provided by the user is accessed

0 commit comments

Comments
 (0)