commit: d075b39c2ec20c580f57690903a367802d97326e
Author: Martin Mokry <martin-kokos <AT> protonmail <DOT> com>
AuthorDate: Sun Apr 20 11:55:37 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 23 14:07:06 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d075b39c
dev-python/pivy: add 0.6.10
Bump to include python3.{12,13} compatibility
Closes: https://bugs.gentoo.org/943019
Closes: https://bugs.gentoo.org/952360
Signed-off-by: Martin Mokry <martin-kokos <AT> protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41673
Closes: https://github.com/gentoo/gentoo/pull/41673
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/pivy/Manifest | 1 +
dev-python/pivy/pivy-0.6.10.ebuild | 67 ++++++++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
diff --git a/dev-python/pivy/Manifest b/dev-python/pivy/Manifest
index 02d933036402..189226c130b7 100644
--- a/dev-python/pivy/Manifest
+++ b/dev-python/pivy/Manifest
@@ -1,2 +1,3 @@
+DIST pivy-0.6.10.tar.gz 6678472 BLAKE2B
125551acde1bb5b323672e24cfd7554a32fab3a0abfa3431594ed793603f2ad38d957fddb75e8b5ad7bd40ea3d9259c7ed6b07e91f543697b0950f23892ac4cc
SHA512
d4f52635c1e18f137322e52ead8e8e69a6519ed0902aab17a264fc296df9fe2b82221de2234aa152db9c7fd45003a6299a19ddace4488adea99c2159d31d68bb
DIST pivy-0.6.8-python312-unittests.patch 39874 BLAKE2B
e63be84da3b852c89e04cf7baa61b44e175414245dc20799a6463fecb6896082dfb03a365540880e37b30cde99c0124bd5b2aacf9d011d580cda2c1add917922
SHA512
3cb3980b31b2d6ff957a38b028319c32bfc0398cd08048171f1fe7a0b3e25a6a6096960fdfc2ada1b4adf184c381537214a7110569e91e75ede7b951a4e3ac98
DIST pivy-0.6.8.tar.gz 6618458 BLAKE2B
08c57f0d7bff15a7f9d49b56b75b44c587416eb0feb2b237db48d7e2edd478f9212d7e898f4dd102b9d5dd10046dd652f37a9974861598c7ba91d7fdb1145c91
SHA512
723b09028f2e3075056b9588cebad0ddccbc98d0c15552b9565c177b0de764b9645f88ea2bc534ccf606f2e0b59f91e1d03551b55ece66c0654ce9cdf09a1a7c
diff --git a/dev-python/pivy/pivy-0.6.10.ebuild
b/dev-python/pivy/pivy-0.6.10.ebuild
new file mode 100644
index 000000000000..61e1882626bb
--- /dev/null
+++ b/dev-python/pivy/pivy-0.6.10.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2025 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_{11..13} )
+
+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="+quarter soqt test"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ || ( quarter soqt )
+"
+
+RDEPEND="
+ >=media-libs/coin-4.0.0
+ quarter? ( media-libs/quarter )
+ soqt? ( >=media-libs/SoQt-1.6.0 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-build/cmake
+ dev-lang/swig
+ test? ( ${RDEPEND} )
+"
+
+PATCHES=(
+
"${FILESDIR}"/${PN}-0.6.6-0001-fix-CMakeLists.txt-for-distutils_cmake.patch
+
"${FILESDIR}"/${PN}-0.6.6-0002-Gentoo-specific-clear-swig-deprecation-warning.patch
+ "${FILESDIR}"/${PN}-0.6.7-find-qmake.patch
+ # in 0.6.9:
+ "${FILESDIR}"/${PN}-0.6.8-SoQtViewer-w-cmath.patch # bug 920482
+)
+
+DOCS=( AUTHORS HACKING NEWS README.md THANKS )
+
+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
+}