summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcheckVersions6
1 files changed, 3 insertions, 3 deletions
diff --git a/checkVersions b/checkVersions
index 5c53d99d..55535b00 100755
--- a/checkVersions
+++ b/checkVersions
@@ -320,7 +320,7 @@ then
then
qu=$(
echo "${src}" | \
- sed 's|^\(.*\)/packages/.*/\([^/]\+\)-[^/-]\+\.tar\.gz$|\1/pypi/\2/|'
+ sed 's|^.*/packages/.*/\([^/]\+\)-[^/-]\+\.tar\.gz$|https://pypi.org/project/\1/|'
)
_pkgname=$(
echo "${qu}" | \
@@ -332,8 +332,8 @@ then
remVer="$(
curl_it "${qu}" | \
tr '"' '\n' | \
- grep "^/pypi/\(python-\)\?${_pkgname}/[0-9.-]\+\$" | \
- sed "s|^/pypi/\(python-\)\?${_pkgname}/\([0-9.-]\+\)\$|\2|" | \
+ grep "^/project/\(python-\)\?${_pkgname}/[0-9.-]\+/\$" | \
+ sed "s|^/project/\(python-\)\?${_pkgname}/\([0-9.-]\+\)/\$|\2|" | \
sort -V | \
tail -n1
)"