Skip to content

Commit 7d15ca9

Browse files
committed
Update info on perl packages.
1 parent dfeab3a commit 7d15ca9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Diff for: src/maintainer/knowledge_base.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -1524,11 +1524,11 @@ Perl packages
15241524
15251525
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.
15261526
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>`__.
15281528
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:
15301530
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.
15321532
15331533
.. code-block::
15341534
@@ -1549,7 +1549,7 @@ A few things to note in `perl-file-which recipe <https://github.com/conda-forge/
15491549
run:
15501550
- perl
15511551
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.
15531553
15541554
.. code-block::
15551555
@@ -1558,7 +1558,7 @@ A few things to note in `perl-file-which recipe <https://github.com/conda-forge/
15581558
- File::Which
15591559
15601560
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:
15621562
15631563
.. code-block::
15641564
@@ -1571,8 +1571,8 @@ The build section in the ``meta.yaml`` file should be something like this :
15711571
- make test
15721572
- make install VERBINST=1
15731573
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.
15751575
15761576
.. note::
15771577
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

Comments
 (0)