[gentoo-commits] repo/gentoo:master commit in: kde-apps/kajongg/

2023-12-18 Thread Andreas Sturmlechner
commit: 6df03d5279f2eff196705838df6b9a81be81e88c
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Dec 18 21:55:57 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Dec 18 22:18:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6df03d52

kde-apps/kajongg: enable py3.12

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 kde-apps/kajongg/kajongg-23.08.3.ebuild | 2 +-
 kde-apps/kajongg/kajongg-23.08.4.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kde-apps/kajongg/kajongg-23.08.3.ebuild 
b/kde-apps/kajongg/kajongg-23.08.3.ebuild
index 231838c8dbe7..d006055f4c7a 100644
--- a/kde-apps/kajongg/kajongg-23.08.3.ebuild
+++ b/kde-apps/kajongg/kajongg-23.08.3.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 ECM_HANDBOOK="forceoptional"
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 PVCUT=$(ver_cut 1-3)
 KFMIN=5.106.0
 QTMIN=5.15.9

diff --git a/kde-apps/kajongg/kajongg-23.08.4.ebuild 
b/kde-apps/kajongg/kajongg-23.08.4.ebuild
index c64c9cc1d10c..27bc9a8bc024 100644
--- a/kde-apps/kajongg/kajongg-23.08.4.ebuild
+++ b/kde-apps/kajongg/kajongg-23.08.4.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 ECM_HANDBOOK="forceoptional"
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 PVCUT=$(ver_cut 1-3)
 KFMIN=5.106.0
 QTMIN=5.15.9



[gentoo-commits] repo/gentoo:master commit in: kde-apps/kajongg/

2023-06-04 Thread WANG Xuerui
commit: 3a2d5f70f635705687b607dfa22e4b72e5b97605
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sat Jun  3 09:57:29 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun Jun  4 10:44:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a2d5f70

kde-apps/kajongg: keyword 23.04.1 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 kde-apps/kajongg/kajongg-23.04.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-apps/kajongg/kajongg-23.04.1.ebuild 
b/kde-apps/kajongg/kajongg-23.04.1.ebuild
index e24b91090892..52e9284d5aa3 100644
--- a/kde-apps/kajongg/kajongg-23.04.1.ebuild
+++ b/kde-apps/kajongg/kajongg-23.04.1.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="https://apps.kde.org/kajongg/;
 
 LICENSE="GPL-2" # TODO: CHECK
 SLOT="5"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
 IUSE=""
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: kde-apps/kajongg/

2023-02-25 Thread Andreas Sturmlechner
commit: b8fbc1045cd3a36fab181d52a78cbc7d86c67247
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Feb 25 08:34:01 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Feb 25 08:37:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8fbc104

kde-apps/kajongg: Upstream switched from PyQt5 to QtPy

Upstream commit dd01383c84dba7a66bf3bd48eaa17f5a5d21b75e

Closes: https://bugs.gentoo.org/896148
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 kde-apps/kajongg/kajongg-22.08.3-r1.ebuild | 48 ++
 kde-apps/kajongg/kajongg-22.12.2-r1.ebuild | 48 ++
 2 files changed, 96 insertions(+)

