You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/maintainer/knowledge_base.rst
+7-7
Original file line number
Diff line number
Diff line change
@@ -1524,11 +1524,11 @@ Perl packages
1524
1524
1525
1525
Perl has three standard install locations: **core**, **vendor**, and **site**. Here, **core** is used only for the perl itself, **vendor** is used for installing any other conda-forge packages, and **site** is used for the user to install things locally from sources other than conda-forge.
1526
1526
1527
-
The most commonly used build system for `perl packages <https://github.com/conda-forge/perl-file-which-feedstock>`__ is ``ExtUtils::MakeMaker``. For the archetypical packaging of packages of this form, you can have a look at `perl-file-which recipe <https://github.com/conda-forge/perl-file-which-feedstock/blob/main/recipe/meta.yaml>`__.
1527
+
The most commonly used build system for `perl packages <https://github.com/conda-forge/perl-file-which-feedstock>`__ is ``ExtUtils::MakeMaker``. For typical packaging of packages of this form, you can have a look at `perl-file-which recipe <https://github.com/conda-forge/perl-file-which-feedstock/blob/main/recipe/meta.yaml>`__.
1528
1528
1529
-
A few things to note in `perl-file-which recipe <https://github.com/conda-forge/perl-file-which-feedstock/blob/main/recipe/meta.yaml>`__ are:
1529
+
A few things to note in the `perl-file-which recipe <https://github.com/conda-forge/perl-file-which-feedstock/blob/main/recipe/meta.yaml>`__ are:
1530
1530
1531
-
* The ``name`` is composed of ``perl-`` **+** the lower-cased version of the CPAN name.
1531
+
* The ``name`` is composed of ``perl-`` **+** the lowercase version of the CPAN name.
1532
1532
1533
1533
.. code-block::
1534
1534
@@ -1549,7 +1549,7 @@ A few things to note in `perl-file-which recipe <https://github.com/conda-forge/
1549
1549
run:
1550
1550
- perl
1551
1551
1552
-
* The test section contains ``imports`` which lists the CPAN module that can be used in perl.
1552
+
* The test section contains ``imports``, which lists the CPAN module that can be used in perl.
1553
1553
1554
1554
.. code-block::
1555
1555
@@ -1558,7 +1558,7 @@ A few things to note in `perl-file-which recipe <https://github.com/conda-forge/
1558
1558
- File::Which
1559
1559
1560
1560
1561
-
The build section in the ``meta.yaml`` file should be something like this:
1561
+
The build section in the ``meta.yaml`` file should be something like this:
1562
1562
1563
1563
.. code-block::
1564
1564
@@ -1571,8 +1571,8 @@ The build section in the ``meta.yaml`` file should be something like this :
1571
1571
- make test
1572
1572
- make install VERBINST=1
1573
1573
1574
-
here the line with ``Makefile.PL`` is important as it guarantees installation into the vendor section, and it also helps in non-interference with the standard files by the ``NO_PERLLOCAL`` and ``NO_PACKLIST`` switches.
1574
+
Notable here is ``INSTALLDIRS=vendor``, which selects the appropriate install location for a conda-forge package, and the ``NO_PERLLOCAL`` and ``NO_PACKLIST`` switches, which suppress various CPAN tracking files that are unnecessary when the module is being externally packaged via conda.
1575
1575
1576
1576
.. note::
1577
1577
1578
-
``noarch: generic`` should be used only if the package is a pure perl package.
1578
+
``noarch: generic`` should be used only if the package is a pure Perl package.
0 commit comments