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 1B50715ACFC for ; Wed, 3 May 2023 06:26:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4AF52E08C4; Wed, 3 May 2023 06:26:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 33DEAE08C4 for ; Wed, 3 May 2023 06:26:43 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7ACB53408F0 for ; Wed, 3 May 2023 06:26:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 019FA8AC for ; Wed, 3 May 2023 06:26:41 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1683095194.063fc28f6aa4e2aebed7dd8894cd60d598ae3249.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/ams-lv2/, media-plugins/ams-lv2/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-plugins/ams-lv2/ams-lv2-1.2.2-r1.ebuild media-plugins/ams-lv2/files/ams-lv2-1.2.2-wscript.patch X-VCS-Directories: media-plugins/ams-lv2/ media-plugins/ams-lv2/files/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 063fc28f6aa4e2aebed7dd8894cd60d598ae3249 X-VCS-Branch: master Date: Wed, 3 May 2023 06:26:41 +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: 9eae2624-5f1b-4436-be5e-7fee9e094a92 X-Archives-Hash: 4c976cd1dd323ed156b2700d0936ceea commit: 063fc28f6aa4e2aebed7dd8894cd60d598ae3249 Author: Miroslav Šulc gentoo org> AuthorDate: Wed May 3 06:26:25 2023 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Wed May 3 06:26:34 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=063fc28f media-plugins/ams-lv2: eapi8, py11 Closes: https://bugs.gentoo.org/897018 Signed-off-by: Miroslav Šulc gentoo.org> media-plugins/ams-lv2/ams-lv2-1.2.2-r1.ebuild | 6 ++++-- .../ams-lv2/files/ams-lv2-1.2.2-wscript.patch | 22 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/media-plugins/ams-lv2/ams-lv2-1.2.2-r1.ebuild b/media-plugins/ams-lv2/ams-lv2-1.2.2-r1.ebuild index d19fa5cdba04..4c4d78535a74 100644 --- a/media-plugins/ams-lv2/ams-lv2-1.2.2-r1.ebuild +++ b/media-plugins/ams-lv2/ams-lv2-1.2.2-r1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 # version 1.2.2 does not compile with python 3.11 -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) PYTHON_REQ_USE="threads(+)" inherit waf-utils python-any-r1 @@ -28,3 +28,5 @@ DEPEND="${RDEPEND} virtual/pkgconfig" DOCS=( LICENSE README.md THANKS ) + +PATCHES="${FILESDIR}/${P}-wscript.patch" diff --git a/media-plugins/ams-lv2/files/ams-lv2-1.2.2-wscript.patch b/media-plugins/ams-lv2/files/ams-lv2-1.2.2-wscript.patch new file mode 100644 index 000000000000..5fd4fd7857f5 --- /dev/null +++ b/media-plugins/ams-lv2/files/ams-lv2-1.2.2-wscript.patch @@ -0,0 +1,22 @@ +--- a/waflib/ConfigSet.py ++++ b/waflib/ConfigSet.py +@@ -312,7 +312,7 @@ class ConfigSet(object): + :type filename: string + """ + tbl = self.table +- code = Utils.readf(filename, m='rU') ++ code = Utils.readf(filename, m='r') + for m in re_imp.finditer(code): + g = m.group + tbl[g(2)] = eval(g(3)) +--- a/waflib/Context.py ++++ b/waflib/Context.py +@@ -662,7 +662,7 @@ def load_module(path, encoding=None): + + module = imp.new_module(WSCRIPT_FILE) + try: +- code = Utils.readf(path, m='rU', encoding=encoding) ++ code = Utils.readf(path, m='r', encoding=encoding) + except EnvironmentError: + raise Errors.WafError('Could not read the file %r' % path) +