[csw-devel] SF.net SVN: gar:[13962] csw/mgar/gar/v2/lib/python/package_stats.py

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Mon Mar 28 01:21:08 CEST 2011


Revision: 13962
          http://gar.svn.sourceforge.net/gar/?rev=13962&view=rev
Author:   bdwalton
Date:     2011-03-27 23:21:07 +0000 (Sun, 27 Mar 2011)

Log Message:
-----------
checkpkg/package_stats.py: use the newly available GetObsoletedBy() method from DirectoryFormatPackage to extend the information available in the pkg_stats dict with a new dict named obsoletness_info

Modified Paths:
--------------
    csw/mgar/gar/v2/lib/python/package_stats.py

Modified: csw/mgar/gar/v2/lib/python/package_stats.py
===================================================================
--- csw/mgar/gar/v2/lib/python/package_stats.py	2011-03-27 23:03:09 UTC (rev 13961)
+++ csw/mgar/gar/v2/lib/python/package_stats.py	2011-03-27 23:21:07 UTC (rev 13962)
@@ -22,7 +22,7 @@
 
 from sqlobject import sqlbuilder
 
-PACKAGE_STATS_VERSION = 10L
+PACKAGE_STATS_VERSION = 11L
 BAD_CONTENT_REGEXES = (
     # Slightly obfuscating these by using the default concatenation of
     # strings.
@@ -191,6 +191,7 @@
         "binaries": dir_pkg.ListBinaries(),
         "binaries_dump_info": self.GetBinaryDumpInfo(),
         "depends": dir_pkg.GetDependencies(),
+        "obsoleteness_info": dir_pkg.GetObsoletedBy(),
         "isalist": sharedlib_utils.GetIsalist(arch),
         "overrides": override_dicts,
         "pkgchk": self.GetPkgchkData(),


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