From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C0303158091 for ; Sun, 22 May 2022 10:46:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7D59BE096D; Sun, 22 May 2022 10:46:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 62B24E096D for ; Sun, 22 May 2022 10:46:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 674A2341DC6 for ; Sun, 22 May 2022 10:46:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 99629485 for ; Sun, 22 May 2022 10:46:27 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1653216383.aa4df450bf8e7c5333e0cb0c09a22bcf78fa2153.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pylibmc/, dev-python/pylibmc/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pylibmc/files/pylibmc-1.6.1-py311.patch dev-python/pylibmc/pylibmc-1.6.1-r2.ebuild X-VCS-Directories: dev-python/pylibmc/ dev-python/pylibmc/files/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: aa4df450bf8e7c5333e0cb0c09a22bcf78fa2153 X-VCS-Branch: master Date: Sun, 22 May 2022 10:46:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 90392598-a674-49a4-b66d-44429d6a2a03 X-Archives-Hash: 44d5c7771c85b084dd81e60569f875dd commit: aa4df450bf8e7c5333e0cb0c09a22bcf78fa2153 Author: Michał Górny gentoo org> AuthorDate: Sun May 22 10:27:58 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun May 22 10:46:23 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa4df450 dev-python/pylibmc: Enable py3.11 Signed-off-by: Michał Górny gentoo.org> dev-python/pylibmc/files/pylibmc-1.6.1-py311.patch | 29 ++++++++++++++++++++++ dev-python/pylibmc/pylibmc-1.6.1-r2.ebuild | 3 ++- 2 files changed, 31 insertions(+), 1 deletion(-) 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 +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( diff --git a/dev-python/pylibmc/pylibmc-1.6.1-r2.ebuild b/dev-python/pylibmc/pylibmc-1.6.1-r2.ebuild index 348df4925a33..65a68720139f 100644 --- a/dev-python/pylibmc/pylibmc-1.6.1-r2.ebuild +++ b/dev-python/pylibmc/pylibmc-1.6.1-r2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} pypy3 ) +PYTHON_COMPAT=( python3_{8..11} pypy3 ) inherit distutils-r1 @@ -39,6 +39,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}/pylibmc-1.6.1-fix-test-failures-r1.patch" + "${FILESDIR}/pylibmc-1.6.1-py311.patch" "${DISTDIR}/${P}-no-nose.patch" )