Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/torchvision/
Date: Sun, 03 Jul 2022 08:46:33
Message-Id: 1656837875.13140a9dae778e97937b8a05ac262ed4c7a15da8.andrewammerlaan@gentoo
1 commit: 13140a9dae778e97937b8a05ac262ed4c7a15da8
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 3 08:44:35 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 3 08:44:35 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=13140a9d
7
8 sci-libs/torchvision: port to ::gentoo version of pytorch
9
10 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
11
12 sci-libs/torchvision/torchvision-0.11.2.ebuild | 5 +----
13 1 file changed, 1 insertion(+), 4 deletions(-)
14
15 diff --git a/sci-libs/torchvision/torchvision-0.11.2.ebuild b/sci-libs/torchvision/torchvision-0.11.2.ebuild
16 index e0ecf971e..6df2cbc01 100644
17 --- a/sci-libs/torchvision/torchvision-0.11.2.ebuild
18 +++ b/sci-libs/torchvision/torchvision-0.11.2.ebuild
19 @@ -3,7 +3,6 @@
20
21 EAPI=8
22
23 -DISTUTILS_SINGLE_IMPL=1
24 PYTHON_COMPAT=( python3_{8..10} )
25
26 inherit distutils-r1
27 @@ -18,15 +17,13 @@ KEYWORDS="~amd64"
28 IUSE="cuda"
29
30 RDEPEND="
31 - $(python_gen_cond_dep '
32 dev-python/av[${PYTHON_USEDEP}]
33 dev-python/numpy[${PYTHON_USEDEP}]
34 dev-python/pillow[${PYTHON_USEDEP}]
35 dev-python/six[${PYTHON_USEDEP}]
36 dev-python/tqdm[${PYTHON_USEDEP}]
37 dev-python/scipy[${PYTHON_USEDEP}]
38 - ')
39 - sci-libs/pytorch[cuda?,python,${PYTHON_SINGLE_USEDEP}]
40 + sci-libs/pytorch[${PYTHON_USEDEP}]
41 media-video/ffmpeg
42 dev-qt/qtcore:5
43 "