2
0
mirror of https://github.com/gentoo-mirror/gentoo.git synced 2026-01-19 00:09:37 +03:00

dev-python/pivy: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-05-11 15:51:10 +02:00
parent cc381f5dff
commit fa40b2cb98
3 changed files with 0 additions and 92 deletions

View File

@@ -1,3 +1 @@
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

View File

@@ -1,23 +0,0 @@
From d3faf04b8770c60ca9b2186059ee82201e3620ad Mon Sep 17 00:00:00 2001
From: lorenz <looooo@users.noreply.github.com>
Date: Thu, 13 Jul 2023 23:59:17 +0200
Subject: [PATCH] python 3.12 support
PyUnicode_GET_SIZE -> PyUnicode_GET_LENGTH
---
Inventor/SoInput.i | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Inventor/SoInput.i b/Inventor/SoInput.i
index 0925ab50..f0be6383 100644
--- a/Inventor/SoInput.i
+++ b/Inventor/SoInput.i
@@ -10,7 +10,7 @@
if (PyUnicode_Check($input))
{
$1 = (void *) PyUnicode_AsUTF8($input);
- $2 = PyUnicode_GET_SIZE($input);
+ $2 = PyUnicode_GET_LENGTH($input);
}
else if (PyBytes_Check($input))
{

View File

@@ -1,67 +0,0 @@
# Copyright 1999-2024 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_{10..12} )
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
https://dev.gentoo.org/~nowa/${P}-python312-unittests.patch
"
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}"/${P}-python312.patch # https://github.com/coin3d/pivy/issues/105
"${DISTDIR}"/${P}-python312-unittests.patch # https://github.com/coin3d/pivy/pull/109
"${FILESDIR}"/${P}-SoQtViewer-w-cmath.patch # bug 920482
)
DOCS=( AUTHORS HACKING NEWS README.md THANKS )
python_test() {
# visual_test.py is interactive
# pyside_test.py currently fails
# quarter_tests.py needs pyside2, which currently lacks py3_11 support
for f in tests/coin_tests.py; do
"${EPYTHON}" "${f}" || die "Test ${f} failed with ${EPYTHON}"
done
}