diff options
author | Erich Eckner <git@eckner.net> | 2016-04-26 14:16:44 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-04-26 14:16:44 +0200 |
commit | bda607655e49b1e971da410e359b65312a374f17 (patch) | |
tree | 4a73f8266a40995d42b1fae97d329fd13c776eb7 | |
parent | 245e4c4aeb4705817cab68b808d2a6162793cc05 (diff) | |
download | archlinuxewe.git.save-bda607655e49b1e971da410e359b65312a374f17.tar.xz |
checkVersions kann jetzt auch pypi-Pakete
-rwxr-xr-x | checkVersions | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/checkVersions b/checkVersions index 684a5210..73bd8421 100755 --- a/checkVersions +++ b/checkVersions @@ -102,6 +102,21 @@ then tail -n1 )" elif echo "${src}" | \ + grep -q "^https://pypi\.python\.org/packages/" + then + qu="$( + echo "${src}" | \ + sed 's|^\(.*\)/packages/.*/\([^/]\+\)-[^/-]\+\.tar\.gz$|\1/pypi/\2/|' + )" + remVer="$( + curl -o - "${qu}" 2> /dev/null | \ + tr "\"" "\n" | \ + grep "^/pypi/${pkgname#*-}/[0-9.-]\+\$" | \ + sed "s|^/pypi/${pkgname#*-}/\([0-9.-]\+\)\$|\1|" | \ + sort -V | \ + tail -n1 + )" + elif echo "${src}" | \ grep -q "//bundles\.openttdcoop\.org/" then qu="$( |