1
0
Fork 0

dev-python/pytorch: new ebuild draft

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
Horea Christian 2019-10-09 18:26:39 +02:00
parent dc8742801a
commit 6b5c12bb5e
No known key found for this signature in database
GPG Key ID: EAA9223EE3BB378A
3 changed files with 9 additions and 8 deletions

View File

@ -0,0 +1,2 @@
09 Oct 2019; <chymera@gentoo.org> pytorch-1.2.0.ebuild:
dev-python/pytorch: new ebuild draft

View File

@ -0,0 +1 @@
DIST pytorch-1.2.0.tar.gz 7991603 SHA256 629fa9d3e85e6a176a1f1ccf856e26a59092b76621763d93dae54bfbca1b1b54 SHA512 17df97420d2497ec55b96e864a63e03340601a7348ca310e56d739b68251f704009b5276b355104e598d364c91fa7f3b692ec64c66e8d60828b88d2eca927510 WHIRLPOOL 4f62bfcb7be359880e76dbc1589bffd03355c473e70839d9c555eb605b130ceaca676baabd4b258aac154fafe6b2056d5595b35658e7238acaa0a86c235f44bc

View File

@ -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 )
"
"