commit:     9146ba0b6b09506139b67538ae15f359ced5bf0f
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 14 20:55:50 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Mar 14 20:55:50 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9146ba0b

sci-ml/*: mv sci-libs/pytorch to sci-ml/

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 profiles/updates/1Q-2025                                                | 1 +
 sci-ml/datasets/datasets-2.21.0-r2.ebuild                               | 2 +-
 {sci-libs => sci-ml}/pytorch/Manifest                                   | 0
 {sci-libs => sci-ml}/pytorch/files/pytorch-1.13.0-setup.patch           | 0
 ...ytorch-1.9.0-Change-library-directory-according-to-CMake-build.patch | 0
 {sci-libs => sci-ml}/pytorch/files/pytorch-2.2.1-emptyso.patch          | 0
 {sci-libs => sci-ml}/pytorch/files/pytorch-2.4.0-dontbuildagain.patch   | 0
 {sci-libs => sci-ml}/pytorch/files/pytorch-2.4.0-global-dlopen.patch    | 0
 .../pytorch/files/pytorch-2.4.0-torch_shm_manager.patch                 | 0
 {sci-libs => sci-ml}/pytorch/files/pytorch-2.5.1-dontbuildagain.patch   | 0
 {sci-libs => sci-ml}/pytorch/files/pytorch-2.5.1-setup.patch            | 0
 {sci-libs => sci-ml}/pytorch/files/pytorch-2.6.0-dontbuildagain.patch   | 0
 {sci-libs => sci-ml}/pytorch/metadata.xml                               | 0
 {sci-libs => sci-ml}/pytorch/pytorch-2.4.1.ebuild                       | 2 +-
 {sci-libs => sci-ml}/pytorch/pytorch-2.5.1-r1.ebuild                    | 2 +-
 {sci-libs => sci-ml}/pytorch/pytorch-2.6.0.ebuild                       | 0
 sci-ml/torchvision/torchvision-0.20.0.ebuild                            | 2 +-
 17 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/profiles/updates/1Q-2025 b/profiles/updates/1Q-2025
index 3274bfd0e5cb..ed1fc41175bf 100644
--- a/profiles/updates/1Q-2025
+++ b/profiles/updates/1Q-2025
@@ -9,3 +9,4 @@ move sci-libs/datasets sci-ml/datasets
 move sci-libs/huggingface_hub sci-ml/huggingface_hub
 move sci-libs/safetensors sci-ml/safetensors
 move sci-libs/torchvision sci-ml/torchvision
+move sci-libs/pytorch sci-ml/pytorch

diff --git a/sci-ml/datasets/datasets-2.21.0-r2.ebuild 
b/sci-ml/datasets/datasets-2.21.0-r2.ebuild
index f9b839ce7f2d..57f233f9aaf9 100644
--- a/sci-ml/datasets/datasets-2.21.0-r2.ebuild
+++ b/sci-ml/datasets/datasets-2.21.0-r2.ebuild
@@ -21,7 +21,7 @@ IUSE="test"
 
 RDEPEND="
        ${PYTHON_DEPS}
-       sci-libs/pytorch[${PYTHON_SINGLE_USEDEP}]
+       sci-ml/pytorch[${PYTHON_SINGLE_USEDEP}]
        sci-libs/caffe2[${PYTHON_SINGLE_USEDEP},numpy]
        $(python_gen_cond_dep '
                dev-python/aiohttp[${PYTHON_USEDEP}]

diff --git a/sci-libs/pytorch/Manifest b/sci-ml/pytorch/Manifest
similarity index 100%
rename from sci-libs/pytorch/Manifest
rename to sci-ml/pytorch/Manifest

diff --git a/sci-libs/pytorch/files/pytorch-1.13.0-setup.patch 
b/sci-ml/pytorch/files/pytorch-1.13.0-setup.patch
similarity index 100%
rename from sci-libs/pytorch/files/pytorch-1.13.0-setup.patch
rename to sci-ml/pytorch/files/pytorch-1.13.0-setup.patch

diff --git 
a/sci-libs/pytorch/files/pytorch-1.9.0-Change-library-directory-according-to-CMake-build.patch
 
b/sci-ml/pytorch/files/pytorch-1.9.0-Change-library-directory-according-to-CMake-build.patch
similarity index 100%
rename from 
sci-libs/pytorch/files/pytorch-1.9.0-Change-library-directory-according-to-CMake-build.patch
rename to 
sci-ml/pytorch/files/pytorch-1.9.0-Change-library-directory-according-to-CMake-build.patch

diff --git a/sci-libs/pytorch/files/pytorch-2.2.1-emptyso.patch 
b/sci-ml/pytorch/files/pytorch-2.2.1-emptyso.patch
similarity index 100%
rename from sci-libs/pytorch/files/pytorch-2.2.1-emptyso.patch
rename to sci-ml/pytorch/files/pytorch-2.2.1-emptyso.patch

diff --git a/sci-libs/pytorch/files/pytorch-2.4.0-dontbuildagain.patch 
b/sci-ml/pytorch/files/pytorch-2.4.0-dontbuildagain.patch
similarity index 100%
rename from sci-libs/pytorch/files/pytorch-2.4.0-dontbuildagain.patch
rename to sci-ml/pytorch/files/pytorch-2.4.0-dontbuildagain.patch

diff --git a/sci-libs/pytorch/files/pytorch-2.4.0-global-dlopen.patch 
b/sci-ml/pytorch/files/pytorch-2.4.0-global-dlopen.patch
similarity index 100%
rename from sci-libs/pytorch/files/pytorch-2.4.0-global-dlopen.patch
rename to sci-ml/pytorch/files/pytorch-2.4.0-global-dlopen.patch

diff --git a/sci-libs/pytorch/files/pytorch-2.4.0-torch_shm_manager.patch 
b/sci-ml/pytorch/files/pytorch-2.4.0-torch_shm_manager.patch
similarity index 100%
rename from sci-libs/pytorch/files/pytorch-2.4.0-torch_shm_manager.patch
rename to sci-ml/pytorch/files/pytorch-2.4.0-torch_shm_manager.patch

diff --git a/sci-libs/pytorch/files/pytorch-2.5.1-dontbuildagain.patch 
b/sci-ml/pytorch/files/pytorch-2.5.1-dontbuildagain.patch
similarity index 100%
rename from sci-libs/pytorch/files/pytorch-2.5.1-dontbuildagain.patch
rename to sci-ml/pytorch/files/pytorch-2.5.1-dontbuildagain.patch

diff --git a/sci-libs/pytorch/files/pytorch-2.5.1-setup.patch 
b/sci-ml/pytorch/files/pytorch-2.5.1-setup.patch
similarity index 100%
rename from sci-libs/pytorch/files/pytorch-2.5.1-setup.patch
rename to sci-ml/pytorch/files/pytorch-2.5.1-setup.patch

diff --git a/sci-libs/pytorch/files/pytorch-2.6.0-dontbuildagain.patch 
b/sci-ml/pytorch/files/pytorch-2.6.0-dontbuildagain.patch
similarity index 100%
rename from sci-libs/pytorch/files/pytorch-2.6.0-dontbuildagain.patch
rename to sci-ml/pytorch/files/pytorch-2.6.0-dontbuildagain.patch

diff --git a/sci-libs/pytorch/metadata.xml b/sci-ml/pytorch/metadata.xml
similarity index 100%
rename from sci-libs/pytorch/metadata.xml
rename to sci-ml/pytorch/metadata.xml

diff --git a/sci-libs/pytorch/pytorch-2.4.1.ebuild 
b/sci-ml/pytorch/pytorch-2.4.1.ebuild
similarity index 97%
rename from sci-libs/pytorch/pytorch-2.4.1.ebuild
rename to sci-ml/pytorch/pytorch-2.4.1.ebuild
index 31e3b0439a9d..5b60c2d504b3 100644
--- a/sci-libs/pytorch/pytorch-2.4.1.ebuild
+++ b/sci-ml/pytorch/pytorch-2.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2024 Gentoo Authors
+# Copyright 2022-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8

diff --git a/sci-libs/pytorch/pytorch-2.5.1-r1.ebuild 
b/sci-ml/pytorch/pytorch-2.5.1-r1.ebuild
similarity index 97%
rename from sci-libs/pytorch/pytorch-2.5.1-r1.ebuild
rename to sci-ml/pytorch/pytorch-2.5.1-r1.ebuild
index e90ea383aecb..2528ee61d4f3 100644
--- a/sci-libs/pytorch/pytorch-2.5.1-r1.ebuild
+++ b/sci-ml/pytorch/pytorch-2.5.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2024 Gentoo Authors
+# Copyright 2022-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8

diff --git a/sci-libs/pytorch/pytorch-2.6.0.ebuild 
b/sci-ml/pytorch/pytorch-2.6.0.ebuild
similarity index 100%
rename from sci-libs/pytorch/pytorch-2.6.0.ebuild
rename to sci-ml/pytorch/pytorch-2.6.0.ebuild

diff --git a/sci-ml/torchvision/torchvision-0.20.0.ebuild 
b/sci-ml/torchvision/torchvision-0.20.0.ebuild
index c0a1f3942189..3b1627344c43 100644
--- a/sci-ml/torchvision/torchvision-0.20.0.ebuild
+++ b/sci-ml/torchvision/torchvision-0.20.0.ebuild
@@ -22,7 +22,7 @@ KEYWORDS="~amd64"
 IUSE="cuda"
 
 RDEPEND="
-       =sci-libs/pytorch-2.5*[${PYTHON_SINGLE_USEDEP}]
+       =sci-ml/pytorch-2.5*[${PYTHON_SINGLE_USEDEP}]
        =sci-libs/caffe2-2.5*[cuda?]
        dev-python/numpy
        dev-python/pillow

Reply via email to