diff --git a/kde-apps/kajongg/kajongg-22.08.3-r1.ebuild 
b/kde-apps/kajongg/kajongg-22.08.3-r1.ebuild
new file mode 100644
index ..5254d2900db7
--- /dev/null
+++ b/kde-apps/kajongg/kajongg-22.08.3-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+PYTHON_COMPAT=( python3_{9..11} )
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.96.0
+QTMIN=5.15.5
+inherit python-single-r1 ecm gear.kde.org
+
+DESCRIPTION="Classical Mah Jongg for four players"
+HOMEPAGE="https://apps.kde.org/kajongg/;
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="amd64 arm64 ~riscv x86"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+   dev-db/sqlite:3
+   >=dev-qt/qtgui-${QTMIN}:5
+   >=dev-qt/qtsvg-${QTMIN}:5
+   >=dev-qt/qtwidgets-${QTMIN}:5
+   >=kde-apps/libkdegames-${PVCUT}:5
+   >=kde-frameworks/kconfig-${KFMIN}:5
+   >=kde-frameworks/ki18n-${KFMIN}:5
+   $(python_gen_cond_dep '
+   dev-python/QtPy[gui,svg,widgets,${PYTHON_USEDEP}]
+   >=dev-python/twisted-16.6.0[${PYTHON_USEDEP}]
+   ')
+"
+RDEPEND="${DEPEND}
+   >=kde-apps/libkmahjongg-${PVCUT}:5
+"
+
+pkg_setup() {
+   python-single-r1_pkg_setup
+   ecm_pkg_setup
+}
+
+src_prepare() {
+   python_fix_shebang src
+   ecm_src_prepare
+}

diff --git a/kde-apps/kajongg/kajongg-22.12.2-r1.ebuild 
b/kde-apps/kajongg/kajongg-22.12.2-r1.ebuild
new file mode 100644
index ..6d4702efb854
--- /dev/null
+++ b/kde-apps/kajongg/kajongg-22.12.2-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+PYTHON_COMPAT=( python3_{9..11} )
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.101.0
+QTMIN=5.15.5
+inherit python-single-r1 ecm gear.kde.org
+
+DESCRIPTION="Classical Mah Jongg for four players"
+HOMEPAGE="https://apps.kde.org/kajongg/;
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+   dev-db/sqlite:3
+   >=dev-qt/qtgui-${QTMIN}:5
+   >=dev-qt/qtsvg-${QTMIN}:5
+   >=dev-qt/qtwidgets-${QTMIN}:5
+   >=kde-apps/libkdegames-${PVCUT}:5
+   >=kde-frameworks/kconfig-${KFMIN}:5
+   >=kde-frameworks/ki18n-${KFMIN}:5
+   $(python_gen_cond_dep '
+   dev-python/QtPy[gui,svg,widgets,${PYTHON_USEDEP}]
+   >=dev-python/twisted-16.6.0[${PYTHON_USEDEP}]
+   ')
+"
+RDEPEND="${DEPEND}
+   >=kde-apps/libkmahjongg-${PVCUT}:5
+"
+
+pkg_setup() {
+   python-single-r1_pkg_setup
+   ecm_pkg_setup
+}
+
+src_prepare() {
+   python_fix_shebang src
+   ecm_src_prepare
+}



[gentoo-commits] repo/gentoo:master commit in: kde-apps/kajongg/

2023-02-25 Thread Andreas Sturmlechner
commit: 5f507571693c1327277dd97ef061c33ebcf30b55
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Feb 25 08:37:14 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Feb 25 08:37:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f507571

kde-apps/kajongg: drop 22.08.3, 22.12.2

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 kde-apps/kajongg/kajongg-22.08.3.ebuild | 48 -
 kde-apps/kajongg/kajongg-22.12.2.ebuild | 48 -
 2 files changed, 96 deletions(-)

diff --git a/kde-apps/kajongg/kajongg-22.08.3.ebuild 
b/kde-apps/kajongg/kajongg-22.08.3.ebuild
deleted file mode 100644
index 6050d82ee74d..
--- a/kde-apps/kajongg/kajongg-22.08.3.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ECM_HANDBOOK="forceoptional"
-PYTHON_COMPAT=( python3_{9..11} )
-PVCUT=$(ver_cut 1-3)
-KFMIN=5.96.0
-QTMIN=5.15.5
-inherit python-single-r1 ecm gear.kde.org
-
-DESCRIPTION="Classical Mah Jongg for four players"
-HOMEPAGE="https://apps.kde.org/kajongg/;
-
-LICENSE="GPL-2" # TODO: CHECK
-SLOT="5"
-KEYWORDS="amd64 arm64 ~riscv x86"
-IUSE=""
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}
-   dev-db/sqlite:3
-   >=dev-qt/qtgui-${QTMIN}:5
-   >=dev-qt/qtsvg-${QTMIN}:5
-   >=dev-qt/qtwidgets-${QTMIN}:5
-   >=kde-apps/libkdegames-${PVCUT}:5
-   >=kde-frameworks/kconfig-${KFMIN}:5
-   >=kde-frameworks/ki18n-${KFMIN}:5
-   $(python_gen_cond_dep '
-   dev-python/PyQt5[gui,svg,widgets,${PYTHON_USEDEP}]
-   >=dev-python/twisted-16.6.0[${PYTHON_USEDEP}]
-   ')
-"
-RDEPEND="${DEPEND}
-   >=kde-apps/libkmahjongg-${PVCUT}:5
-"
-
-pkg_setup() {
-   python-single-r1_pkg_setup
-   ecm_pkg_setup
-}
-
-src_prepare() {
-   python_fix_shebang src
-   ecm_src_prepare
-}

diff --git a/kde-apps/kajongg/kajongg-22.12.2.ebuild 
b/kde-apps/kajongg/kajongg-22.12.2.ebuild
deleted file mode 100644
index 40f0d9b40db4..
--- a/kde-apps/kajongg/kajongg-22.12.2.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ECM_HANDBOOK="forceoptional"
-PYTHON_COMPAT=( python3_{9..11} )
-PVCUT=$(ver_cut 1-3)
-KFMIN=5.101.0
-QTMIN=5.15.5
-inherit python-single-r1 ecm gear.kde.org
-
-DESCRIPTION="Classical Mah Jongg for four players"
-HOMEPAGE="https://apps.kde.org/kajongg/;
-
-LICENSE="GPL-2" # TODO: CHECK
-SLOT="5"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
-IUSE=""
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}
-   dev-db/sqlite:3
-   >=dev-qt/qtgui-${QTMIN}:5
-   >=dev-qt/qtsvg-${QTMIN}:5
-   >=dev-qt/qtwidgets-${QTMIN}:5
-   >=kde-apps/libkdegames-${PVCUT}:5
-   >=kde-frameworks/kconfig-${KFMIN}:5
-   >=kde-frameworks/ki18n-${KFMIN}:5
-   $(python_gen_cond_dep '
-   dev-python/PyQt5[gui,svg,widgets,${PYTHON_USEDEP}]
-   >=dev-python/twisted-16.6.0[${PYTHON_USEDEP}]
-   ')
-"
-RDEPEND="${DEPEND}
-   >=kde-apps/libkmahjongg-${PVCUT}:5
-"
-
-pkg_setup() {
-   python-single-r1_pkg_setup
-   ecm_pkg_setup
-}
-
-src_prepare() {
-   python_fix_shebang src
-   ecm_src_prepare
-}



[gentoo-commits] repo/gentoo:master commit in: kde-apps/kajongg/files/

2022-04-25 Thread Conrad Kostecki
commit: b8249e69ae07de528e740ea0840b0661e63e15bb
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sat Apr 23 16:03:39 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Mon Apr 25 21:46:12 2022 +
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  levelnine.at>
Signed-off-by: Conrad Kostecki  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..
--- 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 
-Date: Sat, 18 Dec 2021 10:13:32 +
-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() * 

[gentoo-commits] repo/gentoo:master commit in: kde-apps/kajongg/, kde-apps/kajongg/files/

2021-12-29 Thread Andreas Sturmlechner
commit: 391043355ed36e52482392f1911d4f0513d8d0a6
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Dec 28 14:49:23 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Dec 29 15:41:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39104335

kde-apps/kajongg: Fix running with Python 3.10

See also: https://invent.kde.org/games/kajongg/-/merge_requests/6

Upstream commit b647417e16f6146f4ae89608fd0494e7780da862

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../kajongg/files/kajongg-21.08.3-python3.10.patch | 109 +
 ...gg-21.08.3.ebuild => kajongg-21.08.3-r1.ebuild} |   2 +
 ...gg-21.12.0.ebuild => kajongg-21.12.0-r1.ebuild} |   2 +
 3 files changed, 113 insertions(+)

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
new file mode 100644
index ..d9f7e100309d
--- /dev/null
+++ b/kde-apps/kajongg/files/kajongg-21.08.3-python3.10.patch
@@ -0,0 +1,109 @@
+From b647417e16f6146f4ae89608fd0494e7780da862 Mon Sep 17 00:00:00 2001
+From: Antonio Rojas 
+Date: Sat, 18 Dec 2021 10:13:32 +
+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 

