On 2022-11-06 13:53:51 (+0100), Andreas 'Segaja' Schleifer wrote:
Recently Felix found a way to only build the gem and possible extensions once and use them for both testing and packaging.
To reflect these changes I would propose that we update our ruby package guidelines with the new way that Felix found.
Hi Andreas, Thanks for investigating further and staying on top of it! Simplifying the guidelines is immensely helpful to anyone trying to package Ruby packages on Arch. I took the initiative and already added the ruby-rspec change to the "Build and test" section. AFAICT, the new "Template" section looks alright! To not generate a huge changeset, I guess we can bit by bit adapt the "Gem based build" to match yours, then remove the "Rake based build", move the contents of "Gem based build" to its parent heading ("Template") and add the "Gotchas" subsections below a "Tips and tricks" section. If you need help, let me know and thanks again for further looking into this and keeping up with the documentation! Best, David -- https://sleepmap.de