1 |
commit: 7873d92102062543e53385ee97ec8f493f468ae1 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 29 19:59:10 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 29 20:43:13 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7873d921 |
7 |
|
8 |
dev-python/pivy: Switch to PEP 517 build |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pivy/pivy-0.6.6-r1.ebuild | 47 ++++++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 47 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/pivy/pivy-0.6.6-r1.ebuild b/dev-python/pivy/pivy-0.6.6-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..33d81867ad25 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/pivy/pivy-0.6.6-r1.ebuild |
20 |
@@ -0,0 +1,47 @@ |
21 |
+# Copyright 1999-2022 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+ |
26 |
+DISTUTILS_USE_PEP517=setuptools |
27 |
+PYTHON_COMPAT=( python3_{8..9} ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+DESCRIPTION="Coin3D bindings for Python" |
32 |
+HOMEPAGE="https://github.com/coin3d/pivy" |
33 |
+ |
34 |
+if [[ ${PV} == *9999 ]]; then |
35 |
+ inherit git-r3 |
36 |
+ PIVY_REPO_URI="https://github.com/coin3d/pivy.git" |
37 |
+else |
38 |
+ SRC_URI="https://github.com/coin3d/pivy/archive/${PV}.tar.gz -> ${P}.tar.gz" |
39 |
+ KEYWORDS="~amd64 ~x86" |
40 |
+fi |
41 |
+ |
42 |
+LICENSE="ISC" |
43 |
+SLOT="0" |
44 |
+IUSE="+quarter soqt" |
45 |
+ |
46 |
+REQUIRED_USE=" |
47 |
+ ${PYTHON_REQUIRED_USE} |
48 |
+ || ( quarter soqt ) |
49 |
+" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ >=media-libs/coin-4.0.0 |
53 |
+ quarter? ( media-libs/quarter ) |
54 |
+ soqt? ( >=media-libs/SoQt-1.6.0 ) |
55 |
+" |
56 |
+DEPEND="${RDEPEND}" |
57 |
+BDEPEND=" |
58 |
+ dev-lang/swig |
59 |
+ dev-util/cmake |
60 |
+" |
61 |
+ |
62 |
+PATCHES=( |
63 |
+ "${FILESDIR}"/${P}-0001-fix-CMakeLists.txt-for-distutils_cmake.patch |
64 |
+ "${FILESDIR}"/${P}-0002-Gentoo-specific-clear-swig-deprecation-warning.patch |
65 |
+) |
66 |
+ |
67 |
+DOCS=( AUTHORS HACKING NEWS README.md THANKS ) |