Define-attributes macro, is this useful, ideas for improvements?

yes, but this reactivates an issue for me about single package vs split packages.

I think I will create a separate topic about that.