DEV Community

Shresth Paul
Shresth Paul

Posted on

Maintaining Arch Linux AUR Packages: A Dual Update for Python-zconfig and Python-reparser

It's that time again! As a maintainer of several packages on the Arch Linux User Repository (AUR), keeping my packages up-to-date is a key part of my routine. Today, I'm excited to share that I've successfully pushed updates for two more of my Python-based packages: python-zconfig and python-reparser. This post details the update process for both, which I've bundled into a single release.

Updating python-zconfig

The python-zconfig package is a crucial component for me, and it was time to bring it to its latest upstream release. The process was straightforward, following the standard AUR maintenance protocol:

  • Bumping the Version: The first step was to update the pkgver (package version) in the PKGBUILD file to reflect the new upstream release.

  • Updating Checksums: Next, I had to ensure the integrity of the new source code. I used updpkgsums to automatically generate the new sha256sum for the updated source tarball.

  • Local Build & Test: Before pushing the changes, I ran makepkg to build the package locally. The build went smoothly, and a quick test confirmed that the package was working as expected.

With the changes verified, I committed the updated PKGBUILD to the Git repository and pushed it to the AUR. The new version of python-zconfig is now available for all users.

Updating python-reparser

My next task was to update python-reparser. This package also required a version bump to align with its latest release. The process was very similar to the one for python-zconfig:

  • Version Bump: I modified the PKGBUILD to reflect the new version number.

  • Checksum Generation: I ran updpkgsums again to update the checksums for the new source file.

  • Testing the Build: I performed a local build using makepkg to ensure the package compiled without any issues. The build was successful, and I confirmed that the functionality remained intact.

After a quick final check, I pushed the updated PKGBUILD to the AUR. Now, the latest version of python-reparser is ready for installation and use.

Conclusion

Keeping packages updated is a simple but important responsibility for any AUR maintainer. By bundling the updates for python-zconfig and python-reparser into a single effort, I was able to streamline my workflow and make it easier to announce the changes. I'm glad these two packages are now running on their latest versions.

If you use either of these packages, you can update them with your favorite AUR helper, such as yay or paru, by running a simple command like:

$ yay -Syu python-zconfig python-reparser

I hope this helps others understand the package maintenance process. Happy updating!

Thanks
Shresth Paul

Top comments (0)