aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-crypto/python-3.8.patch
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2019-12-23 16:27:26 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-12-31 16:47:11 +0000
commit852eb6ae7cd4c663659830dc4e192fbfcab3cdef (patch)
tree9ce95a4c087a6291fd16fd132fdc7fc31640fa2a /main/py3-crypto/python-3.8.patch
parentbcfde9445e1e86b7bbc8a5fb30e8ddd525e9a874 (diff)
downloadaports-852eb6ae7cd4c663659830dc4e192fbfcab3cdef.tar.bz2
aports-852eb6ae7cd4c663659830dc4e192fbfcab3cdef.tar.xz
main/py3-pycryptodome: replace py3-crypto
pycrypto's last release was in [2013][0], and pycryptodome is mostly [backwards compatible][1], so replace py3-crypto. [0]: https://pypi.org/project/pycrypto/#history [1]: https://pycryptodome.readthedocs.io/en/latest/src/vs_pycrypto.html
Diffstat (limited to 'main/py3-crypto/python-3.8.patch')
-rw-r--r--main/py3-crypto/python-3.8.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/main/py3-crypto/python-3.8.patch b/main/py3-crypto/python-3.8.patch
deleted file mode 100644
index a82929ab7f..0000000000
--- a/main/py3-crypto/python-3.8.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/lib/Crypto/Random/_UserFriendlyRNG.py b/lib/Crypto/Random/_UserFriendlyRNG.py
-index 957e006..34e2a31 100644
---- a/lib/Crypto/Random/_UserFriendlyRNG.py
-+++ b/lib/Crypto/Random/_UserFriendlyRNG.py
-@@ -74,7 +74,7 @@ class _EntropyCollector(object):
- self._time_es.feed(struct.pack("@I", int(2**30 * (t - floor(t)))))
-
- # Add the fractional part of time.clock()
-- t = time.clock()
-+ t = time.perf_counter()
- self._clock_es.feed(struct.pack("@I", int(2**30 * (t - floor(t)))))
-
-