Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/doc/guide/files creating.xml: document TEST_DEPENDS, a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d6fc053dbf68
branches:  trunk
changeset: 430304:d6fc053dbf68
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Wed Apr 29 23:24:43 2020 +0000

description:
creating.xml: document TEST_DEPENDS, and minor grammar fixes

diffstat:

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

diffs (36 lines):

diff -r 54d1a71ee14c -r d6fc053dbf68 doc/guide/files/creating.xml
--- a/doc/guide/files/creating.xml      Wed Apr 29 23:20:42 2020 +0000
+++ b/doc/guide/files/creating.xml      Wed Apr 29 23:24:43 2020 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: creating.xml,v 1.32 2019/08/30 22:19:37 gutteridge Exp $ -->
+<!-- $NetBSD: creating.xml,v 1.33 2020/04/29 23:24:43 gutteridge Exp $ -->
 
 <chapter id="creating">
 <title>Creating a new pkgsrc package from scratch</title>
@@ -53,7 +53,9 @@
 is built;
 <varname>BUILD_DEPENDS</varname> are <emphasis>target</emphasis>
 packages, i.e. packages for the architecture for which the package
-is built.
+is built. There is also <varname>TEST_DEPENDS</varname>, which is used
+to specify a dependency used only for testing the resulting package
+built, using the upstream project's included test suite.
 Your package may then look like this:</para>
 
 <programlisting>
@@ -153,12 +155,12 @@
 
 <para>Most Python packages use either <quote>distutils</quote> or
 easy-setup/setuptools (<quote>eggs</quote>).
-if the packaged software is using setuptools, you only need
+If the packaged software is using setuptools, you only need
 to include <quote><filename>../../lang/python/egg.mk</filename></quote>.
 Otherwise, if the software uses <quote>distutils</quote>, include 
-<quote><filename>../../lang/python/distutils.mk</filename></quote>.
+<quote><filename>../../lang/python/distutils.mk</filename></quote>,
 so pkgsrc will use this framework.
-<quote>distutils</quote> uses a script called <filename>setup.py</filename>,
+<quote>distutils</quote> uses a script called <filename>setup.py</filename>;
 if the <quote>distutils</quote> driver is not called
 <filename>setup.py</filename>, set the <varname>PYSETUP</varname> variable
 to the name of the script.</para>



Home | Main Index | Thread Index | Old Index