[Slackbuilds-users] Python naming and sources

Jeremy Hansen jebrhansen+SBo at gmail.com
Wed Aug 12 12:15:03 UTC 2026


On Wed, Aug 12, 2026, 4:42 AM B. Watson <urchlay at slackware.uk> wrote:

>
>
> On Wed, 12 Aug 2026, Tonus via SlackBuilds-users wrote:
>
> > Hi all
> >
> > While updating a few python related slackbuilds, I was wondering about
> > source links.
> >
> > For sources from https://files.pythonhosted.org/, I thought we
> > recommanded this kind of URL
> >
> https://files.pythonhosted.org/packages/source/$PKG_INITIAL_LETTER/$PKG_NAME/$PKG_NAME-$$VERSION.tar.gz
> > Could it land in the ressources page ?
>
> Yeah. We do prefer that. But nobody ever put it in a FAQ or anything,
> which we should. Noted.
>

I did write a helper function/script that will auto correct github and
pythonhosted source URLs to a working format... in case anyone is
interested:

https://github.com/bassmadrigal/scripts/blob/master/check-source-download.sh

I've been using the basis of it for years in my sbgen.sh script and haven't
found any issues.

Jeremy

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20260812/73d1c698/attachment-0001.htm>


More information about the SlackBuilds-users mailing list