xbps-src: update-check: update PyPI URL here as well

This commit is contained in:
Alessio Sergi 2016-04-25 17:52:51 +02:00
parent 1dda7301a5
commit 8fc7bfb7d2

View file

@ -41,9 +41,9 @@ update_check() {
url="https://launchpad.net/$lpname/+download";;
*cpan.*)
pkgname=${pkgname#perl-};;
*pypi.python.org*)
*pypi.io*)
pkgname=${pkgname#python-}
url="https://pypi.python.org/simple/$pkgname";;
url="https://pypi.io/simple/$pkgname";;
*github.com*)
githubname="$(printf %s "$url" | cut -d/ -f4,5)"
url="https://github.com/$githubname/tags"