Loïc Minier wrote: > At this point, I should warn you that I had issues with dh_pycentral > --substvars with one of my sources, some Python traceback in some > particular cases. When this happened, I was diagnosing a bug in > substvars generation, and thought the relevant code was in pycentral, > while in fact the substvars were written by dh_python. Hence, I didn't > investigate the substvars generation in pycentral afterwards. > > This is just a warning that you should try rebuilding some packages > with this substvars generation before switching to it.
Yes, I can reproduce this with gnome-python-desktop with the patched
version of dh_pycentral:
dh_pycentral -a
Traceback (most recent call last):
File "/usr/bin/pycentral", line 1325, in ?
main()
File "/usr/bin/pycentral", line 1319, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 1183, in run
parse_versions=self.options.substvars!='no')
File "/usr/bin/pycentral", line 275, in __init__
self.read_control()
File "/usr/bin/pycentral", line 387, in read_control
self.sversion_info = parse_versions(self.sversion_field)
NameError: global name 'parse_versions' is not defined
dh_pycentral: command returned error code 256
--
see shy jo
signature.asc
Description: Digital signature

