commit:     0b6ba491314381b4a887ce5e8560e19b868dd823
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 18 19:09:59 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Aug 18 20:44:15 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b6ba491

dev-python/pyotherside: Drop IUSE qt5, qt6 (making it Qt6 only)

Bug: https://bugs.gentoo.org/952103
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-python/pyotherside/pyotherside-1.6.2-r1.ebuild | 50 ++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/dev-python/pyotherside/pyotherside-1.6.2-r1.ebuild 
b/dev-python/pyotherside/pyotherside-1.6.2-r1.ebuild
new file mode 100644
index 000000000000..9fb381c8c716
--- /dev/null
+++ b/dev-python/pyotherside/pyotherside-1.6.2-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+inherit qmake-utils python-single-r1
+
+DESCRIPTION="Asynchronous Python 3 Bindings for Qt"
+HOMEPAGE="
+       https://github.com/thp/pyotherside/
+       https://thp.io/2011/pyotherside/
+"
+SRC_URI="https://github.com/thp/pyotherside/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+       ${PYTHON_DEPS}
+       dev-qt/qtbase:6[opengl]
+       dev-qt/qtdeclarative:6[opengl]
+       dev-qt/qtquick3d:6[opengl]
+       dev-qt/qtsvg:6
+"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+       python_setup
+}
+
+src_prepare() {
+       default
+       sed -i -e "s/qtquicktests//" pyotherside.pro || die
+}
+
+src_configure() {
+       eqmake6
+}
+
+src_test() {
+       QT_QPA_PLATFORM="offscreen" tests/tests || die
+}
+
+src_install() {
+       emake install INSTALL_ROOT="${D}"
+}

Reply via email to