spec file parsing

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marian Jancar

    spec file parsing

    Hi,

    Is there a module for parsing spec files available?

    Marian

    --
    --
    Best Regards,

    Marian Jancar
    software developer
    ---------------------------------------------------------------------
    SuSE CR, s.r.o. e-mail: mjancar@suse.cz
    Drahobejlova 27 tel:+420 283 095 382
    190 00 Praha 9 fax:+420 283 095 374
    Czech Republic http://www.suse.cz
  • Irmen de Jong

    #2
    Re: spec file parsing

    Marian Jancar wrote:
    [color=blue]
    > Is there a module for parsing spec files available?[/color]

    What are spec files?

    --Irmen

    Comment

    • Marian Jancar

      #3
      Re: spec file parsing

      On Tue, 18 Nov 2003 19:24:59 +0100
      Irmen de Jong <irmen@-NOSPAM-REMOVETHIS-xs4all.nl> wrote:
      [color=blue]
      > Marian Jancar wrote:
      >[color=green]
      > > Is there a module for parsing spec files available?[/color]
      >
      > What are spec files?[/color]

      "Spec" file is usualy called the script used by rpm to build binary
      rpm package from sources. Sorry for being imprecise, I thought it is
      generaly known.

      Marian

      --
      --
      Best Regards,

      Marian Jancar
      software developer
      ---------------------------------------------------------------------
      SuSE CR, s.r.o. e-mail: mjancar@suse.cz
      Drahobejlova 27 tel:+420 283 095 382
      190 00 Praha 9 fax:+420 283 095 374
      Czech Republic http://www.suse.cz

      Comment

      • Skip Montanaro

        #4
        Re: spec file parsing


        Marian> Is there a module for parsing spec files available?

        Depends. What are spec files?

        Skip

        Comment

        • John Benson

          #5
          Re: spec file parsing

          If you're talking about text parameter files, how about module
          SafeConfigParse r (which superseded ConfigParser) that translates Windows
          ..INI files to and from Python methods. It's described on pp 135-6 of
          Martelli & Ascher's Python Cookbook (O'Reilly, 2002). Cookbook recipes are
          also available online at http://aspn.activestate.com/ASPN/Cookbook/Python
          ----- Original Message -----
          From: "Marian Jancar" <mjancar@suse.c z>
          To: <python-list@python.org >
          Sent: Tuesday, November 18, 2003 10:03 AM
          Subject: spec file parsing

          [color=blue]
          > Hi,
          >
          > Is there a module for parsing spec files available?
          >
          > Marian
          >
          > --
          > --
          > Best Regards,
          >
          > Marian Jancar
          > software developer
          > ---------------------------------------------------------------------
          > SuSE CR, s.r.o. e-mail: mjancar@suse.cz
          > Drahobejlova 27 tel:+420 283 095 382
          > 190 00 Praha 9 fax:+420 283 095 374
          > Czech Republic http://www.suse.cz
          >
          >[/color]



          Comment

          Working...