Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
pyxml
pyxml-distutils.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pyxml-distutils.diff of Package pyxml
Index: PyXML-0.8.4/setupext/install_data.py =================================================================== --- PyXML-0.8.4.orig/setupext/install_data.py +++ PyXML-0.8.4/setupext/install_data.py @@ -132,6 +132,7 @@ class install_Data_Files (install_data): def run(self): self.outfiles = [] + self.outdirs = [] install_cmd = self.get_finalized_command('install') for d in self.data_files: @@ -159,7 +160,8 @@ class install_Data_Files (install_data): # warn if necceassary self.warn("setup script did not provide a directory to copy files to " " -- installing right in '%s'" % install_dir) - + + self.outdirs.append("%dir " + dir) dir=os.path.normpath(dir) # create path self.mkpath(dir) @@ -179,6 +181,8 @@ class install_Data_Files (install_data): if type(out) is TupleType: out = out[0] self.outfiles.append(out) + self.outdirs.append("%dir " + os.path.dirname(os.path.dirname(out))) + self.outdirs.append("%dir " + os.path.dirname(out)) return self.outfiles @@ -189,8 +193,11 @@ class install_Data_Files (install_data): inputs.append(d.files) return inputs - def get_outputs (self): - return self.outfiles + def get_outputs (self, rpm_dirs=0): + if rpm_dirs: + return self.outfiles + self.outdirs + else: + return self.outfiles ###########################################################################
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor