From e97d7379414bc8221a0b8f4920df8887e7abdd11 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sun, 14 Apr 2024 13:34:56 +0000 Subject: automatic import of python-pytorch-lightning --- python-lightning.spec | 57 ------------------------------------------- python-pytorch-lightning.spec | 56 ++++++++++++++++++++++++++++++++++++++++++ sources | 2 +- 3 files changed, 57 insertions(+), 58 deletions(-) delete mode 100644 python-lightning.spec create mode 100644 python-pytorch-lightning.spec diff --git a/python-lightning.spec b/python-lightning.spec deleted file mode 100644 index 1a199fd..0000000 --- a/python-lightning.spec +++ /dev/null @@ -1,57 +0,0 @@ -%global pypi_name 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: -%{pkg_summary}} -%global debug_package %{nil} - -Name: python-%{pypi_name} -Version: %{pypi_version} -Release: 1 -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 - -BuildRequires: cmake -BuildRequires: ninja-build -BuildRequires: g++ - -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-setuptools_scm -BuildRequires: python3-pbr -BuildRequires: python3-pip -BuildRequires: python3-wheel -BuildRequires: python3-hatchling - -BuildRequires: python3-pytorch >= 2.1.2 - -%description -%{pkg_description} - -%package -n python3-%{pypi_name} -Summary: %{pkg_summary} - -%description -n python3-%{pypi_name} -%{pkg_description} - -%prep -%autosetup -p1 -n pytorch-lightning-%{pypi_version} - -%build -%pyproject_build - -%install -%pyproject_install - -%files -n python3-%{pypi_name} -%license LICENSE -%doc README.md -%{python3_sitelib}/lightning* -%{_bindir}/lightning* - -%changelog -* Sun Mar 31 2024 YunShu -- add lightning 2.1.4 diff --git a/python-pytorch-lightning.spec b/python-pytorch-lightning.spec new file mode 100644 index 0000000..e41290a --- /dev/null +++ b/python-pytorch-lightning.spec @@ -0,0 +1,56 @@ +%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: +%{pkg_summary}} +%global debug_package %{nil} + +Name: python-%{pypi_name} +Version: %{pypi_version} +Release: 1 +Summary: %{pkg_summary} + +License: Apache-2.0 +URL: https://github.com/Lightning-AI/pytorch-lightning +Source0: https://files.pythonhosted.org/packages/1e/5d/39d25102154aa32f3a3b6234af2e192a8b3e97cfdccabb0e96baca21f281/pytorch-lightning-2.1.4.tar.gz + +BuildRequires: cmake +BuildRequires: ninja-build +BuildRequires: g++ + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling + +BuildRequires: python3-pytorch >= 2.1.2 + +%description +%{pkg_description} + +%package -n python3-%{pypi_name} +Summary: %{pkg_summary} + +%description -n python3-%{pypi_name} +%{pkg_description} + +%prep +%autosetup -p1 -n pytorch-lightning-%{pypi_version} + +%build +%pyproject_build + +%install +%pyproject_install + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.md +%{python3_sitelib}/%{pypi_name}* + +%changelog +* Sun Mar 31 2024 YunShu +- 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 -- cgit v1.2.3