diff options
Diffstat (limited to 'dev-embedded/libftdi/libftdi-0.20-r1.ebuild')
-rw-r--r-- | dev-embedded/libftdi/libftdi-0.20-r1.ebuild | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/dev-embedded/libftdi/libftdi-0.20-r1.ebuild b/dev-embedded/libftdi/libftdi-0.20-r1.ebuild index 86d328f790e2..4da9cd2541f5 100644 --- a/dev-embedded/libftdi/libftdi-0.20-r1.ebuild +++ b/dev-embedded/libftdi/libftdi-0.20-r1.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -PYTHON_COMPAT=( python3_6 ) -inherit cmake-utils python-single-r1 +PYTHON_COMPAT=( python3_{6,7,8,9} ) +inherit cmake python-single-r1 if [[ ${PV} == 9999* ]] ; then inherit git-r3 @@ -22,12 +22,13 @@ SLOT="0" IUSE="cxx doc examples python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +BDEPEND=" + doc? ( app-doc/doxygen ) + python? ( dev-lang/swig )" RDEPEND="virtual/libusb:0 cxx? ( dev-libs/boost ) python? ( ${PYTHON_DEPS} )" -DEPEND="${RDEPEND} - python? ( dev-lang/swig ) - doc? ( app-doc/doxygen )" +DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${P}-cmake-include.patch @@ -48,7 +49,7 @@ src_prepare() { -e '/SET(LIB_SUFFIX /d' \ CMakeLists.txt || die - cmake-utils_src_prepare + cmake_src_prepare } src_configure() { @@ -59,11 +60,11 @@ src_configure() { -DPYTHON_BINDINGS=$(usex python) -DCMAKE_SKIP_BUILD_RPATH=ON ) - cmake-utils_src_configure + cmake_src_configure } src_install() { - cmake-utils_src_install + cmake_src_install use python && python_optimize dodoc ChangeLog README |