Сравнение pytorch-2.0.0 с pytorch-2.0.1-r1

/usr/portage/sci-libs/pytorch/pytorch-2.0.1-r1.ebuild 2023-10-09 14:52:35.096368491 +0300
6 6
DISTUTILS_USE_PEP517=setuptools
7 7
PYTHON_COMPAT=( python3_{9..11} )
8 8
DISTUTILS_SINGLE_IMPL=1
9
inherit distutils-r1
9
DISTUTILS_EXT=1
10
inherit distutils-r1 prefix
10 11

  
11 12
DESCRIPTION="Tensors and Dynamic neural networks in Python"
12 13
HOMEPAGE="https://pytorch.org/"
......
37 38
	eapply \
38 39
		"${FILESDIR}"/0002-Don-t-build-libtorch-again-for-PyTorch-1.7.1.patch \
39 40
		"${FILESDIR}"/pytorch-1.9.0-Change-library-directory-according-to-CMake-build.patch \
40
		"${FILESDIR}"/${P}-global-dlopen.patch \
41
		"${FILESDIR}"/${PN}-2.0.0-global-dlopen.patch \
41 42
		"${FILESDIR}"/pytorch-1.7.1-torch_shm_manager.patch \
42 43
		"${FILESDIR}"/${PN}-1.13.0-setup.patch \
43
		"${FILESDIR}"/${P}-emptyso.patch \
44
		"${FILESDIR}"/${PN}-2.0.0-emptyso.patch \
44 45

  
45 46
	# Set build dir for pytorch's setup
46 47
	sed -i \
......
48 49
		tools/setup_helpers/env.py \
49 50
		|| die
50 51
	distutils-r1_src_prepare
52

  
53
	hprefixify tools/setup_helpers/env.py
51 54
}
52 55

  
53 56
src_compile() {
......
56 59
	USE_SYSTEM_LIBS=ON \
57 60
	CMAKE_BUILD_DIR="${BUILD_DIR}" \
58 61
	BUILD_DIR= \
59
	distutils-r1_src_compile
62
	distutils-r1_src_compile develop sdist
60 63
}
61 64

  
62 65
src_install() {
Спасибо!