diff options
author | CoprDistGit <infra@openeuler.org> | 2024-04-14 08:21:43 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-04-14 08:21:43 +0000 |
commit | 6471bd4cf427f65b413dd274a1ad4872fd6abaa0 (patch) | |
tree | 4750f42a2c7e7d19dd1ed8e5c8a2260e21691036 | |
parent | 2552d96f5521447cd2e44f0a1b56dcaa059d8a05 (diff) |
automatic import of python-linear-operator
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-linear-operator.spec | 53 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 55 insertions, 0 deletions
@@ -0,0 +1 @@ +/linear_operator-0.5.1.tar.gz diff --git a/python-linear-operator.spec b/python-linear-operator.spec new file mode 100644 index 0000000..9475aaf --- /dev/null +++ b/python-linear-operator.spec @@ -0,0 +1,53 @@ +%global pypi_name linear-operator +%global pypi_version 0.5.1 +%global pkg_summary A linear operator implementation, primarily designed for finite-dimensional positive definite operators (i.e. kernel matrices). +%global pkg_description %{expand: +%{pkg_summary}} +%global debug_package %{nil} + +Name: python-%{pypi_name} +Version: %{pypi_version} +Release: 1 +Summary: %{pkg_summary} + +License: MIT +URL: https://github.com/cornellius-gp/linear_operator/ +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/linear_operator-%{version}.tar.gz + +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 +BuildRequires: python3-scipy + +%description +%{pkg_description} + +%package -n python3-%{pypi_name} +Summary: %{pkg_summary} + +%description -n python3-%{pypi_name} +%{pkg_description} + +%prep +%autosetup -p1 -n linear_operator-%{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 linear-operator 0.5.1 @@ -0,0 +1 @@ +6b804190e723c0d2dc212099bfda3a96 linear_operator-0.5.1.tar.gz |