commit:     c2a1c570565dc2e81a2fc28c8f497729c0641d71
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  3 18:59:44 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Jan  3 18:59:44 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c2a1c570

dev-python/pytorch-lightning: bump to 1.8.6

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/pytorch-lightning/metadata.xml          |  2 +-
 .../pytorch-lightning-1.5.8.ebuild                 | 29 --------------------
 .../pytorch-lightning-1.8.6.ebuild                 | 31 ++++++++++++++++++++++
 3 files changed, 32 insertions(+), 30 deletions(-)

diff --git a/dev-python/pytorch-lightning/metadata.xml 
b/dev-python/pytorch-lightning/metadata.xml
index 2e30eb3db..df24db4ac 100644
--- a/dev-python/pytorch-lightning/metadata.xml
+++ b/dev-python/pytorch-lightning/metadata.xml
@@ -6,7 +6,7 @@
                <name>Science Project</name>
        </maintainer>
        <upstream>
-               <remote-id 
type="github">PyTorchLightning/pytorch-lightning</remote-id>
+               <remote-id type="github">Lightning-AI/lightning</remote-id>
                <remote-id type="pypi">pytorch-lightning</remote-id>
        </upstream>
 </pkgmetadata>

diff --git a/dev-python/pytorch-lightning/pytorch-lightning-1.5.8.ebuild 
b/dev-python/pytorch-lightning/pytorch-lightning-1.5.8.ebuild
deleted file mode 100644
index cf51f4e9b..000000000
--- a/dev-python/pytorch-lightning/pytorch-lightning-1.5.8.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..9} )
-
-inherit distutils-r1
-
-DESCRIPTION="Lightweight PyTorch wrapper for ML researchers"
-HOMEPAGE="https://github.com/PyTorchLightning/pytorch-lightning";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
-       sci-libs/pytorch[${PYTHON_USEDEP}]
-       dev-python/numpy[${PYTHON_USEDEP}]
-       dev-python/future[${PYTHON_USEDEP}]
-       dev-python/tqdm[${PYTHON_USEDEP}]
-       dev-python/pyyaml[${PYTHON_USEDEP}]
-       dev-python/fsspec[${PYTHON_USEDEP}]
-       sci-visualization/tensorboard[${PYTHON_USEDEP}]
-       dev-python/packaging[${PYTHON_USEDEP}]
-       dev-python/typing-extensions[${PYTHON_USEDEP}]
-       dev-python/ratelimit[${PYTHON_USEDEP}]
-"

diff --git a/dev-python/pytorch-lightning/pytorch-lightning-1.8.6.ebuild 
b/dev-python/pytorch-lightning/pytorch-lightning-1.8.6.ebuild
new file mode 100644
index 000000000..341aeded4
--- /dev/null
+++ b/dev-python/pytorch-lightning/pytorch-lightning-1.8.6.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_SINGLE_IMPL=1
+inherit distutils-r1
+
+DESCRIPTION="Lightweight PyTorch wrapper for ML researchers"
+HOMEPAGE="https://github.com/Lightning-AI/lightning";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       sci-libs/pytorch[${PYTHON_SINGLE_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/numpy[${PYTHON_USEDEP}]
+               dev-python/tqdm[${PYTHON_USEDEP}]
+               dev-python/pyyaml[${PYTHON_USEDEP}]
+               dev-python/fsspec[${PYTHON_USEDEP}]
+               sci-visualization/tensorboard[${PYTHON_USEDEP}]
+               dev-python/packaging[${PYTHON_USEDEP}]
+               dev-python/typing-extensions[${PYTHON_USEDEP}]
+               dev-python/ratelimit[${PYTHON_USEDEP}]
+       ')
+"

Reply via email to