FreeBSD Bugzilla – Attachment 215748 Details for
Bug 247390
[patch] security/py-pycryptodome update to 3.9.7 (required for salt-3001)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch py-pycryptodome-3.9.7
py-pycryptodome-3.9.7.diff (text/plain), 2.53 KB, created by
Olli Hauer
on 2020-06-18 19:42:20 UTC
(
hide
)
Description:
patch py-pycryptodome-3.9.7
Filename:
MIME Type:
Creator:
Olli Hauer
Created:
2020-06-18 19:42:20 UTC
Size:
2.53 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 539561) >+++ Makefile (working copy) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= pycryptodome >-DISTVERSION= 3.9.0 >+DISTVERSION= 3.9.7 > CATEGORIES= security python > MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >Index: distinfo >=================================================================== >--- distinfo (revision 539561) >+++ distinfo (working copy) >@@ -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 >Index: files/patch-setup.py >=================================================================== >--- files/patch-setup.py (revision 539561) >+++ files/patch-setup.py (nonexistent) >@@ -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) > >Property changes on: files/patch-setup.py >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 247390
: 215748