[csw-devel] SF.net SVN: gar:[11520] csw/mgar/gar/v2/lib/python/opencsw.py
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Sun Nov 7 23:24:46 CET 2010
Revision: 11520
http://gar.svn.sourceforge.net/gar/?rev=11520&view=rev
Author: bdwalton
Date: 2010-11-07 22:24:46 +0000 (Sun, 07 Nov 2010)
Log Message:
-----------
checkpkg: allow type e files (apache2 modules using build leverage this)
Modified Paths:
--------------
csw/mgar/gar/v2/lib/python/opencsw.py
Modified: csw/mgar/gar/v2/lib/python/opencsw.py
===================================================================
--- csw/mgar/gar/v2/lib/python/opencsw.py 2010-11-07 19:08:56 UTC (rev 11519)
+++ csw/mgar/gar/v2/lib/python/opencsw.py 2010-11-07 22:24:46 UTC (rev 11520)
@@ -522,6 +522,7 @@
"s": "symlink",
"l": "link",
"i": "script",
+ "e": "editable file"
}
def __init__(self, input, permissions=False,
@@ -552,6 +553,11 @@
if self.analyze_permissions:
line_to_add += " %s" % fields[4]
mode, user, group = fields[4:7]
+ elif line_type in ('e'):
+ # Editable files
+ line_to_add = fields[3]
+ installed_path = fields[3]
+ prototype_class = fields[2]
elif line_type in ('s', 'l'):
# soft- and hardlinks
link_from, link_to = fields[3].split("=")
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