update-check: handle python3-only modules from pypi
This commit is contained in:
parent
39435a5185
commit
9c8ef3d6a9
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ update_check() {
|
||||||
pkgname=${pkgname#perl-};;
|
pkgname=${pkgname#perl-};;
|
||||||
*pythonhosted.org*)
|
*pythonhosted.org*)
|
||||||
pkgname=${pkgname#python-}
|
pkgname=${pkgname#python-}
|
||||||
|
pkgname=${pkgname#python3-}
|
||||||
url="https://pypi.org/simple/$pkgname";;
|
url="https://pypi.org/simple/$pkgname";;
|
||||||
*github.com*)
|
*github.com*)
|
||||||
githubname="$(printf %s "$url" | cut -d/ -f4,5)"
|
githubname="$(printf %s "$url" | cut -d/ -f4,5)"
|
||||||
|
|
Loading…
Reference in a new issue