summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-14 13:34:56 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-14 13:34:56 +0000
commite97d7379414bc8221a0b8f4920df8887e7abdd11 (patch)
tree70858616f1acb2d713d088b9a07f5ac3bdf63658
parent9a741dabb6a334f297300136f35f08cad0a74f07 (diff)
automatic import of python-pytorch-lightning
-rw-r--r--python-pytorch-lightning.spec (renamed from python-lightning.spec)9
-rw-r--r--sources2
2 files changed, 5 insertions, 6 deletions
diff --git a/python-lightning.spec b/python-pytorch-lightning.spec
index 1a199fd..e41290a 100644
--- a/python-lightning.spec
+++ b/python-pytorch-lightning.spec
@@ -1,4 +1,4 @@
-%global pypi_name lightning
+%global pypi_name pytorch-lightning
%global pypi_version 2.1.4
%global pkg_summary PyTorch Lightning is the lightweight PyTorch wrapper for ML researchers. Scale your models. Write less boilerplate.
%global pkg_description %{expand:
@@ -12,7 +12,7 @@ Summary: %{pkg_summary}
License: Apache-2.0
URL: https://github.com/Lightning-AI/pytorch-lightning
-Source0: %{url}/archive/refs/tags/%{version}.tar.gz#/pytorch-lightning-%{version}.tar.gz
+Source0: https://files.pythonhosted.org/packages/1e/5d/39d25102154aa32f3a3b6234af2e192a8b3e97cfdccabb0e96baca21f281/pytorch-lightning-2.1.4.tar.gz
BuildRequires: cmake
BuildRequires: ninja-build
@@ -49,9 +49,8 @@ Summary: %{pkg_summary}
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.md
-%{python3_sitelib}/lightning*
-%{_bindir}/lightning*
+%{python3_sitelib}/%{pypi_name}*
%changelog
* Sun Mar 31 2024 YunShu
-- add lightning 2.1.4
+- add pytorch lightning 2.1.4
diff --git a/sources b/sources
index e998cae..c2de9ee 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-50f312013e9e90c99a9f314f38069dff pytorch-lightning-2.1.4.tar.gz
+fdf53ceb051274b6d26b5925d7628210 pytorch-lightning-2.1.4.tar.gz