summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-08 22:58:44 +0200
committerErich Eckner <git@eckner.net>2019-09-08 22:58:44 +0200
commit15c461b4b8940a07eb64ef40b1c3fb3562e63538 (patch)
tree78f69cfcf00503441ae07f7430bee7b0193d1bc0
parentf755886aa38b31ebb895180e2dfe33e9b9305e93 (diff)
downloadcrux-ports-15c461b4b8940a07eb64ef40b1c3fb3562e63538.tar.xz
versionierung ergänzt
-rwxr-xr-xmanualPorts/python-rfc6555/lastVersion.sh11
-rwxr-xr-xmanualPorts/python-selectors2/lastVersion.sh11
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
+'
+