Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pivy/
Date: Sun, 06 Nov 2022 20:13:08
Message-Id: 1667765572.9ca76b61e63037637892f18a0d7f6e11d273d7e1.sam@gentoo
1 commit: 9ca76b61e63037637892f18a0d7f6e11d273d7e1
2 Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
3 AuthorDate: Thu Sep 1 05:23:54 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 6 20:12:52 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ca76b61
7
8 dev-python/pivy: add 0.6.8
9
10 Closes: https://bugs.gentoo.org/880083
11 Closes: https://bugs.gentoo.org/867763
12 Closes: https://github.com/gentoo/gentoo/pull/27101
13 Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
14 Signed-off-by: Sam James <sam <AT> gentoo.org>
15
16 dev-python/pivy/Manifest | 1 +
17 dev-python/pivy/pivy-0.6.8.ebuild | 59 +++++++++++++++++++++++++++++++++++++++
18 2 files changed, 60 insertions(+)
19
20 diff --git a/dev-python/pivy/Manifest b/dev-python/pivy/Manifest
21 index ac45149907b0..1b8c15c0ff99 100644
22 --- a/dev-python/pivy/Manifest
23 +++ b/dev-python/pivy/Manifest
24 @@ -1 +1,2 @@
25 DIST pivy-0.6.7.tar.gz 6618410 BLAKE2B 22ebe63a75fa624b772cb3d3ff6f03336258f6c8b638613413c19fcea072f83f73396bc91d35f0e06bc27ec57471ae67965ee492e62a7e73919f7827de645175 SHA512 606eac3527b5906ad6884c25775b5625bfd2a1b1c78f75017b05e662d622c75d30e70fd5785ec2145902f5a02d99098b52cc776aee12fab02f0319762ee104b0
26 +DIST pivy-0.6.8.tar.gz 6618458 BLAKE2B 08c57f0d7bff15a7f9d49b56b75b44c587416eb0feb2b237db48d7e2edd478f9212d7e898f4dd102b9d5dd10046dd652f37a9974861598c7ba91d7fdb1145c91 SHA512 723b09028f2e3075056b9588cebad0ddccbc98d0c15552b9565c177b0de764b9645f88ea2bc534ccf606f2e0b59f91e1d03551b55ece66c0654ce9cdf09a1a7c
27
28 diff --git a/dev-python/pivy/pivy-0.6.8.ebuild b/dev-python/pivy/pivy-0.6.8.ebuild
29 new file mode 100644
30 index 000000000000..617534188b57
31 --- /dev/null
32 +++ b/dev-python/pivy/pivy-0.6.8.ebuild
33 @@ -0,0 +1,59 @@
34 +# Copyright 1999-2022 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=8
38 +
39 +DISTUTILS_USE_PEP517=setuptools
40 +PYTHON_COMPAT=( python3_{8..11} )
41 +
42 +inherit distutils-r1
43 +
44 +DESCRIPTION="Coin3D bindings for Python"
45 +HOMEPAGE="https://github.com/coin3d/pivy"
46 +
47 +if [[ ${PV} == *9999 ]]; then
48 + inherit git-r3
49 + PIVY_REPO_URI="https://github.com/coin3d/pivy.git"
50 +else
51 + SRC_URI="https://github.com/coin3d/pivy/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
52 + KEYWORDS="amd64 x86"
53 +fi
54 +
55 +LICENSE="ISC"
56 +SLOT="0"
57 +IUSE="+quarter soqt test"
58 +RESTRICT="!test? ( test )"
59 +
60 +REQUIRED_USE="
61 + ${PYTHON_REQUIRED_USE}
62 + || ( quarter soqt )
63 +"
64 +
65 +RDEPEND="
66 + >=media-libs/coin-4.0.0
67 + quarter? ( media-libs/quarter )
68 + soqt? ( >=media-libs/SoQt-1.6.0 )
69 +"
70 +DEPEND="${RDEPEND}"
71 +BDEPEND="
72 + dev-lang/swig
73 + dev-util/cmake
74 + test? ( ${RDEPEND} )
75 +"
76 +
77 +PATCHES=(
78 + "${FILESDIR}"/${PN}-0.6.6-0001-fix-CMakeLists.txt-for-distutils_cmake.patch
79 + "${FILESDIR}"/${PN}-0.6.6-0002-Gentoo-specific-clear-swig-deprecation-warning.patch
80 + "${FILESDIR}"/${PN}-0.6.7-find-qmake.patch
81 +)
82 +
83 +DOCS=( AUTHORS HACKING NEWS README.md THANKS )
84 +
85 +python_test() {
86 + # visual_test.py is interactive
87 + # pyside_test.py currently fails
88 + # quarter_tests.py needs pyside2, which currently lacks py3_11 support
89 + for f in tests/coin_tests.py; do
90 + "${EPYTHON}" "${f}" || die "Test ${f} failed with ${EPYTHON}"
91 + done
92 +}