From 6b5c12bb5e3ab9413f40681bed67a53e94b9c410 Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Wed, 9 Oct 2019 18:26:39 +0200 Subject: [PATCH] dev-python/pytorch: new ebuild draft Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Horea Christian --- dev-python/pytorch/ChangeLog | 2 ++ dev-python/pytorch/Manifest | 1 + dev-python/pytorch/pytorch-1.2.0.ebuild | 14 ++++++-------- 3 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 dev-python/pytorch/ChangeLog create mode 100644 dev-python/pytorch/Manifest diff --git a/dev-python/pytorch/ChangeLog b/dev-python/pytorch/ChangeLog new file mode 100644 index 0000000..6a498f0 --- /dev/null +++ b/dev-python/pytorch/ChangeLog @@ -0,0 +1,2 @@ + 09 Oct 2019; pytorch-1.2.0.ebuild: + dev-python/pytorch: new ebuild draft diff --git a/dev-python/pytorch/Manifest b/dev-python/pytorch/Manifest new file mode 100644 index 0000000..89f59f2 --- /dev/null +++ b/dev-python/pytorch/Manifest @@ -0,0 +1 @@ +DIST pytorch-1.2.0.tar.gz 7991603 SHA256 629fa9d3e85e6a176a1f1ccf856e26a59092b76621763d93dae54bfbca1b1b54 SHA512 17df97420d2497ec55b96e864a63e03340601a7348ca310e56d739b68251f704009b5276b355104e598d364c91fa7f3b692ec64c66e8d60828b88d2eca927510 WHIRLPOOL 4f62bfcb7be359880e76dbc1589bffd03355c473e70839d9c555eb605b130ceaca676baabd4b258aac154fafe6b2056d5595b35658e7238acaa0a86c235f44bc diff --git a/dev-python/pytorch/pytorch-1.2.0.ebuild b/dev-python/pytorch/pytorch-1.2.0.ebuild index 35343e7..70a66da 100644 --- a/dev-python/pytorch/pytorch-1.2.0.ebuild +++ b/dev-python/pytorch/pytorch-1.2.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python2_7 python3_6 ) -inherit distutils-r1 +inherit cmake-utils distutils-r1 DESCRIPTION="Tensors and Dynamic neural networks in Python with strong GPU acceleration" HOMEPAGE="https://pytorch.org/" @@ -13,13 +13,13 @@ SRC_URI="https://github.com/pytorch/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64" IUSE="test" DEPEND=" test? ( dev-python/pytest[${PYTHON_USEDEP}] ) dev-python/setuptools[${PYTHON_USEDEP}] - " +" RDEPEND=" dev-python/cffi[${PYTHON_USEDEP}] dev-python/future[${PYTHON_USEDEP}] @@ -28,9 +28,7 @@ RDEPEND=" dev-python/requests[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] dev-python/typing[${PYTHON_USEDEP}] - dev-util/cmake dev-util/ninja - sci-libs/mkl + sci-libs/mkl-rt || ( dev-util/nvidia-cuda-toolkit dev-libs/cudnn ) - " - +"