xbps-src: update-check: update PyPI URL here as well
This commit is contained in:
parent
1dda7301a5
commit
8fc7bfb7d2
|
@ -41,9 +41,9 @@ update_check() {
|
||||||
url="https://launchpad.net/$lpname/+download";;
|
url="https://launchpad.net/$lpname/+download";;
|
||||||
*cpan.*)
|
*cpan.*)
|
||||||
pkgname=${pkgname#perl-};;
|
pkgname=${pkgname#perl-};;
|
||||||
*pypi.python.org*)
|
*pypi.io*)
|
||||||
pkgname=${pkgname#python-}
|
pkgname=${pkgname#python-}
|
||||||
url="https://pypi.python.org/simple/$pkgname";;
|
url="https://pypi.io/simple/$pkgname";;
|
||||||
*github.com*)
|
*github.com*)
|
||||||
githubname="$(printf %s "$url" | cut -d/ -f4,5)"
|
githubname="$(printf %s "$url" | cut -d/ -f4,5)"
|
||||||
url="https://github.com/$githubname/tags"
|
url="https://github.com/$githubname/tags"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user