[gentoo-commits] repo/gentoo:master commit in: kde-apps/kajongg/

2020-10-11 Thread Andreas Sturmlechner
commit: a9b36f3860ab7bc1eb08e36029ee1b389ac9b7ab
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Oct 11 20:13:31 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Oct 11 21:32:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9b36f38

kde-apps/kajongg: python3_9

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 kde-apps/kajongg/kajongg-20.08.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-apps/kajongg/kajongg-20.08.2.ebuild 
b/kde-apps/kajongg/kajongg-20.08.2.ebuild
index d49b3cf13b0..b06e32ec4f5 100644
--- a/kde-apps/kajongg/kajongg-20.08.2.ebuild
+++ b/kde-apps/kajongg/kajongg-20.08.2.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 ECM_HANDBOOK="forceoptional"
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 PVCUT=$(ver_cut 1-3)
 KFMIN=5.72.0
 QTMIN=5.14.2



[gentoo-commits] repo/gentoo:master commit in: kde-apps/kajongg/

2020-02-09 Thread Michał Górny
commit: 33c5cee52e810bae6a3a10da0555c7caf6ecf613
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb  7 14:55:34 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb  9 16:26:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33c5cee5

kde-apps/kajongg: Switch to PYTHON_MULTI_USEDEP API

Signed-off-by: Michał Górny  gentoo.org>

 .../kajongg/{kajongg-19.08.3.ebuild => kajongg-19.08.3-r1.ebuild} | 8 +---
 .../kajongg/{kajongg-19.12.2.ebuild => kajongg-19.12.2-r1.ebuild} | 6 --
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/kde-apps/kajongg/kajongg-19.08.3.ebuild 
b/kde-apps/kajongg/kajongg-19.08.3-r1.ebuild
similarity index 86%
rename from kde-apps/kajongg/kajongg-19.08.3.ebuild
rename to kde-apps/kajongg/kajongg-19.08.3-r1.ebuild
index 2265010c57f..4beb7921dde 100644
--- a/kde-apps/kajongg/kajongg-19.08.3.ebuild
+++ b/kde-apps/kajongg/kajongg-19.08.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -27,8 +27,10 @@ DEPEND="${PYTHON_DEPS}
>=dev-qt/qtsvg-${QTMIN}:5
>=dev-qt/qtwidgets-${QTMIN}:5
dev-db/sqlite:3
-   dev-python/PyQt5[gui,svg,widgets,${PYTHON_USEDEP}]
-   >=dev-python/twisted-16.6.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/PyQt5[gui,svg,widgets,${PYTHON_MULTI_USEDEP}]
+   >=dev-python/twisted-16.6.0[${PYTHON_MULTI_USEDEP}]
+   ')
 "
 RDEPEND="${DEPEND}
