Files
deb-python-eventlet/bin/pull-monotonic
Sergey Shepelev f92b49f77e hubs: use monotonic clock by default (bundled package); Thanks to Roman Podoliaka and Victor Stinner
eventlet/support/monotonic.py is copied by curl from specific version on Github.
Change and run bin/pull-monotonic script to update to newer version.

https://github.com/eventlet/eventlet/pull/388
https://github.com/eventlet/eventlet/pull/303
2017-02-16 12:46:24 +03:00

9 lines
312 B
Bash
Executable File

#!/bin/bash
set -eux
cd "$( dirname "${BASH_SOURCE[0]}" )/.."
version=${1-"8447153178046158fe10d927cd358e0088587bca"}
path="./eventlet/support/monotonic.py"
url="https://raw.githubusercontent.com/atdt/monotonic/${version}/monotonic.py"
rm -f ${path}
curl --fail --location --silent --show-error -o${path} ${url}