diff options
author | gdt <gdt@pkgsrc.org> | 2022-06-15 22:26:45 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2022-06-15 22:26:45 +0000 |
commit | 2d4dc1202aa4f4644b447bf665c7181358f42cf8 (patch) | |
tree | 12d19a0ca27ac04874a821da4aeeab59706ec88a /doc/guide | |
parent | 41edb2d06930937996ade951deab97c73e444bc6 (diff) | |
download | pkgsrc-2d4dc1202aa4f4644b447bf665c7181358f42cf8.tar.gz |
guide/creating: Clarify Python naming
Specify that PKGNAME should match "pip install" for things in PyPi.
Diffstat (limited to 'doc/guide')
-rw-r--r-- | doc/guide/files/creating.xml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/guide/files/creating.xml b/doc/guide/files/creating.xml index 9c1a92f5f81..98a82c1e4f9 100644 --- a/doc/guide/files/creating.xml +++ b/doc/guide/files/creating.xml @@ -1,4 +1,4 @@ -<!-- $NetBSD: creating.xml,v 1.36 2022/02/06 21:21:08 rillig Exp $ --> +<!-- $NetBSD: creating.xml,v 1.37 2022/06/15 22:26:45 gdt Exp $ --> <chapter id="creating"> <title>Creating a new pkgsrc package from scratch</title> @@ -187,7 +187,10 @@ to include <quote><filename>../../lang/python/egg.mk</filename></quote>. <programlisting> DISTNAME= foopymodule-1.2.10 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -</programlisting></para> +</programlisting> +For software in PyPi, the name should match what PyPi specifies for +"pip install software". +</para> <para>If it is an application, include <quote><filename>../../lang/python/application.mk</filename></quote>. |