[csw-devel] SF.net SVN: gar:[8186] csw/mgar/gar/v2/lib/python/checkpkg.py
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Tue Jan 26 17:33:01 CET 2010
Revision: 8186
http://gar.svn.sourceforge.net/gar/?rev=8186&view=rev
Author: wahwah
Date: 2010-01-26 16:32:54 +0000 (Tue, 26 Jan 2010)
Log Message:
-----------
mGAR v2: Making the library report more GAR-friendly, by printing code ready to copy/paste.
Modified Paths:
--------------
csw/mgar/gar/v2/lib/python/checkpkg.py
Modified: csw/mgar/gar/v2/lib/python/checkpkg.py
===================================================================
--- csw/mgar/gar/v2/lib/python/checkpkg.py 2010-01-26 16:31:47 UTC (rev 8185)
+++ csw/mgar/gar/v2/lib/python/checkpkg.py 2010-01-26 16:32:54 UTC (rev 8186)
@@ -42,28 +42,28 @@
(r".*\.rb", u"CSWruby"),
)
-REPORT_TMPL = u"""$pkgname:
+REPORT_TMPL = u"""# $pkgname:
#if $missing_deps
-SUGGESTION: you may want to add some or all of the following as depends:
- (Feel free to ignore SUNW or SPRO packages)
+# SUGGESTION: you may want to add some or all of the following as depends:
+# (Feel free to ignore SUNW or SPRO packages)
#for $pkg in $sorted($missing_deps)
-> $pkg
+REQUIRED_PKGS_$pkgname += $pkg
#end for
#end if
#if $surplus_deps
-The following packages might be unnecessary dependencies:
+# The following dependencies might be unnecessary:
#for $pkg in $sorted($surplus_deps)
-? $pkg
+# ? $pkg
#end for
#end if
#if $orphan_sonames
-The following sonames don't belong to any package:
+# The following required sonames would not be found at runtime:
#for $soname in $sorted($orphan_sonames)
-! $soname
+# ! $soname
#end for
#end if
#if not $missing_deps and not $surplus_deps and not $orphan_sonames
-+ Dependencies of $pkgname look good.
+# + Dependencies of $pkgname look good.
#end if
"""
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list