From d1d0ec00b3117c866720cf33c2f72eda9b51ce00 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 16 Apr 2024 02:59:38 +0000 Subject: automatic import of pytorch-lightning --- .gitignore | 1 + sources | 1 + torchlightning.spec | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 sources create mode 100644 torchlightning.spec diff --git a/.gitignore b/.gitignore index e69de29..e201c48 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/pytorch-lightning-2.2.2.tar.gz diff --git a/sources b/sources new file mode 100644 index 0000000..c1b1e7b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +a34866a4fb9fb3a2dfd6f84605e03ccb pytorch-lightning-2.2.2.tar.gz diff --git a/torchlightning.spec b/torchlightning.spec new file mode 100644 index 0000000..8440017 --- /dev/null +++ b/torchlightning.spec @@ -0,0 +1,53 @@ +%global _empty_manifest_terminate_build 0 +%global _unpackaged_files_terminate_build 0 + +Name: pytorch-lightning +Version: 2.2.2 +Release: 1%{?dist} +Summary: A Python 3 version of the deep learning library for video understanding research +License: BSD +URL: https://pypi.org/project/pytorch-lightning/ +Source0: pytorch-lightning-2.2.2.tar.gz + +BuildRequires: g++ +Requires: python3-pytorch +Requires: python3-fvcore +Requires: python3-iopath +Requires: python3-pyav +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm +BuildRequires: python3-rpm-macros +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling + + +%description +%{pkg_summary} + +%package -n python3-%{pkg_name} +Summary: A Python 3 version of the deep learning library for video understanding research + +%description -n python3-%{pkg_name} +%{pkg_desc} + +%prep +%autosetup -p1 -n pytorch-lightning-%{version} + +%build +%pyproject_build + +%install +%pyproject_install + +%files -n python3-%{pkg_name} +%doc *.md +%license LICENSE* +%{python3_sitelib}/pytorch_lightning/* +%{python3_sitelib}/lightning_fabric/* + + +%changelog +* Mon Apr 15 2024 weilaijishu +- Initial package -- cgit v1.2.3