>=kde-apps/libkmahjongg-${PVCUT}:5

diff --git a/kde-apps/kajongg/kajongg-19.12.2.ebuild 
b/kde-apps/kajongg/kajongg-19.12.2-r1.ebuild
similarity index 89%
rename from kde-apps/kajongg/kajongg-19.12.2.ebuild
rename to kde-apps/kajongg/kajongg-19.12.2-r1.ebuild
index 68eaab914c1..2e18c791a78 100644
--- a/kde-apps/kajongg/kajongg-19.12.2.ebuild
+++ b/kde-apps/kajongg/kajongg-19.12.2-r1.ebuild
@@ -28,8 +28,10 @@ DEPEND="${PYTHON_DEPS}
>=dev-qt/qtsvg-${QTMIN}:5
>=dev-qt/qtwidgets-${QTMIN}:5
dev-db/sqlite:3
-   dev-python/PyQt5[gui,svg,widgets,${PYTHON_USEDEP}]
-   >=dev-python/twisted-16.6.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/PyQt5[gui,svg,widgets,${PYTHON_MULTI_USEDEP}]
+   >=dev-python/twisted-16.6.0[${PYTHON_MULTI_USEDEP}]
+   ')
 "
 RDEPEND="${DEPEND}
>=kde-apps/libkmahjongg-${PVCUT}:5



