update-check: handle python3-only modules from pypi

This commit is contained in:
Piotr Wójcik 2019-01-02 17:19:26 +01:00 committed by maxice8
parent 39435a5185
commit 9c8ef3d6a9

View file

@ -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)"