Changeset eabc205


Ignore:
Timestamp:
12/27/2012 08:28:26 AM (11 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs
Children:
6faeb63
Parents:
e51fab2
Message:

Change dependance on preceding module in Python Modules from "required"
to "optional"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/xsl/gen_pkg_list.xsl

    re51fab2 reabc205  
    152152<!-- First the case of python modules or d-bus bindings -->
    153153          <xsl:if test="self::sect2">
    154 <!-- Python modules have a building order which we have to indicate
    155      as dependencies. The preceding module has to be the first
    156      dependency. -->
     154<!-- dependencies  -->
     155            <xsl:apply-templates select=".//para[@role='required' or
     156                                                 @role='recommended' or
     157                                                 @role='optional']"
     158                                 mode="dependency"/>
     159          </xsl:if>
     160<!-- For python modules, the preceding module is an optional dep -->
    157161            <xsl:if test="ancestor::sect1[@id='python-modules']">
    158162              <xsl:apply-templates
     
    161165                  mode="prec-dep"/>
    162166            </xsl:if>
    163 <!-- The other dependencies (for Python modules) or dependencies (for DBus) -->
    164             <xsl:apply-templates select=".//para[@role='required' or
    165                                                  @role='recommended' or
    166                                                  @role='optional']"
    167                                  mode="dependency"/>
    168           </xsl:if>
    169167<!-- Now the case of perl modules: let us test our XSLT abilities.
    170168     Well, "use the sibling, Luke" -->
     
    278276            </xsl:text>
    279277      <xsl:element name="dependency">
    280         <xsl:attribute name="status">required</xsl:attribute>
     278<!-- the dep on the preceding package used to be required for python.
     279     It seems optional now -->
     280        <xsl:attribute name="status">optional</xsl:attribute>
    281281        <xsl:attribute name="name">
    282282          <xsl:value-of select="preceding-sibling::listitem[1]//@linkend"/>
Note: See TracChangeset for help on using the changeset viewer.