summaryrefslogtreecommitdiff
path: root/dev-python/pivy
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-09-15 16:25:10 -0500
committerroot <root@alpha.trunkmasters.com>2026-09-15 16:25:10 -0500
commit709cefca42ef2a976a9aff8afb44a95ffc545b79 (patch)
tree4a0c9baada24031c4187bce895ad742f7f5eb85f /dev-python/pivy
parentc012d247f03a893c117c88f73bcf6cb6494dcd22 (diff)
downloadbaldeagleos-repo-709cefca42ef2a976a9aff8afb44a95ffc545b79.tar.gz
baldeagleos-repo-709cefca42ef2a976a9aff8afb44a95ffc545b79.tar.xz
baldeagleos-repo-709cefca42ef2a976a9aff8afb44a95ffc545b79.zip
Adding metadata
Diffstat (limited to 'dev-python/pivy')
-rw-r--r--dev-python/pivy/Manifest1
-rw-r--r--dev-python/pivy/files/pivy-0.6.7-find-qmake.patch2
-rw-r--r--dev-python/pivy/pivy-0.6.11.ebuild73
3 files changed, 75 insertions, 1 deletions
diff --git a/dev-python/pivy/Manifest b/dev-python/pivy/Manifest
index e2311cf4b3fd..bbbcc63244f5 100644
--- a/dev-python/pivy/Manifest
+++ b/dev-python/pivy/Manifest
@@ -1 +1,2 @@
DIST pivy-0.6.10.tar.gz 6678472 BLAKE2B 125551acde1bb5b323672e24cfd7554a32fab3a0abfa3431594ed793603f2ad38d957fddb75e8b5ad7bd40ea3d9259c7ed6b07e91f543697b0950f23892ac4cc SHA512 d4f52635c1e18f137322e52ead8e8e69a6519ed0902aab17a264fc296df9fe2b82221de2234aa152db9c7fd45003a6299a19ddace4488adea99c2159d31d68bb
+DIST pivy-0.6.11.tar.gz 6276974 BLAKE2B f60fe22bcb9c8a94e36d7518112587d22ba73c25ef0a04a2ce55136c4cc292ba789b5bd3aafb73927962da5e64f7b74a8eeba56f43d524729def17c3e043f8b2 SHA512 abe0c252f8202e57e35728adc08a67fe1471d2a19802687e0c88cd69953bc902d5e77885f9b875b7dc33e73ffd8336b7e2703450645a6f22e982eca259c90be2
diff --git a/dev-python/pivy/files/pivy-0.6.7-find-qmake.patch b/dev-python/pivy/files/pivy-0.6.7-find-qmake.patch
index 6332afa97a3c..735aebfa7ffc 100644
--- a/dev-python/pivy/files/pivy-0.6.7-find-qmake.patch
+++ b/dev-python/pivy/files/pivy-0.6.7-find-qmake.patch
@@ -13,7 +13,7 @@ Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
self._qmake_command = qmake_command
else:
- self._qmake_command = [find_executable("qmake"),]
-+ self._qmake_command = [find_executable("qmake5"),]
++ self._qmake_command = [find_executable("qmake6"),]
self._dict = {}
# bind all variables early at __init__ time.
for thing in self.__class__.__dict__:
diff --git a/dev-python/pivy/pivy-0.6.11.ebuild b/dev-python/pivy/pivy-0.6.11.ebuild
new file mode 100644
index 000000000000..06b9f4a5f3bc
--- /dev/null
+++ b/dev-python/pivy/pivy-0.6.11.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1
+
+DESCRIPTION="Coin3D bindings for Python"
+HOMEPAGE="https://github.com/coin3d/pivy"
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ PIVY_REPO_URI="https://github.com/coin3d/pivy.git"
+else
+ SRC_URI="
+ https://github.com/coin3d/pivy/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
+ "
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="ISC"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+"
+
+RDEPEND="
+ >=media-libs/coin-4.0.0
+ media-libs/quarter
+ >=media-libs/SoQt-1.6.0
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-build/cmake
+ dev-lang/swig
+ test? ( ${RDEPEND} )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.6.6-0002-Gentoo-specific-clear-swig-deprecation-warning.patch
+ "${FILESDIR}"/${PN}-0.6.7-find-qmake.patch
+)
+
+DOCS=( AUTHORS HACKING NEWS README.md THANKS )
+
+src_prepare() {
+ default
+
+ # no way to pass this via swig
+ sed \
+ -e '/option(PIVY_USE_QT6/s/OFF/ON/' \
+ -e 's/CMAKE_POLICY_VERSION_MINIMUM 3.5/CMAKE_POLICY_VERSION_MINIMUM 3.10/' \
+ -i CMakeLists.txt || die
+}
+
+python_test() {
+ # visual_test.py is interactive
+ tests=(
+ tests/coin_tests.py
+ tests/pyside_tests.py
+ tests/quarter_tests.py
+ )
+ for f in "${strings[@]}"; do
+ "${EPYTHON}" "${f}" || die "Test ${f} failed with ${EPYTHON}"
+ done
+}