commit:     afc13ea9aa06e9648b6859d849f0d86de6d2515e
Author:     Adrian Grigo <agrigo2001 <AT> yahoo <DOT> com <DOT> au>
AuthorDate: Tue Aug 18 09:06:13 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Sep  1 10:29:20 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afc13ea9

media-libs/partio: Add python 3.7 and 3.8 support

The existing versions of partio work with python 3.7 and 3.8

Updates to EAPI 7 and migration from cmake-utils to cmake
were also completed for 1.1.0, but this is old now and could
likely be dropped.

Signed-off-by: Adrian Grigo <agrigo2001 <AT> yahoo.com.au>
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 media-libs/partio/partio-1.1.0_p20170829.ebuild | 12 ++++++------
 media-libs/partio/partio-1.5.4.ebuild           |  2 +-
 media-libs/partio/partio-9999.ebuild            |  2 +-
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/media-libs/partio/partio-1.1.0_p20170829.ebuild 
b/media-libs/partio/partio-1.1.0_p20170829.ebuild
index ee193c6eb05..6302f670077 100644
--- a/media-libs/partio/partio-1.1.0_p20170829.ebuild
+++ b/media-libs/partio/partio-1.1.0_p20170829.ebuild
@@ -1,10 +1,10 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-PYTHON_COMPAT=( python3_6 )
+EAPI=7
+PYTHON_COMPAT=( python3_{7,8} )
 
-inherit cmake-utils vcs-snapshot python-single-r1
+inherit cmake vcs-snapshot python-single-r1
 
 DESCRIPTION="A library for particle IO and manipulation"
 HOMEPAGE="https://www.disneyanimation.com/technology/partio.html";
@@ -39,16 +39,16 @@ DEPEND="${RDEPEND}
 PATCHES=( "${FILESDIR}/${PN}-1.1.0-Rename-partconv.patch" )
 
 src_prepare() {
-       cmake-utils_src_prepare
+       cmake_src_prepare
 
        sed -e '/ADD_SUBDIRECTORY (src\/tests)/d' -i CMakeLists.txt || die
 }
 
 src_configure() {
        local mycmakeargs=(
-               $(cmake-utils_use_find_package doc Doxygen)
+               $(cmake_use_find_package doc Doxygen)
                -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}"
        )
 
-       cmake-utils_src_configure
+       cmake_src_configure
 }

diff --git a/media-libs/partio/partio-1.5.4.ebuild 
b/media-libs/partio/partio-1.5.4.ebuild
index 0ddd8b103c2..d4bc76916ca 100644
--- a/media-libs/partio/partio-1.5.4.ebuild
+++ b/media-libs/partio/partio-1.5.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{7,8} )
 inherit cmake python-single-r1
 
 if [[ ${PV} == *9999 ]]; then

diff --git a/media-libs/partio/partio-9999.ebuild 
b/media-libs/partio/partio-9999.ebuild
index 6552a1f56fd..011f45bc931 100644
--- a/media-libs/partio/partio-9999.ebuild
+++ b/media-libs/partio/partio-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{7,8} )
 inherit cmake python-single-r1
 
 if [[ ${PV} == *9999 ]]; then

Reply via email to