I would propose a mercurial patch queue in the spgk root directory. Then sage -pkg simply checks that either all patches in the queue are applied or that there exists an old-style /patches directory and no queue.
Complicated spkgs that require lots of modifications would then use a patch queue. This is of course more complicated, but if your package needs multiple patches then its probably not something than a new developer can easily modify with the 'cp' method. For simple spkgs we just keep the old process. Either way, there would be no need for patch or mercurial at install time. Volker -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org