diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
commit | 6abbf81ef2f298e3221ff5e67a1f3c5f23958212 (patch) | |
tree | 25413d1cb3a0cbfe36029db32398c0f333609215 /dev-python/libnacl | |
parent | 9c417bacd51da6d8b57fa9f37425161d30d4b95b (diff) |
gentoo resync : 14.12.2020
Diffstat (limited to 'dev-python/libnacl')
-rw-r--r-- | dev-python/libnacl/Manifest | 1 | ||||
-rw-r--r-- | dev-python/libnacl/files/libnacl-1.7.1-py39.patch | 35 |
2 files changed, 0 insertions, 36 deletions
diff --git a/dev-python/libnacl/Manifest b/dev-python/libnacl/Manifest index 2556422760f1..38e13b3fb8bc 100644 --- a/dev-python/libnacl/Manifest +++ b/dev-python/libnacl/Manifest @@ -1,4 +1,3 @@ -AUX libnacl-1.7.1-py39.patch 1082 BLAKE2B 34d9a6946ec9cd7435d2d2b9cab427142ee394cecbd45604028d713bc76b390f2c4c6c6d78072e997885cdf57244bbf6344944fdc1f669d604c2f938ca25d975 SHA512 6696e1d9dcfb553fabf2982ab947a29dca46e22b7c143e2f6fa7917920a3f7999e1dc3ccbedec976af914c52134c2c4a7d13993ea683cc88aa021f9620a9bbc0 DIST libnacl-1.6.1.tar.gz 39789 BLAKE2B 7c73f67d4faec8d6e53df21eb3c394d4f36754cd9ad1dfa63ef45aab43bb1832cace7446688b2b29b9923539e00d59f3a78c719b8b8770b2c6c217db19dd2f6d SHA512 90fd9302cdfbe84acfc7dff0ac95eeb05fd1bb346cd8b220613174d5d1ae5f627be06b4d588fd4a939c49a119ca557d68a06d3cbe1c0d409a253fdca96d944ac DIST libnacl-1.7.2.tar.gz 43343 BLAKE2B 4f7d03661e1385033c51821bf673c81ced11a1523b371ec7da42ed9cf75bdaadee1e679059dfae85871530652b5fea80bfb91c19a8a1eefb4ecf1b8661f11e19 SHA512 a4efbf73f73d9493ac365efa5a5bd6481f85ce4c880ad236bbf7478090bdea857e78e33e445c4e467d2a2032040863b835f32f9a942d2f1e467015bd76b0d469 EBUILD libnacl-1.6.1.ebuild 539 BLAKE2B ccb3670d51307049905a0c83b804f84ab665209d74c701ff3c03a629bf8a5d4a5d97a5fdba12e28e6f067584ad12c6a5bc2250296bac19ae79aa9d08fe404bad SHA512 231d321231c039dc696d18494d964e2df61aab1dc4fe27d2f8cb70794ffd28dc58670a8f5000c518f2dae723140eaf822670159ae9c4d02687a723f817b7a9b9 diff --git a/dev-python/libnacl/files/libnacl-1.7.1-py39.patch b/dev-python/libnacl/files/libnacl-1.7.1-py39.patch deleted file mode 100644 index 62fc1e30258d..000000000000 --- a/dev-python/libnacl/files/libnacl-1.7.1-py39.patch +++ /dev/null @@ -1,35 +0,0 @@ -commit 53c1576b21b53156fc30d357b40c88c7eefb50de -Author: Karthikeyan Singaravelan <tir.karthi@gmail.com> -Date: Thu Jan 30 22:22:58 2020 +0530 - - Remove encoding parameter json.loads for Python 3.9 compatibility. - -diff --git a/libnacl/utils.py b/libnacl/utils.py -index 412d518..e06e078 100644 ---- a/libnacl/utils.py -+++ b/libnacl/utils.py -@@ -1,6 +1,7 @@ - # -*- coding: utf-8 -*- - - import struct -+import sys - import time - - # Import nacl libs -@@ -31,7 +32,10 @@ def load_key(path_or_file, serial='json'): - key_data = msgpack.load(stream) - elif serial == 'json': - import json -- key_data = json.loads(stream.read(), encoding='UTF-8') -+ if sys.version_info[0] >= 3: -+ key_data = json.loads(stream.read()) -+ else: -+ key_data = json.loads(stream.read(), encoding='UTF-8') - finally: - if stream != path_or_file: - stream.close() -@@ -95,4 +99,3 @@ def time_nonce(): - ''' - nonce = rand_nonce() - return (struct.pack('=d', time.time()) + nonce)[:len(nonce)] -- |