From 8fc7bfb7d282aa6bd34a6706126a889d32582b16 Mon Sep 17 00:00:00 2001
From: Alessio Sergi <al3hex@gmail.com>
Date: Mon, 25 Apr 2016 17:52:51 +0200
Subject: [PATCH] xbps-src: update-check: update PyPI URL here as well

---
 common/xbps-src/shutils/update_check.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/xbps-src/shutils/update_check.sh b/common/xbps-src/shutils/update_check.sh
index 908d28b9fbc..373dbfc51c8 100644
--- a/common/xbps-src/shutils/update_check.sh
+++ b/common/xbps-src/shutils/update_check.sh
@@ -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"