From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1389819-garchives=archives.gentoo.org@lists.gentoo.org> 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 D7046158090 for <garchives@archives.gentoo.org>; Mon, 25 Apr 2022 21:48:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C0DA5E07D1; Mon, 25 Apr 2022 21:48:50 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8AC88E07D1 for <gentoo-commits@lists.gentoo.org>; Mon, 25 Apr 2022 21:48:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 7CC3E341460 for <gentoo-commits@lists.gentoo.org>; Mon, 25 Apr 2022 21:48:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8E2853FB for <gentoo-commits@lists.gentoo.org>; Mon, 25 Apr 2022 21:48:46 +0000 (UTC) From: "Conrad Kostecki" <conikost@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" <conikost@gentoo.org> Message-ID: <1650923172.b8249e69ae07de528e740ea0840b0661e63e15bb.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/kajongg/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-apps/kajongg/files/kajongg-21.08.3-python3.10.patch X-VCS-Directories: kde-apps/kajongg/files/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: b8249e69ae07de528e740ea0840b0661e63e15bb X-VCS-Branch: master Date: Mon, 25 Apr 2022 21:48:46 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 342ed295-2925-454a-afc4-a50daadebebb X-Archives-Hash: 1cb825f27ab0ef469c20ca4a541d6d69 commit: b8249e69ae07de528e740ea0840b0661e63e15bb Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> AuthorDate: Sat Apr 23 16:03:39 2022 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Mon Apr 25 21:46:12 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8249e69 kde-apps/kajongg: remove unused patch(es) Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> .../kajongg/files/kajongg-21.08.3-python3.10.patch | 109 --------------------- 1 file changed, 109 deletions(-) diff --git a/kde-apps/kajongg/files/kajongg-21.08.3-python3.10.patch b/kde-apps/kajongg/files/kajongg-21.08.3-python3.10.patch deleted file mode 100644 index d9f7e100309d..000000000000 --- a/kde-apps/kajongg/files/kajongg-21.08.3-python3.10.patch +++ /dev/null @@ -1,109 +0,0 @@ -From b647417e16f6146f4ae89608fd0494e7780da862 Mon Sep 17 00:00:00 2001 -From: Antonio Rojas <arojas@archlinux.org> -Date: Sat, 18 Dec 2021 10:13:32 +0000 -Subject: [PATCH] Fix running with Python 3.10 - ---- - src/board.py | 10 +++++----- - src/genericdelegates.py | 2 +- - src/humanclient.py | 4 ++-- - src/qtreactor.py | 2 +- - src/uitile.py | 4 ++-- - 5 files changed, 11 insertions(+), 11 deletions(-) - -diff --git a/src/board.py b/src/board.py -index 2f52a47d..ed432c22 100644 ---- a/src/board.py -+++ b/src/board.py -@@ -102,7 +102,7 @@ class PlayerWind(AnimatedMixin, QGraphicsObject, StrMixin): - """paint the marker""" - with Painter(painter): - painter.setBrush(self.__brush) -- size = Internal.scene.windTileset.faceSize.height() -+ size = int(Internal.scene.windTileset.faceSize.height()) - ellRect = QRectF(QPoint(), QPoint(size, size)) - painter.drawEllipse(ellRect) - renderer = Internal.scene.windTileset.renderer() -@@ -112,7 +112,7 @@ class PlayerWind(AnimatedMixin, QGraphicsObject, StrMixin): - - def boundingRect(self): # pylint: disable=no-self-use - """define the part of the tile we want to see""" -- size = Internal.scene.windTileset.faceSize.height() * 1.1 -+ size = int(Internal.scene.windTileset.faceSize.height() * 1.1) - return QRectF(QPoint(), QPoint(size, size)) - - def __str__(self): -@@ -878,11 +878,11 @@ class FittingView(QGraphicsView): - tRect = uiTile.boundingRect() - tRect = self.viewportTransform().mapRect(tRect) - pmapSize = QSize( -- tRect.width() * uiTile.scale, -- tRect.height() * uiTile.scale) -+ int(tRect.width() * uiTile.scale), -+ int(tRect.height() * uiTile.scale)) - pMap = uiTile.pixmapFromSvg(pmapSize) - drag.setPixmap(pMap) -- drag.setHotSpot(QPoint(pMap.width() / 2, pMap.height() / 2)) -+ drag.setHotSpot(QPoint(int(pMap.width() / 2), int(pMap.height() / 2))) - return drag - - -diff --git a/src/genericdelegates.py b/src/genericdelegates.py -index be99eb57..a4521177 100644 ---- a/src/genericdelegates.py -+++ b/src/genericdelegates.py -@@ -64,7 +64,7 @@ class RichTextColumnDelegate(QStyledItemDelegate): - text = index.model().data(index) - self.document.setDefaultFont(option.font) - self.document.setHtml(text) -- return QSize(self.document.idealWidth() + 5, -+ return QSize(int(self.document.idealWidth()) + 5, - option.fontMetrics.height()) - - -diff --git a/src/humanclient.py b/src/humanclient.py -index 1d3f58f3..8edf848b 100644 ---- a/src/humanclient.py -+++ b/src/humanclient.py -@@ -321,8 +321,8 @@ class ClientDialog(QDialog): - idx if vertical else 0, - idx if not vertical else 0) - -- geometry.setWidth(width) -- geometry.setHeight(height) -+ geometry.setWidth(int(width)) -+ geometry.setHeight(int(height)) - self.setGeometry(geometry) - - def showEvent(self, dummyEvent): -diff --git a/src/qtreactor.py b/src/qtreactor.py -index bda4782f..c24d01d0 100644 ---- a/src/qtreactor.py -+++ b/src/qtreactor.py -@@ -250,7 +250,7 @@ class QtReactor(posixbase.PosixReactorBase): - timeout = 0 - else: - timeout = self.timeout() -- self._timer.setInterval(timeout * 1000) -+ self._timer.setInterval(int(timeout * 1000)) - self._timer.start() - - def runReturn(self, installSignalHandlers=True): -diff --git a/src/uitile.py b/src/uitile.py -index 57e322bb..9e4b3f9d 100644 ---- a/src/uitile.py -+++ b/src/uitile.py -@@ -250,8 +250,8 @@ class UITile(AnimatedMixin, QGraphicsObject, StrMixin): - if self.showFace(): - faceSize = self.tileset.faceSize.toSize() - faceSize = QSize( -- faceSize.width() * xScale, -- faceSize.height() * yScale) -+ int(faceSize.width() * xScale), -+ int(faceSize.height() * yScale)) - painter.translate(self.facePos()) - renderer.render(painter, self.tileset.svgName[self.tile.exposed], - QRectF(QPointF(), QSizeF(faceSize))) --- -GitLab -