summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-01-27 17:54:22 +0000
committerCoprDistGit <infra@openeuler.org>2024-01-27 17:54:22 +0000
commit97fa61dcd635bc2a4503df46e7b072346e234fcc (patch)
treec0d840f4cabcb12c48e48b3f8f1f06139cd1008b
parent666dd79e9ef5c5e18bd722ef738b8aa4010fba53 (diff)
automatic import of python-pytorch-lightningopeneuler23.09openeuler22.03_LTS_SP2
-rw-r--r--.gitignore1
-rw-r--r--python-pytorch-lightning.spec54
-rw-r--r--sources1
3 files changed, 56 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..b815139 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/python-pytorch-lightning-2.1.3.tar.gz
diff --git a/python-pytorch-lightning.spec b/python-pytorch-lightning.spec
new file mode 100644
index 0000000..21eacec
--- /dev/null
+++ b/python-pytorch-lightning.spec
@@ -0,0 +1,54 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pytorch-lightning
+Version: 2.1.3
+Release: 1
+Summary: Pytorch Lightning package for python3
+License: MIT
+URL: https://github.com/Lightning-AI
+Source0: https://github.com/Lightning-AI/pytorch-lightning/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+
+BuildArch: noarch
+
+%description
+PyTorch Lightning is just organized PyTorch - Lightning disentangles PyTorch code to decouple the science from the engineering.
+
+%package -n python3-pytorch-lightning
+Summary: Pytorch Lightning package for python3
+Provides: python-pytorch-lightning
+BuildRequires: python3-devel
+BuildRequires: python3-pip
+BuildRequires: python3-setuptools
+BuildRequires: python3-wheel
+
+%description -n python3-pytorch-lightning
+Pytorch Lightning package for python3
+
+%package help
+Summary: Development documents and examples for Pytorch Lightning
+Provides: python3-pytorch-lightning-doc
+
+%description help
+Python3 Pytorch Lightning help documents
+
+%prep
+%autosetup -p1 -n lightning-%{version}
+
+%build
+%pyproject_build
+
+%install
+%pyproject_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+
+%files -n python3-pytorch-lightning
+%doc *.md
+%doc CITATION.cff
+%license LICENSE
+%{_bindir}/lightning
+%{python3_sitelib}/lightning/*
+%{python3_sitelib}/lightning-%{version}.dist-info/*
+
+
+%changelog
+* Fri Jan 26 2024 menma <1316818279@qq.com> - 2.1.3-1
+- Package init
diff --git a/sources b/sources
new file mode 100644
index 0000000..7619aa2
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+54253439d6babeb866ea9711e860a0e2 python-pytorch-lightning-2.1.3.tar.gz