summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-pymc3.spec96
-rw-r--r--sources1
3 files changed, 98 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..0d56bb5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pymc3-3.11.5.tar.gz
diff --git a/python-pymc3.spec b/python-pymc3.spec
new file mode 100644
index 0000000..8b57998
--- /dev/null
+++ b/python-pymc3.spec
@@ -0,0 +1,96 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pymc3
+Version: 3.11.5
+Release: 1
+Summary: Probabilistic Programming in Python: Bayesian Modeling and Probabilistic Machine Learning with Theano
+License: Apache License, Version 2.0
+URL: http://github.com/pymc-devs/pymc3
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/10/2a/8d640e61f0a8ed5de08f288d53a850c2d4717fec7b125a7a5cab95317b28/pymc3-3.11.5.tar.gz
+BuildArch: noarch
+
+Requires: python3-arviz
+Requires: python3-cachetools
+Requires: python3-deprecat
+Requires: python3-dill
+Requires: python3-fastprogress
+Requires: python3-numpy
+Requires: python3-pandas
+Requires: python3-patsy
+Requires: python3-scipy
+Requires: python3-semver
+Requires: python3-theano-pymc
+Requires: python3-typing-extensions
+
+%description
+There have been many questions and uncertainty around the future of PyMC3 since Theano
+stopped getting developed by the original authors, and we started experiments with a PyMC version based on tensorflow probability.
+Since then many things changed and we are happy to announce that PyMC3 will continue to rely on Theano,
+or rather its successors Theano-PyMC (`pymc3 <4)` and Aesara (`pymc3 >=4`).
+Check out <https://github.com/aesara-devs/aesara>`__) and specifically the latest developments on the `PyMC3 `main` branch <https://github.com/pymc-devs/pymc3/>`.
+
+%package -n python3-pymc3
+Summary: Probabilistic Programming in Python: Bayesian Modeling and Probabilistic Machine Learning with Theano
+Provides: python-pymc3
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pymc3
+There have been many questions and uncertainty around the future of PyMC3 since Theano
+stopped getting developed by the original authors, and we started experiments with a PyMC version based on tensorflow probability.
+Since then many things changed and we are happy to announce that PyMC3 will continue to rely on Theano,
+or rather its successors Theano-PyMC (`pymc3 <4)` and Aesara (`pymc3 >=4`).
+Check out <https://github.com/aesara-devs/aesara>`__) and specifically the latest developments on the `PyMC3 `main` branch <https://github.com/pymc-devs/pymc3/>`.
+
+%package help
+Summary: Development documents and examples for pymc3
+Provides: python3-pymc3-doc
+%description help
+There have been many questions and uncertainty around the future of PyMC3 since Theano
+stopped getting developed by the original authors, and we started experiments with a PyMC version based on tensorflow probability.
+Since then many things changed and we are happy to announce that PyMC3 will continue to rely on Theano,
+or rather its successors Theano-PyMC (`pymc3 <4)` and Aesara (`pymc3 >=4`).
+Check out <https://github.com/aesara-devs/aesara>`__) and specifically the latest developments on the `PyMC3 `main` branch <https://github.com/pymc-devs/pymc3/>`.
+
+%prep
+%autosetup -n pymc3-3.11.5
+
+%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-pymc3 -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 3.11.5-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..1658aff
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+7264831b6058ab8632b1a9a070526078 pymc3-3.11.5.tar.gz