summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions6
1 files changed, 3 insertions, 3 deletions
diff --git a/checkVersions b/checkVersions
index 5c53d99d0..55535b00c 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
)"