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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 60717158086 for ; Sun, 26 Dec 2021 14:43:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F1B0B2BC026; Sun, 26 Dec 2021 14:43:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 387412BC026 for ; Sun, 26 Dec 2021 14:43:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E40A2342F62 for ; Sun, 26 Dec 2021 14:43:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 47C47233 for ; Sun, 26 Dec 2021 14:43:12 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1640529786.e27dc30e93e64e62183f0fc9172f5e4ae20614a2.andrewammerlaan@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/torchvision/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/torchvision/torchvision-0.11.2.ebuild X-VCS-Directories: sci-libs/torchvision/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: e27dc30e93e64e62183f0fc9172f5e4ae20614a2 X-VCS-Branch: master Date: Sun, 26 Dec 2021 14:43:12 +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: 8f6ea5e4-03da-42a1-95ce-9d972bf24699 X-Archives-Hash: d58302f561d3b97bdbdf708227ea1767 commit: e27dc30e93e64e62183f0fc9172f5e4ae20614a2 Author: Andrew Ammerlaan gentoo org> AuthorDate: Sun Dec 26 14:43:06 2021 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Sun Dec 26 14:43:06 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=e27dc30e sci-libs/torchvision: use python-single-r1 Package-Manager: Portage-3.0.30, Repoman-3.0.3 RepoMan-Options: --force Signed-off-by: Andrew Ammerlaan gentoo.org> sci-libs/torchvision/torchvision-0.11.2.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sci-libs/torchvision/torchvision-0.11.2.ebuild b/sci-libs/torchvision/torchvision-0.11.2.ebuild index 6c58eeb6e..4fe374173 100644 --- a/sci-libs/torchvision/torchvision-0.11.2.ebuild +++ b/sci-libs/torchvision/torchvision-0.11.2.ebuild @@ -3,7 +3,8 @@ EAPI=8 -PYTHON_COMPAT=( python3_10 ) +DISTUTILS_SINGLE_IMPL=1 +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 @@ -14,9 +15,10 @@ SRC_URI="https://github.com/pytorch/vision/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" -IUSE="cuda test" +IUSE="cuda" RDEPEND=" + $(python_gen_cond_dep ' dev-python/av[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] dev-python/pillow[${PYTHON_USEDEP}] @@ -24,13 +26,16 @@ RDEPEND=" dev-python/tqdm[${PYTHON_USEDEP}] dev-python/scipy[${PYTHON_USEDEP}] sci-libs/pytorch[cuda?,python,${PYTHON_USEDEP}] + ') media-video/ffmpeg dev-qt/qtcore:5 " DEPEND="${RDEPEND}" BDEPEND=" test? ( + $(python_gen_cond_dep ' dev-python/mock[${PYTHON_USEDEP}] + ') )" S="${WORKDIR}/vision-${PV}"