diff options
Diffstat (limited to 'python-pyro-ppl.spec')
-rw-r--r-- | python-pyro-ppl.spec | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/python-pyro-ppl.spec b/python-pyro-ppl.spec new file mode 100644 index 0000000..9da9ad7 --- /dev/null +++ b/python-pyro-ppl.spec @@ -0,0 +1,53 @@ +%global pypi_name pyro-ppl +%global pypi_version 1.8.4 +%global pkg_summary A Python library for probabilistic modeling and inference +%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/pyro-ppl/pyro +Source0: https://files.pythonhosted.org/packages/c0/af/f653e545519597d6c833136e88aae5d8bb81969cf83c6f3d2c34f0269456/pyro-ppl-1.8.4.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-numpy +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 %{pypi_name}-%{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 pyro-ppl 1.8.4 |