[gentoo-commits] repo/gentoo:master commit in: kde-apps/kajongg/

2018-12-02 Thread Jonathan Callen
commit: 1b0653358e1d7e297e04b67f4688c312e80b96f3
Author: Jonathan Callen  gentoo  org>
AuthorDate: Mon Dec  3 01:37:18 2018 +
Commit: Jonathan Callen  gentoo  org>
CommitDate: Mon Dec  3 02:18:14 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b065335

kde-apps/kajongg: add python3_7

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Jonathan Callen  gentoo.org>

 kde-apps/kajongg/kajongg-18.08.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-apps/kajongg/kajongg-18.08.3.ebuild 
b/kde-apps/kajongg/kajongg-18.08.3.ebuild
index c18741dd5e6..5d6e3cea19c 100644
--- a/kde-apps/kajongg/kajongg-18.08.3.ebuild
+++ b/kde-apps/kajongg/kajongg-18.08.3.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 KDE_AUTODEPS="false"
 KDE_HANDBOOK="forceoptional"
-PYTHON_COMPAT=( python3_{5,6} )
+PYTHON_COMPAT=( python3_{5,6,7} )
 inherit python-single-r1 kde5
 
 DESCRIPTION="Classical Mah Jongg for four players"



[gentoo-commits] repo/gentoo:master commit in: kde-apps/kajongg/

2017-11-16 Thread Andreas Sturmlechner
commit: bd866b04666fd4aa583063dbb03c14425160fd06
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Nov 16 19:50:40 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Nov 16 19:52:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd866b04

kde-apps/kajongg: 17.04.3 stable for amd64, bug #628352

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 kde-apps/kajongg/kajongg-17.04.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-apps/kajongg/kajongg-17.04.3.ebuild 
b/kde-apps/kajongg/kajongg-17.04.3.ebuild
index a169365b01b..b6f5c68648f 100644
--- a/kde-apps/kajongg/kajongg-17.04.3.ebuild
+++ b/kde-apps/kajongg/kajongg-17.04.3.ebuild
@@ -10,7 +10,7 @@ inherit python-single-r1 kde5
 
 DESCRIPTION="Classical Mah Jongg for four players"
 HOMEPAGE="https://www.kde.org/applications/games/kajongg/;
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE=""
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: kde-apps/kajongg/

2017-11-07 Thread Thomas Deutschmann
commit: 5536b01a5ae99f7c54a89bba97905ee9285421c3
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Nov  7 15:43:18 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Nov  7 17:57:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5536b01a

