[csw-devel] SF.net SVN: gar:[7911] csw/mgar/gar/v2/bin/checkpkg.d/checkpkg-libs.py

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Fri Jan 8 00:34:57 CET 2010


Revision: 7911
          http://gar.svn.sourceforge.net/gar/?rev=7911&view=rev
Author:   wahwah
Date:     2010-01-07 23:34:57 +0000 (Thu, 07 Jan 2010)

Log Message:
-----------
mGAR v2: checkpkg-libs.py, skayser's suggestions from http://lists.opencsw.org/pipermail/maintainers/2010-January/005375.html

Modified Paths:
--------------
    csw/mgar/gar/v2/bin/checkpkg.d/checkpkg-libs.py

Modified: csw/mgar/gar/v2/bin/checkpkg.d/checkpkg-libs.py
===================================================================
--- csw/mgar/gar/v2/bin/checkpkg.d/checkpkg-libs.py	2010-01-07 23:08:06 UTC (rev 7910)
+++ csw/mgar/gar/v2/bin/checkpkg.d/checkpkg-libs.py	2010-01-07 23:34:57 UTC (rev 7911)
@@ -81,7 +81,8 @@
     binary_data = checkpkg.ParseDumpOutput(stdout)
     needed_sonames_by_binary[binary_base_name] = binary_data
     if checkpkg.SONAME not in binary_data:
-      logging.info("The %s shared library doesn't provide a SONAME.",
+      logging.debug("The %s binary doesn't provide a SONAME. "
+                    "(It might be an executable)",
                    binary_base_name)
       # The shared library doesn't tell its SONAME.  We're guessing it's the
       # same as the base file name.
@@ -130,7 +131,7 @@
       elif soname in lines_by_soname:
         print ("%s is provided by %s and required by:" 
                % (soname,
-                  repr(pkgs_by_filename[soname])))
+                  pkgs_by_filename[soname]))
         filename_lines = " ".join(sorted(binaries_by_soname[soname]))
         for line in textwrap.wrap(filename_lines, 70):
           print " ", line


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