Using the pypi repository with wget/curl-friendly download URLs =============================================================== A normal python module hosted on Pypi will have a random URL like this: https://files.pythonhosted.org/packages/12/18/020d3b27a10450ddb11429f637404e8ea67ecf4d9fd999d4f1d553f25506/dunamai-1.26.2.tar.gz While this format works, sometimes people use sed to change the VERSION, but forgot to change the hash values as well. We can also use the following format in order to have a simpler URL: https://files.pythonhosted.org/packages/source/$PKG_INITIAL_LETTER/$PKGNAME/$PKGNAME-$VERSION.tar.gz So the original URL can be transformed into something like this: https://files.pythonhosted.org/packages/source/d/dunamai/dunamai-1.26.2.tar.gz Both will have the same checksum. Next time a new version comes out (eg. 1.26.3), you can use the following command to change the VERSION in both the .info and .SlackBuild files: sed -i "s|1\.26\.2|1.26.3|g" python3-dunamai.* Last update: Fri Aug 14 21:29:09 UTC 2026