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 6E880158086 for ; Wed, 22 Dec 2021 14:33:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BA9372BC073; Wed, 22 Dec 2021 14:33:39 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A2BC82BC073 for ; Wed, 22 Dec 2021 14:33:39 +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 BCA63342E2F for ; Wed, 22 Dec 2021 14:33:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 28533268 for ; Wed, 22 Dec 2021 14:33:36 +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: <1640183595.210ccd4d54c55764d83218b99627e41ed7d59aaa.andrewammerlaan@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/pytorch/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/pytorch/pytorch-1.10.1.ebuild X-VCS-Directories: sci-libs/pytorch/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 210ccd4d54c55764d83218b99627e41ed7d59aaa X-VCS-Branch: master Date: Wed, 22 Dec 2021 14:33:36 +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: 614a2127-dd6d-4a45-9ee2-ea3fe3c9e713 X-Archives-Hash: 325db1de438973f0daa7baf20e8a2b83 commit: 210ccd4d54c55764d83218b99627e41ed7d59aaa Author: Andrew Ammerlaan gentoo org> AuthorDate: Wed Dec 22 14:33:15 2021 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Wed Dec 22 14:33:15 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=210ccd4d sci-libs/pytorch: QA fixes Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan gentoo.org> sci-libs/pytorch/pytorch-1.10.1.ebuild | 31 ++++++++++--------------------- 1 file changed, 10 insertions(+), 21 deletions(-) diff --git a/sci-libs/pytorch/pytorch-1.10.1.ebuild b/sci-libs/pytorch/pytorch-1.10.1.ebuild index 1750f40c9..e3b49e630 100644 --- a/sci-libs/pytorch/pytorch-1.10.1.ebuild +++ b/sci-libs/pytorch/pytorch-1.10.1.ebuild @@ -3,6 +3,7 @@ EAPI=8 +DISTUTILS_USE_SETUPTOOLS=no PYTHON_COMPAT=( python3_{8..10} ) inherit cmake cuda distutils-r1 prefix @@ -58,11 +59,8 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" -IUSE="asan blas cuda +fbgemm ffmpeg gflags glog +gloo leveldb lmdb mkldnn mpi namedtensor +nnpack numa +observers opencl opencv +openmp +python +qnnpack redis rocm static test tools zeromq" -RESTRICT="!test? ( test )" -REQUIRED_USE=" - ?? ( cuda rocm ) -" +IUSE="asan blas cuda +fbgemm ffmpeg gflags glog +gloo leveldb lmdb mkldnn mpi namedtensor +nnpack numa +observers opencl opencv +openmp +python +qnnpack redis rocm static tools zeromq" +REQUIRED_USE=" ?? ( cuda rocm )" RDEPEND=" dev-python/pyyaml[${PYTHON_USEDEP}] @@ -104,7 +102,6 @@ RDEPEND=" BDEPEND="dev-python/pyyaml" DEPEND="${RDEPEND} - test? ( dev-python/pytest[${PYTHON_USEDEP}] ) dev-cpp/tbb app-arch/zstd dev-python/pybind11[${PYTHON_USEDEP}] @@ -304,21 +301,13 @@ src_install() { mv -fv "${ED}"/usr/lib/*.so "${ED}"/usr/${LIB}/ || die fi - rm -rfv "${ED}/torch" - rm -rfv "${ED}/var" - rm -rfv "${ED}/usr/lib" - - rm -fv "${ED}/usr/include/*.{h,hpp}" - rm -rfv "${ED}/usr/include/asmjit" - rm -rfv "${ED}/usr/include/c10d" - rm -rfv "${ED}/usr/include/fbgemm" - rm -rfv "${ED}/usr/include/fp16" - rm -rfv "${ED}/usr/include/gloo" - rm -rfv "${ED}/usr/include/include" - rm -rfv "${ED}/usr/include/var" - - rm -r "${ED}/usr/${LIB}/cmake" || die - rm -rv "${ED}/usr/${LIB}/cmake" || die + rm -r "${ED}/usr/lib" || die + + rm -r "${ED}/usr/include/asmjit" || die + rm -r "${ED}/usr/include/c10d" || die + rm -r "${ED}/usr/include/fbgemm" || die + rm -r "${ED}/usr/include/fp16" || die + rm -r "${ED}/usr/include/gloo" || die if use python; then scanelf -r --fix "${BUILD_DIR}/caffe2/python" || die