summaryrefslogtreecommitdiff
path: root/dev-python/pyotherside
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyotherside')
-rw-r--r--dev-python/pyotherside/Manifest1
-rw-r--r--dev-python/pyotherside/metadata.xml9
-rw-r--r--dev-python/pyotherside/pyotherside-1.6.2-r1.ebuild50
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/pyotherside/Manifest b/dev-python/pyotherside/Manifest
new file mode 100644
index 000000000000..df0f7c04ef8c
--- /dev/null
+++ b/dev-python/pyotherside/Manifest
@@ -0,0 +1 @@
+DIST pyotherside-1.6.2.tar.gz 184620 BLAKE2B 78e02274f71a30c6bc0d78eb993d070e7dfc9487c3964ceb4138338180b00e837006de6c15adb6168c52dab87959961e2b2cf40cce5eb123e01aaaf06fc03cad SHA512 5f625b733bf9b15b16236be836696d62c9297bafcbb491dc2ec353522612c1b593379c130e281b7b259acdbffb5cd89fb46e060969d29e7ed2d1452c6bbf43d2
diff --git a/dev-python/pyotherside/metadata.xml b/dev-python/pyotherside/metadata.xml
new file mode 100644
index 000000000000..acfe7097587e
--- /dev/null
+++ b/dev-python/pyotherside/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
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..1951ae585f50
--- /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_{13..14} )
+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}"
+}