diff options
author | Erich Eckner <git@eckner.net> | 2019-09-08 22:58:44 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-09-08 22:58:44 +0200 |
commit | 15c461b4b8940a07eb64ef40b1c3fb3562e63538 (patch) | |
tree | 78f69cfcf00503441ae07f7430bee7b0193d1bc0 | |
parent | f755886aa38b31ebb895180e2dfe33e9b9305e93 (diff) | |
download | crux-ports-15c461b4b8940a07eb64ef40b1c3fb3562e63538.tar.xz |
versionierung ergänzt
-rwxr-xr-x | manualPorts/python-rfc6555/lastVersion.sh | 11 | ||||
-rwxr-xr-x | manualPorts/python-selectors2/lastVersion.sh | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/manualPorts/python-rfc6555/lastVersion.sh b/manualPorts/python-rfc6555/lastVersion.sh new file mode 100755 index 0000000..aa0c57f --- /dev/null +++ b/manualPorts/python-rfc6555/lastVersion.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +. "${0%/*}/Pkgfile" + +curl -Ss "https://pypi.org/project/${name#*-}/#files" \ +| sed ' + s@^.*<a href="https://files\.pythonhosted\.org/packages/[0-9a-f]\{2\}/[0-9a-f]\{2\}/[0-9a-f]\{60\}/'"${name#*-}"'-\([^"]\+\)\.tar\.gz">\s*$@\1@ + t + d +' + diff --git a/manualPorts/python-selectors2/lastVersion.sh b/manualPorts/python-selectors2/lastVersion.sh new file mode 100755 index 0000000..aa0c57f --- /dev/null +++ b/manualPorts/python-selectors2/lastVersion.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +. "${0%/*}/Pkgfile" + +curl -Ss "https://pypi.org/project/${name#*-}/#files" \ +| sed ' + s@^.*<a href="https://files\.pythonhosted\.org/packages/[0-9a-f]\{2\}/[0-9a-f]\{2\}/[0-9a-f]\{60\}/'"${name#*-}"'-\([^"]\+\)\.tar\.gz">\s*$@\1@ + t + d +' + |