diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-02-25 09:34:01 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-02-25 09:37:34 +0100 |
commit | b8fbc1045cd3a36fab181d52a78cbc7d86c67247 (patch) | |
tree | 03a35e0dc5603a6a3dce35b3afeba7f0b893f13b /kde-apps/kajongg | |
parent | media-libs/kimageannotator: drop 0.5.2 (diff) | |
download | gentoo-b8fbc1045cd3a36fab181d52a78cbc7d86c67247.tar.gz gentoo-b8fbc1045cd3a36fab181d52a78cbc7d86c67247.tar.bz2 gentoo-b8fbc1045cd3a36fab181d52a78cbc7d86c67247.zip |
kde-apps/kajongg: Upstream switched from PyQt5 to QtPy
Upstream commit dd01383c84dba7a66bf3bd48eaa17f5a5d21b75e
Closes: https://bugs.gentoo.org/896148
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kajongg')
-rw-r--r-- | kde-apps/kajongg/kajongg-22.08.3-r1.ebuild | 48 | ||||
-rw-r--r-- | kde-apps/kajongg/kajongg-22.12.2-r1.ebuild | 48 |
2 files changed, 96 insertions, 0 deletions
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 000000000000..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 000000000000..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 +} |