From 2c134a7823f844075e9a0943df5bafb4e4cdf8bc Mon Sep 17 00:00:00 2001 From: Alec Scott Date: Mon, 18 Nov 2024 14:26:01 -0500 Subject: [PATCH] packaging: fix line numbers because Alec can't count :P --- tutorial_packaging.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorial_packaging.rst b/tutorial_packaging.rst index 63c648240..5e5aef51b 100644 --- a/tutorial_packaging.rst +++ b/tutorial_packaging.rst @@ -436,7 +436,7 @@ in the ``configure_args`` method as follows: :caption: tutorial-mpileaks/package.py (from tutorial/examples/packaging/3.package.py) :lines: 6- :language: python - :emphasize-lines: 31-34 + :emphasize-lines: 32-36 Since this is an ``AutotoolsPackage``, the arguments returned from the method will automatically get passed to ``configure`` during the build. @@ -500,7 +500,7 @@ and add the ``variant`` directive and associated arguments as follows: :caption: tutorial-mpileaks/package.py (from tutorial/examples/packaging/4.package.py) :lines: 6- :language: python - :emphasize-lines: 16-21,44-51 + :emphasize-lines: 16-21,45-52 Notice that the ``variant`` directive is translated into a ``variants`` dictionary in ``self.spec``. Also note that the value provided by the user is accessed