/[gentoo]/src/packages/gentoo.py
Gentoo

Diff of /src/packages/gentoo.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.11 Revision 1.12
1#!/usr/bin/python -O 1#!/usr/bin/python -O
2"""These functions mainly take ebuild info (grabbed from the database and 2"""These functions mainly take ebuild info (grabbed from the database and
3 convert it to HTML. See the "main" function at the bottom.""" 3 convert it to HTML. See the "main" function at the bottom."""
4 4
5__revision__ = "$Revision: 1.11 $" 5__revision__ = "$Revision: 1.12 $"
6# $Source: /var/cvsroot/gentoo/src/packages/gentoo.py,v $ 6# $Source: /var/cvsroot/gentoo/src/packages/gentoo.py,v $
7 7
8import config 8import config
9import os 9import os
10import time 10import time
694 '<link rel="stylesheet" type="text/css" href="%s"></link>\n' 694 '<link rel="stylesheet" type="text/css" href="%s"></link>\n'
695 '%s\n]]>' % (config.STYLESHEET, ebuild_to_html(ebuild, full=True)) 695 '%s\n]]>' % (config.STYLESHEET, ebuild_to_html(ebuild, full=True))
696 ) 696 )
697 697
698 fp.write("""<item> 698 fp.write("""<item>
699 <title>%s %s</title> 699 <title>%s/%s %s</title>
700 <link>%sebuilds/?%s-%s</link> 700 <link>%sebuilds/?%s-%s</link>
701 <description> 701 <description>
702 %s 702 %s
703 </description> 703 </description>
704 <pubDate>%s</pubDate> 704 <pubDate>%s</pubDate>
705 </item> 705 </item>
706 """ % (ebuild['name'], 706 """ % (ebuild['category'],
707 ebuild['name'],
707 ebuild['version'], 708 ebuild['version'],
708 config.FEHOME, 709 config.FEHOME,
709 ebuild['name'], 710 ebuild['name'],
710 ebuild['version'], 711 ebuild['version'],
711 description, 712 description,

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.20