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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0C01915801E for ; Mon, 4 Oct 2021 14:22:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A550E0871; Mon, 4 Oct 2021 14:22:21 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E47D9E0870 for ; Mon, 4 Oct 2021 14:22:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 51710343032 for ; Mon, 4 Oct 2021 14:22:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E1770134 for ; Mon, 4 Oct 2021 14:22:17 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1633357306.adbf3f7426e8fe72c85aec000fae1b8d6ef9df11.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygame/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pygame/pygame-2.0.1-r1.ebuild dev-python/pygame/pygame-9999.ebuild X-VCS-Directories: dev-python/pygame/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: adbf3f7426e8fe72c85aec000fae1b8d6ef9df11 X-VCS-Branch: master Date: Mon, 4 Oct 2021 14:22:17 +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: 808ea4bb-eebd-4677-8003-c18e1e4de9f3 X-Archives-Hash: 735903689cd0900bda8855e96a44cff7 commit: adbf3f7426e8fe72c85aec000fae1b8d6ef9df11 Author: Arthur Zamarin gentoo org> AuthorDate: Mon Oct 4 14:11:52 2021 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Mon Oct 4 14:21:46 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adbf3f74 dev-python/pygame: enable py3.10 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pygame/pygame-2.0.1-r1.ebuild | 7 ++++++- dev-python/pygame/pygame-9999.ebuild | 5 +++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/dev-python/pygame/pygame-2.0.1-r1.ebuild b/dev-python/pygame/pygame-2.0.1-r1.ebuild index 9fc9d5a9db7..b8c0c5f73b5 100644 --- a/dev-python/pygame/pygame-2.0.1-r1.ebuild +++ b/dev-python/pygame/pygame-2.0.1-r1.ebuild @@ -2,7 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) + +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 @@ -51,6 +52,10 @@ src_prepare() { if ! use midi; then rm test/midi_test.py || die fi + # Fixed in next release + sed -e 's/++Py_REFCNT/Py_INCREF/' \ + -e 's/--Py_REFCNT/Py_DECREF/' \ + -i src_c/_sdl2/*.c || die distutils-r1_src_prepare } diff --git a/dev-python/pygame/pygame-9999.ebuild b/dev-python/pygame/pygame-9999.ebuild index 8d4ba88cd46..7207ee8e45a 100644 --- a/dev-python/pygame/pygame-9999.ebuild +++ b/dev-python/pygame/pygame-9999.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) + +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 git-r3