FreeBSD Bugzilla – Attachment 208752 Details for
Bug 241631
security/py-pycryptodome: Update to 3.9.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
security/py-pycryptodome: Update to 3.9.0
patch-security_py-pycryptodome-3.9.0.txt (text/plain), 2.77 KB, created by
John W. O'Brien
on 2019-11-01 01:51:16 UTC
(
hide
)
Description:
security/py-pycryptodome: Update to 3.9.0
Filename:
MIME Type:
Creator:
John W. O'Brien
Created:
2019-11-01 01:51:16 UTC
Size:
2.77 KB
patch
obsolete
>Index: security/py-pycryptodome/Makefile >=================================================================== >--- security/py-pycryptodome/Makefile (revision 515969) >+++ security/py-pycryptodome/Makefile (working copy) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= pycryptodome >-DISTVERSION= 3.8.2 >+DISTVERSION= 3.9.0 > CATEGORIES= security python > MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >Index: security/py-pycryptodome/distinfo >=================================================================== >--- security/py-pycryptodome/distinfo (revision 515969) >+++ security/py-pycryptodome/distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1565564962 >-SHA256 (pycryptodome-3.8.2.tar.gz) = 5bc40f8aa7ba8ca7f833ad2477b9d84e1bfd2630b22a46d9bbd221982f8c3ac0 >-SIZE (pycryptodome-3.8.2.tar.gz) = 12441359 >+TIMESTAMP = 1572390856 >+SHA256 (pycryptodome-3.9.0.tar.gz) = dbeb08ad850056747aa7d5f33273b7ce0b9a77910604a1be7b7a6f2ef076213f >+SIZE (pycryptodome-3.9.0.tar.gz) = 11561613 >Index: security/py-pycryptodome/files/patch-setup.py >=================================================================== >--- security/py-pycryptodome/files/patch-setup.py (nonexistent) >+++ security/py-pycryptodome/files/patch-setup.py (working copy) >@@ -0,0 +1,29 @@ >+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: security/py-pycryptodome/files/patch-setup.py >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+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 Raw
Flags:
john
:
maintainer-approval+
Actions:
View
Attachments on
bug 241631
: 208752