/[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.16.2.3 Revision 1.16.2.4
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.16.2.3 $" 5__revision__ = "$Revision: 1.16.2.4 $"
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
383 ebuild['time'].strftime("%a, %d %b %Y %H:%M:%S +0000")) 383 ebuild['time'].strftime("%a, %d %b %Y %H:%M:%S +0000"))
384 ) 384 )
385 385
386 fp.write("\n\ 386 fp.write("\n\
387 <textInput>\n\ 387 <textInput>\n\
388 <title>Search the Online Package Database</title>\n\ 388 <title>Search</title>\n\
389 <link>%s/search/</link>\n\ 389 <link>%s/search/</link>\n\
390 <description>emerge -Ss</description>\n\ 390 <description>Search the Online Package Database</description>\n\
391 <name>sstring</name>\n\ 391 <name>sstring</name>\n\
392 </textInput>\n\ 392 </textInput>\n\
393 </channel>\n\ 393 </channel>\n\
394 </rss>\n" % config.FEHOME) 394 </rss>\n" % config.FEHOME)
395 395

Legend:
Removed from v.1.16.2.3  
changed lines
  Added in v.1.16.2.4

  ViewVC Help
Powered by ViewVC 1.1.20