1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python{2_7,3_5,3_6} )
7 inherit cmake-utils vcs-snapshot python-single-r1
9 DESCRIPTION="A library for particle IO and manipulation"
10 HOMEPAGE="https://www.disneyanimation.com/technology/partio.html"
12 MY_GIT_COMMIT="2774ef3958da46d9f8a4230ebda9e04b1aa8f4e5"
13 SRC_URI="https://github.com/wdas/${PN}/archive/${MY_GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
19 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
21 RDEPEND="${PYTHON_DEPS}
28 doc? ( app-doc/doxygen[latex] )
32 PATCHES=( "${FILESDIR}/${PN}-1.1.0-Rename-partconv.patch" )
35 cmake-utils_src_prepare
37 sed -e '/ADD_SUBDIRECTORY (src\/tests)/d' -i CMakeLists.txt || die
42 $(cmake-utils_use_find_package doc Doxygen)
43 -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}"
46 cmake-utils_src_configure