Autoproject has added a module that supports temporary package renaming with (simple) conflict resolution. Should work on any implementation. Give it a go.
From the readme:
From the readme:
The function AUTOPROJECT.PKG:ALIAS provides a straightforward facility for renaming packages temporarily as if they were local to a system or package. Any nicknames except the standard package names can be chosen, as package name conflicts are handled by a 'shadowing' mechanism.
Example usage:
In packages.lisp:
In code.lisp:(defpackage :my-package (:use :cl) (:export #:my-function)) (pkg:alias '((:com.really.long.package.util :util) (:com.another.package.foo :foo) (:com.a.third.package.bar :bar)))
(defun my-function (x) (let ((q (util:prepare-for-xuul x))) (foo:handle-xuul (bar:make-xuul q)))) ;; Be nice to others, reset nicknames (pkg:alias)