From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4451F13835A for ; Sun, 27 Dec 2020 20:27:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8BBA0E0E13; Sun, 27 Dec 2020 20:27:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 73ADAE0E13 for ; Sun, 27 Dec 2020 20:27:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5B794341543 for ; Sun, 27 Dec 2020 20:27:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D5E3A49 for ; Sun, 27 Dec 2020 20:27:13 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1609100779.d098dae0d3a33eba074c1cfd46b086625867037c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/libftdi/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-embedded/libftdi/libftdi-0.20-r1.ebuild X-VCS-Directories: dev-embedded/libftdi/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d098dae0d3a33eba074c1cfd46b086625867037c X-VCS-Branch: master Date: Sun, 27 Dec 2020 20:27:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6a53423f-9def-4796-b614-743cbd0f156a X-Archives-Hash: b0530a79e36c227cb8ad7af199209684 commit: d098dae0d3a33eba074c1cfd46b086625867037c Author: Sam James gentoo org> AuthorDate: Sun Dec 27 20:26:16 2020 +0000 Commit: Sam James gentoo org> CommitDate: Sun Dec 27 20:26:19 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d098dae0 dev-embedded/libftdi: support Python 3.7+ in slot 0 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-embedded/libftdi/libftdi-0.20-r1.ebuild | 19 ++++++++++--------- 1 file 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 86d328f790e..4da9cd2541f 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