1 |
commit: afc13ea9aa06e9648b6859d849f0d86de6d2515e |
2 |
Author: Adrian Grigo <agrigo2001 <AT> yahoo <DOT> com <DOT> au> |
3 |
AuthorDate: Tue Aug 18 09:06:13 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 1 10:29:20 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afc13ea9 |
7 |
|
8 |
media-libs/partio: Add python 3.7 and 3.8 support |
9 |
|
10 |
The existing versions of partio work with python 3.7 and 3.8 |
11 |
|
12 |
Updates to EAPI 7 and migration from cmake-utils to cmake |
13 |
were also completed for 1.1.0, but this is old now and could |
14 |
likely be dropped. |
15 |
|
16 |
Signed-off-by: Adrian Grigo <agrigo2001 <AT> yahoo.com.au> |
17 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
18 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
19 |
|
20 |
media-libs/partio/partio-1.1.0_p20170829.ebuild | 12 ++++++------ |
21 |
media-libs/partio/partio-1.5.4.ebuild | 2 +- |
22 |
media-libs/partio/partio-9999.ebuild | 2 +- |
23 |
3 files changed, 8 insertions(+), 8 deletions(-) |
24 |
|
25 |
diff --git a/media-libs/partio/partio-1.1.0_p20170829.ebuild b/media-libs/partio/partio-1.1.0_p20170829.ebuild |
26 |
index ee193c6eb05..6302f670077 100644 |
27 |
--- a/media-libs/partio/partio-1.1.0_p20170829.ebuild |
28 |
+++ b/media-libs/partio/partio-1.1.0_p20170829.ebuild |
29 |
@@ -1,10 +1,10 @@ |
30 |
# Copyright 1999-2020 Gentoo Authors |
31 |
# Distributed under the terms of the GNU General Public License v2 |
32 |
|
33 |
-EAPI=6 |
34 |
-PYTHON_COMPAT=( python3_6 ) |
35 |
+EAPI=7 |
36 |
+PYTHON_COMPAT=( python3_{7,8} ) |
37 |
|
38 |
-inherit cmake-utils vcs-snapshot python-single-r1 |
39 |
+inherit cmake vcs-snapshot python-single-r1 |
40 |
|
41 |
DESCRIPTION="A library for particle IO and manipulation" |
42 |
HOMEPAGE="https://www.disneyanimation.com/technology/partio.html" |
43 |
@@ -39,16 +39,16 @@ DEPEND="${RDEPEND} |
44 |
PATCHES=( "${FILESDIR}/${PN}-1.1.0-Rename-partconv.patch" ) |
45 |
|
46 |
src_prepare() { |
47 |
- cmake-utils_src_prepare |
48 |
+ cmake_src_prepare |
49 |
|
50 |
sed -e '/ADD_SUBDIRECTORY (src\/tests)/d' -i CMakeLists.txt || die |
51 |
} |
52 |
|
53 |
src_configure() { |
54 |
local mycmakeargs=( |
55 |
- $(cmake-utils_use_find_package doc Doxygen) |
56 |
+ $(cmake_use_find_package doc Doxygen) |
57 |
-DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" |
58 |
) |
59 |
|
60 |
- cmake-utils_src_configure |
61 |
+ cmake_src_configure |
62 |
} |
63 |
|
64 |
diff --git a/media-libs/partio/partio-1.5.4.ebuild b/media-libs/partio/partio-1.5.4.ebuild |
65 |
index 0ddd8b103c2..d4bc76916ca 100644 |
66 |
--- a/media-libs/partio/partio-1.5.4.ebuild |
67 |
+++ b/media-libs/partio/partio-1.5.4.ebuild |
68 |
@@ -3,7 +3,7 @@ |
69 |
|
70 |
EAPI=7 |
71 |
|
72 |
-PYTHON_COMPAT=( python3_6 ) |
73 |
+PYTHON_COMPAT=( python3_{7,8} ) |
74 |
inherit cmake python-single-r1 |
75 |
|
76 |
if [[ ${PV} == *9999 ]]; then |
77 |
|
78 |
diff --git a/media-libs/partio/partio-9999.ebuild b/media-libs/partio/partio-9999.ebuild |
79 |
index 6552a1f56fd..011f45bc931 100644 |
80 |
--- a/media-libs/partio/partio-9999.ebuild |
81 |
+++ b/media-libs/partio/partio-9999.ebuild |
82 |
@@ -3,7 +3,7 @@ |
83 |
|
84 |
EAPI=7 |
85 |
|
86 |
-PYTHON_COMPAT=( python3_6 ) |
87 |
+PYTHON_COMPAT=( python3_{7,8} ) |
88 |
inherit cmake python-single-r1 |
89 |
|
90 |
if [[ ${PV} == *9999 ]]; then |