aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2020-06-18 20:17:49 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2020-06-18 20:17:49 +0000
commit3aed3473402bc4c100782a6880dcb418397c8506 (patch)
tree2aa55d1b9c342bb4463b9ceca156da62d94c09e2
parentd9eec2f87897770f5dc3a7f83172cd171456aae9 (diff)
downloadports-3aed3473402bc4c100782a6880dcb418397c8506.tar.gz
ports-3aed3473402bc4c100782a6880dcb418397c8506.zip
MFH: r539566
Update to version 3.9.7 which is required for salt-3001 PR: 247390 Submitted by: ohauer@ Approved by: portmgr (blanket)
Notes
Notes: svn path=/branches/2020Q2/; revision=539567
-rw-r--r--security/py-pycryptodome/Makefile2
-rw-r--r--security/py-pycryptodome/distinfo6
-rw-r--r--security/py-pycryptodome/files/patch-setup.py29
3 files changed, 4 insertions, 33 deletions
diff --git a/security/py-pycryptodome/Makefile b/security/py-pycryptodome/Makefile
index 253fcd4b9c82..a68e9f72264d 100644
--- a/security/py-pycryptodome/Makefile
+++ b/security/py-pycryptodome/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pycryptodome
-DISTVERSION= 3.9.0
+DISTVERSION= 3.9.7
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/security/py-pycryptodome/distinfo b/security/py-pycryptodome/distinfo
index 97ca3e7e9b26..57138e2b2a55 100644
--- a/security/py-pycryptodome/distinfo
+++ b/security/py-pycryptodome/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1572390856
-SHA256 (pycryptodome-3.9.0.tar.gz) = dbeb08ad850056747aa7d5f33273b7ce0b9a77910604a1be7b7a6f2ef076213f
-SIZE (pycryptodome-3.9.0.tar.gz) = 11561613
+TIMESTAMP = 1582738914
+SHA256 (pycryptodome-3.9.7.tar.gz) = f1add21b6d179179b3c177c33d18a2186a09cc0d3af41ff5ed3f377360b869f2
+SIZE (pycryptodome-3.9.7.tar.gz) = 15451558
diff --git a/security/py-pycryptodome/files/patch-setup.py b/security/py-pycryptodome/files/patch-setup.py
deleted file mode 100644
index 2c8ef65dccff..000000000000
--- a/security/py-pycryptodome/files/patch-setup.py
+++ /dev/null
@@ -1,29 +0,0 @@
-commit b3a394d0837ff92919d35d01de9952b8809e802d
-Author: Helder Eijs <helderijs@gmail.com>
-Date: Wed Aug 28 07:52:19 2019 +0200
-
- Force UTF-8 encoding when translating files
-
-diff --git ./setup.py ./setup.py
-index 9d88bc1e..1d70caad 100644
---- ./setup.py
-+++ ./setup.py
-@@ -222,14 +222,18 @@ def create_cryptodome_lib():
- if full_file_name_src != "py.typed":
- continue
-
-- with open(full_file_name_dst, "rt") as fd:
-+ if sys.version_info[0] > 2:
-+ extra_param = { "encoding": "utf-8" }
-+ else:
-+ extra_param = {}
-+ with open(full_file_name_dst, "rt", **extra_param) as fd:
- content = (fd.read().
- replace("Crypto.", "Cryptodome.").
- replace("Crypto ", "Cryptodome ").
- replace("'Crypto'", "'Cryptodome'").
- replace('"Crypto"', '"Cryptodome"'))
- os.remove(full_file_name_dst)
-- with open(full_file_name_dst, "wt") as fd:
-+ with open(full_file_name_dst, "wt", **extra_param) as fd:
- fd.write(content)