[46348] trunk/doc-new/guide/xml/portgroup-python.xml

blb at macports.org blb at macports.org
Mon Feb 2 23:24:43 PST 2009


Revision: 46348
          http://trac.macports.org/changeset/46348
Author:   blb at macports.org
Date:     2009-02-02 23:24:42 -0800 (Mon, 02 Feb 2009)
Log Message:
-----------
guide/portgroup-python.xml - add list of which variables are set automatically
by the python port group

Modified Paths:
--------------
    trunk/doc-new/guide/xml/portgroup-python.xml

Modified: trunk/doc-new/guide/xml/portgroup-python.xml
===================================================================
--- trunk/doc-new/guide/xml/portgroup-python.xml	2009-02-03 05:52:20 UTC (rev 46347)
+++ trunk/doc-new/guide/xml/portgroup-python.xml	2009-02-03 07:24:42 UTC (rev 46348)
@@ -51,4 +51,85 @@
     </variablelist>
   </section>
 
+  <section id="reference.portgroup.python.sugar">
+    <title>python PortGroup Sugar</title>
+
+    <para>Portfiles using PortGroup python do not need to define the
+    following variables:</para>
+
+    <variablelist>
+      <varlistentry>
+        <term>categories</term>
+
+        <listitem>
+          <para>Default: python</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term>dist_subdir</term>
+
+        <listitem>
+          <para>Default: python</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term>depends_lib</term>
+
+        <listitem>
+          <para>Default: port:pythonXY (XY as appropriate for the group)</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term>use_configure</term>
+
+        <listitem>
+          <para>Default: no</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term>build.cmd</term>
+
+        <listitem>
+          <para>Default: ${python.bin} setup.py --no-user-cfg</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term>build.target</term>
+
+        <listitem>
+          <para>Default: build</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term>destroot.cmd</term>
+
+        <listitem>
+          <para>Default: ${python.bin} setup.py --no-user-cfg</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term>destroot.destdir</term>
+
+        <listitem>
+          <para>Default: --prefix=${prefix} --root=${destroot}</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term>pre-destroot</term>
+
+        <listitem>
+          <para>Default: creates
+          ${destroot}${prefix}/share/doc/${name}/examples</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </section>
 </section>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090202/1b8cd08a/attachment.html>


More information about the macports-changes mailing list