pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc/guide/files guide/creating: Clarify Python naming



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7060cd750405
branches:  trunk
changeset: 380814:7060cd750405
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Wed Jun 15 22:26:45 2022 +0000

description:
guide/creating:  Clarify Python naming

Specify that PKGNAME should match "pip install" for things in PyPi.

diffstat:

 doc/guide/files/creating.xml |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r dcc59a15bf85 -r 7060cd750405 doc/guide/files/creating.xml
--- a/doc/guide/files/creating.xml      Wed Jun 15 22:02:11 2022 +0000
+++ b/doc/guide/files/creating.xml      Wed Jun 15 22:26:45 2022 +0000
@@ -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 @@
 <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>.



Home | Main Index | Thread Index | Old Index