mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 02:26:38 -04:00
Before python 3.6 version pysha3 was required as a runtime dependency however after the import of sha3 this can be skipped. Additionally this port has not been updated since 2019 and should be deprecated. Approved by: portmgr (blanket)
14 lines
325 B
Python
14 lines
325 B
Python
--- merkletools/__init__.py.orig 2024-01-16 17:39:29 UTC
|
|
+++ merkletools/__init__.py
|
|
@@ -1,11 +1,5 @@ import binascii
|
|
import hashlib
|
|
import binascii
|
|
-try:
|
|
- import sha3
|
|
-except:
|
|
- from warnings import warn
|
|
- warn("sha3 is not working!")
|
|
-
|
|
|
|
class MerkleTools(object):
|
|
def __init__(self, hash_type="sha256"):
|