diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-05-22 12:27:58 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-05-22 12:46:23 +0200 |
commit | aa4df450bf8e7c5333e0cb0c09a22bcf78fa2153 (patch) | |
tree | ef9bdfcca147d75bd2fc7cf526aec6f51f8550ea /dev-python/pylibmc/files | |
parent | dev-python/pylibmc: Switch to pytest (diff) | |
download | gentoo-aa4df450bf8e7c5333e0cb0c09a22bcf78fa2153.tar.gz gentoo-aa4df450bf8e7c5333e0cb0c09a22bcf78fa2153.tar.bz2 gentoo-aa4df450bf8e7c5333e0cb0c09a22bcf78fa2153.zip |
dev-python/pylibmc: Enable py3.11
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pylibmc/files')
-rw-r--r-- | dev-python/pylibmc/files/pylibmc-1.6.1-py311.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-python/pylibmc/files/pylibmc-1.6.1-py311.patch b/dev-python/pylibmc/files/pylibmc-1.6.1-py311.patch new file mode 100644 index 000000000000..c687f90fb658 --- /dev/null +++ b/dev-python/pylibmc/files/pylibmc-1.6.1-py311.patch @@ -0,0 +1,29 @@ +From 22854a4ba8f7e926099219c107104723089bcad8 Mon Sep 17 00:00:00 2001 +From: Ludvig Ericson <ludvig@lericson.se> +Date: Mon, 29 Jun 2020 14:59:36 +0200 +Subject: [PATCH] =?UTF-8?q?2020:=20Do=20not=20pass=20=E2=80=98U=E2=80=99?= + =?UTF-8?q?=20flag=20to=20open?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +--- + setup.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/setup.py b/setup.py +index 9bea257..89871ea 100644 +--- a/setup.py ++++ b/setup.py +@@ -95,9 +95,9 @@ def append_env(L, e): + s.write(line + "\n") + sys.exit(0) + +-with open("README.rst", "U", encoding="utf-8") as r: ++with open("README.rst", encoding="utf-8") as r: + readme_text = r.read() +-with open("src/pylibmc-version.h", "U", encoding="utf-8") as r: ++with open("src/pylibmc-version.h", encoding="utf-8") as r: + version = r.read().strip().split("\"")[1] + + setup( |