summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 10:18:14 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 10:18:14 +0000
commit704481b488c074f03f79aba0f3820463cdb9017c (patch)
treea1bc1f94324646021e16e4a4251fe53de2f23a2c
parentf9aeb04012eed085bc04bbb403141a0b409794eb (diff)
automatic import of python-pymc
-rw-r--r--.gitignore1
-rw-r--r--python-pymc.spec123
-rw-r--r--sources1
3 files changed, 125 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..ed7186d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pymc-5.2.0.tar.gz
diff --git a/python-pymc.spec b/python-pymc.spec
new file mode 100644
index 0000000..d2c8689
--- /dev/null
+++ b/python-pymc.spec
@@ -0,0 +1,123 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pymc
+Version: 5.2.0
+Release: 1
+Summary: Probabilistic Programming in Python: Bayesian Modeling and Probabilistic Machine Learning with PyTensor
+License: Apache License, Version 2.0
+URL: http://github.com/pymc-devs/pymc
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3c/8c/095db1efbb613d40183cf5df353d0e356f40f14980d308d878217e053e25/pymc-5.2.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-arviz
+Requires: python3-cachetools
+Requires: python3-cloudpickle
+Requires: python3-fastprogress
+Requires: python3-numpy
+Requires: python3-pandas
+Requires: python3-pytensor
+Requires: python3-scipy
+Requires: python3-typing-extensions
+
+%description
+- Intuitive model specification syntax, for example, ``x ~ N(0,1)``
+ translates to ``x = Normal('x',0,1)``
+- **Powerful sampling algorithms**, such as the `No U-Turn
+ Sampler <http://www.jmlr.org/papers/v15/hoffman14a.html>`__, allow complex models
+ with thousands of parameters with little specialized knowledge of
+ fitting algorithms.
+- **Variational inference**: `ADVI <http://www.jmlr.org/papers/v18/16-107.html>`__
+ for fast approximate posterior estimation as well as mini-batch ADVI
+ for large data sets.
+- Relies on `PyTensor <https://pytensor.readthedocs.io/en/latest/>`__ which provides:
+ * Computation optimization and dynamic C or JAX compilation
+ * NumPy broadcasting and advanced indexing
+ * Linear algebra operators
+ * Simple extensibility
+- Transparent support for missing value imputation
+
+%package -n python3-pymc
+Summary: Probabilistic Programming in Python: Bayesian Modeling and Probabilistic Machine Learning with PyTensor
+Provides: python-pymc
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pymc
+- Intuitive model specification syntax, for example, ``x ~ N(0,1)``
+ translates to ``x = Normal('x',0,1)``
+- **Powerful sampling algorithms**, such as the `No U-Turn
+ Sampler <http://www.jmlr.org/papers/v15/hoffman14a.html>`__, allow complex models
+ with thousands of parameters with little specialized knowledge of
+ fitting algorithms.
+- **Variational inference**: `ADVI <http://www.jmlr.org/papers/v18/16-107.html>`__
+ for fast approximate posterior estimation as well as mini-batch ADVI
+ for large data sets.
+- Relies on `PyTensor <https://pytensor.readthedocs.io/en/latest/>`__ which provides:
+ * Computation optimization and dynamic C or JAX compilation
+ * NumPy broadcasting and advanced indexing
+ * Linear algebra operators
+ * Simple extensibility
+- Transparent support for missing value imputation
+
+%package help
+Summary: Development documents and examples for pymc
+Provides: python3-pymc-doc
+%description help
+- Intuitive model specification syntax, for example, ``x ~ N(0,1)``
+ translates to ``x = Normal('x',0,1)``
+- **Powerful sampling algorithms**, such as the `No U-Turn
+ Sampler <http://www.jmlr.org/papers/v15/hoffman14a.html>`__, allow complex models
+ with thousands of parameters with little specialized knowledge of
+ fitting algorithms.
+- **Variational inference**: `ADVI <http://www.jmlr.org/papers/v18/16-107.html>`__
+ for fast approximate posterior estimation as well as mini-batch ADVI
+ for large data sets.
+- Relies on `PyTensor <https://pytensor.readthedocs.io/en/latest/>`__ which provides:
+ * Computation optimization and dynamic C or JAX compilation
+ * NumPy broadcasting and advanced indexing
+ * Linear algebra operators
+ * Simple extensibility
+- Transparent support for missing value imputation
+
+%prep
+%autosetup -n pymc-5.2.0
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-pymc -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 5.2.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..286dd09
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+fdff290a19b6f30459ea0f3dc32ed32e pymc-5.2.0.tar.gz