I have finally re-written my script in maintainable Python and started re-testing and updating all my packages. You can find the new repository here: https://git.sr.ht/~groctel/pkgbuilds
Now, what I need to do is to set up a system to automate this process as much as I can. Still, this is a great step towards improving my mental health. It's brutal the toll overdue tasks like this can take on your mind.