pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-olm: Add patch-setup.py



Module Name:	pkgsrc-wip
Committed By:	snow flurry <snow%datagirl.xyz@localhost>
Pushed By:	flurry
Date:		Tue Aug 24 21:50:32 2021 -0400
Changeset:	4eb2aeb8565ef79110cc9fcbbbe1c5b7a5a744a6

Modified Files:
	py-olm/distinfo
Added Files:
	py-olm/patches/patch-setup.py

Log Message:
py-olm: Add patch-setup.py

Avoid locale-based exceptions when building for Python 3.6.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4eb2aeb8565ef79110cc9fcbbbe1c5b7a5a744a6

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-olm/distinfo               |  1 +
 py-olm/patches/patch-setup.py | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)

diffs:
diff --git a/py-olm/distinfo b/py-olm/distinfo
index 8dbb52a157..db45c833b0 100644
--- a/py-olm/distinfo
+++ b/py-olm/distinfo
@@ -4,3 +4,4 @@ SHA1 (olm-3.2.2.tar.gz) = 8520ad0842dbadfd11c971866e05dd3bdcc6da63
 RMD160 (olm-3.2.2.tar.gz) = 887cdd5f0ab2dac968956f3f0f92facad335a6db
 SHA512 (olm-3.2.2.tar.gz) = 4af945ee0a2d4c08c03e6706c7cb3d59ca0fcdd06acf9501ee2a22761153a6e2f7c12eb4d119663a8b5b2bc34556fe429d02362492938e4f1832e28cfe991ef7
 Size (olm-3.2.2.tar.gz) = 537337 bytes
+SHA1 (patch-setup.py) = 3ee82830e1bf0a69b455d68efc49e67b6215aada
diff --git a/py-olm/patches/patch-setup.py b/py-olm/patches/patch-setup.py
new file mode 100644
index 0000000000..3aae30bf7d
--- /dev/null
+++ b/py-olm/patches/patch-setup.py
@@ -0,0 +1,16 @@
+$NetBSD$
+
+Avoid locale-based exceptions when building for Python 3.6.
+
+--- setup.py.orig	2021-08-25 01:40:01.730815286 +0000
++++ setup.py
+@@ -4,6 +4,9 @@ import os
+ from codecs import open
+ 
+ from setuptools import setup
++import locale
++
++locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')
+ 
+ here = os.path.abspath(os.path.dirname(__file__))
+ 


Home | Main Index | Thread Index | Old Index