summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-14 09:02:15 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-14 09:02:15 +0000
commit5c35f6a0b0d5ae634ef9940adcd4d7517426894b (patch)
tree91be1bd24083f840e5ce33631dfaedfb7837b439
parentbb8533dbbfc40f5edc2e8824aae533b6601ef9c3 (diff)
automatic import of python-pyro-ppl
-rw-r--r--.gitignore1
-rw-r--r--python-pyro-ppl.spec53
-rw-r--r--sources1
3 files changed, 55 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..07cedb4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pyro-ppl-1.8.4.tar.gz
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
diff --git a/sources b/sources
new file mode 100644
index 0000000..b200863
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+c58d9b22e44f4d0d0e1a925fd7a24cdc pyro-ppl-1.8.4.tar.gz