kde-apps/kajongg: x86 stable (bug #628352)

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 kde-apps/kajongg/kajongg-17.04.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-apps/kajongg/kajongg-17.04.3.ebuild 
b/kde-apps/kajongg/kajongg-17.04.3.ebuild
index 9a3e1409230..a169365b01b 100644
--- a/kde-apps/kajongg/kajongg-17.04.3.ebuild
+++ b/kde-apps/kajongg/kajongg-17.04.3.ebuild
@@ -10,7 +10,7 @@ inherit python-single-r1 kde5
 
 DESCRIPTION="Classical Mah Jongg for four players"
 HOMEPAGE="https://www.kde.org/applications/games/kajongg/;
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE=""
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: kde-apps/kajongg/, profiles/targets/desktop/plasma/, kde-misc/kanyremote/, ...

2016-12-23 Thread Johannes Huber
commit: 32ee0df9fead1404087d69a411b4c97261b1bbaa
Author: Johannes Huber  gentoo  org>
AuthorDate: Fri Dec 23 20:07:48 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Fri Dec 23 20:07:48 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32ee0df9

kde-base/pykde4 -> kde-apps/pykde4

 kde-apps/kajongg/kajongg-16.08.3.ebuild  | 2 +-
 kde-apps/kajongg/kajongg-16.12.0.ebuild  | 2 +-
 kde-apps/marble/marble-4.14.3.ebuild | 2 +-
 {kde-base => kde-apps}/pykde4/Manifest   | 0
 {kde-base => kde-apps}/pykde4/files/kpythonpluginfactorywrapper.c-r2 | 0
 {kde-base => kde-apps}/pykde4/files/pykde4-4.14.0-arm-sip.patch  | 0
 {kde-base => kde-apps}/pykde4/files/pykde4-4.14.3-gcc-5.patch| 0
 {kde-base => kde-apps}/pykde4/metadata.xml   | 0
 {kde-base => kde-apps}/pykde4/pykde4-4.14.3-r1.ebuild| 2 +-
 kde-misc/kanyremote/kanyremote-6.3.5.ebuild  | 2 +-
 kde-misc/pyrad/pyrad-0.6.2-r1.ebuild | 4 ++--
 kde-misc/pyrad/pyrad-0.7.1.ebuild| 4 ++--
 kde-misc/synaptiks/synaptiks-0.8.1-r4.ebuild | 2 +-
 kde-plasma/plasma-workspace/plasma-workspace-4.11.22.ebuild  | 2 +-
 profiles/targets/desktop/kde/package.use | 2 +-
 profiles/targets/desktop/plasma/package.use  | 2 +-
 profiles/updates/4Q-2016 | 1 +
 17 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/kde-apps/kajongg/kajongg-16.08.3.ebuild 
b/kde-apps/kajongg/kajongg-16.08.3.ebuild
index 8e2dce1..c756aa0 100644
--- a/kde-apps/kajongg/kajongg-16.08.3.ebuild
+++ b/kde-apps/kajongg/kajongg-16.08.3.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DEPEND="${PYTHON_DEPS}
$(add_kdeapps_dep libkdegames)
-   $(add_kdebase_dep pykde4 "${PYTHON_USEDEP}")
+   $(add_kdeapps_dep pykde4 "${PYTHON_USEDEP}")
dev-db/sqlite:3
 "
 RDEPEND="${DEPEND}

diff --git a/kde-apps/kajongg/kajongg-16.12.0.ebuild 
b/kde-apps/kajongg/kajongg-16.12.0.ebuild
index 0d77cad..11472fb 100644
--- a/kde-apps/kajongg/kajongg-16.12.0.ebuild
+++ b/kde-apps/kajongg/kajongg-16.12.0.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DEPEND="${PYTHON_DEPS}
$(add_kdeapps_dep libkdegames)
-   $(add_kdebase_dep pykde4 "${PYTHON_USEDEP}")
+   $(add_kdeapps_dep pykde4 "${PYTHON_USEDEP}")
dev-db/sqlite:3
 "
 RDEPEND="${DEPEND}

diff --git a/kde-apps/marble/marble-4.14.3.ebuild 
b/kde-apps/marble/marble-4.14.3.ebuild
index 089db03..07b77da 100644
--- a/kde-apps/marble/marble-4.14.3.ebuild
+++ b/kde-apps/marble/marble-4.14.3.ebuild
@@ -37,7 +37,7 @@ RDEPEND="
python? (
${PYTHON_DEPS}
>=dev-python/PyQt4-4.4.4-r1[${PYTHON_USEDEP}]
-   kde? ( $(add_kdebase_dep pykde4 "${PYTHON_USEDEP}" ) )
+   kde? ( $(add_kdeapps_dep pykde4 "${PYTHON_USEDEP}" ) )
)
shapefile? ( sci-libs/shapelib )
zip? ( dev-libs/quazip[qt4] )

diff --git a/kde-base/pykde4/Manifest b/kde-apps/pykde4/Manifest
similarity index 100%
rename from kde-base/pykde4/Manifest
rename to kde-apps/pykde4/Manifest

diff --git a/kde-base/pykde4/files/kpythonpluginfactorywrapper.c-r2 
b/kde-apps/pykde4/files/kpythonpluginfactorywrapper.c-r2
similarity index 100%
rename from kde-base/pykde4/files/kpythonpluginfactorywrapper.c-r2
rename to kde-apps/pykde4/files/kpythonpluginfactorywrapper.c-r2

diff --git a/kde-base/pykde4/files/pykde4-4.14.0-arm-sip.patch 
b/kde-apps/pykde4/files/pykde4-4.14.0-arm-sip.patch
similarity index 100%
rename from kde-base/pykde4/files/pykde4-4.14.0-arm-sip.patch
rename to kde-apps/pykde4/files/pykde4-4.14.0-arm-sip.patch

diff --git a/kde-base/pykde4/files/pykde4-4.14.3-gcc-5.patch 
b/kde-apps/pykde4/files/pykde4-4.14.3-gcc-5.patch
similarity index 100%
rename from kde-base/pykde4/files/pykde4-4.14.3-gcc-5.patch
rename to kde-apps/pykde4/files/pykde4-4.14.3-gcc-5.patch

diff --git a/kde-base/pykde4/metadata.xml b/kde-apps/pykde4/metadata.xml
similarity index 100%
rename from kde-base/pykde4/metadata.xml
rename to kde-apps/pykde4/metadata.xml

diff --git a/kde-base/pykde4/pykde4-4.14.3-r1.ebuild 
b/kde-apps/pykde4/pykde4-4.14.3-r1.ebuild
similarity index 98%
rename from kde-base/pykde4/pykde4-4.14.3-r1.ebuild
rename to kde-apps/pykde4/pykde4-4.14.3-r1.ebuild
index e8eb357..ce382c6 100644
--- a/kde-base/pykde4/pykde4-4.14.3-r1.ebuild
+++ b/kde-apps/pykde4/pykde4-4.14.3-r1.ebuild
@@ -11,7 +11,7 @@ CMAKE_MAKEFILE_GENERATOR="emake"
 WEBKIT_REQUIRED="always"
 inherit python-r1 portability kde4-base multilib eutils
 
-DESCRIPTION="Python bindings for KDE4"
+DESCRIPTION="Python bindings for KDE SC 4"
 KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
 

[gentoo-commits] repo/gentoo:master commit in: kde-apps/kajongg/

2016-05-24 Thread Mikle Kolyada
commit: be8062c80918bd07a2c978bafcdfff0cda02983a
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Tue May 24 11:30:17 2016 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Tue May 24 11:38:14 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be8062c8

kde-apps/kajongg: amd64 stable wrt bug #579992

Package-Manager: portage-2.2.28

 kde-apps/kajongg/kajongg-15.12.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-apps/kajongg/kajongg-15.12.3.ebuild 
b/kde-apps/kajongg/kajongg-15.12.3.ebuild
index 7b03dee..d2ae9b4 100644
--- a/kde-apps/kajongg/kajongg-15.12.3.ebuild
+++ b/kde-apps/kajongg/kajongg-15.12.3.ebuild
@@ -10,7 +10,7 @@ inherit python-single-r1 kde4-base
 
 DESCRIPTION="The classical Mah Jongg for four players"
 HOMEPAGE="https://www.kde.org/applications/games/kajongg/;
-KEYWORDS=" ~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="debug"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: kde-apps/kajongg/

2016-03-06 Thread Mikle Kolyada
commit: 29c81e4e88216185409bb236b9b3aff64d5784f7
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Mar  5 09:59:53 2016 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Mar  5 09:59:53 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29c81e4e

kde-apps/kajongg: amd64 stable wrt bug #569742

Package-Manager: portage-2.2.26

 kde-apps/kajongg/kajongg-15.08.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-apps/kajongg/kajongg-15.08.3.ebuild 
b/kde-apps/kajongg/kajongg-15.08.3.ebuild
index 9489b49..8ad2a3c 100644
--- a/kde-apps/kajongg/kajongg-15.08.3.ebuild
+++ b/kde-apps/kajongg/kajongg-15.08.3.ebuild
@@ -10,7 +10,7 @@ inherit python-single-r1 kde4-base
 
 DESCRIPTION="The classical Mah Jongg for four players"
 HOMEPAGE="https://www.kde.org/applications/games/kajongg/;
-KEYWORDS=" ~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="debug"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"