1 2 3 4 5 6 7 8 9 10 11
#!/bin/bash . "${0%/*}/Pkgfile" curl -Ss "https://pypi.org/project/${name#*-}/#files" \ | sed ' s@^.*<a href="https://files\.pythonhosted\.org/packages/[0-9a-f]\{2\}/[0-9a-f]\{2\}/[0-9a-f]\{60\}/'"${name#*-}"'-\([^"]\+\)\.tar\.gz">\s*$@\1@ t d '